The workflow previously created a worktree itself (Phase 3) and worked around opencode's lack of per-subagent CWD by capturing absolute paths and threading them through every dispatch (the "Subagent Dispatch Convention"). That ceremony exists only because the orchestrator's CWD differed from where subagents were rooted. Now the workflow assumes the user has already created the worktree and launched opencode inside it. Subagents inherit that as their project root, so all the absolute-path plumbing goes away. Phase 3 is removed, phases renumber to 1-9, and the Subagent Dispatch Convention section is dropped. Phase 1 is a sanity check (non-bare worktree, TODO.md present, HEAD not detached, current branch != base branch) that resolves the base branch from an optional second argument or by trying main then master. @pm now uses live filesystem mode against ./TODO.md throughout (the git-ref read mode stays available for ad-hoc use). Phase 8's diff uses git diff "$BASE_BRANCH"...HEAD without git -C wrapping. |
||
|---|---|---|
| .. | ||
| claude | ||
| opencode | ||