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
Conversation
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]>
This was referenced Mar 2, 2026
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
commands/project.mdinto a new standalone fileworkflows/vision-cycle.mdproject.mdnow references@workflows/vision-cycle.mdvia a 5-linevision_cyclestep, replacing the previously inlined stepsvision-cycle.mdis 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 stateCloses #136
Milestone Context
Changes
workflows/vision-cycle.mdcommands/project.md@workflows/vision-cycle.mdreferenceThe extracted steps in
vision-cycle.md:vision_intake,vision_research,vision_questioning,vision_synthesis,vision_condense,spawn_gsd_new_project.Test Plan
workflows/vision-cycle.mdexists and contains all 6 steps:vision_intake,vision_research,vision_questioning,vision_synthesis,vision_condense,spawn_gsd_new_projectworkflows/vision-cycle.mdhas Precondition (STATE_CLASS = Fresh), Context Strategy (rolling summary), and Postcondition sectionscommands/project.mdline count is 1320 (reduced from 1801, net -481 lines)commands/project.mdcontains<step name="vision_cycle">with@workflows/vision-cycle.mdreference in the Fresh routing section (around line 253)commands/project.mdno longer contains any of the inline<step name="vision_intake">,<step name="vision_research">, etc. blocksvision-cycle.md🤖 Generated with Claude Code