@codemcp/workflows 5.2.4 → 6.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +91 -0
- package/package.json +77 -17
- package/packages/cli/dist/chunk-R5U7XKVJ.js +16 -0
- package/packages/cli/dist/chunk-RTDQR2KY.js +6718 -0
- package/packages/cli/dist/cli-CZ4FMSWR.js +1421 -0
- package/packages/cli/dist/dist-KZOA4GL5.js +65 -0
- package/packages/cli/dist/dist-UGVUJIDN.js +14475 -0
- package/packages/cli/dist/index.js +21 -0
- package/packages/cli/package.json +28 -0
- package/packages/core/dist/beads-integration.d.ts +50 -0
- package/packages/core/dist/beads-integration.js +387 -0
- package/packages/core/dist/beads-integration.js.map +1 -0
- package/packages/core/dist/beads-state-manager.d.ts +58 -0
- package/packages/core/dist/beads-state-manager.js +212 -0
- package/packages/core/dist/beads-state-manager.js.map +1 -0
- package/packages/core/dist/config-manager.d.ts +24 -0
- package/packages/core/dist/config-manager.js +68 -0
- package/packages/core/dist/config-manager.js.map +1 -0
- package/packages/core/dist/conversation-manager.d.ts +98 -0
- package/packages/core/dist/conversation-manager.js +382 -0
- package/packages/core/dist/conversation-manager.js.map +1 -0
- package/packages/core/dist/file-detection-manager.d.ts +53 -0
- package/packages/core/dist/file-detection-manager.js +221 -0
- package/packages/core/dist/file-detection-manager.js.map +1 -0
- package/packages/core/dist/file-storage.d.ts +93 -0
- package/packages/core/dist/file-storage.js +301 -0
- package/packages/core/dist/file-storage.js.map +1 -0
- package/packages/core/dist/git-manager.d.ts +22 -0
- package/packages/core/dist/git-manager.js +123 -0
- package/packages/core/dist/git-manager.js.map +1 -0
- package/packages/core/dist/index.d.ts +24 -0
- package/packages/core/dist/index.js +31 -0
- package/packages/core/dist/index.js.map +1 -0
- package/packages/core/dist/instruction-generator.d.ts +40 -0
- package/packages/core/dist/instruction-generator.js +89 -0
- package/packages/core/dist/instruction-generator.js.map +1 -0
- package/packages/core/dist/interaction-logger.d.ts +37 -0
- package/packages/core/dist/interaction-logger.js +87 -0
- package/packages/core/dist/interaction-logger.js.map +1 -0
- package/packages/core/dist/interfaces/index.d.ts +9 -0
- package/packages/core/dist/interfaces/index.js +10 -0
- package/packages/core/dist/interfaces/index.js.map +1 -0
- package/packages/core/dist/interfaces/instruction-generator.interface.d.ts +41 -0
- package/packages/core/dist/interfaces/instruction-generator.interface.js +8 -0
- package/packages/core/dist/interfaces/instruction-generator.interface.js.map +1 -0
- package/packages/core/dist/interfaces/plan-manager.interface.d.ts +55 -0
- package/packages/core/dist/interfaces/plan-manager.interface.js +8 -0
- package/packages/core/dist/interfaces/plan-manager.interface.js.map +1 -0
- package/packages/core/dist/interfaces/task-backend-client.interface.d.ts +52 -0
- package/packages/core/dist/interfaces/task-backend-client.interface.js +8 -0
- package/packages/core/dist/interfaces/task-backend-client.interface.js.map +1 -0
- package/packages/core/dist/logger.d.ts +64 -0
- package/packages/core/dist/logger.js +283 -0
- package/packages/core/dist/logger.js.map +1 -0
- package/packages/core/dist/path-validation-utils.d.ts +75 -0
- package/packages/core/dist/path-validation-utils.js +238 -0
- package/packages/core/dist/path-validation-utils.js.map +1 -0
- package/packages/core/dist/persistence-interface.d.ts +91 -0
- package/packages/core/dist/persistence-interface.js +9 -0
- package/packages/core/dist/persistence-interface.js.map +1 -0
- package/{dist/components/beads/beads-plan-manager.d.ts → packages/core/dist/plan-manager.d.ts} +15 -15
- package/{dist/components/beads/beads-plan-manager.js → packages/core/dist/plan-manager.js} +66 -50
- package/packages/core/dist/plan-manager.js.map +1 -0
- package/packages/core/dist/project-docs-manager.d.ts +119 -0
- package/packages/core/dist/project-docs-manager.js +366 -0
- package/packages/core/dist/project-docs-manager.js.map +1 -0
- package/packages/core/dist/state-machine-loader.d.ts +61 -0
- package/packages/core/dist/state-machine-loader.js +273 -0
- package/packages/core/dist/state-machine-loader.js.map +1 -0
- package/packages/core/dist/state-machine-types.d.ts +64 -0
- package/packages/core/dist/state-machine-types.js +7 -0
- package/packages/core/dist/state-machine-types.js.map +1 -0
- package/packages/core/dist/state-machine.d.ts +52 -0
- package/packages/core/dist/state-machine.js +256 -0
- package/packages/core/dist/state-machine.js.map +1 -0
- package/packages/core/dist/system-prompt-generator.d.ts +14 -0
- package/packages/core/dist/system-prompt-generator.js +42 -0
- package/packages/core/dist/system-prompt-generator.js.map +1 -0
- package/packages/core/dist/task-backend.d.ts +45 -0
- package/packages/core/dist/task-backend.js +176 -0
- package/packages/core/dist/task-backend.js.map +1 -0
- package/packages/core/dist/template-manager.d.ts +61 -0
- package/packages/core/dist/template-manager.js +231 -0
- package/packages/core/dist/template-manager.js.map +1 -0
- package/packages/core/dist/transition-engine.d.ts +77 -0
- package/packages/core/dist/transition-engine.js +244 -0
- package/packages/core/dist/transition-engine.js.map +1 -0
- package/packages/core/dist/types.d.ts +54 -0
- package/packages/core/dist/types.js +5 -0
- package/packages/core/dist/workflow-manager.d.ts +89 -0
- package/packages/core/dist/workflow-manager.js +468 -0
- package/packages/core/dist/workflow-manager.js.map +1 -0
- package/packages/core/package.json +33 -0
- package/packages/docs/.vitepress/dist/.gitignore +2 -0
- package/packages/docs/.vitepress/dist/404.html +23 -0
- package/packages/docs/.vitepress/dist/assets/app.Dz3lZH3M.js +1 -0
- package/packages/docs/.vitepress/dist/assets/chunks/framework.DZS7lpav.js +19 -0
- package/packages/docs/.vitepress/dist/assets/chunks/theme.q5Ewb3F1.js +206 -0
- package/packages/docs/.vitepress/dist/assets/dev_ARCHITECTURE.md.da_vFDwM.js +130 -0
- package/packages/docs/.vitepress/dist/assets/dev_ARCHITECTURE.md.da_vFDwM.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/dev_DEVELOPMENT.md.DWl9cccE.js +72 -0
- package/packages/docs/.vitepress/dist/assets/dev_DEVELOPMENT.md.DWl9cccE.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/dev_LOGGING.md.BebvbW7z.js +34 -0
- package/packages/docs/.vitepress/dist/assets/dev_LOGGING.md.BebvbW7z.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/dev_PUBLISHING.md.CQqbiIOF.js +1 -0
- package/packages/docs/.vitepress/dist/assets/dev_PUBLISHING.md.CQqbiIOF.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/index.md.D6ROLohf.js +2 -0
- package/packages/docs/.vitepress/dist/assets/index.md.D6ROLohf.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/inter-italic-cyrillic-ext.r48I6akx.woff2 +0 -0
- package/packages/docs/.vitepress/dist/assets/inter-italic-cyrillic.By2_1cv3.woff2 +0 -0
- package/packages/docs/.vitepress/dist/assets/inter-italic-greek-ext.1u6EdAuj.woff2 +0 -0
- package/packages/docs/.vitepress/dist/assets/inter-italic-greek.DJ8dCoTZ.woff2 +0 -0
- package/packages/docs/.vitepress/dist/assets/inter-italic-latin-ext.CN1xVJS-.woff2 +0 -0
- package/packages/docs/.vitepress/dist/assets/inter-italic-latin.C2AdPX0b.woff2 +0 -0
- package/packages/docs/.vitepress/dist/assets/inter-italic-vietnamese.BSbpV94h.woff2 +0 -0
- package/packages/docs/.vitepress/dist/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2 +0 -0
- package/packages/docs/.vitepress/dist/assets/inter-roman-cyrillic.C5lxZ8CY.woff2 +0 -0
- package/packages/docs/.vitepress/dist/assets/inter-roman-greek-ext.CqjqNYQ-.woff2 +0 -0
- package/packages/docs/.vitepress/dist/assets/inter-roman-greek.BBVDIX6e.woff2 +0 -0
- package/packages/docs/.vitepress/dist/assets/inter-roman-latin-ext.4ZJIpNVo.woff2 +0 -0
- package/packages/docs/.vitepress/dist/assets/inter-roman-latin.Di8DUHzh.woff2 +0 -0
- package/packages/docs/.vitepress/dist/assets/inter-roman-vietnamese.BjW4sHH5.woff2 +0 -0
- package/packages/docs/.vitepress/dist/assets/mcp-interaction-pattern.VdvOPuTt.png +0 -0
- package/packages/docs/.vitepress/dist/assets/placeholder-demo-greenfield.B8lG_tBI.png +0 -0
- package/packages/docs/.vitepress/dist/assets/style.CAgdBzOq.css +1 -0
- package/packages/docs/.vitepress/dist/assets/user_advanced-engineering.md.MkETYNtq.js +50 -0
- package/packages/docs/.vitepress/dist/assets/user_advanced-engineering.md.MkETYNtq.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/user_agent-setup.md.B54OLL2H.js +24 -0
- package/packages/docs/.vitepress/dist/assets/user_agent-setup.md.B54OLL2H.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/user_beads-integration.md.BzdR5Fif.js +15 -0
- package/packages/docs/.vitepress/dist/assets/user_beads-integration.md.BzdR5Fif.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/user_crowd-mcp-integration.md.C15kSdIJ.js +157 -0
- package/packages/docs/.vitepress/dist/assets/user_crowd-mcp-integration.md.C15kSdIJ.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/user_custom-workflows.md.Cz4IYCXa.js +143 -0
- package/packages/docs/.vitepress/dist/assets/user_custom-workflows.md.Cz4IYCXa.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/user_git-commit-feature.md.UcTvDR-O.js +1 -0
- package/packages/docs/.vitepress/dist/assets/user_git-commit-feature.md.UcTvDR-O.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/user_how-it-works.md.DiOXNgaL.js +23 -0
- package/packages/docs/.vitepress/dist/assets/user_how-it-works.md.DiOXNgaL.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/user_long-term-memory.md.DZh0tjNa.js +43 -0
- package/packages/docs/.vitepress/dist/assets/user_long-term-memory.md.DZh0tjNa.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/user_packaged-workflows.md.s1HT89ZU.js +2 -0
- package/packages/docs/.vitepress/dist/assets/user_packaged-workflows.md.s1HT89ZU.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/user_tutorial.md.Dmj8zLB2.js +3 -0
- package/packages/docs/.vitepress/dist/assets/user_tutorial.md.Dmj8zLB2.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/user_workflow-selection.md.CrPGw9Hr.js +7 -0
- package/packages/docs/.vitepress/dist/assets/user_workflow-selection.md.CrPGw9Hr.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows.md.Bm5sGt3u.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows.md.Bm5sGt3u.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_adr.md.DEaXkbRp.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_adr.md.DEaXkbRp.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_big-bang-conversion.md.BA5R1LxZ.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_big-bang-conversion.md.BA5R1LxZ.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_boundary-testing.md.DBcYnMhx.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_boundary-testing.md.DBcYnMhx.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_bugfix.md.CZRCL0Hp.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_bugfix.md.CZRCL0Hp.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_business-analysis.md.fGLml8Hw.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_business-analysis.md.fGLml8Hw.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_c4-analysis.md.Dnssqzuf.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_c4-analysis.md.Dnssqzuf.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_epcc.md.M6DnIhpp.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_epcc.md.M6DnIhpp.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_game-beginner.md.CNxzWLtd.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_game-beginner.md.CNxzWLtd.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_greenfield.md.vx_g-WOe.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_greenfield.md.vx_g-WOe.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_minor.md.DdnfwMf4.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_minor.md.DdnfwMf4.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_posts.md.SOldXvq7.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_posts.md.SOldXvq7.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_sdd-bugfix-crowd.md.-lSf42gJ.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_sdd-bugfix-crowd.md.-lSf42gJ.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_sdd-bugfix.md.oRAsEVbc.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_sdd-bugfix.md.oRAsEVbc.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_sdd-feature-crowd.md.DAtnfCAd.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_sdd-feature-crowd.md.DAtnfCAd.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_sdd-feature.md.Ce3-H_g3.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_sdd-feature.md.Ce3-H_g3.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_sdd-greenfield-crowd.md.8DUvcmLe.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_sdd-greenfield-crowd.md.8DUvcmLe.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_sdd-greenfield.md.eEN6U0J4.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_sdd-greenfield.md.eEN6U0J4.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_slides.md.Cqt-19_1.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_slides.md.Cqt-19_1.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_tdd.md.BjVC69tu.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_tdd.md.BjVC69tu.lean.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_waterfall.md.CL6jTZP9.js +1 -0
- package/packages/docs/.vitepress/dist/assets/workflows_waterfall.md.CL6jTZP9.lean.js +1 -0
- package/packages/docs/.vitepress/dist/dev/ARCHITECTURE.html +155 -0
- package/packages/docs/.vitepress/dist/dev/DEVELOPMENT.html +97 -0
- package/packages/docs/.vitepress/dist/dev/LOGGING.html +59 -0
- package/packages/docs/.vitepress/dist/dev/PUBLISHING.html +30 -0
- package/packages/docs/.vitepress/dist/hashmap.json +1 -0
- package/packages/docs/.vitepress/dist/index.html +27 -0
- package/packages/docs/.vitepress/dist/user/advanced-engineering.html +75 -0
- package/packages/docs/.vitepress/dist/user/agent-setup.html +49 -0
- package/packages/docs/.vitepress/dist/user/beads-integration.html +40 -0
- package/packages/docs/.vitepress/dist/user/crowd-mcp-integration.html +182 -0
- package/packages/docs/.vitepress/dist/user/custom-workflows.html +168 -0
- package/packages/docs/.vitepress/dist/user/git-commit-feature.html +30 -0
- package/packages/docs/.vitepress/dist/user/how-it-works.html +48 -0
- package/packages/docs/.vitepress/dist/user/long-term-memory.html +68 -0
- package/packages/docs/.vitepress/dist/user/packaged-workflows.html +27 -0
- package/packages/docs/.vitepress/dist/user/tutorial.html +28 -0
- package/packages/docs/.vitepress/dist/user/workflow-selection.html +32 -0
- package/packages/docs/.vitepress/dist/vp-icons.css +0 -0
- package/packages/docs/.vitepress/dist/workflows/adr.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/adr.yaml +157 -0
- package/packages/docs/.vitepress/dist/workflows/big-bang-conversion.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/big-bang-conversion.yaml +592 -0
- package/packages/docs/.vitepress/dist/workflows/boundary-testing.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/boundary-testing.yaml +376 -0
- package/packages/docs/.vitepress/dist/workflows/bugfix.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/bugfix.yaml +177 -0
- package/packages/docs/.vitepress/dist/workflows/business-analysis.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/business-analysis.yaml +597 -0
- package/packages/docs/.vitepress/dist/workflows/c4-analysis.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/c4-analysis.yaml +471 -0
- package/packages/docs/.vitepress/dist/workflows/epcc.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/epcc.yaml +183 -0
- package/packages/docs/.vitepress/dist/workflows/game-beginner.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/game-beginner.yaml +434 -0
- package/packages/docs/.vitepress/dist/workflows/greenfield.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/greenfield.yaml +201 -0
- package/packages/docs/.vitepress/dist/workflows/minor.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/minor.yaml +138 -0
- package/packages/docs/.vitepress/dist/workflows/posts.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/posts.yaml +193 -0
- package/packages/docs/.vitepress/dist/workflows/sdd-bugfix-crowd.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/sdd-bugfix-crowd.yaml +608 -0
- package/packages/docs/.vitepress/dist/workflows/sdd-bugfix.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/sdd-bugfix.yaml +381 -0
- package/packages/docs/.vitepress/dist/workflows/sdd-feature-crowd.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/sdd-feature-crowd.yaml +713 -0
- package/packages/docs/.vitepress/dist/workflows/sdd-feature.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/sdd-feature.yaml +471 -0
- package/packages/docs/.vitepress/dist/workflows/sdd-greenfield-crowd.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/sdd-greenfield-crowd.yaml +336 -0
- package/packages/docs/.vitepress/dist/workflows/sdd-greenfield.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/sdd-greenfield.yaml +463 -0
- package/packages/docs/.vitepress/dist/workflows/slides.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/slides.yaml +237 -0
- package/packages/docs/.vitepress/dist/workflows/tdd.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/tdd.yaml +160 -0
- package/packages/docs/.vitepress/dist/workflows/waterfall.html +26 -0
- package/packages/docs/.vitepress/dist/workflows/waterfall.yaml +209 -0
- package/packages/docs/.vitepress/dist/workflows.html +26 -0
- package/packages/docs/package.json +32 -0
- package/packages/mcp-server/dist/index.js +10546 -0
- package/packages/mcp-server/package.json +41 -0
- package/packages/visualizer/dist/WorkflowVisualizer.vue +1147 -0
- package/packages/visualizer/dist/index.ts +17 -0
- package/packages/visualizer/dist/main.ts +673 -0
- package/packages/visualizer/dist/services/BundledWorkflows.ts +35 -0
- package/packages/visualizer/dist/services/FileUploadHandler.ts +166 -0
- package/packages/visualizer/dist/services/WorkflowLoader.ts +198 -0
- package/packages/visualizer/dist/services/YamlParser.ts +248 -0
- package/packages/visualizer/dist/services/workflow-list.ts +23 -0
- package/packages/visualizer/dist/types/ui-types.ts +84 -0
- package/packages/visualizer/dist/types/visualization-types.ts +95 -0
- package/packages/visualizer/dist/types/vite-env.d.ts +12 -0
- package/packages/visualizer/dist/utils/DomHelpers.ts +206 -0
- package/packages/visualizer/dist/utils/ErrorHandler.ts +170 -0
- package/packages/visualizer/dist/utils/PlantUMLEncoder.ts +121 -0
- package/packages/visualizer/dist/visualization/DiagramRenderer.ts +430 -0
- package/packages/visualizer/dist/visualization/LayoutEngine.ts +339 -0
- package/packages/visualizer/dist/visualization/PlantUMLRenderer.ts +507 -0
- package/packages/visualizer/dist/visualization/StateRenderer.ts +339 -0
- package/packages/visualizer/dist/visualization/TransitionRenderer.ts +432 -0
- package/packages/visualizer/package.json +39 -0
- package/resources/.DS_Store +0 -0
- package/resources/agents/architect.yaml +61 -0
- package/resources/agents/business-analyst.yaml +60 -0
- package/resources/agents/developer.yaml +61 -0
- package/resources/state-machine-schema.json +114 -0
- package/resources/templates/architecture/arc42/arc42-template-EN.md +1077 -0
- package/resources/templates/architecture/arc42/images/01_2_iso-25010-topics-EN.drawio-2023.png +0 -0
- package/resources/templates/architecture/arc42/images/01_2_iso-25010-topics-EN.drawio.png +0 -0
- package/resources/templates/architecture/arc42/images/05_building_blocks-EN.png +0 -0
- package/resources/templates/architecture/arc42/images/08-concepts-EN.drawio.png +0 -0
- package/resources/templates/architecture/arc42/images/arc42-logo.png +0 -0
- package/resources/templates/architecture/c4.md +224 -0
- package/resources/templates/architecture/freestyle.md +53 -0
- package/resources/templates/architecture/game.md +250 -0
- package/resources/templates/architecture/none.md +17 -0
- package/resources/templates/design/comprehensive.md +207 -0
- package/resources/templates/design/freestyle.md +37 -0
- package/resources/templates/design/game.md +66 -0
- package/resources/templates/design/none.md +17 -0
- package/resources/templates/requirements/ears.md +90 -0
- package/resources/templates/requirements/freestyle.md +42 -0
- package/resources/templates/requirements/game.md +162 -0
- package/resources/templates/requirements/none.md +17 -0
- package/resources/templates/skills/POWER.md +23 -0
- package/resources/templates/skills/SKILL.md +19 -0
- package/resources/workflows/adr.yaml +157 -0
- package/resources/workflows/big-bang-conversion.yaml +592 -0
- package/resources/workflows/boundary-testing.yaml +376 -0
- package/resources/workflows/bugfix.yaml +177 -0
- package/resources/workflows/business-analysis.yaml +597 -0
- package/resources/workflows/c4-analysis.yaml +471 -0
- package/resources/workflows/epcc.yaml +183 -0
- package/resources/workflows/game-beginner.yaml +434 -0
- package/resources/workflows/greenfield.yaml +201 -0
- package/resources/workflows/minor.yaml +138 -0
- package/resources/workflows/posts.yaml +193 -0
- package/resources/workflows/sdd-bugfix-crowd.yaml +608 -0
- package/resources/workflows/sdd-bugfix.yaml +381 -0
- package/resources/workflows/sdd-feature-crowd.yaml +713 -0
- package/resources/workflows/sdd-feature.yaml +471 -0
- package/resources/workflows/sdd-greenfield-crowd.yaml +336 -0
- package/resources/workflows/sdd-greenfield.yaml +463 -0
- package/resources/workflows/slides.yaml +237 -0
- package/resources/workflows/tdd.yaml +160 -0
- package/resources/workflows/waterfall.yaml +209 -0
- package/dist/components/beads/beads-instruction-generator.d.ts +0 -44
- package/dist/components/beads/beads-instruction-generator.d.ts.map +0 -1
- package/dist/components/beads/beads-instruction-generator.js +0 -160
- package/dist/components/beads/beads-instruction-generator.js.map +0 -1
- package/dist/components/beads/beads-plan-manager.d.ts.map +0 -1
- package/dist/components/beads/beads-plan-manager.js.map +0 -1
- package/dist/components/beads/beads-task-backend-client.d.ts +0 -43
- package/dist/components/beads/beads-task-backend-client.d.ts.map +0 -1
- package/dist/components/beads/beads-task-backend-client.js +0 -175
- package/dist/components/beads/beads-task-backend-client.js.map +0 -1
- package/dist/index.d.ts +0 -9
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -74
- package/dist/index.js.map +0 -1
- package/dist/notification-service.d.ts +0 -14
- package/dist/notification-service.d.ts.map +0 -1
- package/dist/notification-service.js +0 -18
- package/dist/notification-service.js.map +0 -1
- package/dist/plugin-system/beads-plugin.d.ts +0 -71
- package/dist/plugin-system/beads-plugin.d.ts.map +0 -1
- package/dist/plugin-system/beads-plugin.js +0 -465
- package/dist/plugin-system/beads-plugin.js.map +0 -1
- package/dist/plugin-system/commit-plugin.d.ts +0 -40
- package/dist/plugin-system/commit-plugin.d.ts.map +0 -1
- package/dist/plugin-system/commit-plugin.js +0 -204
- package/dist/plugin-system/commit-plugin.js.map +0 -1
- package/dist/plugin-system/index.d.ts +0 -9
- package/dist/plugin-system/index.d.ts.map +0 -1
- package/dist/plugin-system/index.js +0 -9
- package/dist/plugin-system/index.js.map +0 -1
- package/dist/plugin-system/plugin-interfaces.d.ts +0 -98
- package/dist/plugin-system/plugin-interfaces.d.ts.map +0 -1
- package/dist/plugin-system/plugin-interfaces.js +0 -9
- package/dist/plugin-system/plugin-interfaces.js.map +0 -1
- package/dist/plugin-system/plugin-registry.d.ts +0 -44
- package/dist/plugin-system/plugin-registry.d.ts.map +0 -1
- package/dist/plugin-system/plugin-registry.js +0 -132
- package/dist/plugin-system/plugin-registry.js.map +0 -1
- package/dist/resource-handlers/conversation-state.d.ts +0 -15
- package/dist/resource-handlers/conversation-state.d.ts.map +0 -1
- package/dist/resource-handlers/conversation-state.js +0 -40
- package/dist/resource-handlers/conversation-state.js.map +0 -1
- package/dist/resource-handlers/development-plan.d.ts +0 -14
- package/dist/resource-handlers/development-plan.d.ts.map +0 -1
- package/dist/resource-handlers/development-plan.js +0 -31
- package/dist/resource-handlers/development-plan.js.map +0 -1
- package/dist/resource-handlers/index.d.ts +0 -24
- package/dist/resource-handlers/index.d.ts.map +0 -1
- package/dist/resource-handlers/index.js +0 -62
- package/dist/resource-handlers/index.js.map +0 -1
- package/dist/resource-handlers/system-prompt.d.ts +0 -15
- package/dist/resource-handlers/system-prompt.d.ts.map +0 -1
- package/dist/resource-handlers/system-prompt.js +0 -40
- package/dist/resource-handlers/system-prompt.js.map +0 -1
- package/dist/resource-handlers/workflow-resource.d.ts +0 -15
- package/dist/resource-handlers/workflow-resource.d.ts.map +0 -1
- package/dist/resource-handlers/workflow-resource.js +0 -85
- package/dist/resource-handlers/workflow-resource.js.map +0 -1
- package/dist/response-renderer.d.ts +0 -30
- package/dist/response-renderer.d.ts.map +0 -1
- package/dist/response-renderer.js +0 -94
- package/dist/response-renderer.js.map +0 -1
- package/dist/server-config.d.ts +0 -34
- package/dist/server-config.d.ts.map +0 -1
- package/dist/server-config.js +0 -503
- package/dist/server-config.js.map +0 -1
- package/dist/server-helpers.d.ts +0 -70
- package/dist/server-helpers.d.ts.map +0 -1
- package/dist/server-helpers.js +0 -171
- package/dist/server-helpers.js.map +0 -1
- package/dist/server-implementation.d.ts +0 -74
- package/dist/server-implementation.d.ts.map +0 -1
- package/dist/server-implementation.js +0 -201
- package/dist/server-implementation.js.map +0 -1
- package/dist/server.d.ts +0 -6
- package/dist/server.d.ts.map +0 -1
- package/dist/server.js +0 -5
- package/dist/server.js.map +0 -1
- package/dist/tool-handlers/base-tool-handler.d.ts +0 -50
- package/dist/tool-handlers/base-tool-handler.d.ts.map +0 -1
- package/dist/tool-handlers/base-tool-handler.js +0 -81
- package/dist/tool-handlers/base-tool-handler.js.map +0 -1
- package/dist/tool-handlers/conduct-review.d.ts +0 -49
- package/dist/tool-handlers/conduct-review.d.ts.map +0 -1
- package/dist/tool-handlers/conduct-review.js +0 -104
- package/dist/tool-handlers/conduct-review.js.map +0 -1
- package/dist/tool-handlers/get-tool-info.d.ts +0 -75
- package/dist/tool-handlers/get-tool-info.d.ts.map +0 -1
- package/dist/tool-handlers/get-tool-info.js +0 -168
- package/dist/tool-handlers/get-tool-info.js.map +0 -1
- package/dist/tool-handlers/index.d.ts +0 -41
- package/dist/tool-handlers/index.d.ts.map +0 -1
- package/dist/tool-handlers/index.js +0 -71
- package/dist/tool-handlers/index.js.map +0 -1
- package/dist/tool-handlers/list-workflows.d.ts +0 -35
- package/dist/tool-handlers/list-workflows.d.ts.map +0 -1
- package/dist/tool-handlers/list-workflows.js +0 -43
- package/dist/tool-handlers/list-workflows.js.map +0 -1
- package/dist/tool-handlers/no-idea.d.ts +0 -41
- package/dist/tool-handlers/no-idea.d.ts.map +0 -1
- package/dist/tool-handlers/no-idea.js +0 -29
- package/dist/tool-handlers/no-idea.js.map +0 -1
- package/dist/tool-handlers/proceed-to-phase.d.ts +0 -41
- package/dist/tool-handlers/proceed-to-phase.d.ts.map +0 -1
- package/dist/tool-handlers/proceed-to-phase.js +0 -165
- package/dist/tool-handlers/proceed-to-phase.js.map +0 -1
- package/dist/tool-handlers/reset-development.d.ts +0 -31
- package/dist/tool-handlers/reset-development.d.ts.map +0 -1
- package/dist/tool-handlers/reset-development.js +0 -48
- package/dist/tool-handlers/reset-development.js.map +0 -1
- package/dist/tool-handlers/resume-workflow.d.ts +0 -87
- package/dist/tool-handlers/resume-workflow.d.ts.map +0 -1
- package/dist/tool-handlers/resume-workflow.js +0 -212
- package/dist/tool-handlers/resume-workflow.js.map +0 -1
- package/dist/tool-handlers/setup-project-docs.d.ts +0 -37
- package/dist/tool-handlers/setup-project-docs.d.ts.map +0 -1
- package/dist/tool-handlers/setup-project-docs.js +0 -138
- package/dist/tool-handlers/setup-project-docs.js.map +0 -1
- package/dist/tool-handlers/start-development.d.ts +0 -79
- package/dist/tool-handlers/start-development.d.ts.map +0 -1
- package/dist/tool-handlers/start-development.js +0 -484
- package/dist/tool-handlers/start-development.js.map +0 -1
- package/dist/tool-handlers/whats-next.d.ts +0 -41
- package/dist/tool-handlers/whats-next.d.ts.map +0 -1
- package/dist/tool-handlers/whats-next.js +0 -123
- package/dist/tool-handlers/whats-next.js.map +0 -1
- package/dist/types.d.ts +0 -119
- package/dist/types.d.ts.map +0 -1
- package/dist/types.js +0 -5
- package/dist/version-info.d.ts +0 -30
- package/dist/version-info.d.ts.map +0 -1
- package/dist/version-info.js +0 -178
- package/dist/version-info.js.map +0 -1
- package/skill/SKILL.md +0 -28
- /package/{dist → packages/core/dist}/types.js.map +0 -0
|
@@ -0,0 +1,608 @@
|
|
|
1
|
+
# yaml-language-server: $schema=../../state-machine-schema.json
|
|
2
|
+
---
|
|
3
|
+
name: 'sdd-bugfix-crowd'
|
|
4
|
+
description: 'Collaborative bug fixing: Developer reproduces → Business Analyst specifies → Developer tests & fixes → Team verifies'
|
|
5
|
+
initial_state: 'reproduce'
|
|
6
|
+
|
|
7
|
+
# Enhanced metadata for better discoverability
|
|
8
|
+
metadata:
|
|
9
|
+
domain: 'sdd-crowd'
|
|
10
|
+
complexity: 'medium'
|
|
11
|
+
collaboration: true
|
|
12
|
+
requiredRoles:
|
|
13
|
+
- business-analyst
|
|
14
|
+
- architect
|
|
15
|
+
- developer
|
|
16
|
+
bestFor:
|
|
17
|
+
- 'Team-based systematic bug fixing'
|
|
18
|
+
- 'Multi-agent bug resolution'
|
|
19
|
+
- 'Specification-driven debugging with team collaboration'
|
|
20
|
+
useCases:
|
|
21
|
+
- 'Fix complex bugs with team expertise'
|
|
22
|
+
- 'Resolve issues with comprehensive testing and review'
|
|
23
|
+
examples:
|
|
24
|
+
- 'Team fixes authentication flow bug with full specification'
|
|
25
|
+
- 'Collaborative resolution of data corruption issue'
|
|
26
|
+
|
|
27
|
+
# States with default instructions and role-specific transitions
|
|
28
|
+
states:
|
|
29
|
+
reproduce:
|
|
30
|
+
description: 'Reproduce and understand the bug'
|
|
31
|
+
default_instructions: |
|
|
32
|
+
**Team Collaboration Mode**
|
|
33
|
+
|
|
34
|
+
You are `$VIBE_ROLE` working in a collaborative team on this bug fix.
|
|
35
|
+
|
|
36
|
+
Developer is responsible. Business-analyst and architect are consulted.
|
|
37
|
+
|
|
38
|
+
transitions:
|
|
39
|
+
# Business Analyst is CONSULTED during reproduce phase
|
|
40
|
+
- trigger: 'bug_reproduced'
|
|
41
|
+
to: 'specify'
|
|
42
|
+
role: business-analyst
|
|
43
|
+
transition_reason: 'Bug reproduced, preparing to specify correct behavior'
|
|
44
|
+
additional_instructions: |
|
|
45
|
+
**Consultant Role in Reproduce Phase**
|
|
46
|
+
|
|
47
|
+
The developer is investigating the bug. Your role is to provide consultative support.
|
|
48
|
+
|
|
49
|
+
**Your Responsibilities:**
|
|
50
|
+
- Monitor messages for questions about expected behavior
|
|
51
|
+
- Clarify business rules and user expectations
|
|
52
|
+
- Explain the correct functionality from user perspective
|
|
53
|
+
|
|
54
|
+
**Important Constraints:**
|
|
55
|
+
- Do NOT edit the plan file (only developer can edit)
|
|
56
|
+
- Do NOT attempt to proceed to next phase
|
|
57
|
+
|
|
58
|
+
**Transition Notice:**
|
|
59
|
+
- When developer completes the reproduce phase, you become RESPONSIBLE
|
|
60
|
+
- You will lead the specify phase
|
|
61
|
+
- Prepare to document the correct behavior specification
|
|
62
|
+
|
|
63
|
+
# Architect is CONSULTED during reproduce phase
|
|
64
|
+
- trigger: 'bug_reproduced'
|
|
65
|
+
to: 'specify'
|
|
66
|
+
role: architect
|
|
67
|
+
transition_reason: 'Bug reproduced, transitioning to specification'
|
|
68
|
+
additional_instructions: |
|
|
69
|
+
**Consultant Role in Reproduce Phase**
|
|
70
|
+
|
|
71
|
+
The developer is investigating the bug. Your role is to provide consultative support.
|
|
72
|
+
|
|
73
|
+
**Your Responsibilities:**
|
|
74
|
+
- Monitor messages for questions about system design
|
|
75
|
+
- Clarify architectural intent and patterns
|
|
76
|
+
- Explain expected component interactions
|
|
77
|
+
|
|
78
|
+
**Important Constraints:**
|
|
79
|
+
- Do NOT edit the plan file (only developer can edit)
|
|
80
|
+
- Do NOT attempt to proceed to next phase
|
|
81
|
+
|
|
82
|
+
**How to Help:**
|
|
83
|
+
- Use get_my_messages to check for developer questions
|
|
84
|
+
- Provide architectural context for the buggy component
|
|
85
|
+
|
|
86
|
+
# Developer is RESPONSIBLE for reproduce phase
|
|
87
|
+
- trigger: 'bug_reproduced'
|
|
88
|
+
to: 'specify'
|
|
89
|
+
role: developer
|
|
90
|
+
transition_reason: 'Bug reproduced successfully, handing off to business-analyst'
|
|
91
|
+
additional_instructions: |
|
|
92
|
+
**Responsible for Reproduce Phase**
|
|
93
|
+
|
|
94
|
+
You have exclusive control during this phase:
|
|
95
|
+
- Only you can edit the plan file
|
|
96
|
+
- Only you can proceed to the next phase
|
|
97
|
+
|
|
98
|
+
**STEP 1: Gather Information**
|
|
99
|
+
- Collect exact OS, browser/runtime versions, hardware specs
|
|
100
|
+
- Document precise sequence of actions triggering the bug
|
|
101
|
+
- Obtain error messages, logs, stack traces
|
|
102
|
+
- Determine frequency (always or intermittent?)
|
|
103
|
+
- Assess business impact
|
|
104
|
+
|
|
105
|
+
**STEP 2: Create Reproduction**
|
|
106
|
+
- Develop minimal, reliable reproduction steps
|
|
107
|
+
- Document exact environment and conditions
|
|
108
|
+
- Create test data/scenarios that trigger the issue
|
|
109
|
+
- Verify bug occurs consistently
|
|
110
|
+
|
|
111
|
+
**STEP 3: Understand the Problem**
|
|
112
|
+
- Identify current (buggy) behavior
|
|
113
|
+
- Determine correct behavior
|
|
114
|
+
- Distinguish symptoms vs. root cause
|
|
115
|
+
- Identify related issues or edge cases
|
|
116
|
+
|
|
117
|
+
**STEP 4: Collaborate When Needed**
|
|
118
|
+
- Use send_message to business-analyst: "What is the expected behavior for [scenario]?"
|
|
119
|
+
- Use send_message to architect: "How should this component interact with [other component]?"
|
|
120
|
+
|
|
121
|
+
**Deliverable**: Create `$VIBE_DIR/specs/$BRANCH_NAME/reproduction.md`
|
|
122
|
+
|
|
123
|
+
**Handoff to Business-Analyst:**
|
|
124
|
+
1. Use send_message to business-analyst: "Bug reproduced successfully. Please take the lead for specify phase to document correct behavior. See: `$VIBE_DIR/specs/$BRANCH_NAME/reproduction.md`"
|
|
125
|
+
2. Use send_message to architect: "Bug reproduced, business-analyst will specify correct behavior"
|
|
126
|
+
3. Use send_message_to_operator: "Reproduction complete, handing off to business-analyst"
|
|
127
|
+
4. Call proceed_to_phase - you transition to CONSULTED in specify phase
|
|
128
|
+
|
|
129
|
+
# Bug not reproducible loop
|
|
130
|
+
- trigger: 'bug_not_reproducible'
|
|
131
|
+
to: 'reproduce'
|
|
132
|
+
role: developer
|
|
133
|
+
transition_reason: 'Bug could not be reproduced, need more information'
|
|
134
|
+
additional_instructions: |
|
|
135
|
+
Unable to reproduce the bug. Gather more details about environment, conditions, or steps.
|
|
136
|
+
Use send_message_to_operator to request more information from bug reporter.
|
|
137
|
+
|
|
138
|
+
specify:
|
|
139
|
+
description: 'Create specification of correct behavior'
|
|
140
|
+
default_instructions: |
|
|
141
|
+
**Team Collaboration Mode**
|
|
142
|
+
|
|
143
|
+
You are `$VIBE_ROLE` working in a collaborative team on this bug fix.
|
|
144
|
+
|
|
145
|
+
Business-analyst is responsible. Developer and architect are consulted.
|
|
146
|
+
|
|
147
|
+
transitions:
|
|
148
|
+
# Business Analyst is RESPONSIBLE for specify phase
|
|
149
|
+
- trigger: 'specification_complete'
|
|
150
|
+
to: 'test'
|
|
151
|
+
role: business-analyst
|
|
152
|
+
transition_reason: 'Bug specification completed, developer will create tests'
|
|
153
|
+
additional_instructions: |
|
|
154
|
+
**Responsible for Specify Phase**
|
|
155
|
+
|
|
156
|
+
You have exclusive control during this phase:
|
|
157
|
+
- Only you can edit the plan file
|
|
158
|
+
- Only you can proceed to the next phase
|
|
159
|
+
|
|
160
|
+
**STEP 1: Define Correct Behavior**
|
|
161
|
+
- Determine what should happen in the failing scenario
|
|
162
|
+
- Document expected outcomes for users
|
|
163
|
+
- Specify system behavior in edge cases
|
|
164
|
+
- Clarify business rules to enforce
|
|
165
|
+
|
|
166
|
+
**STEP 2: Handle Ambiguities**
|
|
167
|
+
- Make informed decisions about unclear requirements
|
|
168
|
+
- Use [NEEDS CLARIFICATION: question] only for critical ambiguities (max 3)
|
|
169
|
+
- Prioritize: correctness > user experience > technical details
|
|
170
|
+
|
|
171
|
+
**STEP 3: Collaborate**
|
|
172
|
+
- Use send_message to developer: "Does this specification clearly define the fix?"
|
|
173
|
+
- Use send_message to architect: "Does this align with system design intent?"
|
|
174
|
+
|
|
175
|
+
**Deliverable**: Create `$VIBE_DIR/specs/$BRANCH_NAME/bug-spec.md`
|
|
176
|
+
|
|
177
|
+
**Handoff to Developer:**
|
|
178
|
+
1. Use send_message to developer: "Bug specification complete. Please take the lead for test phase to create failing tests. See: `$VIBE_DIR/specs/$BRANCH_NAME/bug-spec.md`"
|
|
179
|
+
2. Use send_message to architect: "Specification ready, developer will create tests and fix"
|
|
180
|
+
3. Use send_message_to_operator: "Bug spec complete, handing off to developer for testing"
|
|
181
|
+
4. Call proceed_to_phase - you transition to CONSULTED in test phase
|
|
182
|
+
|
|
183
|
+
# Architect is CONSULTED during specify phase
|
|
184
|
+
- trigger: 'specification_complete'
|
|
185
|
+
to: 'test'
|
|
186
|
+
role: architect
|
|
187
|
+
transition_reason: 'Bug specification completed, transitioning to test phase'
|
|
188
|
+
additional_instructions: |
|
|
189
|
+
**Consultant Role in Specify Phase**
|
|
190
|
+
|
|
191
|
+
The business-analyst is defining correct behavior. Your role is to provide consultative support.
|
|
192
|
+
|
|
193
|
+
**Your Responsibilities:**
|
|
194
|
+
- Monitor messages for questions about system design intent
|
|
195
|
+
- Clarify how components should interact
|
|
196
|
+
- Validate specification against architectural principles
|
|
197
|
+
|
|
198
|
+
**Important Constraints:**
|
|
199
|
+
- Do NOT edit the plan file (only business-analyst can edit)
|
|
200
|
+
- Do NOT attempt to proceed to next phase
|
|
201
|
+
|
|
202
|
+
# Developer is CONSULTED during specify phase
|
|
203
|
+
- trigger: 'specification_complete'
|
|
204
|
+
to: 'test'
|
|
205
|
+
role: developer
|
|
206
|
+
transition_reason: 'Bug specification completed, preparing to create tests'
|
|
207
|
+
additional_instructions: |
|
|
208
|
+
**Consultant Role in Specify Phase**
|
|
209
|
+
|
|
210
|
+
The business-analyst is defining correct behavior. Your role is to provide consultative support.
|
|
211
|
+
|
|
212
|
+
**Your Responsibilities:**
|
|
213
|
+
- Monitor messages for questions about testability
|
|
214
|
+
- Provide feedback on specification clarity
|
|
215
|
+
- Identify any technical constraints
|
|
216
|
+
|
|
217
|
+
**Important Constraints:**
|
|
218
|
+
- Do NOT edit the plan file (only business-analyst can edit)
|
|
219
|
+
- Do NOT attempt to proceed to next phase
|
|
220
|
+
|
|
221
|
+
**Transition Notice:**
|
|
222
|
+
- When business-analyst completes the specify phase, you become RESPONSIBLE
|
|
223
|
+
- You will lead the test phase
|
|
224
|
+
- Prepare to create failing tests that capture the bug
|
|
225
|
+
|
|
226
|
+
test:
|
|
227
|
+
description: 'Create comprehensive tests'
|
|
228
|
+
default_instructions: |
|
|
229
|
+
**Team Collaboration Mode**
|
|
230
|
+
|
|
231
|
+
You are `$VIBE_ROLE` working in a collaborative team on this bug fix.
|
|
232
|
+
|
|
233
|
+
Developer is responsible for creating tests.
|
|
234
|
+
|
|
235
|
+
transitions:
|
|
236
|
+
# Business Analyst is CONSULTED during test phase
|
|
237
|
+
- trigger: 'tests_created'
|
|
238
|
+
to: 'plan'
|
|
239
|
+
role: business-analyst
|
|
240
|
+
transition_reason: 'Tests created, architect will plan the fix'
|
|
241
|
+
additional_instructions: |
|
|
242
|
+
**Consultant Role in Test Phase**
|
|
243
|
+
|
|
244
|
+
The developer is creating tests. Your role is to provide consultative support.
|
|
245
|
+
|
|
246
|
+
**Your Responsibilities:**
|
|
247
|
+
- Monitor messages for questions about acceptance criteria
|
|
248
|
+
- Validate tests cover all user scenarios from spec
|
|
249
|
+
- Ensure tests verify correct business behavior
|
|
250
|
+
|
|
251
|
+
**Important Constraints:**
|
|
252
|
+
- Do NOT edit the plan file (only developer can edit)
|
|
253
|
+
- Do NOT attempt to proceed to next phase
|
|
254
|
+
|
|
255
|
+
# Architect is CONSULTED during test phase
|
|
256
|
+
- trigger: 'tests_created'
|
|
257
|
+
to: 'plan'
|
|
258
|
+
role: architect
|
|
259
|
+
transition_reason: 'Tests created, preparing to plan fix approach'
|
|
260
|
+
additional_instructions: |
|
|
261
|
+
**Consultant Role in Test Phase**
|
|
262
|
+
|
|
263
|
+
The developer is creating tests. Your role is to provide consultative support.
|
|
264
|
+
|
|
265
|
+
**Your Responsibilities:**
|
|
266
|
+
- Monitor messages for questions about test architecture
|
|
267
|
+
- Provide guidance on integration testing approach
|
|
268
|
+
|
|
269
|
+
**Important Constraints:**
|
|
270
|
+
- Do NOT edit the plan file (only developer can edit)
|
|
271
|
+
- Do NOT attempt to proceed to next phase
|
|
272
|
+
|
|
273
|
+
**Transition Notice:**
|
|
274
|
+
- When developer completes the test phase, you become RESPONSIBLE
|
|
275
|
+
- You will lead the plan phase
|
|
276
|
+
- Prepare to design the fix approach
|
|
277
|
+
|
|
278
|
+
# Developer is RESPONSIBLE for test phase
|
|
279
|
+
- trigger: 'tests_created'
|
|
280
|
+
to: 'plan'
|
|
281
|
+
role: developer
|
|
282
|
+
transition_reason: 'Tests created, handing off to architect for fix planning'
|
|
283
|
+
additional_instructions: |
|
|
284
|
+
**Responsible for Test Phase**
|
|
285
|
+
|
|
286
|
+
You have exclusive control during this phase:
|
|
287
|
+
- Only you can edit the plan file
|
|
288
|
+
- Only you can proceed to the next phase
|
|
289
|
+
|
|
290
|
+
**STEP 1: Create Failing Tests for Current Bug**
|
|
291
|
+
- Create tests demonstrating current buggy behavior
|
|
292
|
+
- These should fail initially (Red phase of TDD)
|
|
293
|
+
- Cover main reproduction case and related scenarios
|
|
294
|
+
- Include edge cases and boundary conditions
|
|
295
|
+
|
|
296
|
+
**STEP 2: Create Tests for Expected Behavior**
|
|
297
|
+
- Create tests specifying correct behavior from bug-spec.md
|
|
298
|
+
- These should pass once bug is fixed
|
|
299
|
+
- Cover all functional requirements
|
|
300
|
+
- Include user scenarios and success criteria
|
|
301
|
+
|
|
302
|
+
**STEP 3: Create Regression Tests**
|
|
303
|
+
- Tests for related functionality that shouldn't be affected
|
|
304
|
+
- Ensure fix doesn't break existing features
|
|
305
|
+
|
|
306
|
+
**STEP 4: Collaborate**
|
|
307
|
+
- Use send_message to business-analyst: "Do these tests cover all scenarios from the spec?"
|
|
308
|
+
- Use send_message to architect: "Is the test architecture appropriate?"
|
|
309
|
+
|
|
310
|
+
**Deliverable**: Create `$VIBE_DIR/specs/$BRANCH_NAME/tests.md`
|
|
311
|
+
|
|
312
|
+
**Handoff to Architect:**
|
|
313
|
+
1. Use send_message to architect: "Tests created and failing as expected. Please take the lead for plan phase to design the fix approach."
|
|
314
|
+
2. Use send_message to business-analyst: "Tests ready, architect will plan the fix"
|
|
315
|
+
3. Use send_message_to_operator: "Tests complete, handing off to architect for fix planning"
|
|
316
|
+
4. Call proceed_to_phase - you transition to CONSULTED in plan phase
|
|
317
|
+
|
|
318
|
+
plan:
|
|
319
|
+
description: 'Plan the fix approach'
|
|
320
|
+
default_instructions: |
|
|
321
|
+
**Team Collaboration Mode**
|
|
322
|
+
|
|
323
|
+
You are `$VIBE_ROLE` working in a collaborative team on this bug fix.
|
|
324
|
+
|
|
325
|
+
Architect is responsible. Business-analyst and developer are consulted.
|
|
326
|
+
|
|
327
|
+
transitions:
|
|
328
|
+
# Business Analyst is CONSULTED during plan phase
|
|
329
|
+
- trigger: 'plan_complete'
|
|
330
|
+
to: 'fix'
|
|
331
|
+
role: business-analyst
|
|
332
|
+
transition_reason: 'Fix plan complete, developer will implement'
|
|
333
|
+
additional_instructions: |
|
|
334
|
+
**Consultant Role in Plan Phase**
|
|
335
|
+
|
|
336
|
+
The architect is designing the fix approach. Your role is to provide consultative support.
|
|
337
|
+
|
|
338
|
+
**Your Responsibilities:**
|
|
339
|
+
- Monitor messages for questions about business rules
|
|
340
|
+
- Validate fix approach addresses the root problem
|
|
341
|
+
- Ensure fix aligns with user expectations
|
|
342
|
+
|
|
343
|
+
**Important Constraints:**
|
|
344
|
+
- Do NOT edit the plan file (only architect can edit)
|
|
345
|
+
- Do NOT attempt to proceed to next phase
|
|
346
|
+
|
|
347
|
+
# Architect is RESPONSIBLE for plan phase
|
|
348
|
+
- trigger: 'plan_complete'
|
|
349
|
+
to: 'fix'
|
|
350
|
+
role: architect
|
|
351
|
+
transition_reason: 'Fix plan completed, handing off to developer'
|
|
352
|
+
additional_instructions: |
|
|
353
|
+
**Responsible for Plan Phase**
|
|
354
|
+
|
|
355
|
+
You have exclusive control during this phase:
|
|
356
|
+
- Only you can edit the plan file
|
|
357
|
+
- Only you can proceed to the next phase
|
|
358
|
+
|
|
359
|
+
**STEP 1: Load Context**
|
|
360
|
+
- Read bug spec: `$VIBE_DIR/specs/$BRANCH_NAME/bug-spec.md`
|
|
361
|
+
- Review reproduction: `$VIBE_DIR/specs/$BRANCH_NAME/reproduction.md`
|
|
362
|
+
- Understand test requirements
|
|
363
|
+
- Analyze existing codebase
|
|
364
|
+
|
|
365
|
+
**STEP 2: Perform Root Cause Analysis**
|
|
366
|
+
- Identify underlying cause of the bug
|
|
367
|
+
- Understand why current implementation fails
|
|
368
|
+
- Map problem to specific code areas or logic flaws
|
|
369
|
+
|
|
370
|
+
**STEP 3: Design Fix Strategy**
|
|
371
|
+
- Design minimal, targeted fix addressing root cause
|
|
372
|
+
- Ensure fix aligns with existing architecture patterns
|
|
373
|
+
- Consider impact on related functionality
|
|
374
|
+
- Plan for backward compatibility if needed
|
|
375
|
+
|
|
376
|
+
**STEP 4: Collaborate**
|
|
377
|
+
- Use send_message to business-analyst: "Does this fix approach meet business needs?"
|
|
378
|
+
- Use send_message to developer: "Is this fix approach implementable?"
|
|
379
|
+
- Incorporate their feedback
|
|
380
|
+
|
|
381
|
+
**Deliverable**: Create `$VIBE_DIR/specs/$BRANCH_NAME/fix-plan.md`
|
|
382
|
+
|
|
383
|
+
**Handoff to Developer:**
|
|
384
|
+
1. Use send_message to developer: "Fix plan complete. Please take the lead for fix phase. See: `$VIBE_DIR/specs/$BRANCH_NAME/fix-plan.md`"
|
|
385
|
+
2. Use send_message to business-analyst: "Plan ready, developer will implement fix"
|
|
386
|
+
3. Use send_message_to_operator: "Fix plan complete, handing off to developer"
|
|
387
|
+
4. Call proceed_to_phase - you transition to CONSULTED in fix phase
|
|
388
|
+
|
|
389
|
+
# Developer is CONSULTED during plan phase
|
|
390
|
+
- trigger: 'plan_complete'
|
|
391
|
+
to: 'fix'
|
|
392
|
+
role: developer
|
|
393
|
+
transition_reason: 'Fix plan completed, preparing to implement'
|
|
394
|
+
additional_instructions: |
|
|
395
|
+
**Consultant Role in Plan Phase**
|
|
396
|
+
|
|
397
|
+
The architect is designing fix approach. Your role is to provide consultative support.
|
|
398
|
+
|
|
399
|
+
**Your Responsibilities:**
|
|
400
|
+
- Monitor messages for questions about implementation
|
|
401
|
+
- Provide feedback on fix implementability and complexity
|
|
402
|
+
- Identify potential implementation challenges
|
|
403
|
+
- Discuss testing approach
|
|
404
|
+
|
|
405
|
+
**Important Constraints:**
|
|
406
|
+
- Do NOT edit the plan file (only architect can edit)
|
|
407
|
+
- Do NOT attempt to proceed to next phase
|
|
408
|
+
|
|
409
|
+
**Transition Notice:**
|
|
410
|
+
- When architect completes the plan phase, you become RESPONSIBLE
|
|
411
|
+
- You will lead the fix phase
|
|
412
|
+
- Prepare to implement the minimal fix
|
|
413
|
+
|
|
414
|
+
fix:
|
|
415
|
+
description: 'Implement the fix to make tests pass'
|
|
416
|
+
default_instructions: |
|
|
417
|
+
**Team Collaboration Mode**
|
|
418
|
+
|
|
419
|
+
You are `$VIBE_ROLE` working in a collaborative team on this bug fix.
|
|
420
|
+
|
|
421
|
+
Developer is responsible. Architect and business-analyst are consulted.
|
|
422
|
+
|
|
423
|
+
transitions:
|
|
424
|
+
# Business Analyst is CONSULTED during fix phase
|
|
425
|
+
- trigger: 'fix_implemented'
|
|
426
|
+
to: 'verify'
|
|
427
|
+
role: business-analyst
|
|
428
|
+
transition_reason: 'Fix implemented, team will verify'
|
|
429
|
+
additional_instructions: |
|
|
430
|
+
**Consultant Role in Fix Phase**
|
|
431
|
+
|
|
432
|
+
The developer is implementing the fix. Your role is to provide consultative support.
|
|
433
|
+
|
|
434
|
+
**Your Responsibilities:**
|
|
435
|
+
- Monitor messages for requirements clarifications
|
|
436
|
+
- Validate fix approach meets business needs
|
|
437
|
+
- Approve acceptance criteria when asked
|
|
438
|
+
|
|
439
|
+
**Important Constraints:**
|
|
440
|
+
- Do NOT edit the plan file (only developer can edit)
|
|
441
|
+
- Do NOT attempt to proceed to next phase
|
|
442
|
+
|
|
443
|
+
# Architect is CONSULTED during fix phase
|
|
444
|
+
- trigger: 'fix_implemented'
|
|
445
|
+
to: 'verify'
|
|
446
|
+
role: architect
|
|
447
|
+
transition_reason: 'Fix implemented, team will verify'
|
|
448
|
+
additional_instructions: |
|
|
449
|
+
**Consultant Role in Fix Phase**
|
|
450
|
+
|
|
451
|
+
The developer is implementing the fix. Your role is to provide consultative support.
|
|
452
|
+
|
|
453
|
+
**Your Responsibilities:**
|
|
454
|
+
- Monitor messages for architecture questions
|
|
455
|
+
- Provide guidance on design patterns and best practices
|
|
456
|
+
- Recommend integration approaches
|
|
457
|
+
- Discuss technical trade-offs
|
|
458
|
+
|
|
459
|
+
**Important Constraints:**
|
|
460
|
+
- Do NOT edit the plan file (only developer can edit)
|
|
461
|
+
- Do NOT attempt to proceed to next phase
|
|
462
|
+
|
|
463
|
+
# Developer is RESPONSIBLE for fix phase
|
|
464
|
+
- trigger: 'fix_implemented'
|
|
465
|
+
to: 'verify'
|
|
466
|
+
role: developer
|
|
467
|
+
transition_reason: 'Fix implemented and tests passing, ready for verification'
|
|
468
|
+
additional_instructions: |
|
|
469
|
+
**Responsible for Fix Phase**
|
|
470
|
+
|
|
471
|
+
You have exclusive control during this phase:
|
|
472
|
+
- Only you can edit the plan file
|
|
473
|
+
- Only you can proceed to the next phase
|
|
474
|
+
|
|
475
|
+
**STEP 1: Execute Fix Strategy**
|
|
476
|
+
- Execute fix strategy from `$VIBE_DIR/specs/$BRANCH_NAME/fix-plan.md`
|
|
477
|
+
- Make targeted changes to address root cause
|
|
478
|
+
- Avoid over-engineering
|
|
479
|
+
- Keep changes minimal and focused
|
|
480
|
+
|
|
481
|
+
**STEP 2: Implement with TDD**
|
|
482
|
+
- Run failing tests to confirm they capture the bug
|
|
483
|
+
- Implement changes to make tests pass (Green phase)
|
|
484
|
+
- Ensure all tests pass
|
|
485
|
+
|
|
486
|
+
**STEP 3: Collaborate When Blocked**
|
|
487
|
+
- Use send_message to architect: "How should I handle [technical issue]?"
|
|
488
|
+
- Use send_message to business-analyst: "What is correct behavior for [edge case]?"
|
|
489
|
+
|
|
490
|
+
**STEP 4: Validate**
|
|
491
|
+
- Verify original reproduction case no longer occurs
|
|
492
|
+
- Run full test suite to check for regressions
|
|
493
|
+
- Test edge cases and boundary conditions
|
|
494
|
+
|
|
495
|
+
**Continue to Verify Phase**
|
|
496
|
+
|
|
497
|
+
You remain RESPONSIBLE in verify phase. Before proceeding:
|
|
498
|
+
1. Use send_message_to_operator: "Fix implemented and tests passing, moving to verification"
|
|
499
|
+
2. Only you can call proceed_to_phase
|
|
500
|
+
|
|
501
|
+
verify:
|
|
502
|
+
description: 'Verify the fix works and no regressions'
|
|
503
|
+
default_instructions: |
|
|
504
|
+
**Team Collaboration Mode**
|
|
505
|
+
|
|
506
|
+
You are `$VIBE_ROLE` working in a collaborative team on this bug fix.
|
|
507
|
+
|
|
508
|
+
Developer is responsible. Team validates together.
|
|
509
|
+
|
|
510
|
+
transitions:
|
|
511
|
+
# Business Analyst is CONSULTED during verify phase
|
|
512
|
+
- trigger: 'verification_complete'
|
|
513
|
+
to: 'verify'
|
|
514
|
+
role: business-analyst
|
|
515
|
+
transition_reason: 'Verification complete, bug fixed'
|
|
516
|
+
additional_instructions: |
|
|
517
|
+
**Consultant Role in Verify Phase**
|
|
518
|
+
|
|
519
|
+
The developer is verifying the fix. Your role is to provide consultative support.
|
|
520
|
+
|
|
521
|
+
**Your Responsibilities:**
|
|
522
|
+
- Monitor messages for validation requests
|
|
523
|
+
- Perform user acceptance validation:
|
|
524
|
+
- Does fix address original user problem?
|
|
525
|
+
- Are all scenarios from spec working?
|
|
526
|
+
- Is user experience improved?
|
|
527
|
+
|
|
528
|
+
**How to Help:**
|
|
529
|
+
- Use get_my_messages to check for verification requests
|
|
530
|
+
- Use send_message to confirm fix meets business needs
|
|
531
|
+
- Raise concerns if fix doesn't fully address the problem
|
|
532
|
+
|
|
533
|
+
# Architect is CONSULTED during verify phase
|
|
534
|
+
- trigger: 'verification_complete'
|
|
535
|
+
to: 'verify'
|
|
536
|
+
role: architect
|
|
537
|
+
transition_reason: 'Verification complete, bug fixed'
|
|
538
|
+
additional_instructions: |
|
|
539
|
+
**Consultant Role in Verify Phase**
|
|
540
|
+
|
|
541
|
+
The developer is verifying the fix. Your role is to provide consultative support.
|
|
542
|
+
|
|
543
|
+
**Your Responsibilities:**
|
|
544
|
+
- Monitor messages for architecture validation requests
|
|
545
|
+
- Review fix maintains architectural integrity
|
|
546
|
+
- Ensure no technical debt introduced
|
|
547
|
+
|
|
548
|
+
**How to Help:**
|
|
549
|
+
- Use get_my_messages to check for verification requests
|
|
550
|
+
- Use send_message to approve architectural soundness
|
|
551
|
+
- Suggest improvements if fix introduces issues
|
|
552
|
+
|
|
553
|
+
# Developer is RESPONSIBLE for verify phase
|
|
554
|
+
- trigger: 'verification_complete'
|
|
555
|
+
to: 'verify'
|
|
556
|
+
role: developer
|
|
557
|
+
transition_reason: 'Verification complete, bug fix ready for deployment'
|
|
558
|
+
additional_instructions: |
|
|
559
|
+
**Responsible for Verify Phase**
|
|
560
|
+
|
|
561
|
+
You have exclusive control during this phase:
|
|
562
|
+
- Only you can edit the plan file
|
|
563
|
+
- Only you can mark verification complete
|
|
564
|
+
|
|
565
|
+
**STEP 1: Verify Bug Resolution**
|
|
566
|
+
- Confirm original reproduction case no longer occurs
|
|
567
|
+
- Verify all scenarios from bug-spec.md work correctly
|
|
568
|
+
- Test in original environment where bug was reported
|
|
569
|
+
- Validate success criteria are met
|
|
570
|
+
|
|
571
|
+
**STEP 2: Perform Regression Testing**
|
|
572
|
+
- Run full test suite
|
|
573
|
+
- Test related features and integration points
|
|
574
|
+
- Verify performance hasn't degraded
|
|
575
|
+
- Check for new edge case failures
|
|
576
|
+
|
|
577
|
+
**STEP 3: Get Team Validation**
|
|
578
|
+
- Use send_message to business-analyst: "Please perform user acceptance validation"
|
|
579
|
+
- Use send_message to architect: "Please review architectural integrity"
|
|
580
|
+
- Wait for their approval
|
|
581
|
+
|
|
582
|
+
**STEP 4: Complete and Document**
|
|
583
|
+
- Update relevant documentation if behavior changed
|
|
584
|
+
- Document fix approach for future reference
|
|
585
|
+
- Use send_message_to_operator: "Bug fix verified and approved by team, ready for deployment"
|
|
586
|
+
|
|
587
|
+
**This is the terminal state** - bug fix is complete.
|
|
588
|
+
|
|
589
|
+
# Regression detected - return to fix
|
|
590
|
+
- trigger: 'regression_detected'
|
|
591
|
+
to: 'fix'
|
|
592
|
+
role: developer
|
|
593
|
+
transition_reason: 'Regression detected, need to revise fix'
|
|
594
|
+
additional_instructions: |
|
|
595
|
+
Regression detected during verification. Fix has introduced new issues.
|
|
596
|
+
|
|
597
|
+
1. Use send_message to architect: "Regression detected: [explain]. Need help revising fix."
|
|
598
|
+
2. Use send_message to business-analyst: "Regression found, working on resolution"
|
|
599
|
+
3. Use send_message_to_operator: "Regression detected, revising fix"
|
|
600
|
+
4. Call proceed_to_phase to return to fix phase
|
|
601
|
+
|
|
602
|
+
# Global transitions
|
|
603
|
+
global_transitions:
|
|
604
|
+
- trigger: 'abandon_bugfix'
|
|
605
|
+
to: 'reproduce'
|
|
606
|
+
transition_reason: 'Bug fix abandoned, restart from beginning'
|
|
607
|
+
additional_instructions: |
|
|
608
|
+
Bug fix abandoned. If you want to restart, begin again with reproducing and understanding the bug.
|