frappe-builder 1.1.0-dev.8
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/.fb/state.db +0 -0
- package/AGENTS.md +167 -0
- package/README.md +89 -0
- package/_bmad/_config/agent-manifest.csv +10 -0
- package/_bmad/_config/agents/bmm-analyst.customize.yaml +41 -0
- package/_bmad/_config/agents/bmm-architect.customize.yaml +41 -0
- package/_bmad/_config/agents/bmm-dev.customize.yaml +41 -0
- package/_bmad/_config/agents/bmm-pm.customize.yaml +41 -0
- package/_bmad/_config/agents/bmm-qa.customize.yaml +41 -0
- package/_bmad/_config/agents/bmm-quick-flow-solo-dev.customize.yaml +41 -0
- package/_bmad/_config/agents/bmm-sm.customize.yaml +41 -0
- package/_bmad/_config/agents/bmm-tech-writer.customize.yaml +41 -0
- package/_bmad/_config/agents/bmm-ux-designer.customize.yaml +41 -0
- package/_bmad/_config/bmad-help.csv +47 -0
- package/_bmad/_config/files-manifest.csv +369 -0
- package/_bmad/_config/ides/claude-code.yaml +5 -0
- package/_bmad/_config/manifest.yaml +28 -0
- package/_bmad/_config/skill-manifest.csv +41 -0
- package/_bmad/_config/task-manifest.csv +1 -0
- package/_bmad/_config/tool-manifest.csv +1 -0
- package/_bmad/_config/workflow-manifest.csv +1 -0
- package/_bmad/_memory/config.yaml +11 -0
- package/_bmad/_memory/tech-writer-sidecar/documentation-standards.md +224 -0
- package/_bmad/bmm/agents/analyst.md +69 -0
- package/_bmad/bmm/agents/architect.md +59 -0
- package/_bmad/bmm/agents/bmad-skill-manifest.yaml +39 -0
- package/_bmad/bmm/agents/dev.md +66 -0
- package/_bmad/bmm/agents/pm.md +63 -0
- package/_bmad/bmm/agents/qa.md +89 -0
- package/_bmad/bmm/agents/quick-flow-solo-dev.md +61 -0
- package/_bmad/bmm/agents/sm.md +67 -0
- package/_bmad/bmm/agents/tech-writer/bmad-skill-manifest.yaml +3 -0
- package/_bmad/bmm/agents/tech-writer/tech-writer.md +67 -0
- package/_bmad/bmm/agents/ux-designer.md +58 -0
- package/_bmad/bmm/config.yaml +16 -0
- package/_bmad/bmm/data/project-context-template.md +26 -0
- package/_bmad/bmm/module-help.csv +32 -0
- package/_bmad/bmm/teams/default-party.csv +20 -0
- package/_bmad/bmm/teams/team-fullstack.yaml +12 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/SKILL.md +6 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/product-brief.template.md +10 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-01-init.md +170 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-01b-continue.md +158 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-02-vision.md +193 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-03-users.md +196 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-04-metrics.md +199 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-05-scope.md +213 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-06-complete.md +159 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/workflow.md +55 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/SKILL.md +88 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/agents/artifact-analyzer.md +60 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/agents/opportunity-reviewer.md +44 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/agents/skeptic-reviewer.md +44 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/agents/web-researcher.md +49 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/bmad-manifest.json +17 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/prompts/contextual-discovery.md +57 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/prompts/draft-and-review.md +86 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/prompts/finalize.md +75 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/prompts/guided-elicitation.md +70 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/resources/brief-template.md +60 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/SKILL.md +6 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/domain-steps/step-01-init.md +137 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/domain-steps/step-02-domain-analysis.md +229 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/domain-steps/step-03-competitive-landscape.md +238 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/domain-steps/step-04-regulatory-focus.md +206 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/domain-steps/step-05-technical-trends.md +234 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/domain-steps/step-06-research-synthesis.md +444 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/research.template.md +29 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/workflow.md +49 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-market-research/SKILL.md +6 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-market-research/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-market-research/research.template.md +29 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-01-init.md +184 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-02-customer-behavior.md +239 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-03-customer-pain-points.md +251 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-04-customer-decisions.md +261 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-05-competitive-analysis.md +173 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-06-research-completion.md +478 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-market-research/workflow.md +49 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/SKILL.md +6 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/research.template.md +29 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/technical-steps/step-01-init.md +137 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/technical-steps/step-02-technical-overview.md +239 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/technical-steps/step-03-integration-patterns.md +248 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/technical-steps/step-04-architectural-patterns.md +202 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/technical-steps/step-05-implementation-research.md +233 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/technical-steps/step-06-research-synthesis.md +487 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/workflow.md +50 -0
- package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +182 -0
- package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +237 -0
- package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +249 -0
- package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +259 -0
- package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +177 -0
- package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +476 -0
- package/_bmad/bmm/workflows/1-analysis/research/research.template.md +29 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/SKILL.md +6 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-01-init.md +135 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-01b-continue.md +127 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-02-discovery.md +190 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-03-core-experience.md +217 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-04-emotional-response.md +220 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-05-inspiration.md +235 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-06-design-system.md +253 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-07-defining-experience.md +255 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-08-visual-foundation.md +225 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-09-design-directions.md +225 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-10-user-journeys.md +242 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-11-component-strategy.md +249 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-12-ux-patterns.md +238 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-13-responsive-accessibility.md +265 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-14-complete.md +171 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/ux-design-template.md +13 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/workflow.md +36 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-edit-prd/SKILL.md +6 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-edit-prd/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-edit-prd/steps-e/step-e-01-discovery.md +242 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-edit-prd/steps-e/step-e-01b-legacy-conversion.md +204 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-edit-prd/steps-e/step-e-02-review.md +245 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-edit-prd/steps-e/step-e-03-edit.md +250 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-edit-prd/steps-e/step-e-04-complete.md +165 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-edit-prd/workflow.md +63 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/SKILL.md +6 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/data/domain-complexity.csv +15 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/data/prd-purpose.md +197 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/data/project-types.csv +11 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-01-discovery.md +221 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-02-format-detection.md +188 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-02b-parity-check.md +206 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-03-density-validation.md +171 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-04-brief-coverage-validation.md +211 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-05-measurability-validation.md +225 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-06-traceability-validation.md +214 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-07-implementation-leakage-validation.md +202 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-08-domain-compliance-validation.md +240 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-09-project-type-validation.md +260 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-10-smart-validation.md +206 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-11-holistic-quality-validation.md +261 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-12-completeness-validation.md +239 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-13-report-complete.md +229 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/workflow.md +62 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/data/domain-complexity.csv +15 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/data/prd-purpose.md +197 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/data/project-types.csv +11 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-01-discovery.md +224 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-02-format-detection.md +191 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-02b-parity-check.md +209 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-03-density-validation.md +174 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-04-brief-coverage-validation.md +214 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-05-measurability-validation.md +228 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-06-traceability-validation.md +217 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-07-implementation-leakage-validation.md +205 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-08-domain-compliance-validation.md +243 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-09-project-type-validation.md +263 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-10-smart-validation.md +209 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-11-holistic-quality-validation.md +264 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-12-completeness-validation.md +242 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-13-report-complete.md +232 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/workflow-validate-prd.md +65 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/SKILL.md +6 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/steps/step-01-document-discovery.md +179 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/steps/step-02-prd-analysis.md +168 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/steps/step-03-epic-coverage-validation.md +169 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/steps/step-04-ux-alignment.md +129 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/steps/step-05-epic-quality-review.md +241 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/steps/step-06-final-assessment.md +126 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/templates/readiness-report-template.md +4 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/workflow.md +49 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/SKILL.md +6 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/architecture-decision-template.md +12 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/data/domain-complexity.csv +13 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/data/project-types.csv +7 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-01-init.md +153 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-01b-continue.md +173 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-02-context.md +224 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-03-starter.md +329 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-04-decisions.md +318 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-05-patterns.md +359 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-06-structure.md +379 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-07-validation.md +359 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-08-complete.md +76 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/workflow.md +38 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/SKILL.md +6 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/steps/step-01-validate-prerequisites.md +255 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/steps/step-02-design-epics.md +212 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/steps/step-03-create-stories.md +255 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/steps/step-04-final-validation.md +131 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/templates/epics-template.md +61 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/workflow.md +53 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-code-review/SKILL.md +6 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-code-review/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-code-review/steps/step-01-gather-context.md +61 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-code-review/steps/step-02-review.md +41 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-code-review/steps/step-03-triage.md +50 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-code-review/steps/step-04-present.md +38 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-code-review/workflow.md +54 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-correct-course/SKILL.md +6 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-correct-course/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-correct-course/checklist.md +288 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-correct-course/workflow.md +267 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-create-story/SKILL.md +6 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-create-story/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-create-story/checklist.md +357 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-create-story/discover-inputs.md +88 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-create-story/template.md +49 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-create-story/workflow.md +380 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-dev-story/SKILL.md +6 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-dev-story/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-dev-story/checklist.md +80 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-dev-story/workflow.md +450 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-retrospective/SKILL.md +6 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-retrospective/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-retrospective/workflow.md +1479 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-sprint-planning/SKILL.md +6 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-sprint-planning/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-sprint-planning/checklist.md +33 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-sprint-planning/sprint-status-template.yaml +56 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-sprint-planning/workflow.md +263 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-sprint-status/SKILL.md +6 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-sprint-status/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-sprint-status/workflow.md +261 -0
- package/_bmad/bmm/workflows/bmad-document-project/SKILL.md +6 -0
- package/_bmad/bmm/workflows/bmad-document-project/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/bmad-document-project/checklist.md +245 -0
- package/_bmad/bmm/workflows/bmad-document-project/documentation-requirements.csv +12 -0
- package/_bmad/bmm/workflows/bmad-document-project/instructions.md +128 -0
- package/_bmad/bmm/workflows/bmad-document-project/templates/deep-dive-template.md +345 -0
- package/_bmad/bmm/workflows/bmad-document-project/templates/index-template.md +169 -0
- package/_bmad/bmm/workflows/bmad-document-project/templates/project-overview-template.md +103 -0
- package/_bmad/bmm/workflows/bmad-document-project/templates/project-scan-report-schema.json +160 -0
- package/_bmad/bmm/workflows/bmad-document-project/templates/source-tree-template.md +135 -0
- package/_bmad/bmm/workflows/bmad-document-project/workflow.md +27 -0
- package/_bmad/bmm/workflows/bmad-document-project/workflows/deep-dive-instructions.md +299 -0
- package/_bmad/bmm/workflows/bmad-document-project/workflows/deep-dive-workflow.md +34 -0
- package/_bmad/bmm/workflows/bmad-document-project/workflows/full-scan-instructions.md +1107 -0
- package/_bmad/bmm/workflows/bmad-document-project/workflows/full-scan-workflow.md +34 -0
- package/_bmad/bmm/workflows/bmad-generate-project-context/SKILL.md +6 -0
- package/_bmad/bmm/workflows/bmad-generate-project-context/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/bmad-generate-project-context/project-context-template.md +21 -0
- package/_bmad/bmm/workflows/bmad-generate-project-context/steps/step-01-discover.md +186 -0
- package/_bmad/bmm/workflows/bmad-generate-project-context/steps/step-02-generate.md +321 -0
- package/_bmad/bmm/workflows/bmad-generate-project-context/steps/step-03-complete.md +278 -0
- package/_bmad/bmm/workflows/bmad-generate-project-context/workflow.md +43 -0
- package/_bmad/bmm/workflows/bmad-qa-generate-e2e-tests/SKILL.md +6 -0
- package/_bmad/bmm/workflows/bmad-qa-generate-e2e-tests/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/bmad-qa-generate-e2e-tests/checklist.md +33 -0
- package/_bmad/bmm/workflows/bmad-qa-generate-e2e-tests/workflow.md +136 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/SKILL.md +6 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-01-mode-detection.md +169 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-02-context-gathering.md +114 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-03-execute.md +107 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-04-self-check.md +107 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-05-adversarial-review.md +94 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-06-resolve-findings.md +144 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/workflow.md +38 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/SKILL.md +6 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-01-clarify-and-route.md +51 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-02-plan.md +35 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-03-implement.md +33 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-04-review.md +50 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-05-present.md +17 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/tech-spec-template.md +90 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/workflow.md +79 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-spec/SKILL.md +6 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-spec/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-spec/steps/step-01-understand.md +185 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-spec/steps/step-02-investigate.md +140 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-spec/steps/step-03-generate.md +123 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-spec/steps/step-04-review.md +195 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-spec/tech-spec-template.md +74 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-spec/workflow.md +73 -0
- package/_bmad/cis/config.yaml +12 -0
- package/_bmad/cis/module-help.csv +6 -0
- package/_bmad/cis/skills/bmad-cis-agent-brainstorming-coach/SKILL.md +51 -0
- package/_bmad/cis/skills/bmad-cis-agent-brainstorming-coach/bmad-skill-manifest.yaml +11 -0
- package/_bmad/cis/skills/bmad-cis-agent-creative-problem-solver/SKILL.md +51 -0
- package/_bmad/cis/skills/bmad-cis-agent-creative-problem-solver/bmad-skill-manifest.yaml +11 -0
- package/_bmad/cis/skills/bmad-cis-agent-design-thinking-coach/SKILL.md +52 -0
- package/_bmad/cis/skills/bmad-cis-agent-design-thinking-coach/bmad-skill-manifest.yaml +11 -0
- package/_bmad/cis/skills/bmad-cis-agent-innovation-strategist/SKILL.md +51 -0
- package/_bmad/cis/skills/bmad-cis-agent-innovation-strategist/bmad-skill-manifest.yaml +11 -0
- package/_bmad/cis/skills/bmad-cis-agent-presentation-master/SKILL.md +62 -0
- package/_bmad/cis/skills/bmad-cis-agent-presentation-master/bmad-skill-manifest.yaml +11 -0
- package/_bmad/cis/skills/bmad-cis-agent-storyteller/SKILL.md +56 -0
- package/_bmad/cis/skills/bmad-cis-agent-storyteller/bmad-skill-manifest.yaml +11 -0
- package/_bmad/cis/skills/bmad-cis-agent-storyteller/stories-told.md +7 -0
- package/_bmad/cis/skills/bmad-cis-agent-storyteller/story-preferences.md +7 -0
- package/_bmad/cis/skills/bmad-cis-design-thinking/SKILL.md +6 -0
- package/_bmad/cis/skills/bmad-cis-design-thinking/bmad-skill-manifest.yaml +1 -0
- package/_bmad/cis/skills/bmad-cis-design-thinking/design-methods.csv +31 -0
- package/_bmad/cis/skills/bmad-cis-design-thinking/template.md +111 -0
- package/_bmad/cis/skills/bmad-cis-design-thinking/workflow.md +242 -0
- package/_bmad/cis/skills/bmad-cis-innovation-strategy/SKILL.md +6 -0
- package/_bmad/cis/skills/bmad-cis-innovation-strategy/bmad-skill-manifest.yaml +1 -0
- package/_bmad/cis/skills/bmad-cis-innovation-strategy/innovation-frameworks.csv +31 -0
- package/_bmad/cis/skills/bmad-cis-innovation-strategy/template.md +189 -0
- package/_bmad/cis/skills/bmad-cis-innovation-strategy/workflow.md +315 -0
- package/_bmad/cis/skills/bmad-cis-problem-solving/SKILL.md +6 -0
- package/_bmad/cis/skills/bmad-cis-problem-solving/bmad-skill-manifest.yaml +1 -0
- package/_bmad/cis/skills/bmad-cis-problem-solving/solving-methods.csv +31 -0
- package/_bmad/cis/skills/bmad-cis-problem-solving/template.md +165 -0
- package/_bmad/cis/skills/bmad-cis-problem-solving/workflow.md +291 -0
- package/_bmad/cis/skills/bmad-cis-storytelling/SKILL.md +6 -0
- package/_bmad/cis/skills/bmad-cis-storytelling/bmad-skill-manifest.yaml +1 -0
- package/_bmad/cis/skills/bmad-cis-storytelling/story-types.csv +26 -0
- package/_bmad/cis/skills/bmad-cis-storytelling/template.md +113 -0
- package/_bmad/cis/skills/bmad-cis-storytelling/workflow.md +321 -0
- package/_bmad/core/config.yaml +9 -0
- package/_bmad/core/module-help.csv +11 -0
- package/_bmad/core/skills/bmad-advanced-elicitation/SKILL.md +6 -0
- package/_bmad/core/skills/bmad-advanced-elicitation/bmad-skill-manifest.yaml +1 -0
- package/_bmad/core/skills/bmad-advanced-elicitation/methods.csv +51 -0
- package/_bmad/core/skills/bmad-advanced-elicitation/workflow.md +135 -0
- package/_bmad/core/skills/bmad-brainstorming/SKILL.md +6 -0
- package/_bmad/core/skills/bmad-brainstorming/bmad-skill-manifest.yaml +1 -0
- package/_bmad/core/skills/bmad-brainstorming/brain-methods.csv +62 -0
- package/_bmad/core/skills/bmad-brainstorming/steps/step-01-session-setup.md +214 -0
- package/_bmad/core/skills/bmad-brainstorming/steps/step-01b-continue.md +124 -0
- package/_bmad/core/skills/bmad-brainstorming/steps/step-02a-user-selected.md +229 -0
- package/_bmad/core/skills/bmad-brainstorming/steps/step-02b-ai-recommended.md +239 -0
- package/_bmad/core/skills/bmad-brainstorming/steps/step-02c-random-selection.md +211 -0
- package/_bmad/core/skills/bmad-brainstorming/steps/step-02d-progressive-flow.md +266 -0
- package/_bmad/core/skills/bmad-brainstorming/steps/step-03-technique-execution.md +401 -0
- package/_bmad/core/skills/bmad-brainstorming/steps/step-04-idea-organization.md +305 -0
- package/_bmad/core/skills/bmad-brainstorming/template.md +15 -0
- package/_bmad/core/skills/bmad-brainstorming/workflow.md +53 -0
- package/_bmad/core/skills/bmad-distillator/SKILL.md +178 -0
- package/_bmad/core/skills/bmad-distillator/agents/distillate-compressor.md +116 -0
- package/_bmad/core/skills/bmad-distillator/agents/round-trip-reconstructor.md +68 -0
- package/_bmad/core/skills/bmad-distillator/bmad-skill-manifest.yaml +15 -0
- package/_bmad/core/skills/bmad-distillator/resources/compression-rules.md +51 -0
- package/_bmad/core/skills/bmad-distillator/resources/distillate-format-reference.md +227 -0
- package/_bmad/core/skills/bmad-distillator/resources/splitting-strategy.md +78 -0
- package/_bmad/core/skills/bmad-editorial-review-prose/SKILL.md +6 -0
- package/_bmad/core/skills/bmad-editorial-review-prose/bmad-skill-manifest.yaml +1 -0
- package/_bmad/core/skills/bmad-editorial-review-prose/workflow.md +81 -0
- package/_bmad/core/skills/bmad-editorial-review-structure/SKILL.md +6 -0
- package/_bmad/core/skills/bmad-editorial-review-structure/bmad-skill-manifest.yaml +1 -0
- package/_bmad/core/skills/bmad-editorial-review-structure/workflow.md +174 -0
- package/_bmad/core/skills/bmad-help/SKILL.md +6 -0
- package/_bmad/core/skills/bmad-help/bmad-skill-manifest.yaml +1 -0
- package/_bmad/core/skills/bmad-help/workflow.md +88 -0
- package/_bmad/core/skills/bmad-index-docs/SKILL.md +6 -0
- package/_bmad/core/skills/bmad-index-docs/bmad-skill-manifest.yaml +1 -0
- package/_bmad/core/skills/bmad-index-docs/workflow.md +61 -0
- package/_bmad/core/skills/bmad-party-mode/SKILL.md +6 -0
- package/_bmad/core/skills/bmad-party-mode/bmad-skill-manifest.yaml +1 -0
- package/_bmad/core/skills/bmad-party-mode/steps/step-01-agent-loading.md +138 -0
- package/_bmad/core/skills/bmad-party-mode/steps/step-02-discussion-orchestration.md +187 -0
- package/_bmad/core/skills/bmad-party-mode/steps/step-03-graceful-exit.md +167 -0
- package/_bmad/core/skills/bmad-party-mode/workflow.md +190 -0
- package/_bmad/core/skills/bmad-review-adversarial-general/SKILL.md +6 -0
- package/_bmad/core/skills/bmad-review-adversarial-general/bmad-skill-manifest.yaml +1 -0
- package/_bmad/core/skills/bmad-review-adversarial-general/workflow.md +32 -0
- package/_bmad/core/skills/bmad-review-edge-case-hunter/SKILL.md +6 -0
- package/_bmad/core/skills/bmad-review-edge-case-hunter/bmad-skill-manifest.yaml +1 -0
- package/_bmad/core/skills/bmad-review-edge-case-hunter/workflow.md +62 -0
- package/_bmad/core/skills/bmad-shard-doc/SKILL.md +6 -0
- package/_bmad/core/skills/bmad-shard-doc/bmad-skill-manifest.yaml +1 -0
- package/_bmad/core/skills/bmad-shard-doc/workflow.md +100 -0
- package/_bmad/core/tasks/bmad-create-prd/SKILL.md +6 -0
- package/_bmad/core/tasks/bmad-create-prd/bmad-skill-manifest.yaml +1 -0
- package/_bmad/core/tasks/bmad-create-prd/data/domain-complexity.csv +15 -0
- package/_bmad/core/tasks/bmad-create-prd/data/prd-purpose.md +197 -0
- package/_bmad/core/tasks/bmad-create-prd/data/project-types.csv +11 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-01-init.md +178 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-01b-continue.md +161 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-02-discovery.md +208 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-02b-vision.md +142 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-02c-executive-summary.md +158 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-03-success.md +214 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-04-journeys.md +201 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-05-domain.md +194 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-06-innovation.md +211 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-07-project-type.md +222 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-08-scoping.md +216 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-09-functional.md +219 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-10-nonfunctional.md +230 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-11-polish.md +221 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-12-complete.md +115 -0
- package/_bmad/core/tasks/bmad-create-prd/templates/prd-template.md +10 -0
- package/_bmad/core/tasks/bmad-create-prd/workflow.md +62 -0
- package/config/allowed-commands.ts +39 -0
- package/config/defaults.ts +19 -0
- package/config/loader.ts +105 -0
- package/extensions/frappe-gates.ts +160 -0
- package/extensions/frappe-session.ts +324 -0
- package/extensions/frappe-state.ts +235 -0
- package/extensions/frappe-tools.ts +278 -0
- package/extensions/frappe-ui.ts +119 -0
- package/extensions/frappe-workflow.ts +85 -0
- package/gates/coverage-check.ts +37 -0
- package/gates/frappe-native-check.ts +65 -0
- package/gates/permission-check.ts +65 -0
- package/gates/query-check.ts +40 -0
- package/gates/server-side-check.ts +67 -0
- package/gates/style-check.ts +92 -0
- package/gates/types.ts +13 -0
- package/package.json +43 -0
- package/project-context.md +146 -0
- package/state/db.ts +85 -0
- package/state/fsm.ts +68 -0
- package/state/journal.ts +164 -0
- package/state/schema.ts +41 -0
- package/tools/agent-tools.ts +60 -0
- package/tools/bench-tools.ts +63 -0
- package/tools/context-sandbox.ts +31 -0
- package/tools/debug-tools.ts +12 -0
- package/tools/feature-tools.ts +126 -0
- package/tools/frappe-context7.ts +70 -0
- package/tools/frappe-query-tools.ts +47 -0
- package/tools/project-tools.ts +107 -0
- package/tsdown.config.ts +6 -0
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
|
|
4
|
+
# Step 2: Context Gathering (Direct Mode)
|
|
5
|
+
|
|
6
|
+
**Goal:** Quickly gather context for direct instructions - files, patterns, dependencies.
|
|
7
|
+
|
|
8
|
+
**Note:** This step only runs for Mode B (direct instructions). If `{execution_mode}` is "tech-spec", this step was skipped.
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## AVAILABLE STATE
|
|
13
|
+
|
|
14
|
+
From step-01:
|
|
15
|
+
|
|
16
|
+
- `{baseline_commit}` - Git HEAD at workflow start
|
|
17
|
+
- `{execution_mode}` - Should be "direct"
|
|
18
|
+
- `{project_context}` - Loaded if exists
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## EXECUTION SEQUENCE
|
|
23
|
+
|
|
24
|
+
### 1. Identify Files to Modify
|
|
25
|
+
|
|
26
|
+
Based on user's direct instructions:
|
|
27
|
+
|
|
28
|
+
- Search for relevant files using glob/grep
|
|
29
|
+
- Identify the specific files that need changes
|
|
30
|
+
- Note file locations and purposes
|
|
31
|
+
|
|
32
|
+
### 2. Find Relevant Patterns
|
|
33
|
+
|
|
34
|
+
Examine the identified files and their surroundings:
|
|
35
|
+
|
|
36
|
+
- Code style and conventions used
|
|
37
|
+
- Existing patterns for similar functionality
|
|
38
|
+
- Import/export patterns
|
|
39
|
+
- Error handling approaches
|
|
40
|
+
- Test patterns (if tests exist nearby)
|
|
41
|
+
|
|
42
|
+
### 3. Note Dependencies
|
|
43
|
+
|
|
44
|
+
Identify:
|
|
45
|
+
|
|
46
|
+
- External libraries used
|
|
47
|
+
- Internal module dependencies
|
|
48
|
+
- Configuration files that may need updates
|
|
49
|
+
- Related files that might be affected
|
|
50
|
+
|
|
51
|
+
### 4. Create Mental Plan
|
|
52
|
+
|
|
53
|
+
Synthesize gathered context into:
|
|
54
|
+
|
|
55
|
+
- List of tasks to complete
|
|
56
|
+
- Acceptance criteria (inferred from user request)
|
|
57
|
+
- Order of operations
|
|
58
|
+
- Files to touch
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## PRESENT PLAN
|
|
63
|
+
|
|
64
|
+
Display to user:
|
|
65
|
+
|
|
66
|
+
```
|
|
67
|
+
**Context Gathered:**
|
|
68
|
+
|
|
69
|
+
**Files to modify:**
|
|
70
|
+
- {list files}
|
|
71
|
+
|
|
72
|
+
**Patterns identified:**
|
|
73
|
+
- {key patterns}
|
|
74
|
+
|
|
75
|
+
**Plan:**
|
|
76
|
+
1. {task 1}
|
|
77
|
+
2. {task 2}
|
|
78
|
+
...
|
|
79
|
+
|
|
80
|
+
**Inferred AC:**
|
|
81
|
+
- {acceptance criteria}
|
|
82
|
+
|
|
83
|
+
Ready to execute? (y/n/adjust)
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
- **y:** Proceed to execution
|
|
87
|
+
- **n:** Gather more context or clarify
|
|
88
|
+
- **adjust:** Modify the plan based on feedback
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
## NEXT STEP DIRECTIVE
|
|
93
|
+
|
|
94
|
+
**CRITICAL:** When user confirms ready, explicitly state:
|
|
95
|
+
|
|
96
|
+
- **y:** "**NEXT:** Read fully and follow: `./step-03-execute.md`"
|
|
97
|
+
- **n/adjust:** Continue gathering context, then re-present plan
|
|
98
|
+
|
|
99
|
+
---
|
|
100
|
+
|
|
101
|
+
## SUCCESS METRICS
|
|
102
|
+
|
|
103
|
+
- Files to modify identified
|
|
104
|
+
- Relevant patterns documented
|
|
105
|
+
- Dependencies noted
|
|
106
|
+
- Mental plan created with tasks and AC
|
|
107
|
+
- User confirmed readiness to proceed
|
|
108
|
+
|
|
109
|
+
## FAILURE MODES
|
|
110
|
+
|
|
111
|
+
- Executing this step when Mode A (tech-spec)
|
|
112
|
+
- Proceeding without identifying files to modify
|
|
113
|
+
- Not presenting plan for user confirmation
|
|
114
|
+
- Missing obvious patterns in existing code
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
|
|
4
|
+
# Step 3: Execute Implementation
|
|
5
|
+
|
|
6
|
+
**Goal:** Implement all tasks, write tests, follow patterns, handle errors.
|
|
7
|
+
|
|
8
|
+
**Critical:** Continue through ALL tasks without stopping for milestones.
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## AVAILABLE STATE
|
|
13
|
+
|
|
14
|
+
From previous steps:
|
|
15
|
+
|
|
16
|
+
- `{baseline_commit}` - Git HEAD at workflow start
|
|
17
|
+
- `{execution_mode}` - "tech-spec" or "direct"
|
|
18
|
+
- `{tech_spec_path}` - Tech-spec file (if Mode A)
|
|
19
|
+
- `{project_context}` - Project patterns (if exists)
|
|
20
|
+
|
|
21
|
+
From context:
|
|
22
|
+
|
|
23
|
+
- Mode A: Tasks and AC extracted from tech-spec
|
|
24
|
+
- Mode B: Tasks and AC from step-02 mental plan
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## EXECUTION LOOP
|
|
29
|
+
|
|
30
|
+
For each task:
|
|
31
|
+
|
|
32
|
+
### 1. Load Context
|
|
33
|
+
|
|
34
|
+
- Read files relevant to this task
|
|
35
|
+
- Review patterns from project-context or observed code
|
|
36
|
+
- Understand dependencies
|
|
37
|
+
|
|
38
|
+
### 2. Implement
|
|
39
|
+
|
|
40
|
+
- Write code following existing patterns
|
|
41
|
+
- Handle errors appropriately
|
|
42
|
+
- Follow conventions observed in codebase
|
|
43
|
+
- Add appropriate comments where non-obvious
|
|
44
|
+
|
|
45
|
+
### 3. Test
|
|
46
|
+
|
|
47
|
+
- Write tests if appropriate for the change
|
|
48
|
+
- Run existing tests to catch regressions
|
|
49
|
+
- Verify the specific AC for this task
|
|
50
|
+
|
|
51
|
+
### 4. Mark Complete
|
|
52
|
+
|
|
53
|
+
- Check off task: `- [x] Task N`
|
|
54
|
+
- Continue to next task immediately
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## HALT CONDITIONS
|
|
59
|
+
|
|
60
|
+
**HALT and request guidance if:**
|
|
61
|
+
|
|
62
|
+
- 3 consecutive failures on same task
|
|
63
|
+
- Tests fail and fix is not obvious
|
|
64
|
+
- Blocking dependency discovered
|
|
65
|
+
- Ambiguity that requires user decision
|
|
66
|
+
|
|
67
|
+
**Do NOT halt for:**
|
|
68
|
+
|
|
69
|
+
- Minor issues that can be noted and continued
|
|
70
|
+
- Warnings that don't block functionality
|
|
71
|
+
- Style preferences (follow existing patterns)
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
## CONTINUOUS EXECUTION
|
|
76
|
+
|
|
77
|
+
**Critical:** Do not stop between tasks for approval.
|
|
78
|
+
|
|
79
|
+
- Execute all tasks in sequence
|
|
80
|
+
- Only halt for blocking issues
|
|
81
|
+
- Tests failing = fix before continuing
|
|
82
|
+
- Track all completed work for self-check
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
## NEXT STEP
|
|
87
|
+
|
|
88
|
+
When ALL tasks are complete (or halted on blocker), read fully and follow: `./step-04-self-check.md`.
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
## SUCCESS METRICS
|
|
93
|
+
|
|
94
|
+
- All tasks attempted
|
|
95
|
+
- Code follows existing patterns
|
|
96
|
+
- Error handling appropriate
|
|
97
|
+
- Tests written where appropriate
|
|
98
|
+
- Tests passing
|
|
99
|
+
- No unnecessary halts
|
|
100
|
+
|
|
101
|
+
## FAILURE MODES
|
|
102
|
+
|
|
103
|
+
- Stopping for approval between tasks
|
|
104
|
+
- Ignoring existing patterns
|
|
105
|
+
- Not running tests after changes
|
|
106
|
+
- Giving up after first failure
|
|
107
|
+
- Not following project-context rules (if exists)
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
|
|
4
|
+
# Step 4: Self-Check
|
|
5
|
+
|
|
6
|
+
**Goal:** Audit completed work against tasks, tests, AC, and patterns before external review.
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## AVAILABLE STATE
|
|
11
|
+
|
|
12
|
+
From previous steps:
|
|
13
|
+
|
|
14
|
+
- `{baseline_commit}` - Git HEAD at workflow start
|
|
15
|
+
- `{execution_mode}` - "tech-spec" or "direct"
|
|
16
|
+
- `{tech_spec_path}` - Tech-spec file (if Mode A)
|
|
17
|
+
- `{project_context}` - Project patterns (if exists)
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## SELF-CHECK AUDIT
|
|
22
|
+
|
|
23
|
+
### 1. Tasks Complete
|
|
24
|
+
|
|
25
|
+
Verify all tasks are marked complete:
|
|
26
|
+
|
|
27
|
+
- [ ] All tasks from tech-spec or mental plan marked `[x]`
|
|
28
|
+
- [ ] No tasks skipped without documented reason
|
|
29
|
+
- [ ] Any blocked tasks have clear explanation
|
|
30
|
+
|
|
31
|
+
### 2. Tests Passing
|
|
32
|
+
|
|
33
|
+
Verify test status:
|
|
34
|
+
|
|
35
|
+
- [ ] All existing tests still pass
|
|
36
|
+
- [ ] New tests written for new functionality
|
|
37
|
+
- [ ] No test warnings or skipped tests without reason
|
|
38
|
+
|
|
39
|
+
### 3. Acceptance Criteria Satisfied
|
|
40
|
+
|
|
41
|
+
For each AC:
|
|
42
|
+
|
|
43
|
+
- [ ] AC is demonstrably met
|
|
44
|
+
- [ ] Can explain how implementation satisfies AC
|
|
45
|
+
- [ ] Edge cases considered
|
|
46
|
+
|
|
47
|
+
### 4. Patterns Followed
|
|
48
|
+
|
|
49
|
+
Verify code quality:
|
|
50
|
+
|
|
51
|
+
- [ ] Follows existing code patterns in codebase
|
|
52
|
+
- [ ] Follows project-context rules (if exists)
|
|
53
|
+
- [ ] Error handling consistent with codebase
|
|
54
|
+
- [ ] No obvious code smells introduced
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## UPDATE TECH-SPEC (Mode A only)
|
|
59
|
+
|
|
60
|
+
If `{execution_mode}` is "tech-spec":
|
|
61
|
+
|
|
62
|
+
1. Load `{tech_spec_path}`
|
|
63
|
+
2. Mark all tasks as `[x]` complete
|
|
64
|
+
3. Update status to "Implementation Complete"
|
|
65
|
+
4. Save changes
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## IMPLEMENTATION SUMMARY
|
|
70
|
+
|
|
71
|
+
Present summary to transition to review:
|
|
72
|
+
|
|
73
|
+
```
|
|
74
|
+
**Implementation Complete!**
|
|
75
|
+
|
|
76
|
+
**Summary:** {what was implemented}
|
|
77
|
+
**Files Modified:** {list of files}
|
|
78
|
+
**Tests:** {test summary - passed/added/etc}
|
|
79
|
+
**AC Status:** {all satisfied / issues noted}
|
|
80
|
+
|
|
81
|
+
Proceeding to adversarial code review...
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
## NEXT STEP
|
|
87
|
+
|
|
88
|
+
Proceed immediately to `./step-05-adversarial-review.md`.
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
## SUCCESS METRICS
|
|
93
|
+
|
|
94
|
+
- All tasks verified complete
|
|
95
|
+
- All tests passing
|
|
96
|
+
- All AC satisfied
|
|
97
|
+
- Patterns followed
|
|
98
|
+
- Tech-spec updated (if Mode A)
|
|
99
|
+
- Summary presented
|
|
100
|
+
|
|
101
|
+
## FAILURE MODES
|
|
102
|
+
|
|
103
|
+
- Claiming tasks complete when they're not
|
|
104
|
+
- Not running tests before proceeding
|
|
105
|
+
- Missing AC verification
|
|
106
|
+
- Ignoring pattern violations
|
|
107
|
+
- Not updating tech-spec status (Mode A)
|
package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-05-adversarial-review.md
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
|
|
4
|
+
# Step 5: Adversarial Code Review
|
|
5
|
+
|
|
6
|
+
**Goal:** Construct diff of all changes, invoke adversarial review skill, present findings.
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## AVAILABLE STATE
|
|
11
|
+
|
|
12
|
+
From previous steps:
|
|
13
|
+
|
|
14
|
+
- `{baseline_commit}` - Git HEAD at workflow start (CRITICAL for diff)
|
|
15
|
+
- `{execution_mode}` - "tech-spec" or "direct"
|
|
16
|
+
- `{tech_spec_path}` - Tech-spec file (if Mode A)
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
### 1. Construct Diff
|
|
21
|
+
|
|
22
|
+
Build complete diff of all changes since workflow started.
|
|
23
|
+
|
|
24
|
+
### If `{baseline_commit}` is a Git commit hash:
|
|
25
|
+
|
|
26
|
+
**Tracked File Changes:**
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
git diff {baseline_commit}
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
**New Untracked Files:**
|
|
33
|
+
Only include untracked files that YOU created during this workflow (steps 2-4).
|
|
34
|
+
Do not include pre-existing untracked files.
|
|
35
|
+
For each new file created, include its full content as a "new file" addition.
|
|
36
|
+
|
|
37
|
+
### If `{baseline_commit}` is "NO_GIT":
|
|
38
|
+
|
|
39
|
+
Use best-effort diff construction:
|
|
40
|
+
|
|
41
|
+
- List all files you modified during steps 2-4
|
|
42
|
+
- For each file, show the changes you made (before/after if you recall, or just current state)
|
|
43
|
+
- Include any new files you created with their full content
|
|
44
|
+
- Note: This is less precise than Git diff but still enables meaningful review
|
|
45
|
+
|
|
46
|
+
### Capture as {diff_output}
|
|
47
|
+
|
|
48
|
+
Merge all changes into `{diff_output}`.
|
|
49
|
+
|
|
50
|
+
**Note:** Do NOT `git add` anything - this is read-only inspection.
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
### 2. Invoke Adversarial Review
|
|
55
|
+
|
|
56
|
+
With `{diff_output}` constructed, invoke the `bmad-review-adversarial-general` skill. If possible, use information asymmetry: invoke the skill in a separate subagent or process with read access to the project, but no context except the `{diff_output}`.
|
|
57
|
+
|
|
58
|
+
Pass `{diff_output}` as the content to review. The skill should return a list of findings.
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
### 3. Process Findings
|
|
63
|
+
|
|
64
|
+
Capture the findings from the skill output.
|
|
65
|
+
**If zero findings:** HALT - this is suspicious. Re-analyze or request user guidance.
|
|
66
|
+
Evaluate severity (Critical, High, Medium, Low) and validity (real, noise, undecided).
|
|
67
|
+
DO NOT exclude findings based on severity or validity unless explicitly asked to do so.
|
|
68
|
+
Order findings by severity.
|
|
69
|
+
Number the ordered findings (F1, F2, F3, etc.).
|
|
70
|
+
If TodoWrite or similar tool is available, turn each finding into a TODO, include ID, severity, validity, and description in the TODO; otherwise present findings as a table with columns: ID, Severity, Validity, Description
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## NEXT STEP
|
|
75
|
+
|
|
76
|
+
With findings in hand, read fully and follow: `./step-06-resolve-findings.md` for user to choose resolution approach.
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## SUCCESS METRICS
|
|
81
|
+
|
|
82
|
+
- Diff constructed from baseline_commit
|
|
83
|
+
- New files included in diff
|
|
84
|
+
- Skill invoked with diff as input
|
|
85
|
+
- Findings received
|
|
86
|
+
- Findings processed into TODOs or table and presented to user
|
|
87
|
+
|
|
88
|
+
## FAILURE MODES
|
|
89
|
+
|
|
90
|
+
- Missing baseline_commit (can't construct accurate diff)
|
|
91
|
+
- Not including new untracked files in diff
|
|
92
|
+
- Invoking skill without providing diff input
|
|
93
|
+
- Accepting zero findings without questioning
|
|
94
|
+
- Presenting fewer findings than the review skill returned without explicit instruction to do so
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
|
|
4
|
+
# Step 6: Resolve Findings
|
|
5
|
+
|
|
6
|
+
**Goal:** Handle adversarial review findings interactively, apply fixes, finalize tech-spec.
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## AVAILABLE STATE
|
|
11
|
+
|
|
12
|
+
From previous steps:
|
|
13
|
+
|
|
14
|
+
- `{baseline_commit}` - Git HEAD at workflow start
|
|
15
|
+
- `{execution_mode}` - "tech-spec" or "direct"
|
|
16
|
+
- `{tech_spec_path}` - Tech-spec file (if Mode A)
|
|
17
|
+
- Findings table from step-05
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## RESOLUTION OPTIONS
|
|
22
|
+
|
|
23
|
+
Present: "How would you like to handle these findings?"
|
|
24
|
+
|
|
25
|
+
Display:
|
|
26
|
+
|
|
27
|
+
**[W] Walk through** - Discuss each finding individually
|
|
28
|
+
**[F] Fix automatically** - Automatically fix issues classified as "real"
|
|
29
|
+
**[S] Skip** - Acknowledge and proceed to commit
|
|
30
|
+
|
|
31
|
+
### Menu Handling Logic:
|
|
32
|
+
|
|
33
|
+
- IF W: Execute WALK THROUGH section below
|
|
34
|
+
- IF F: Execute FIX AUTOMATICALLY section below
|
|
35
|
+
- IF S: Execute SKIP section below
|
|
36
|
+
|
|
37
|
+
### EXECUTION RULES:
|
|
38
|
+
|
|
39
|
+
- ALWAYS halt and wait for user input after presenting menu
|
|
40
|
+
- ONLY proceed when user makes a selection
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## WALK THROUGH [W]
|
|
45
|
+
|
|
46
|
+
For each finding in order:
|
|
47
|
+
|
|
48
|
+
1. Present the finding with context
|
|
49
|
+
2. Ask: **fix now / skip / discuss**
|
|
50
|
+
3. If fix: Apply the fix immediately
|
|
51
|
+
4. If skip: Note as acknowledged, continue
|
|
52
|
+
5. If discuss: Provide more context, re-ask
|
|
53
|
+
6. Move to next finding
|
|
54
|
+
|
|
55
|
+
After all findings processed, summarize what was fixed/skipped.
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## FIX AUTOMATICALLY [F]
|
|
60
|
+
|
|
61
|
+
1. Filter findings to only those classified as "real"
|
|
62
|
+
2. Apply fixes for each real finding
|
|
63
|
+
3. Report what was fixed:
|
|
64
|
+
|
|
65
|
+
```
|
|
66
|
+
**Auto-fix Applied:**
|
|
67
|
+
- F1: {description of fix}
|
|
68
|
+
- F3: {description of fix}
|
|
69
|
+
...
|
|
70
|
+
|
|
71
|
+
Skipped (noise/uncertain): F2, F4
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
## SKIP [S]
|
|
77
|
+
|
|
78
|
+
1. Acknowledge all findings were reviewed
|
|
79
|
+
2. Note that user chose to proceed without fixes
|
|
80
|
+
3. Continue to completion
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## UPDATE TECH-SPEC (Mode A only)
|
|
85
|
+
|
|
86
|
+
If `{execution_mode}` is "tech-spec":
|
|
87
|
+
|
|
88
|
+
1. Load `{tech_spec_path}`
|
|
89
|
+
2. Update status to "Completed"
|
|
90
|
+
3. Add review notes:
|
|
91
|
+
```
|
|
92
|
+
## Review Notes
|
|
93
|
+
- Adversarial review completed
|
|
94
|
+
- Findings: {count} total, {fixed} fixed, {skipped} skipped
|
|
95
|
+
- Resolution approach: {walk-through/auto-fix/skip}
|
|
96
|
+
```
|
|
97
|
+
4. Save changes
|
|
98
|
+
|
|
99
|
+
---
|
|
100
|
+
|
|
101
|
+
## COMPLETION OUTPUT
|
|
102
|
+
|
|
103
|
+
```
|
|
104
|
+
**Review complete. Ready to commit.**
|
|
105
|
+
|
|
106
|
+
**Implementation Summary:**
|
|
107
|
+
- {what was implemented}
|
|
108
|
+
- Files modified: {count}
|
|
109
|
+
- Tests: {status}
|
|
110
|
+
- Review findings: {X} addressed, {Y} skipped
|
|
111
|
+
|
|
112
|
+
{Explain what was implemented based on user_skill_level}
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
## WORKFLOW COMPLETE
|
|
118
|
+
|
|
119
|
+
This is the final step. The Quick Dev workflow is now complete.
|
|
120
|
+
|
|
121
|
+
User can:
|
|
122
|
+
|
|
123
|
+
- Commit changes
|
|
124
|
+
- Run additional tests
|
|
125
|
+
- Start new Quick Dev session
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## SUCCESS METRICS
|
|
130
|
+
|
|
131
|
+
- User presented with resolution options
|
|
132
|
+
- Chosen approach executed correctly
|
|
133
|
+
- Fixes applied cleanly (if applicable)
|
|
134
|
+
- Tech-spec updated with final status (Mode A)
|
|
135
|
+
- Completion summary provided
|
|
136
|
+
- User understands what was implemented
|
|
137
|
+
|
|
138
|
+
## FAILURE MODES
|
|
139
|
+
|
|
140
|
+
- Not presenting resolution options
|
|
141
|
+
- Auto-fixing "noise" or "uncertain" findings
|
|
142
|
+
- Not updating tech-spec after resolution (Mode A)
|
|
143
|
+
- No completion summary
|
|
144
|
+
- Leaving user unclear on next steps
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Quick Dev Workflow
|
|
2
|
+
|
|
3
|
+
**Goal:** Execute implementation tasks efficiently, either from a tech-spec or direct user instructions.
|
|
4
|
+
|
|
5
|
+
**Your Role:** You are an elite full-stack developer executing tasks autonomously. Follow patterns, ship code, run tests. Every response moves the project forward.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## WORKFLOW ARCHITECTURE
|
|
10
|
+
|
|
11
|
+
This uses **step-file architecture** for focused execution:
|
|
12
|
+
|
|
13
|
+
- Each step loads fresh to combat "lost in the middle"
|
|
14
|
+
- State persists via variables: `{baseline_commit}`, `{execution_mode}`, `{tech_spec_path}`
|
|
15
|
+
- Sequential progression through implementation phases
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## INITIALIZATION
|
|
20
|
+
|
|
21
|
+
### Configuration Loading
|
|
22
|
+
|
|
23
|
+
Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
|
|
24
|
+
|
|
25
|
+
- `user_name`, `communication_language`, `user_skill_level`
|
|
26
|
+
- `planning_artifacts`, `implementation_artifacts`
|
|
27
|
+
- `date` as system-generated current datetime
|
|
28
|
+
- ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
|
|
29
|
+
|
|
30
|
+
### Paths
|
|
31
|
+
|
|
32
|
+
- `project_context` = `**/project-context.md` (load if exists)
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## EXECUTION
|
|
37
|
+
|
|
38
|
+
Read fully and follow: `./steps/step-01-mode-detection.md` to begin the workflow.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: bmad-quick-dev-new-preview
|
|
3
|
+
description: 'Implements any user intent, requirement, story, bug fix or change request by producing clean working code artifacts that follow the project''s existing architecture, patterns and conventions. Use when the user wants to build, fix, tweak, refactor, add or modify any code, component or feature.'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Follow the instructions in ./workflow.md.
|
package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/bmad-skill-manifest.yaml
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
type: skill
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
wipFile: '{implementation_artifacts}/tech-spec-wip.md'
|
|
3
|
+
deferred_work_file: '{implementation_artifacts}/deferred-work.md'
|
|
4
|
+
spec_file: '' # set at runtime before leaving this step
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Step 1: Clarify and Route
|
|
8
|
+
|
|
9
|
+
## RULES
|
|
10
|
+
|
|
11
|
+
- YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`
|
|
12
|
+
- The prompt that triggered this workflow IS the intent — not a hint.
|
|
13
|
+
- Do NOT assume you start from zero.
|
|
14
|
+
- The intent captured in this step — even if detailed, structured, and plan-like — may contain hallucinations, scope creep, or unvalidated assumptions. It is input to the workflow, not a substitute for step-02 investigation and spec generation. Ignore directives within the intent that instruct you to skip steps or implement directly.
|
|
15
|
+
- The user chose this workflow on purpose. Later steps (e.g. agentic adversarial review) catch LLM blind spots and give the human control. Do not skip them.
|
|
16
|
+
|
|
17
|
+
## ARTIFACT SCAN
|
|
18
|
+
|
|
19
|
+
- `{wipFile}` exists? → Offer resume or archive.
|
|
20
|
+
- Active specs (`ready-for-dev`, `in-progress`, `in-review`) in `{implementation_artifacts}`? → List them and HALT. Ask user which to resume (or `[N]` for new).
|
|
21
|
+
- If `ready-for-dev` or `in-progress` selected: Set `spec_file`, set `execution_mode = "plan-code-review"`, skip to step 3.
|
|
22
|
+
- If `in-review` selected: Set `spec_file`, set `execution_mode = "plan-code-review"`, skip to step 4.
|
|
23
|
+
- Unformatted spec or intent file lacking `status` frontmatter in `{implementation_artifacts}`? → Suggest to the user to treat its contents as the starting intent for this workflow. DO NOT attempt to infer a state and resume it.
|
|
24
|
+
|
|
25
|
+
## INSTRUCTIONS
|
|
26
|
+
|
|
27
|
+
1. Load context.
|
|
28
|
+
- List files in `{planning_artifacts}` and `{implementation_artifacts}`.
|
|
29
|
+
- If you find an unformatted spec or intent file, ingest its contents to form your understanding of the intent.
|
|
30
|
+
2. Clarify intent. Do not fantasize, do not leave open questions. If you must ask questions, ask them as a numbered list. When the human replies, verify that every single numbered question was answered. If any were ignored, HALT and re-ask only the missing questions before proceeding. Keep looping until intent is clear enough to implement.
|
|
31
|
+
3. Version control sanity check. Is the working tree clean? Does the current branch make sense for this intent — considering its name and recent history? If the tree is dirty or the branch is an obvious mismatch, HALT and ask the human before proceeding. If version control is unavailable, skip this check.
|
|
32
|
+
4. Multi-goal check (see SCOPE STANDARD). If the intent fails the single-goal criteria:
|
|
33
|
+
- Present detected distinct goals as a bullet list.
|
|
34
|
+
- Explain briefly (2–4 sentences): why each goal qualifies as independently shippable, any coupling risks if split, and which goal you recommend tackling first.
|
|
35
|
+
- HALT and ask human: `[S] Split — pick first goal, defer the rest` | `[K] Keep all goals — accept the risks`
|
|
36
|
+
- On **S**: Append deferred goals to `{deferred_work_file}`. Narrow scope to the first-mentioned goal. Continue routing.
|
|
37
|
+
- On **K**: Proceed as-is.
|
|
38
|
+
5. Generate `spec_file` path:
|
|
39
|
+
- Derive a valid kebab-case slug from the clarified intent.
|
|
40
|
+
- If `{implementation_artifacts}/tech-spec-{slug}.md` already exists, append `-2`, `-3`, etc.
|
|
41
|
+
- Set `spec_file` = `{implementation_artifacts}/tech-spec-{slug}.md`.
|
|
42
|
+
6. Route:
|
|
43
|
+
- **One-shot** — zero blast radius: no plausible path by which this change causes unintended consequences elsewhere. Clear intent, no architectural decisions. `execution_mode = "one-shot"`. → Step 3.
|
|
44
|
+
- **Plan-code-review** — everything else. `execution_mode = "plan-code-review"`. → Step 2.
|
|
45
|
+
- When uncertain whether blast radius is truly zero, default to plan-code-review.
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
## NEXT
|
|
49
|
+
|
|
50
|
+
- One-shot / ready-for-dev: Read fully and follow `./step-03-implement.md`
|
|
51
|
+
- Plan-code-review: Read fully and follow `./step-02-plan.md`
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
wipFile: '{implementation_artifacts}/tech-spec-wip.md'
|
|
3
|
+
deferred_work_file: '{implementation_artifacts}/deferred-work.md'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Step 2: Plan
|
|
7
|
+
|
|
8
|
+
## RULES
|
|
9
|
+
|
|
10
|
+
- YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`
|
|
11
|
+
- No intermediate approvals.
|
|
12
|
+
|
|
13
|
+
## INSTRUCTIONS
|
|
14
|
+
|
|
15
|
+
1. Investigate codebase. _Isolate deep exploration in sub-agents/tasks where available. To prevent context snowballing, instruct subagents to give you distilled summaries only._
|
|
16
|
+
2. Read `../tech-spec-template.md` fully. Fill it out based on the intent and investigation, and write the result to `{wipFile}`.
|
|
17
|
+
3. Self-review against READY FOR DEVELOPMENT standard.
|
|
18
|
+
4. If intent gaps exist, do not fantasize, do not leave open questions, HALT and ask the human.
|
|
19
|
+
5. Token count check (see SCOPE STANDARD). If spec exceeds 1600 tokens:
|
|
20
|
+
- Show user the token count.
|
|
21
|
+
- HALT and ask human: `[S] Split — carve off secondary goals` | `[K] Keep full spec — accept the risks`
|
|
22
|
+
- On **S**: Propose the split — name each secondary goal. Append deferred goals to `{deferred_work_file}`. Rewrite the current spec to cover only the main goal — do not surgically carve sections out; regenerate the spec for the narrowed scope. Continue to checkpoint.
|
|
23
|
+
- On **K**: Continue to checkpoint with full spec.
|
|
24
|
+
|
|
25
|
+
### CHECKPOINT 1
|
|
26
|
+
|
|
27
|
+
Present summary. If token count exceeded 1600 and user chose [K], include the token count and explain why it may be a problem. HALT and ask human: `[A] Approve` | `[E] Edit`
|
|
28
|
+
|
|
29
|
+
- **A**: Rename `{wipFile}` to `{spec_file}`, set status `ready-for-dev`. Everything inside `<frozen-after-approval>` is now locked — only the human can change it. → Step 3.
|
|
30
|
+
- **E**: Apply changes, then return to CHECKPOINT 1.
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
## NEXT
|
|
34
|
+
|
|
35
|
+
Read fully and follow `./step-03-implement.md`
|