helixnow/deep-student/deep-student-cloud-sync-e2e
Claude Code and agent skill by helixnow/deep-student
- community
Checking that the SKILL.md file is still in the repository.
Run real, UI-driven Deep Student cloud sync E2E tests. Use when Codex needs to validate WebDAV/cloud sync, backup, restore, credentials, conflict behavior, multi-device synchronization, or sync regressions through real Tauri UI operations followed by SQLite/WebDAV/log verification.
Install
npx vskill@latest install helixnow/deep-student/deep-student-cloud-sync-e2eSKILL.md
Deep Student Cloud Sync E2E
Use this skill for realistic cloud sync testing of Deep Student. The entry point must be real Tauri UI actions through Computer Use; shell, SQLite, and WebDAV checks are assertions after UI actions.
Required Shape
- Start or claim isolated Tauri instances with
tauri-lab. - Start a local Docker WebDAV fixture for cloud storage.
- Configure sync through the app UI.
- Trigger sync, backup, restore, and retry flows through UI buttons.
- Verify results with SQLite, WebDAV file trees, metrics, and logs.
- Record failures with exact UI steps and state evidence.
Parallel Agent Shape
For high-throughput real testing, run five subagents over a shared tauri-lab pool and shared local WebDAV fixture:
- Create 10-15 app instances. Prefer 15 when each agent needs a writer, reader, and recovery/restore target.
- Give each subagent a distinct owner id and 2-3 leased instances.
- Each subagent must use only its leased
target.apppaths with Computer Use. - Subagents must not call
computer-use listto choose targets. They may inspectlease listfor verification, but target selection comes only from the parent assignment. - Subagents should run
agent targets --owner ...after receiving the assignment, thenagent verify <instance> --owner ... --app ... --require-running --jsonbefore the first Computer Use action. A failed verify aborts that sub-run. - Partition WebDAV roots by scenario or device group so agents do not overwrite each other's remote state unless the scenario is explicitly a conflict test.
- Subagents must not stop, restart, remove, or reconfigure a shared WebDAV fixture. Interruption tests must use a bad endpoint/credentials, or the parent must allocate an exclusive fixture for that agent.
- Every subagent reports: leased instance ids, UI steps performed, assertions run, WebDAV tree deltas, evidence snapshot paths, failures, and cleanup status.
- The parent must not use a short active timeout for full cloud-sync runs. Real UI setup, multi-device sync, backup/restore, and diagnostics can take about an hour. After spawning subagents, the parent should sleep or passively poll, wait for final reports, and avoid closing agents unless they explicitly fail, complete, or the user asks to stop.
Recommended five-way split:
| Agent | Devices | Scenario | |
|---|---|---|---|
| A | 2 | fresh config, connection test, upload-only, missing password recovery | |
| B | 2 | download-only hydration from preseeded WebDAV state | |
| C | 3 | bidirectional sync, conflict count, concurrent edits | |
| D | 3 | cloud backup, backup history, restore pending slot, restart activation | |
| E | 2-3 | interruption/retry, stale config cleanup, post-restore sync sanity |
The parent agent owns fixture startup, pool startup, lease assignment, final aggregation, and final cleanup.
Parent waiting policy:
- Give long-running subagents enough time to finish their assigned real UI workflows.
- Do not interpret no report within 30/60/180 seconds as a hang.
- Passive checks are allowed: pool status, lease audit, WebDAV status/tree snapshots, and logs/evidence reads.
- Active intervention is allowed only after an explicit subagent failure/completion, user instruction, or hard evidence that infrastructure is gone, such as a stopped app process or stopped fixture.
- Do not operate a subagent's assigned app window from the parent while the subagent is still running.
Anti-collision rule: app windows are never shared. Even conflict tests share cloud state only through WebDAV prefixes; each actor still uses its own leased Tauri instance.
Instance Setup
Prefer a pool when simulating multiple devices:
For five subagents:
Start the WebDAV fixture:
Use the fixture endpoint, username, password, and root only by typing them through the real cloud settings UI.
For repeated regression runs, prefer a tauri-lab data image after one real UI configuration pass:
The image is allowed only after the original configuration was created through real UI operations. Subsequent tests may start from the image, then perform the scenario-specific sync/backup/restore actions through UI and verify with SQLite/WebDAV/logs.
For a fast, broad cloud-sync smoke, prefer the newest wide coverage image when it is available locally. The current strongest image is sync-wide-chaos-deep-coverage-seed-0531:
The inspect command must pass before using the image as the canonical broad regression seed. It checks foreign keys, blob files, blob references, question-set breadth, todo parent links, tombstones, same-record multi-change chains, composite replay paths, business unique-key reuse after delete, JSON update chains, chat attachments/resources, mistakes review data, and LLM status variety.
The previous stable image sync-wide-stable-coverage-seed-0531 is still useful for comparing historical 441-change runs. Use the deep image first when the goal is maximum schema coverage in one pass.
Drive this scenario through real UI:
- Configure WebDAV on the seeded writer, then click Upload.
- Verify the remote package contains broad VFS/chat/mistakes/LLM rows and at
least one blobs row.
- Create a clean reader with no image, configure the same WebDAV root through
UI, then click Download.
- Assert no
files -> blobsorphan rows, noforeign_key_checkrows, and no
unresolved __sync_conflicts.
- Click Download again on the same reader and verify backend logs show
total=0.
- Upload the reader's small local delta, then download from a second clean
reader to cover two-package hydration without replay amplification.
- Run hydrated audit on downloaded readers:
For the deep image, the 2026-05-31 baseline was writer upload 569, first reader download total=435, deduped=134, conflicts=0, repeated download total=0, 4 blobs hydrated, 2 workspace DBs hydrated, and hydrated audit PASS.
Claim an instance for each agent:
Use the returned target.app path in Computer Use.
When assigning multiple devices to one subagent, repeat checkout with the same owner and role-specific purpose. Keep leases active until that subagent has captured evidence, then release or let the parent clean all instances after aggregation.
Subagent preflight:
Parent final audit and cleanup:
What To Verify
- Configured provider/root/username/password behavior.
- Missing credential state: safe config present but secure credential absent must not look healthy.
- Upload-only: remote change files and manifest appear; local pending changes clear.
- Download-only: remote changes hydrate local DB; local-only pending changes remain pending.
- Bidirectional sync: both upload and download effects occur.
- Cloud backup: remote ZIP appears and UI history updates.
- Cloud restore: inactive slot becomes pending, then restart switches active slot.
- Post-restore sync: credentials and device identity remain correct.
- Conflict reporting: UI conflict count must match actionable conflict rows.
Assertions
Prefer tauri-lab assertions after UI actions:
Capture evidence after each major cloud sync phase and before cleanup:
Read logs when behavior is surprising:
Known Product/Test Lessons
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdstu-test/skills/deep-student-cloud-sync-e2e/SKILL.md
Popularity
- Repository stars
- 259
- Repository forks
- 51
- 7-day trend score
- 28
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 3 Sep 2026, 2 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/helixnow/deep-student/deep-student-cloud-sync-e2e)