Skip to content

Worktree-isolated auto mode for dx-implement; dx-init standards and managed block - #28

Merged
dikamilo merged 9 commits into
mainfrom
skill-auto-worktrees
Oct 7, 2026
Merged

dikamilo merged 9 commits into
mainfrom
skill-auto-worktrees

Conversation

@dikamilo

@dikamilo dikamilo commented Oct 7, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • /dx-implement auto mode runs in its own worktree on a scratch branch, with sibling worktrees for concurrent phases, a merge-back resolver, a shared handoff.md (appended as each subagent returns), and keep-on-stop / clean-on-success.
  • /dx-plan tags rows (isolated)/(integrated) and emits an integration phase per parallel group; new shared start-check reference used by /dx-implement and /dx-tdd.
  • /dx-init: ignores .worktrees/, seeds standards only on a fresh context (asks otherwise), and writes the dx- pointer in a managed dx:workflow block in AGENTS.md/CLAUDE.md without the rollback text.
  • Docs: reference, explanations, DESIGN.md, a new tutorial (run-parallel-phases-in-worktrees) and a new explanation page (worktree-isolation). Rollback-principle references in CLAUDE.md, dx-implement and dx-tdd reworded.
  • One minor changeset: .changeset/skill-auto-worktrees.md.

Known gaps

  • No eval harness; verification was sandboxed claude -p runs (serial, parallel with resolver, red check, forced conflict abort, resume, dx-init scenarios). Phase 5 ran through the new auto mode itself.
  • The new tutorial's sample dialogue and git worktree list output are illustrative, not captured from a real run.
  • Unverified: two changes running at once were only tried in one checkout on one work branch (3.7 ticked on say-so).

Test plan

  • npm run lint:skills
  • Sandbox runs for every phase
  • Docs reviewed (5.4 ticked on say-so)

@dikamilo
dikamilo merged commit c94fdad into main Oct 7, 2026
2 checks passed
@dikamilo
dikamilo deleted the skill-auto-worktrees branch October 7, 2026 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant