Skip to content

feat: upgrade /planwt to full orchestrator — one-shot plan + worktree creation#14

Merged
zywkloo merged 6 commits into
mainfrom
feat/orchestrator-driven-workflow
May 29, 2026
Merged

feat: upgrade /planwt to full orchestrator — one-shot plan + worktree creation#14
zywkloo merged 6 commits into
mainfrom
feat/orchestrator-driven-workflow

Conversation

@zywkloo

@zywkloo zywkloo commented May 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • /planwt is now a full orchestrator — previously it only wrote .worktree-task.md content, requiring the user to manually run wtcraft new <branch> as a separate step
  • Now /planwt <task> drives the complete sequence in one shot:
    1. Infers a branch name from the task description (<type>/<short-slug>)
    2. Writes .worktree-task.md with bounded Scope, Steps, Off-limits, Context, and Verification
    3. Runs wtcraft new <branch-name> automatically
    4. Reports the worktree path and next action for the executor
  • Synced across all three planwt.md locations (.claude/commands/, templates/, src/wtcraft/templates/)
  • Added worktrees/ to .gitignore — git worktrees are local constructs and should never be committed

Why

The two-step flow (/planwtwtcraft new) was unnecessary friction. The planner/orchestrator layer should drive all commands. A single /planwt add oauth login now takes you from intent to a ready worktree with no intermediate manual step.

This also aligns with the design principle that wtcraft's Claude skills are the orchestration entry point, not just content generators.

Test plan

  • /planwt <task description> infers branch name and runs wtcraft new automatically
  • Resulting worktree contains a filled .worktree-task.md
  • wtcraft status shows the new worktree
  • All three planwt.md files are identical

https://claude.ai/code/session_01A5oU4c7YSGpwatMA2PK1AE


Generated by Claude Code

claude and others added 6 commits May 28, 2026 01:58
…aft new

/planwt now drives the complete planning sequence in one shot:
1. infers branch name from task description
2. writes .worktree-task.md with bounded contract
3. runs `wtcraft new <branch>` automatically

Eliminates the manual two-step flow (plan → then separately create worktree).
Synced across all three planwt.md locations.

https://claude.ai/code/session_01A5oU4c7YSGpwatMA2PK1AE
git worktrees are local filesystem constructs — committing them as
submodules was wrong. worktrees/ is now ignored globally.

https://claude.ai/code/session_01A5oU4c7YSGpwatMA2PK1AE
@zywkloo zywkloo merged commit c76ffbf into main May 29, 2026
1 check passed
@zywkloo zywkloo deleted the feat/orchestrator-driven-workflow branch May 29, 2026 07:23
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.

2 participants