Skip to content

fix: remove stale brainstorming Phase 4 worktree references from docs [can be closed, reason as follow comment] - #803

Closed
mzonghao wants to merge 1 commit into
obra:mainfrom
mzonghao:fix/stale-worktree-references
Closed

mzonghao wants to merge 1 commit into
obra:mainfrom
mzonghao:fix/stale-worktree-references

Conversation

@mzonghao

@mzonghao mzonghao commented Mar 18, 2026 •

Copy link
Copy Markdown

Problem

writing-plans/SKILL.md states that it should "run in a dedicated worktree (created by brainstorming skill)",
but the current brainstorming/SKILL.md has no worktree creation step.
Similarly, using-git-worktrees/SKILL.md claims it is "Called by brainstorming (Phase 4)", referencing a Phase 4 that no longer exists.

Tracing the git history reveals the evolution:

  • v3.1.0: brainstorming had an explicit Phase 4 (Worktree Setup) and Phase 5 (Planning Handoff)
  • v3.4.1 (8e38ab8 "Simplify brainstorming skill"): Phase structure removed, but worktree reference kept in prose
  • v4.3.0 (7f2ee61 "Enforce brainstorming workflow with hard gates"): worktree reference fully removed, replaced with "Do NOT invoke any other skill. writing-plans is the next step."
    However, the cross-references in other files were not updated to match.

Solution

Since using-git-worktrees is currently only called by subagent-driven-development and executing-plans (both declare it as REQUIRED in their Integration sections), update the stale references to reflect the actual call chain. Change the relationship from "after design approval" to "before writing plans".

Changes

  1. skills/writing-plans/SKILL.md (line 16): Changed (created by brainstorming skill) → (created via using-git-worktrees before plan begins)
  2. skills/using-git-worktrees/SKILL.md (line 212): Removed stale brainstorming (Phase 4) from "Called by" list, add writing-plans - REQUIRED: should run in a dedicated worktree instead
  3. README.md (line 105): Changed Activates after design approval → Activates before writing plans

writing-plans/SKILL.md referenced worktree creation "by brainstorming
skill", and using-git-worktrees/SKILL.md listed "brainstorming (Phase 4)"
as a caller — but brainstorming removed Phase 4 in v3.4.1 and fully
dropped worktree references in v4.3.0.

Update cross-references to reflect the actual call chain:
- writing-plans: worktree created via using-git-worktrees before writing the plan
- using-git-worktrees: replace brainstorming caller with writing-plans
- README: change "after design approval" to "before writing plans"

Made-with: Cursor
@mzonghao
mzonghao force-pushed the fix/stale-worktree-references branch from 34788cf to b23f9f2 Compare March 18, 2026 06:33
@mzonghao

Copy link
Copy Markdown
Author

I made a mistake.

After re-examining the workflow, I found that using-git-worktrees should be invoked before writing the spec doc during brainstorming, not before writing the plan doc.

This PR can be closed.

See the latest PR here: #829

@mzonghao mzonghao changed the title fix: remove stale brainstorming Phase 4 worktree references from docs fix: remove stale brainstorming Phase 4 worktree references from docs [can be closed, reason as follow comment] Mar 19, 2026
@mzonghao mzonghao closed this Mar 19, 2026
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