docs(dispatch-worktree-automation): I-phase Sub-wave C — recursive acceptance (step count 7→2 verified) - #284
Merged
Merged
Conversation
…ceptance test (step count 7→2 verified) Acceptance report for the dispatch-worktree-automation I-phase (PR #279 hook + PR #282 skill prose). Measures kickoff §4 criterion 2 (step count ≤2) on two real, independent `claude -w` dispatches: - Primary: THIS session was spawned via `claude -w iphase-acceptance` (2 steps: cmd + paste), symlinks live @18:32 — self-applying measurement (T15). - Secondary: `claude -w aif-handoff-sw-A-resume` for the parked aif-handoff SW-A umbrella (1 step, headless), symlinks @18:42, worktree cleaned up after verify. Verdict: criterion 2 MET (7→2, →1 headless). STOP §10 not triggered (≤2 steps, hook fired, flag behaved as coded). MINOR finding (§3.2): `claude -w` branches from a stale `origin/HEAD`, not the live `origin/staging` tip — base-ref-hygiene follow-up surfaced for worktree-setup.sh; not patched here (C = acceptance only). CLAUDE.md §See also gains a 1-line pointer to the new dispatch convention (pointer, not duplication — dual-implementation-discipline §7). Prior-art: skipped — acceptance report + CLAUDE.md See-also pointer, doc-only, no new capability shipped (measures PR #279/#282 substrate).
artyhoo
enabled auto-merge (squash)
May 29, 2026 15:48
6 tasks
artyhoo
added a commit
that referenced
this pull request
May 29, 2026
…285) Retrospective for the dispatch-worktree-automation umbrella (R #271 + I-phase A #279 / B #282 / C #284). Verdict GO, umbrella DONE. Authored inside a worktree the umbrella's own WorktreeCreate hook created (claude -w retro-dispatch-worktree-auto) — recursive self-application satisfied by environment, not assertion. 4th live dispatch of the shipped substrate; reproduced the §3.2 base-ref MINOR a 3rd time (origin/HEAD=bb3ecec, 138 commits behind staging). Findings carried forward: F1 worktree-setup.sh base-ref hardening (open follow-up, surfaced not silently patched); F2 VS-Code-tab dispatch channel DECISION-NEEDED; F3 no discipline-level principle test (deferred per kickoff §12). Prior-art: skipped — docs-only retro, no new capability or dependency added. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com>
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
I-phase Sub-wave C of
dispatch-worktree-automation— the recursive acceptance test for the substrate landed by PR #279 (WorktreeCreatehook, merge5278675, MERGED) + PR #282 (skill prose →claude -w, merge9f8dc84, MERGED). Both verified ancestors of liveorigin/staging(3fe1336).Ships:
docs/meta-factory/research-patches/2026-05-29-dispatch-worktree-iphase-acceptance.md(acceptance report) + a 1-lineCLAUDE.md## See alsopointer (pointer, not duplication — dual-implementation-discipline §7).Empirical step-count measurement (kickoff §4 criterion 2, target ≤2)
git worktree add+cd+2×ln -s+git checkout -b+open tab+pasteclaude -w iphase-acceptance+ paste promptworktree-iphase-acceptance+ bothnode_modulessymlinks @18:32claude -w aif-handoff-sw-A-resume(headless)PROBE-OK, cleaned up after verifyVerdict: criterion 2 MET (7→2, →1 headless). This session itself was spawned by
claude -w iphase-acceptance, so the primary data point is the live environment, not a reconstructed trace (T15).STOP §10 — NOT triggered
Step count ≤2 ✓ · hook fired (symlinks present, both runs) ✓ ·
claude -wbehaved as coded ✓. No revert of #279/#282.MINOR finding (§3.2) — surfaced, not patched here
claude -wbranches fromorigin/HEAD, which isbb3ecec(stale) whileorigin/stagingis3fe1336— both test worktrees were born behind live staging. Root cause: hook base-ref loop prefersorigin/HEAD(worktree-setup.sh:73), and that symbolic ref isn't refreshed by plaingit fetch. Step-count win is unaffected (onegit rebasefixes content). Hardening worktree-setup.sh base-ref resolution is a dedicated follow-up — out of Sub-wave C scope (C = acceptance + docs only).§1.7 Forward-check applied
-pprobe is a single subscription-bundled call (pre-2026-06-15), not CI cost. ✓claude -w) + ADAPT (tfriedel/claude-worktree-hooks), SSOT feat(skill-drift): multi-channel drift detection from D-AuditC-5 #65; this report measures, builds nothing. ✓<!-- scope:... -->(principle 10, test green) + Authoritative-for header. ✓origin/HEAD) isgit rev-parse-verified. ✓§1.7 Backward-check applied
worktree-setup.shNOT edited (C = acceptance + docs); §3.2 finding surfaced as explicit follow-up, not silently absorbed. ✓claude -w+ ADAPT WorktreeCreate hook #271 R-phase patch implemented/measured, not superseded. ✓Reproduction
🟢 Простыми словами
Было: чтобы запустить изолированную параллельную сессию — ~7 ручных команд. Стало: одна команда
claude -w <имя>, хук сам делает папку и симлинки. Проверено на этой самой сессии (2 шага) и на свежем имени для запаркованной задачи (1 шаг, потом убрал). Цель «≤2 шага» достигнута. Нюанс-не-блокер: ветка создаётся от устаревшегоorigin/HEAD— записал как отдельную доработку хука.