Skip to content

refactor: extract vision-cycle workflow from project.md (#136)#150

Closed
snipcodeit wants to merge 1 commit intoissue/135-extract-detect-state-md-workflow-from-project-mdfrom
issue/136-extract-vision-cycle-md-workflow-from-project-md
Closed

refactor: extract vision-cycle workflow from project.md (#136)#150
snipcodeit wants to merge 1 commit intoissue/135-extract-detect-state-md-workflow-from-project-mdfrom
issue/136-extract-vision-cycle-md-workflow-from-project-md

Conversation

@snipcodeit
Copy link
Owner

Summary

  • Extracted the 6-stage Vision Collaboration Cycle (~488 lines) from commands/project.md into a new standalone file workflows/vision-cycle.md
  • The Fresh routing branch in project.md now references @workflows/vision-cycle.md via a 5-line vision_cycle step, replacing the previously inlined steps
  • vision-cycle.md is self-contained with a Precondition header (STATE_CLASS = Fresh), a Context Strategy section (rolling summary, agents receive Vision Brief + latest delta), and a Postcondition section documenting exit state

Closes #136

Milestone Context

  • Milestone: v3.5 — Foundation Hardening
  • Phase: 33 — project.md Decomposition
  • Issue: 4 of 9 in milestone

Changes

File Change Lines
workflows/vision-cycle.md Created — all 6 vision cycle steps extracted here +514
commands/project.md Removed 6 inline vision steps, replaced with @workflows/vision-cycle.md reference -484 / +33
Net project.md reduction 1801 → 1320 lines -481

The extracted steps in vision-cycle.md: vision_intake, vision_research, vision_questioning, vision_synthesis, vision_condense, spawn_gsd_new_project.

Test Plan

  • Verify workflows/vision-cycle.md exists and contains all 6 steps: vision_intake, vision_research, vision_questioning, vision_synthesis, vision_condense, spawn_gsd_new_project
  • Verify workflows/vision-cycle.md has Precondition (STATE_CLASS = Fresh), Context Strategy (rolling summary), and Postcondition sections
  • Verify commands/project.md line count is 1320 (reduced from 1801, net -481 lines)
  • Verify commands/project.md contains <step name="vision_cycle"> with @workflows/vision-cycle.md reference in the Fresh routing section (around line 253)
  • Verify commands/project.md no longer contains any of the inline <step name="vision_intake">, <step name="vision_research">, etc. blocks
  • Confirm the rolling context strategy note ("agents receive Vision Brief + latest delta, never full transcript") is preserved in vision-cycle.md

🤖 Generated with Claude Code

Extract the 6-stage Vision Collaboration Cycle (~488 lines) from
commands/project.md into a standalone workflows/vision-cycle.md.

The Fresh routing branch in project.md now references
@workflows/vision-cycle.md instead of inlining all vision steps.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

slash-commands Changes to slash command files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant