Claude Code handoff: Sonnet 4.6 limitations & operating envelope
Claude Code handoff: Sonnet 4.6 limitations & operating envelope
Section titled “Claude Code handoff: Sonnet 4.6 limitations & operating envelope”Reusable across handoffs. When you hand any implementation plan to Claude 4.6 Sonnet (model id claude-sonnet-4-6) running in the Claude Code harness, paste the relevant rules below into the handoff prompt. These are the constraints that, left implicit, most often cause a plan to be executed wrongly.
1. Harness & sandbox limits
Section titled “1. Harness & sandbox limits”- Subagents are read-only in this repo’s worktree sandbox. Dispatched agents get shell/write DENIED. Consequence: you cannot fan work out to parallel writing subagents and expect files to land. Pattern that works: a subagent produces a diff/analysis as text; the main session writes, verifies, and commits. If you need true parallel writers, use multiple git worktrees the main session owns.
- Context window is finite. Read only the files a task names — never whole crates. Vox crates like
vox-orchestratorandvox-cliare large; blind reads blow the budget. - No interactive TUIs from tool calls.
git rebase -i,git add -i, and anything that opens an editor will hang. Use non-interactive flags. - Rate limits on web/deep-research. Do not run the mass-verify deep-research workflow (110-agent fan-out trips the server rate-limit and mislabels
0-0 abstainas “refuted”). Verify critical claims with 2–3 targetedWebFetch/WebSearchcalls instead.
2. Parallelism guidance
Section titled “2. Parallelism guidance”- Sequential when tasks churn shared types. A plan’s foundation track (new crate, new public API) must run one task at a time — parallel agents conflict on the same files.
- Parallel only after an API freezes, and only across disjoint files, each worker in its own worktree (
isolation: "worktree"). - Multi-agent Workflow orchestration requires explicit owner opt-in (“use a workflow” / ultracode). Do not spin one up unprompted.
3. This repo’s hard rules (from AGENTS.md / CLAUDE.md)
Section titled “3. This repo’s hard rules (from AGENTS.md / CLAUDE.md)”- Read
AGENTS.mdfirst, thenwhere-things-live.mdbefore adding code. cargo fmt --allis BANNED. Usevox run scripts/fmt.voxorcargo fmt -p <crate>.- No new
.ps1/.sh/.pyautomation — VoxScript (.vox) only. docs/src/files need frontmatter (title,description,category,status).- New crate ⇒ same-PR updates to
crates/vox-arch-check/layers.tomlandwhere-things-live.md. .voxfiles are Vox source — not Rust/TS. Honor// vox:skip.
4. Build / verify gotchas (Windows-primary)
Section titled “4. Build / verify gotchas (Windows-primary)”- Never pipe
cargotohead/grep/tail— on Windows this orphans thousands of processes (~40 GB RAM). Redirect to a file:cargo test -p x > out.txt 2>&1. Recovery:taskkill /F /IM cargo.exe×5. clippyper crate:cargo clippy -p <crate> -- -D warnings. Workspace--all-targetsclippy breaks onvox-gui(Tauri build script) — exclude it.- Per-task verification gate:
cargo test -p <crate>,cargo clippy -p <crate> -- -D warnings, andcargo run -p vox-arch-checkmust pass before a task is “done.” Evidence before assertions — show the command output. - A stale installed
voxmay warn on git hooks (schema_maxnewer than binary); harmless for doc/plan commits.
5. Vox-language gotchas (if writing .vox)
Section titled “5. Vox-language gotchas (if writing .vox)”Json.as_float()has a native-lane bug — run scripts with--mode interp.- No multi-line
+expressions; nolist.set; single-line fn signatures.
6. Handoff-prompt checklist
Section titled “6. Handoff-prompt checklist”A good Sonnet 4.6 handoff prompt states, explicitly:
- The plan file path and the required sub-skill (
superpowers:subagent-driven-developmentorexecuting-plans). - Which track/task to start at, and that tasks are strictly ordered until the named API freeze.
- The sandbox/parallelism limits from §1–2 (so it doesn’t assume parallel writers).
- The verification gate from §4 (so it doesn’t claim done without evidence).
- Any UNVERIFIED caveats from the plan’s audit log — the files it must read before the affected task.
- The decision/research gates it must stop at and ask the owner (never resolve unilaterally).