@zigrivers/scaffold 2.1.0
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/LICENSE +21 -0
- package/README.md +477 -0
- package/dist/cli/commands/adopt.d.ts +12 -0
- package/dist/cli/commands/adopt.d.ts.map +1 -0
- package/dist/cli/commands/adopt.js +107 -0
- package/dist/cli/commands/adopt.js.map +1 -0
- package/dist/cli/commands/adopt.test.d.ts +2 -0
- package/dist/cli/commands/adopt.test.d.ts.map +1 -0
- package/dist/cli/commands/adopt.test.js +277 -0
- package/dist/cli/commands/adopt.test.js.map +1 -0
- package/dist/cli/commands/build.d.ts +12 -0
- package/dist/cli/commands/build.d.ts.map +1 -0
- package/dist/cli/commands/build.js +105 -0
- package/dist/cli/commands/build.js.map +1 -0
- package/dist/cli/commands/build.test.d.ts +2 -0
- package/dist/cli/commands/build.test.d.ts.map +1 -0
- package/dist/cli/commands/build.test.js +272 -0
- package/dist/cli/commands/build.test.js.map +1 -0
- package/dist/cli/commands/dashboard.d.ts +14 -0
- package/dist/cli/commands/dashboard.d.ts.map +1 -0
- package/dist/cli/commands/dashboard.js +102 -0
- package/dist/cli/commands/dashboard.js.map +1 -0
- package/dist/cli/commands/dashboard.test.d.ts +2 -0
- package/dist/cli/commands/dashboard.test.d.ts.map +1 -0
- package/dist/cli/commands/dashboard.test.js +142 -0
- package/dist/cli/commands/dashboard.test.js.map +1 -0
- package/dist/cli/commands/decisions.d.ts +13 -0
- package/dist/cli/commands/decisions.d.ts.map +1 -0
- package/dist/cli/commands/decisions.js +62 -0
- package/dist/cli/commands/decisions.js.map +1 -0
- package/dist/cli/commands/decisions.test.d.ts +2 -0
- package/dist/cli/commands/decisions.test.d.ts.map +1 -0
- package/dist/cli/commands/decisions.test.js +154 -0
- package/dist/cli/commands/decisions.test.js.map +1 -0
- package/dist/cli/commands/info.d.ts +12 -0
- package/dist/cli/commands/info.d.ts.map +1 -0
- package/dist/cli/commands/info.js +110 -0
- package/dist/cli/commands/info.js.map +1 -0
- package/dist/cli/commands/info.test.d.ts +2 -0
- package/dist/cli/commands/info.test.d.ts.map +1 -0
- package/dist/cli/commands/info.test.js +392 -0
- package/dist/cli/commands/info.test.js.map +1 -0
- package/dist/cli/commands/init.d.ts +13 -0
- package/dist/cli/commands/init.d.ts.map +1 -0
- package/dist/cli/commands/init.js +46 -0
- package/dist/cli/commands/init.js.map +1 -0
- package/dist/cli/commands/init.test.d.ts +2 -0
- package/dist/cli/commands/init.test.d.ts.map +1 -0
- package/dist/cli/commands/init.test.js +156 -0
- package/dist/cli/commands/init.test.js.map +1 -0
- package/dist/cli/commands/knowledge.d.ts +4 -0
- package/dist/cli/commands/knowledge.d.ts.map +1 -0
- package/dist/cli/commands/knowledge.js +346 -0
- package/dist/cli/commands/knowledge.js.map +1 -0
- package/dist/cli/commands/knowledge.test.d.ts +2 -0
- package/dist/cli/commands/knowledge.test.d.ts.map +1 -0
- package/dist/cli/commands/knowledge.test.js +293 -0
- package/dist/cli/commands/knowledge.test.js.map +1 -0
- package/dist/cli/commands/list.d.ts +12 -0
- package/dist/cli/commands/list.d.ts.map +1 -0
- package/dist/cli/commands/list.js +73 -0
- package/dist/cli/commands/list.js.map +1 -0
- package/dist/cli/commands/list.test.d.ts +2 -0
- package/dist/cli/commands/list.test.d.ts.map +1 -0
- package/dist/cli/commands/list.test.js +166 -0
- package/dist/cli/commands/list.test.js.map +1 -0
- package/dist/cli/commands/next.d.ts +12 -0
- package/dist/cli/commands/next.d.ts.map +1 -0
- package/dist/cli/commands/next.js +75 -0
- package/dist/cli/commands/next.js.map +1 -0
- package/dist/cli/commands/next.test.d.ts +2 -0
- package/dist/cli/commands/next.test.d.ts.map +1 -0
- package/dist/cli/commands/next.test.js +236 -0
- package/dist/cli/commands/next.test.js.map +1 -0
- package/dist/cli/commands/reset.d.ts +13 -0
- package/dist/cli/commands/reset.d.ts.map +1 -0
- package/dist/cli/commands/reset.js +105 -0
- package/dist/cli/commands/reset.js.map +1 -0
- package/dist/cli/commands/reset.test.d.ts +2 -0
- package/dist/cli/commands/reset.test.d.ts.map +1 -0
- package/dist/cli/commands/reset.test.js +211 -0
- package/dist/cli/commands/reset.test.js.map +1 -0
- package/dist/cli/commands/run.d.ts +14 -0
- package/dist/cli/commands/run.d.ts.map +1 -0
- package/dist/cli/commands/run.js +379 -0
- package/dist/cli/commands/run.js.map +1 -0
- package/dist/cli/commands/run.test.d.ts +2 -0
- package/dist/cli/commands/run.test.d.ts.map +1 -0
- package/dist/cli/commands/run.test.js +535 -0
- package/dist/cli/commands/run.test.js.map +1 -0
- package/dist/cli/commands/skip.d.ts +13 -0
- package/dist/cli/commands/skip.d.ts.map +1 -0
- package/dist/cli/commands/skip.js +123 -0
- package/dist/cli/commands/skip.js.map +1 -0
- package/dist/cli/commands/skip.test.d.ts +2 -0
- package/dist/cli/commands/skip.test.d.ts.map +1 -0
- package/dist/cli/commands/skip.test.js +339 -0
- package/dist/cli/commands/skip.test.js.map +1 -0
- package/dist/cli/commands/status.d.ts +12 -0
- package/dist/cli/commands/status.d.ts.map +1 -0
- package/dist/cli/commands/status.js +79 -0
- package/dist/cli/commands/status.js.map +1 -0
- package/dist/cli/commands/status.test.d.ts +2 -0
- package/dist/cli/commands/status.test.d.ts.map +1 -0
- package/dist/cli/commands/status.test.js +245 -0
- package/dist/cli/commands/status.test.js.map +1 -0
- package/dist/cli/commands/update.d.ts +11 -0
- package/dist/cli/commands/update.d.ts.map +1 -0
- package/dist/cli/commands/update.js +159 -0
- package/dist/cli/commands/update.js.map +1 -0
- package/dist/cli/commands/update.test.d.ts +2 -0
- package/dist/cli/commands/update.test.d.ts.map +1 -0
- package/dist/cli/commands/update.test.js +140 -0
- package/dist/cli/commands/update.test.js.map +1 -0
- package/dist/cli/commands/validate.d.ts +12 -0
- package/dist/cli/commands/validate.d.ts.map +1 -0
- package/dist/cli/commands/validate.js +65 -0
- package/dist/cli/commands/validate.js.map +1 -0
- package/dist/cli/commands/validate.test.d.ts +2 -0
- package/dist/cli/commands/validate.test.d.ts.map +1 -0
- package/dist/cli/commands/validate.test.js +159 -0
- package/dist/cli/commands/validate.test.js.map +1 -0
- package/dist/cli/commands/version.d.ts +13 -0
- package/dist/cli/commands/version.d.ts.map +1 -0
- package/dist/cli/commands/version.js +89 -0
- package/dist/cli/commands/version.js.map +1 -0
- package/dist/cli/commands/version.test.d.ts +2 -0
- package/dist/cli/commands/version.test.d.ts.map +1 -0
- package/dist/cli/commands/version.test.js +63 -0
- package/dist/cli/commands/version.test.js.map +1 -0
- package/dist/cli/index.d.ts +4 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +72 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/index.test.d.ts +2 -0
- package/dist/cli/index.test.d.ts.map +1 -0
- package/dist/cli/index.test.js +8 -0
- package/dist/cli/index.test.js.map +1 -0
- package/dist/cli/middleware/output-mode.d.ts +21 -0
- package/dist/cli/middleware/output-mode.d.ts.map +1 -0
- package/dist/cli/middleware/output-mode.js +27 -0
- package/dist/cli/middleware/output-mode.js.map +1 -0
- package/dist/cli/middleware/output-mode.test.d.ts +2 -0
- package/dist/cli/middleware/output-mode.test.d.ts.map +1 -0
- package/dist/cli/middleware/output-mode.test.js +41 -0
- package/dist/cli/middleware/output-mode.test.js.map +1 -0
- package/dist/cli/middleware/project-root.d.ts +21 -0
- package/dist/cli/middleware/project-root.d.ts.map +1 -0
- package/dist/cli/middleware/project-root.js +54 -0
- package/dist/cli/middleware/project-root.js.map +1 -0
- package/dist/cli/middleware/project-root.test.d.ts +2 -0
- package/dist/cli/middleware/project-root.test.d.ts.map +1 -0
- package/dist/cli/middleware/project-root.test.js +112 -0
- package/dist/cli/middleware/project-root.test.js.map +1 -0
- package/dist/cli/output/auto.d.ts +18 -0
- package/dist/cli/output/auto.d.ts.map +1 -0
- package/dist/cli/output/auto.js +43 -0
- package/dist/cli/output/auto.js.map +1 -0
- package/dist/cli/output/context.d.ts +19 -0
- package/dist/cli/output/context.d.ts.map +1 -0
- package/dist/cli/output/context.js +15 -0
- package/dist/cli/output/context.js.map +1 -0
- package/dist/cli/output/context.test.d.ts +2 -0
- package/dist/cli/output/context.test.d.ts.map +1 -0
- package/dist/cli/output/context.test.js +335 -0
- package/dist/cli/output/context.test.js.map +1 -0
- package/dist/cli/output/error-display.d.ts +31 -0
- package/dist/cli/output/error-display.d.ts.map +1 -0
- package/dist/cli/output/error-display.js +79 -0
- package/dist/cli/output/error-display.js.map +1 -0
- package/dist/cli/output/error-display.test.d.ts +2 -0
- package/dist/cli/output/error-display.test.d.ts.map +1 -0
- package/dist/cli/output/error-display.test.js +230 -0
- package/dist/cli/output/error-display.test.js.map +1 -0
- package/dist/cli/output/interactive.d.ts +22 -0
- package/dist/cli/output/interactive.d.ts.map +1 -0
- package/dist/cli/output/interactive.js +126 -0
- package/dist/cli/output/interactive.js.map +1 -0
- package/dist/cli/output/json.d.ts +17 -0
- package/dist/cli/output/json.d.ts.map +1 -0
- package/dist/cli/output/json.js +62 -0
- package/dist/cli/output/json.js.map +1 -0
- package/dist/cli/types.d.ts +11 -0
- package/dist/cli/types.d.ts.map +1 -0
- package/dist/cli/types.js +2 -0
- package/dist/cli/types.js.map +1 -0
- package/dist/config/loader.d.ts +22 -0
- package/dist/config/loader.d.ts.map +1 -0
- package/dist/config/loader.js +159 -0
- package/dist/config/loader.js.map +1 -0
- package/dist/config/loader.test.d.ts +2 -0
- package/dist/config/loader.test.d.ts.map +1 -0
- package/dist/config/loader.test.js +226 -0
- package/dist/config/loader.test.js.map +1 -0
- package/dist/config/migration.d.ts +15 -0
- package/dist/config/migration.d.ts.map +1 -0
- package/dist/config/migration.js +39 -0
- package/dist/config/migration.js.map +1 -0
- package/dist/config/migration.test.d.ts +2 -0
- package/dist/config/migration.test.d.ts.map +1 -0
- package/dist/config/migration.test.js +44 -0
- package/dist/config/migration.test.js.map +1 -0
- package/dist/config/schema.d.ts +121 -0
- package/dist/config/schema.d.ts.map +1 -0
- package/dist/config/schema.js +22 -0
- package/dist/config/schema.js.map +1 -0
- package/dist/config/schema.test.d.ts +2 -0
- package/dist/config/schema.test.d.ts.map +1 -0
- package/dist/config/schema.test.js +126 -0
- package/dist/config/schema.test.js.map +1 -0
- package/dist/core/adapters/adapter.d.ts +64 -0
- package/dist/core/adapters/adapter.d.ts.map +1 -0
- package/dist/core/adapters/adapter.js +25 -0
- package/dist/core/adapters/adapter.js.map +1 -0
- package/dist/core/adapters/adapter.test.d.ts +2 -0
- package/dist/core/adapters/adapter.test.d.ts.map +1 -0
- package/dist/core/adapters/adapter.test.js +175 -0
- package/dist/core/adapters/adapter.test.js.map +1 -0
- package/dist/core/adapters/claude-code.d.ts +9 -0
- package/dist/core/adapters/claude-code.d.ts.map +1 -0
- package/dist/core/adapters/claude-code.js +34 -0
- package/dist/core/adapters/claude-code.js.map +1 -0
- package/dist/core/adapters/claude-code.test.d.ts +2 -0
- package/dist/core/adapters/claude-code.test.d.ts.map +1 -0
- package/dist/core/adapters/claude-code.test.js +100 -0
- package/dist/core/adapters/claude-code.test.js.map +1 -0
- package/dist/core/adapters/codex.d.ts +10 -0
- package/dist/core/adapters/codex.d.ts.map +1 -0
- package/dist/core/adapters/codex.js +61 -0
- package/dist/core/adapters/codex.js.map +1 -0
- package/dist/core/adapters/codex.test.d.ts +2 -0
- package/dist/core/adapters/codex.test.d.ts.map +1 -0
- package/dist/core/adapters/codex.test.js +122 -0
- package/dist/core/adapters/codex.test.js.map +1 -0
- package/dist/core/adapters/universal.d.ts +10 -0
- package/dist/core/adapters/universal.d.ts.map +1 -0
- package/dist/core/adapters/universal.js +45 -0
- package/dist/core/adapters/universal.js.map +1 -0
- package/dist/core/adapters/universal.test.d.ts +2 -0
- package/dist/core/adapters/universal.test.d.ts.map +1 -0
- package/dist/core/adapters/universal.test.js +121 -0
- package/dist/core/adapters/universal.test.js.map +1 -0
- package/dist/core/assembly/context-gatherer.d.ts +17 -0
- package/dist/core/assembly/context-gatherer.d.ts.map +1 -0
- package/dist/core/assembly/context-gatherer.js +49 -0
- package/dist/core/assembly/context-gatherer.js.map +1 -0
- package/dist/core/assembly/context-gatherer.test.d.ts +2 -0
- package/dist/core/assembly/context-gatherer.test.d.ts.map +1 -0
- package/dist/core/assembly/context-gatherer.test.js +252 -0
- package/dist/core/assembly/context-gatherer.test.js.map +1 -0
- package/dist/core/assembly/depth-resolver.d.ts +11 -0
- package/dist/core/assembly/depth-resolver.d.ts.map +1 -0
- package/dist/core/assembly/depth-resolver.js +23 -0
- package/dist/core/assembly/depth-resolver.js.map +1 -0
- package/dist/core/assembly/depth-resolver.test.d.ts +2 -0
- package/dist/core/assembly/depth-resolver.test.d.ts.map +1 -0
- package/dist/core/assembly/depth-resolver.test.js +100 -0
- package/dist/core/assembly/depth-resolver.test.js.map +1 -0
- package/dist/core/assembly/engine.d.ts +22 -0
- package/dist/core/assembly/engine.d.ts.map +1 -0
- package/dist/core/assembly/engine.js +215 -0
- package/dist/core/assembly/engine.js.map +1 -0
- package/dist/core/assembly/engine.test.d.ts +2 -0
- package/dist/core/assembly/engine.test.d.ts.map +1 -0
- package/dist/core/assembly/engine.test.js +462 -0
- package/dist/core/assembly/engine.test.js.map +1 -0
- package/dist/core/assembly/instruction-loader.d.ts +16 -0
- package/dist/core/assembly/instruction-loader.d.ts.map +1 -0
- package/dist/core/assembly/instruction-loader.js +40 -0
- package/dist/core/assembly/instruction-loader.js.map +1 -0
- package/dist/core/assembly/instruction-loader.test.d.ts +2 -0
- package/dist/core/assembly/instruction-loader.test.d.ts.map +1 -0
- package/dist/core/assembly/instruction-loader.test.js +109 -0
- package/dist/core/assembly/instruction-loader.test.js.map +1 -0
- package/dist/core/assembly/knowledge-loader.d.ts +34 -0
- package/dist/core/assembly/knowledge-loader.d.ts.map +1 -0
- package/dist/core/assembly/knowledge-loader.js +204 -0
- package/dist/core/assembly/knowledge-loader.js.map +1 -0
- package/dist/core/assembly/knowledge-loader.test.d.ts +2 -0
- package/dist/core/assembly/knowledge-loader.test.d.ts.map +1 -0
- package/dist/core/assembly/knowledge-loader.test.js +205 -0
- package/dist/core/assembly/knowledge-loader.test.js.map +1 -0
- package/dist/core/assembly/meta-prompt-loader.d.ts +13 -0
- package/dist/core/assembly/meta-prompt-loader.d.ts.map +1 -0
- package/dist/core/assembly/meta-prompt-loader.js +91 -0
- package/dist/core/assembly/meta-prompt-loader.js.map +1 -0
- package/dist/core/assembly/meta-prompt-loader.test.d.ts +2 -0
- package/dist/core/assembly/meta-prompt-loader.test.d.ts.map +1 -0
- package/dist/core/assembly/meta-prompt-loader.test.js +232 -0
- package/dist/core/assembly/meta-prompt-loader.test.js.map +1 -0
- package/dist/core/assembly/methodology-change.d.ts +27 -0
- package/dist/core/assembly/methodology-change.d.ts.map +1 -0
- package/dist/core/assembly/methodology-change.js +41 -0
- package/dist/core/assembly/methodology-change.js.map +1 -0
- package/dist/core/assembly/methodology-change.test.d.ts +2 -0
- package/dist/core/assembly/methodology-change.test.d.ts.map +1 -0
- package/dist/core/assembly/methodology-change.test.js +145 -0
- package/dist/core/assembly/methodology-change.test.js.map +1 -0
- package/dist/core/assembly/methodology-resolver.d.ts +11 -0
- package/dist/core/assembly/methodology-resolver.d.ts.map +1 -0
- package/dist/core/assembly/methodology-resolver.js +19 -0
- package/dist/core/assembly/methodology-resolver.js.map +1 -0
- package/dist/core/assembly/methodology-resolver.test.d.ts +2 -0
- package/dist/core/assembly/methodology-resolver.test.d.ts.map +1 -0
- package/dist/core/assembly/methodology-resolver.test.js +87 -0
- package/dist/core/assembly/methodology-resolver.test.js.map +1 -0
- package/dist/core/assembly/preset-loader.d.ts +26 -0
- package/dist/core/assembly/preset-loader.d.ts.map +1 -0
- package/dist/core/assembly/preset-loader.js +146 -0
- package/dist/core/assembly/preset-loader.js.map +1 -0
- package/dist/core/assembly/preset-loader.test.d.ts +2 -0
- package/dist/core/assembly/preset-loader.test.d.ts.map +1 -0
- package/dist/core/assembly/preset-loader.test.js +107 -0
- package/dist/core/assembly/preset-loader.test.js.map +1 -0
- package/dist/core/assembly/update-mode.d.ts +25 -0
- package/dist/core/assembly/update-mode.d.ts.map +1 -0
- package/dist/core/assembly/update-mode.js +70 -0
- package/dist/core/assembly/update-mode.js.map +1 -0
- package/dist/core/assembly/update-mode.test.d.ts +2 -0
- package/dist/core/assembly/update-mode.test.d.ts.map +1 -0
- package/dist/core/assembly/update-mode.test.js +235 -0
- package/dist/core/assembly/update-mode.test.js.map +1 -0
- package/dist/core/dependency/dependency.d.ts +20 -0
- package/dist/core/dependency/dependency.d.ts.map +1 -0
- package/dist/core/dependency/dependency.js +104 -0
- package/dist/core/dependency/dependency.js.map +1 -0
- package/dist/core/dependency/dependency.test.d.ts +2 -0
- package/dist/core/dependency/dependency.test.d.ts.map +1 -0
- package/dist/core/dependency/dependency.test.js +166 -0
- package/dist/core/dependency/dependency.test.js.map +1 -0
- package/dist/core/dependency/eligibility.d.ts +17 -0
- package/dist/core/dependency/eligibility.d.ts.map +1 -0
- package/dist/core/dependency/eligibility.js +60 -0
- package/dist/core/dependency/eligibility.js.map +1 -0
- package/dist/core/dependency/eligibility.test.d.ts +2 -0
- package/dist/core/dependency/eligibility.test.d.ts.map +1 -0
- package/dist/core/dependency/eligibility.test.js +198 -0
- package/dist/core/dependency/eligibility.test.js.map +1 -0
- package/dist/core/dependency/graph.d.ts +12 -0
- package/dist/core/dependency/graph.d.ts.map +1 -0
- package/dist/core/dependency/graph.js +34 -0
- package/dist/core/dependency/graph.js.map +1 -0
- package/dist/core/knowledge/knowledge-update-assembler.d.ts +24 -0
- package/dist/core/knowledge/knowledge-update-assembler.d.ts.map +1 -0
- package/dist/core/knowledge/knowledge-update-assembler.js +46 -0
- package/dist/core/knowledge/knowledge-update-assembler.js.map +1 -0
- package/dist/core/knowledge/knowledge-update-assembler.test.d.ts +2 -0
- package/dist/core/knowledge/knowledge-update-assembler.test.d.ts.map +1 -0
- package/dist/core/knowledge/knowledge-update-assembler.test.js +93 -0
- package/dist/core/knowledge/knowledge-update-assembler.test.js.map +1 -0
- package/dist/core/knowledge/knowledge-update-template.md +55 -0
- package/dist/dashboard/generator.d.ts +37 -0
- package/dist/dashboard/generator.d.ts.map +1 -0
- package/dist/dashboard/generator.js +42 -0
- package/dist/dashboard/generator.js.map +1 -0
- package/dist/dashboard/generator.test.d.ts +2 -0
- package/dist/dashboard/generator.test.d.ts.map +1 -0
- package/dist/dashboard/generator.test.js +186 -0
- package/dist/dashboard/generator.test.js.map +1 -0
- package/dist/dashboard/template.d.ts +4 -0
- package/dist/dashboard/template.d.ts.map +1 -0
- package/dist/dashboard/template.js +190 -0
- package/dist/dashboard/template.js.map +1 -0
- package/dist/e2e/commands.test.d.ts +9 -0
- package/dist/e2e/commands.test.d.ts.map +1 -0
- package/dist/e2e/commands.test.js +499 -0
- package/dist/e2e/commands.test.js.map +1 -0
- package/dist/e2e/init.test.d.ts +10 -0
- package/dist/e2e/init.test.d.ts.map +1 -0
- package/dist/e2e/init.test.js +180 -0
- package/dist/e2e/init.test.js.map +1 -0
- package/dist/e2e/knowledge.test.d.ts +2 -0
- package/dist/e2e/knowledge.test.d.ts.map +1 -0
- package/dist/e2e/knowledge.test.js +103 -0
- package/dist/e2e/knowledge.test.js.map +1 -0
- package/dist/e2e/pipeline.test.d.ts +8 -0
- package/dist/e2e/pipeline.test.d.ts.map +1 -0
- package/dist/e2e/pipeline.test.js +295 -0
- package/dist/e2e/pipeline.test.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -0
- package/dist/project/adopt.d.ts +28 -0
- package/dist/project/adopt.d.ts.map +1 -0
- package/dist/project/adopt.js +49 -0
- package/dist/project/adopt.js.map +1 -0
- package/dist/project/adopt.test.d.ts +2 -0
- package/dist/project/adopt.test.d.ts.map +1 -0
- package/dist/project/adopt.test.js +220 -0
- package/dist/project/adopt.test.js.map +1 -0
- package/dist/project/claude-md.d.ts +33 -0
- package/dist/project/claude-md.d.ts.map +1 -0
- package/dist/project/claude-md.js +112 -0
- package/dist/project/claude-md.js.map +1 -0
- package/dist/project/claude-md.test.d.ts +2 -0
- package/dist/project/claude-md.test.d.ts.map +1 -0
- package/dist/project/claude-md.test.js +151 -0
- package/dist/project/claude-md.test.js.map +1 -0
- package/dist/project/detector.d.ts +7 -0
- package/dist/project/detector.d.ts.map +1 -0
- package/dist/project/detector.js +78 -0
- package/dist/project/detector.js.map +1 -0
- package/dist/project/detector.test.d.ts +2 -0
- package/dist/project/detector.test.d.ts.map +1 -0
- package/dist/project/detector.test.js +137 -0
- package/dist/project/detector.test.js.map +1 -0
- package/dist/project/frontmatter.d.ts +17 -0
- package/dist/project/frontmatter.d.ts.map +1 -0
- package/dist/project/frontmatter.js +236 -0
- package/dist/project/frontmatter.js.map +1 -0
- package/dist/project/frontmatter.test.d.ts +2 -0
- package/dist/project/frontmatter.test.d.ts.map +1 -0
- package/dist/project/frontmatter.test.js +218 -0
- package/dist/project/frontmatter.test.js.map +1 -0
- package/dist/project/signals.d.ts +12 -0
- package/dist/project/signals.d.ts.map +1 -0
- package/dist/project/signals.js +2 -0
- package/dist/project/signals.js.map +1 -0
- package/dist/state/completion.d.ts +22 -0
- package/dist/state/completion.d.ts.map +1 -0
- package/dist/state/completion.js +82 -0
- package/dist/state/completion.js.map +1 -0
- package/dist/state/completion.test.d.ts +2 -0
- package/dist/state/completion.test.d.ts.map +1 -0
- package/dist/state/completion.test.js +246 -0
- package/dist/state/completion.test.js.map +1 -0
- package/dist/state/decision-logger.d.ts +16 -0
- package/dist/state/decision-logger.d.ts.map +1 -0
- package/dist/state/decision-logger.js +80 -0
- package/dist/state/decision-logger.js.map +1 -0
- package/dist/state/decision-logger.test.d.ts +2 -0
- package/dist/state/decision-logger.test.d.ts.map +1 -0
- package/dist/state/decision-logger.test.js +182 -0
- package/dist/state/decision-logger.test.js.map +1 -0
- package/dist/state/lock-manager.d.ts +18 -0
- package/dist/state/lock-manager.d.ts.map +1 -0
- package/dist/state/lock-manager.js +134 -0
- package/dist/state/lock-manager.js.map +1 -0
- package/dist/state/lock-manager.test.d.ts +2 -0
- package/dist/state/lock-manager.test.d.ts.map +1 -0
- package/dist/state/lock-manager.test.js +190 -0
- package/dist/state/lock-manager.test.js.map +1 -0
- package/dist/state/state-manager.d.ts +37 -0
- package/dist/state/state-manager.d.ts.map +1 -0
- package/dist/state/state-manager.js +125 -0
- package/dist/state/state-manager.js.map +1 -0
- package/dist/state/state-manager.test.d.ts +2 -0
- package/dist/state/state-manager.test.d.ts.map +1 -0
- package/dist/state/state-manager.test.js +240 -0
- package/dist/state/state-manager.test.js.map +1 -0
- package/dist/types/adapter.d.ts +24 -0
- package/dist/types/adapter.d.ts.map +1 -0
- package/dist/types/adapter.js +2 -0
- package/dist/types/adapter.js.map +1 -0
- package/dist/types/assembly.d.ts +89 -0
- package/dist/types/assembly.d.ts.map +1 -0
- package/dist/types/assembly.js +2 -0
- package/dist/types/assembly.js.map +1 -0
- package/dist/types/claude-md.d.ts +11 -0
- package/dist/types/claude-md.d.ts.map +1 -0
- package/dist/types/claude-md.js +2 -0
- package/dist/types/claude-md.js.map +1 -0
- package/dist/types/cli.d.ts +15 -0
- package/dist/types/cli.d.ts.map +1 -0
- package/dist/types/cli.js +2 -0
- package/dist/types/cli.js.map +1 -0
- package/dist/types/config.d.ts +40 -0
- package/dist/types/config.d.ts.map +1 -0
- package/dist/types/config.js +2 -0
- package/dist/types/config.js.map +1 -0
- package/dist/types/decision.d.ts +14 -0
- package/dist/types/decision.d.ts.map +1 -0
- package/dist/types/decision.js +2 -0
- package/dist/types/decision.js.map +1 -0
- package/dist/types/dependency.d.ts +12 -0
- package/dist/types/dependency.d.ts.map +1 -0
- package/dist/types/dependency.js +2 -0
- package/dist/types/dependency.js.map +1 -0
- package/dist/types/enums.d.ts +23 -0
- package/dist/types/enums.d.ts.map +1 -0
- package/dist/types/enums.js +11 -0
- package/dist/types/enums.js.map +1 -0
- package/dist/types/enums.test.d.ts +2 -0
- package/dist/types/enums.test.d.ts.map +1 -0
- package/dist/types/enums.test.js +13 -0
- package/dist/types/enums.test.js.map +1 -0
- package/dist/types/errors.d.ts +24 -0
- package/dist/types/errors.d.ts.map +1 -0
- package/dist/types/errors.js +2 -0
- package/dist/types/errors.js.map +1 -0
- package/dist/types/frontmatter.d.ts +43 -0
- package/dist/types/frontmatter.d.ts.map +1 -0
- package/dist/types/frontmatter.js +2 -0
- package/dist/types/frontmatter.js.map +1 -0
- package/dist/types/index.d.ts +14 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +14 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/lock.d.ts +10 -0
- package/dist/types/lock.d.ts.map +1 -0
- package/dist/types/lock.js +2 -0
- package/dist/types/lock.js.map +1 -0
- package/dist/types/state.d.ts +49 -0
- package/dist/types/state.d.ts.map +1 -0
- package/dist/types/state.js +2 -0
- package/dist/types/state.js.map +1 -0
- package/dist/types/wizard.d.ts +14 -0
- package/dist/types/wizard.d.ts.map +1 -0
- package/dist/types/wizard.js +2 -0
- package/dist/types/wizard.js.map +1 -0
- package/dist/utils/errors.d.ts +42 -0
- package/dist/utils/errors.d.ts.map +1 -0
- package/dist/utils/errors.js +232 -0
- package/dist/utils/errors.js.map +1 -0
- package/dist/utils/errors.test.d.ts +2 -0
- package/dist/utils/errors.test.d.ts.map +1 -0
- package/dist/utils/errors.test.js +91 -0
- package/dist/utils/errors.test.js.map +1 -0
- package/dist/utils/fs.d.ts +11 -0
- package/dist/utils/fs.d.ts.map +1 -0
- package/dist/utils/fs.js +20 -0
- package/dist/utils/fs.js.map +1 -0
- package/dist/utils/fs.test.d.ts +2 -0
- package/dist/utils/fs.test.d.ts.map +1 -0
- package/dist/utils/fs.test.js +93 -0
- package/dist/utils/fs.test.js.map +1 -0
- package/dist/utils/index.d.ts +4 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +4 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/levenshtein.d.ts +11 -0
- package/dist/utils/levenshtein.d.ts.map +1 -0
- package/dist/utils/levenshtein.js +37 -0
- package/dist/utils/levenshtein.js.map +1 -0
- package/dist/utils/levenshtein.test.d.ts +2 -0
- package/dist/utils/levenshtein.test.d.ts.map +1 -0
- package/dist/utils/levenshtein.test.js +34 -0
- package/dist/utils/levenshtein.test.js.map +1 -0
- package/dist/validation/config-validator.d.ts +10 -0
- package/dist/validation/config-validator.d.ts.map +1 -0
- package/dist/validation/config-validator.js +11 -0
- package/dist/validation/config-validator.js.map +1 -0
- package/dist/validation/dependency-validator.d.ts +10 -0
- package/dist/validation/dependency-validator.d.ts.map +1 -0
- package/dist/validation/dependency-validator.js +34 -0
- package/dist/validation/dependency-validator.js.map +1 -0
- package/dist/validation/frontmatter-validator.d.ts +12 -0
- package/dist/validation/frontmatter-validator.d.ts.map +1 -0
- package/dist/validation/frontmatter-validator.js +50 -0
- package/dist/validation/frontmatter-validator.js.map +1 -0
- package/dist/validation/index.d.ts +19 -0
- package/dist/validation/index.d.ts.map +1 -0
- package/dist/validation/index.js +64 -0
- package/dist/validation/index.js.map +1 -0
- package/dist/validation/index.test.d.ts +2 -0
- package/dist/validation/index.test.d.ts.map +1 -0
- package/dist/validation/index.test.js +241 -0
- package/dist/validation/index.test.js.map +1 -0
- package/dist/validation/state-validator.d.ts +15 -0
- package/dist/validation/state-validator.d.ts.map +1 -0
- package/dist/validation/state-validator.js +104 -0
- package/dist/validation/state-validator.js.map +1 -0
- package/dist/wizard/questions.d.ts +18 -0
- package/dist/wizard/questions.d.ts.map +1 -0
- package/dist/wizard/questions.js +46 -0
- package/dist/wizard/questions.js.map +1 -0
- package/dist/wizard/suggestion.d.ts +10 -0
- package/dist/wizard/suggestion.d.ts.map +1 -0
- package/dist/wizard/suggestion.js +17 -0
- package/dist/wizard/suggestion.js.map +1 -0
- package/dist/wizard/wizard.d.ts +19 -0
- package/dist/wizard/wizard.d.ts.map +1 -0
- package/dist/wizard/wizard.js +104 -0
- package/dist/wizard/wizard.js.map +1 -0
- package/dist/wizard/wizard.test.d.ts +2 -0
- package/dist/wizard/wizard.test.d.ts.map +1 -0
- package/dist/wizard/wizard.test.js +167 -0
- package/dist/wizard/wizard.test.js.map +1 -0
- package/knowledge/core/adr-craft.md +281 -0
- package/knowledge/core/api-design.md +501 -0
- package/knowledge/core/database-design.md +380 -0
- package/knowledge/core/domain-modeling.md +317 -0
- package/knowledge/core/operations-runbook.md +513 -0
- package/knowledge/core/security-review.md +523 -0
- package/knowledge/core/system-architecture.md +402 -0
- package/knowledge/core/task-decomposition.md +372 -0
- package/knowledge/core/testing-strategy.md +409 -0
- package/knowledge/core/user-stories.md +337 -0
- package/knowledge/core/user-story-innovation.md +171 -0
- package/knowledge/core/ux-specification.md +380 -0
- package/knowledge/finalization/apply-fixes-and-freeze.md +93 -0
- package/knowledge/finalization/developer-onboarding.md +376 -0
- package/knowledge/finalization/implementation-playbook.md +404 -0
- package/knowledge/product/gap-analysis.md +305 -0
- package/knowledge/product/prd-craft.md +324 -0
- package/knowledge/product/prd-innovation.md +204 -0
- package/knowledge/review/review-adr.md +203 -0
- package/knowledge/review/review-api-contracts.md +233 -0
- package/knowledge/review/review-database-schema.md +229 -0
- package/knowledge/review/review-domain-modeling.md +288 -0
- package/knowledge/review/review-implementation-tasks.md +202 -0
- package/knowledge/review/review-methodology.md +215 -0
- package/knowledge/review/review-operations.md +212 -0
- package/knowledge/review/review-prd.md +235 -0
- package/knowledge/review/review-security.md +213 -0
- package/knowledge/review/review-system-architecture.md +296 -0
- package/knowledge/review/review-testing-strategy.md +176 -0
- package/knowledge/review/review-user-stories.md +172 -0
- package/knowledge/review/review-ux-spec.md +208 -0
- package/knowledge/validation/critical-path-analysis.md +203 -0
- package/knowledge/validation/cross-phase-consistency.md +181 -0
- package/knowledge/validation/decision-completeness.md +218 -0
- package/knowledge/validation/dependency-validation.md +233 -0
- package/knowledge/validation/implementability-review.md +252 -0
- package/knowledge/validation/scope-management.md +223 -0
- package/knowledge/validation/traceability.md +198 -0
- package/methodology/custom-defaults.yml +43 -0
- package/methodology/deep.yml +42 -0
- package/methodology/mvp.yml +42 -0
- package/package.json +58 -0
- package/pipeline/architecture/review-architecture.md +44 -0
- package/pipeline/architecture/system-architecture.md +45 -0
- package/pipeline/decisions/adrs.md +45 -0
- package/pipeline/decisions/review-adrs.md +39 -0
- package/pipeline/finalization/apply-fixes-and-freeze.md +39 -0
- package/pipeline/finalization/developer-onboarding-guide.md +36 -0
- package/pipeline/finalization/implementation-playbook.md +45 -0
- package/pipeline/modeling/domain-modeling.md +57 -0
- package/pipeline/modeling/review-domain-modeling.md +41 -0
- package/pipeline/planning/implementation-tasks.md +57 -0
- package/pipeline/planning/review-tasks.md +38 -0
- package/pipeline/pre/create-prd.md +45 -0
- package/pipeline/pre/innovate-prd.md +47 -0
- package/pipeline/pre/innovate-user-stories.md +47 -0
- package/pipeline/pre/review-prd.md +44 -0
- package/pipeline/pre/review-user-stories.md +43 -0
- package/pipeline/pre/user-stories.md +48 -0
- package/pipeline/quality/operations.md +42 -0
- package/pipeline/quality/review-operations.md +37 -0
- package/pipeline/quality/review-security.md +40 -0
- package/pipeline/quality/review-testing.md +39 -0
- package/pipeline/quality/security.md +44 -0
- package/pipeline/quality/testing-strategy.md +42 -0
- package/pipeline/specification/api-contracts.md +44 -0
- package/pipeline/specification/database-schema.md +41 -0
- package/pipeline/specification/review-api.md +40 -0
- package/pipeline/specification/review-database.md +39 -0
- package/pipeline/specification/review-ux.md +38 -0
- package/pipeline/specification/ux-spec.md +43 -0
- package/pipeline/validation/critical-path-walkthrough.md +37 -0
- package/pipeline/validation/cross-phase-consistency.md +35 -0
- package/pipeline/validation/decision-completeness.md +36 -0
- package/pipeline/validation/dependency-graph-validation.md +36 -0
- package/pipeline/validation/implementability-dry-run.md +36 -0
- package/pipeline/validation/scope-creep-check.md +38 -0
- package/pipeline/validation/traceability-matrix.md +36 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# methodology/custom-defaults.yml
|
|
2
|
+
name: Custom
|
|
3
|
+
description: Choose which steps to include and how deep to go
|
|
4
|
+
default_depth: 3
|
|
5
|
+
|
|
6
|
+
# All steps enabled by default at depth 3 — user overrides individual steps
|
|
7
|
+
steps:
|
|
8
|
+
create-prd: { enabled: true }
|
|
9
|
+
review-prd: { enabled: true }
|
|
10
|
+
innovate-prd: { enabled: false }
|
|
11
|
+
user-stories: { enabled: true }
|
|
12
|
+
review-user-stories: { enabled: true }
|
|
13
|
+
innovate-user-stories: { enabled: false }
|
|
14
|
+
domain-modeling: { enabled: true }
|
|
15
|
+
review-domain-modeling: { enabled: true }
|
|
16
|
+
adrs: { enabled: true }
|
|
17
|
+
review-adrs: { enabled: true }
|
|
18
|
+
system-architecture: { enabled: true }
|
|
19
|
+
review-architecture: { enabled: true }
|
|
20
|
+
database-schema: { enabled: true, conditional: "if-needed" }
|
|
21
|
+
review-database: { enabled: true, conditional: "if-needed" }
|
|
22
|
+
api-contracts: { enabled: true, conditional: "if-needed" }
|
|
23
|
+
review-api: { enabled: true, conditional: "if-needed" }
|
|
24
|
+
ux-spec: { enabled: true, conditional: "if-needed" }
|
|
25
|
+
review-ux: { enabled: true, conditional: "if-needed" }
|
|
26
|
+
testing-strategy: { enabled: true }
|
|
27
|
+
review-testing: { enabled: true }
|
|
28
|
+
operations: { enabled: true }
|
|
29
|
+
review-operations: { enabled: true }
|
|
30
|
+
security: { enabled: true }
|
|
31
|
+
review-security: { enabled: true }
|
|
32
|
+
implementation-tasks: { enabled: true }
|
|
33
|
+
review-tasks: { enabled: true }
|
|
34
|
+
cross-phase-consistency: { enabled: true }
|
|
35
|
+
traceability-matrix: { enabled: true }
|
|
36
|
+
decision-completeness: { enabled: true }
|
|
37
|
+
critical-path-walkthrough: { enabled: true }
|
|
38
|
+
implementability-dry-run: { enabled: true }
|
|
39
|
+
dependency-graph-validation: { enabled: true }
|
|
40
|
+
scope-creep-check: { enabled: true }
|
|
41
|
+
apply-fixes-and-freeze: { enabled: true }
|
|
42
|
+
developer-onboarding-guide: { enabled: true }
|
|
43
|
+
implementation-playbook: { enabled: true }
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# methodology/deep.yml
|
|
2
|
+
name: Deep Domain Modeling
|
|
3
|
+
description: Comprehensive documentation for complex systems — full analysis at every phase
|
|
4
|
+
default_depth: 5
|
|
5
|
+
|
|
6
|
+
steps:
|
|
7
|
+
create-prd: { enabled: true }
|
|
8
|
+
review-prd: { enabled: true }
|
|
9
|
+
innovate-prd: { enabled: true, conditional: "if-needed" }
|
|
10
|
+
user-stories: { enabled: true }
|
|
11
|
+
review-user-stories: { enabled: true }
|
|
12
|
+
innovate-user-stories: { enabled: true, conditional: "if-needed" }
|
|
13
|
+
domain-modeling: { enabled: true }
|
|
14
|
+
review-domain-modeling: { enabled: true }
|
|
15
|
+
adrs: { enabled: true }
|
|
16
|
+
review-adrs: { enabled: true }
|
|
17
|
+
system-architecture: { enabled: true }
|
|
18
|
+
review-architecture: { enabled: true }
|
|
19
|
+
database-schema: { enabled: true, conditional: "if-needed" }
|
|
20
|
+
review-database: { enabled: true, conditional: "if-needed" }
|
|
21
|
+
api-contracts: { enabled: true, conditional: "if-needed" }
|
|
22
|
+
review-api: { enabled: true, conditional: "if-needed" }
|
|
23
|
+
ux-spec: { enabled: true, conditional: "if-needed" }
|
|
24
|
+
review-ux: { enabled: true, conditional: "if-needed" }
|
|
25
|
+
testing-strategy: { enabled: true }
|
|
26
|
+
review-testing: { enabled: true }
|
|
27
|
+
operations: { enabled: true }
|
|
28
|
+
review-operations: { enabled: true }
|
|
29
|
+
security: { enabled: true }
|
|
30
|
+
review-security: { enabled: true }
|
|
31
|
+
implementation-tasks: { enabled: true }
|
|
32
|
+
review-tasks: { enabled: true }
|
|
33
|
+
cross-phase-consistency: { enabled: true }
|
|
34
|
+
traceability-matrix: { enabled: true }
|
|
35
|
+
decision-completeness: { enabled: true }
|
|
36
|
+
critical-path-walkthrough: { enabled: true }
|
|
37
|
+
implementability-dry-run: { enabled: true }
|
|
38
|
+
dependency-graph-validation: { enabled: true }
|
|
39
|
+
scope-creep-check: { enabled: true }
|
|
40
|
+
apply-fixes-and-freeze: { enabled: true }
|
|
41
|
+
developer-onboarding-guide: { enabled: true }
|
|
42
|
+
implementation-playbook: { enabled: true }
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# methodology/mvp.yml
|
|
2
|
+
name: MVP
|
|
3
|
+
description: Get to code fast with minimal ceremony
|
|
4
|
+
default_depth: 1
|
|
5
|
+
|
|
6
|
+
steps:
|
|
7
|
+
create-prd: { enabled: true }
|
|
8
|
+
review-prd: { enabled: true }
|
|
9
|
+
innovate-prd: { enabled: false }
|
|
10
|
+
user-stories: { enabled: true }
|
|
11
|
+
review-user-stories: { enabled: true }
|
|
12
|
+
innovate-user-stories: { enabled: false }
|
|
13
|
+
domain-modeling: { enabled: false }
|
|
14
|
+
review-domain-modeling: { enabled: false }
|
|
15
|
+
adrs: { enabled: false }
|
|
16
|
+
review-adrs: { enabled: false }
|
|
17
|
+
system-architecture: { enabled: false }
|
|
18
|
+
review-architecture: { enabled: false }
|
|
19
|
+
database-schema: { enabled: false }
|
|
20
|
+
review-database: { enabled: false }
|
|
21
|
+
api-contracts: { enabled: false }
|
|
22
|
+
review-api: { enabled: false }
|
|
23
|
+
ux-spec: { enabled: false }
|
|
24
|
+
review-ux: { enabled: false }
|
|
25
|
+
testing-strategy: { enabled: true }
|
|
26
|
+
review-testing: { enabled: false }
|
|
27
|
+
operations: { enabled: false }
|
|
28
|
+
review-operations: { enabled: false }
|
|
29
|
+
security: { enabled: false }
|
|
30
|
+
review-security: { enabled: false }
|
|
31
|
+
implementation-tasks: { enabled: true }
|
|
32
|
+
review-tasks: { enabled: false }
|
|
33
|
+
cross-phase-consistency: { enabled: false }
|
|
34
|
+
traceability-matrix: { enabled: false }
|
|
35
|
+
decision-completeness: { enabled: false }
|
|
36
|
+
critical-path-walkthrough: { enabled: false }
|
|
37
|
+
implementability-dry-run: { enabled: false }
|
|
38
|
+
dependency-graph-validation: { enabled: false }
|
|
39
|
+
scope-creep-check: { enabled: false }
|
|
40
|
+
apply-fixes-and-freeze: { enabled: false }
|
|
41
|
+
developer-onboarding-guide: { enabled: false }
|
|
42
|
+
implementation-playbook: { enabled: true }
|
package/package.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@zigrivers/scaffold",
|
|
3
|
+
"version": "2.1.0",
|
|
4
|
+
"description": "AI-powered software project scaffolding pipeline",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"keywords": ["scaffold", "ai", "claude", "codex", "pipeline", "prompts", "meta-prompts"],
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/zigrivers/scaffold.git"
|
|
11
|
+
},
|
|
12
|
+
"publishConfig": {
|
|
13
|
+
"access": "public",
|
|
14
|
+
"registry": "https://registry.npmjs.org"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist/",
|
|
18
|
+
"pipeline/",
|
|
19
|
+
"knowledge/",
|
|
20
|
+
"methodology/",
|
|
21
|
+
"README.md",
|
|
22
|
+
"LICENSE"
|
|
23
|
+
],
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=18"
|
|
26
|
+
},
|
|
27
|
+
"bin": {
|
|
28
|
+
"scaffold": "dist/index.js"
|
|
29
|
+
},
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "tsc && cp src/core/knowledge/knowledge-update-template.md dist/core/knowledge/knowledge-update-template.md",
|
|
32
|
+
"test": "vitest run",
|
|
33
|
+
"test:coverage": "vitest run --coverage",
|
|
34
|
+
"test:e2e": "vitest run --config vitest.e2e.config.ts",
|
|
35
|
+
"test:bench": "vitest bench",
|
|
36
|
+
"lint": "eslint src/ tests/",
|
|
37
|
+
"type-check": "tsc --noEmit",
|
|
38
|
+
"check": "npm run lint && npm run type-check && npm test",
|
|
39
|
+
"prepublish": "bash scripts/prepublish.sh"
|
|
40
|
+
},
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"@inquirer/prompts": "^7.4.0",
|
|
43
|
+
"js-yaml": "^4.1.0",
|
|
44
|
+
"yargs": "^17.7.2",
|
|
45
|
+
"zod": "^3.24.0"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@eslint/js": "^9.21.0",
|
|
49
|
+
"@types/js-yaml": "^4.0.9",
|
|
50
|
+
"@types/node": "^22.13.0",
|
|
51
|
+
"@types/yargs": "^17.0.33",
|
|
52
|
+
"@vitest/coverage-v8": "^3.0.7",
|
|
53
|
+
"eslint": "^9.21.0",
|
|
54
|
+
"typescript": "^5.8.2",
|
|
55
|
+
"typescript-eslint": "^8.26.0",
|
|
56
|
+
"vitest": "^3.0.7"
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: review-architecture
|
|
3
|
+
description: Review system architecture for completeness and downstream readiness
|
|
4
|
+
phase: "architecture"
|
|
5
|
+
order: 12
|
|
6
|
+
dependencies: [system-architecture]
|
|
7
|
+
outputs: [docs/reviews/review-architecture.md]
|
|
8
|
+
conditional: null
|
|
9
|
+
knowledge-base: [review-methodology, review-system-architecture]
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## Purpose
|
|
13
|
+
Multi-pass review of the system architecture targeting architecture-specific
|
|
14
|
+
failure modes: domain coverage gaps, ADR constraint violations, data flow
|
|
15
|
+
orphans, module structure issues, state inconsistencies, diagram/prose drift,
|
|
16
|
+
and downstream readiness.
|
|
17
|
+
|
|
18
|
+
## Inputs
|
|
19
|
+
- docs/system-architecture.md (required) — architecture to review
|
|
20
|
+
- docs/domain-models/ (required) — for coverage checking
|
|
21
|
+
- docs/adrs/ (required) — for constraint compliance
|
|
22
|
+
- docs/prd.md (required) — for requirement tracing
|
|
23
|
+
|
|
24
|
+
## Expected Outputs
|
|
25
|
+
- docs/reviews/review-architecture.md — findings and resolution log
|
|
26
|
+
- docs/system-architecture.md — updated with fixes
|
|
27
|
+
|
|
28
|
+
## Quality Criteria
|
|
29
|
+
- All architecture-specific review passes executed
|
|
30
|
+
- Domain model coverage verified (every model maps to a component)
|
|
31
|
+
- ADR constraint compliance verified
|
|
32
|
+
- Data flow completeness verified (no orphaned components)
|
|
33
|
+
- Module structure validated for practical concerns
|
|
34
|
+
- Downstream readiness confirmed (specification, quality, and planning steps can proceed)
|
|
35
|
+
|
|
36
|
+
## Methodology Scaling
|
|
37
|
+
- **deep**: All 10 review passes (coverage, constraints, data flows, module
|
|
38
|
+
structure, state consistency, diagram integrity, extension points,
|
|
39
|
+
invariants, downstream readiness, internal consistency).
|
|
40
|
+
- **mvp**: Domain coverage and ADR compliance checks only.
|
|
41
|
+
- **custom:depth(1-5)**: Scale number of passes with depth.
|
|
42
|
+
|
|
43
|
+
## Mode Detection
|
|
44
|
+
Re-review mode if previous review exists.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: system-architecture
|
|
3
|
+
description: Design and document system architecture
|
|
4
|
+
phase: "architecture"
|
|
5
|
+
order: 11
|
|
6
|
+
dependencies: [review-adrs]
|
|
7
|
+
outputs: [docs/system-architecture.md]
|
|
8
|
+
conditional: null
|
|
9
|
+
knowledge-base: [system-architecture]
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## Purpose
|
|
13
|
+
Design and document the system architecture, translating domain models and ADR
|
|
14
|
+
decisions into a concrete component structure, data flows, and module
|
|
15
|
+
organization. Project directory structure and module organization are defined here.
|
|
16
|
+
|
|
17
|
+
## Inputs
|
|
18
|
+
- docs/domain-models/ (required) — domain models from modeling phase
|
|
19
|
+
- docs/adrs/ (required) — architecture decisions from decisions phase
|
|
20
|
+
- docs/prd.md (required) — requirements driving architecture
|
|
21
|
+
|
|
22
|
+
## Expected Outputs
|
|
23
|
+
- docs/system-architecture.md — architecture document with component design,
|
|
24
|
+
data flows, module structure, and extension points
|
|
25
|
+
|
|
26
|
+
## Quality Criteria
|
|
27
|
+
- Every domain model lands in a component or module
|
|
28
|
+
- Every ADR constraint is respected in the architecture
|
|
29
|
+
- All components appear in at least one data flow diagram
|
|
30
|
+
- Extension points are both documented and designed (not just listed)
|
|
31
|
+
- Project directory structure is defined with file-level granularity
|
|
32
|
+
|
|
33
|
+
## Methodology Scaling
|
|
34
|
+
- **deep**: Full architecture document. Component diagrams, data flow diagrams,
|
|
35
|
+
module structure with file-level detail, state management design, extension
|
|
36
|
+
point inventory, deployment topology.
|
|
37
|
+
- **mvp**: High-level component overview. Key data flows. Enough structure for
|
|
38
|
+
an agent to start building without ambiguity.
|
|
39
|
+
- **custom:depth(1-5)**: Depth 1-2: MVP-style. Depth 3: add component diagrams
|
|
40
|
+
and module boundaries. Depth 4-5: full architecture approach.
|
|
41
|
+
|
|
42
|
+
## Mode Detection
|
|
43
|
+
If outputs already exist, operate in update mode: read existing content, diff
|
|
44
|
+
against current project state and new ADRs, propose targeted updates rather
|
|
45
|
+
than regenerating.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: adrs
|
|
3
|
+
description: Document architecture decisions as ADRs
|
|
4
|
+
phase: "decisions"
|
|
5
|
+
order: 9
|
|
6
|
+
dependencies: [review-domain-modeling]
|
|
7
|
+
outputs: [docs/adrs/]
|
|
8
|
+
conditional: null
|
|
9
|
+
knowledge-base: [adr-craft]
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## Purpose
|
|
13
|
+
Identify and document all significant architecture decisions. Each decision gets
|
|
14
|
+
its own ADR with context, options considered, decision made, and consequences.
|
|
15
|
+
Technology selection (language, framework, database, infrastructure) is a key
|
|
16
|
+
ADR category — tech stack decisions are documented here.
|
|
17
|
+
|
|
18
|
+
## Inputs
|
|
19
|
+
- docs/domain-models/ (required) — domain structure driving architecture choices
|
|
20
|
+
- docs/prd.md (required) — requirements and constraints
|
|
21
|
+
|
|
22
|
+
## Expected Outputs
|
|
23
|
+
- docs/adrs/ — one ADR file per decision (ADR-NNN-title.md format)
|
|
24
|
+
- docs/adrs/index.md — decision log overview
|
|
25
|
+
|
|
26
|
+
## Quality Criteria
|
|
27
|
+
- Every significant decision has an ADR (technology, patterns, trade-offs)
|
|
28
|
+
- Each ADR documents alternatives considered with pros/cons
|
|
29
|
+
- Decisions trace to PRD requirements or domain model constraints
|
|
30
|
+
- No ADR contradicts another without explicit acknowledgment
|
|
31
|
+
- Technology selections include team expertise and maintenance considerations
|
|
32
|
+
|
|
33
|
+
## Methodology Scaling
|
|
34
|
+
- **deep**: Comprehensive ADR set. 3+ alternatives per decision with detailed
|
|
35
|
+
evaluation. Risk assessment for each decision. Cross-references between
|
|
36
|
+
related ADRs. Supersession tracking.
|
|
37
|
+
- **mvp**: Core technology choices only (language, framework, database, hosting).
|
|
38
|
+
Brief rationale. Single-paragraph ADRs.
|
|
39
|
+
- **custom:depth(1-5)**: Depth 1-2: core tech choices. Depth 3: add pattern
|
|
40
|
+
and integration decisions. Depth 4-5: full evaluation with risk assessment.
|
|
41
|
+
|
|
42
|
+
## Mode Detection
|
|
43
|
+
If docs/adrs/ exists, operate in update mode: review existing ADRs against
|
|
44
|
+
current domain models and requirements. Add new ADRs for undocumented decisions.
|
|
45
|
+
Supersede ADRs whose context has changed.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: review-adrs
|
|
3
|
+
description: Review ADRs for completeness, consistency, and decision quality
|
|
4
|
+
phase: "decisions"
|
|
5
|
+
order: 10
|
|
6
|
+
dependencies: [adrs]
|
|
7
|
+
outputs: [docs/reviews/review-adrs.md]
|
|
8
|
+
conditional: null
|
|
9
|
+
knowledge-base: [review-methodology, review-adr]
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## Purpose
|
|
13
|
+
Multi-pass review of ADRs targeting ADR-specific failure modes: contradictory
|
|
14
|
+
decisions, missing rationale, implied-but-unrecorded decisions, and unresolved
|
|
15
|
+
trade-offs.
|
|
16
|
+
|
|
17
|
+
## Inputs
|
|
18
|
+
- docs/adrs/ (required) — ADRs to review
|
|
19
|
+
- docs/domain-models/ (required) — for coverage checking
|
|
20
|
+
- docs/prd.md (required) — for requirement tracing
|
|
21
|
+
|
|
22
|
+
## Expected Outputs
|
|
23
|
+
- docs/reviews/review-adrs.md — findings and resolution log
|
|
24
|
+
- docs/adrs/ — updated with fixes
|
|
25
|
+
|
|
26
|
+
## Quality Criteria
|
|
27
|
+
- All ADR-specific review passes executed
|
|
28
|
+
- Every finding categorized by severity
|
|
29
|
+
- Missing decisions identified and documented
|
|
30
|
+
- Contradictions resolved
|
|
31
|
+
- Downstream readiness confirmed (architecture phase can proceed)
|
|
32
|
+
|
|
33
|
+
## Methodology Scaling
|
|
34
|
+
- **deep**: All review passes. Full findings report. Fixes applied and re-validated.
|
|
35
|
+
- **mvp**: Quick consistency check for contradictions only.
|
|
36
|
+
- **custom:depth(1-5)**: Scale number of review passes with depth.
|
|
37
|
+
|
|
38
|
+
## Mode Detection
|
|
39
|
+
Re-review mode if previous review exists. Check which findings were addressed.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: apply-fixes-and-freeze
|
|
3
|
+
description: Apply validation findings and freeze documentation
|
|
4
|
+
phase: "finalization"
|
|
5
|
+
order: 34
|
|
6
|
+
dependencies: [cross-phase-consistency, traceability-matrix, decision-completeness, critical-path-walkthrough, implementability-dry-run, dependency-graph-validation, scope-creep-check]
|
|
7
|
+
outputs: [docs/validation/fix-log.md]
|
|
8
|
+
conditional: null
|
|
9
|
+
knowledge-base: [apply-fixes-and-freeze]
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## Purpose
|
|
13
|
+
Review all validation phase findings, create a prioritized fix plan, apply fixes
|
|
14
|
+
to the relevant documents, and mark the documentation as frozen (ready for
|
|
15
|
+
implementation). After this step, documents should not change unless a specific
|
|
16
|
+
issue is discovered during implementation.
|
|
17
|
+
|
|
18
|
+
## Inputs
|
|
19
|
+
- docs/validation/*.md (required) — all validation findings
|
|
20
|
+
- All phase output artifacts (to apply fixes to)
|
|
21
|
+
|
|
22
|
+
## Expected Outputs
|
|
23
|
+
- docs/validation/fix-log.md — log of all fixes applied
|
|
24
|
+
- Updated phase artifacts with fixes applied
|
|
25
|
+
- Freeze marker added to each document (tracking comment)
|
|
26
|
+
|
|
27
|
+
## Quality Criteria
|
|
28
|
+
- All P0 and P1 validation findings addressed
|
|
29
|
+
- P2 findings addressed or explicitly deferred with rationale
|
|
30
|
+
- Fix log documents what changed and why
|
|
31
|
+
- All documents pass a final consistency check after fixes
|
|
32
|
+
|
|
33
|
+
## Methodology Scaling
|
|
34
|
+
- **deep**: All findings addressed. Full fix log. Final consistency check.
|
|
35
|
+
- **mvp**: P0 findings only. Brief fix log.
|
|
36
|
+
- **custom:depth(1-5)**: Scale with depth.
|
|
37
|
+
|
|
38
|
+
## Mode Detection
|
|
39
|
+
Not applicable — this step runs once after validation.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: developer-onboarding-guide
|
|
3
|
+
description: Create a guide for developers (human or AI) joining the project
|
|
4
|
+
phase: "finalization"
|
|
5
|
+
order: 35
|
|
6
|
+
dependencies: [apply-fixes-and-freeze]
|
|
7
|
+
outputs: [docs/onboarding-guide.md]
|
|
8
|
+
conditional: null
|
|
9
|
+
knowledge-base: [developer-onboarding]
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## Purpose
|
|
13
|
+
Create a comprehensive onboarding guide that gives any developer (human or AI
|
|
14
|
+
agent) everything they need to understand the project and start contributing.
|
|
15
|
+
This is the "start here" document.
|
|
16
|
+
|
|
17
|
+
## Inputs
|
|
18
|
+
- All frozen phase artifacts
|
|
19
|
+
|
|
20
|
+
## Expected Outputs
|
|
21
|
+
- docs/onboarding-guide.md — developer onboarding guide
|
|
22
|
+
|
|
23
|
+
## Quality Criteria
|
|
24
|
+
- Covers: project purpose, architecture overview, key patterns, where to find what
|
|
25
|
+
- A new developer can set up and run the project following this guide
|
|
26
|
+
- Key architectural decisions are summarized (with pointers to ADRs)
|
|
27
|
+
- Development workflow is clear (branch, code, test, PR)
|
|
28
|
+
|
|
29
|
+
## Methodology Scaling
|
|
30
|
+
- **deep**: Comprehensive guide. Architecture walkthrough, key pattern explanations,
|
|
31
|
+
common tasks with examples, troubleshooting section.
|
|
32
|
+
- **mvp**: Quick start. Setup instructions, key files, how to run tests.
|
|
33
|
+
- **custom:depth(1-5)**: Scale detail with depth.
|
|
34
|
+
|
|
35
|
+
## Mode Detection
|
|
36
|
+
Update mode if guide exists.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: implementation-playbook
|
|
3
|
+
description: Create the playbook that AI agents follow during implementation
|
|
4
|
+
phase: "finalization"
|
|
5
|
+
order: 36
|
|
6
|
+
dependencies: [developer-onboarding-guide]
|
|
7
|
+
outputs: [docs/implementation-playbook.md]
|
|
8
|
+
conditional: null
|
|
9
|
+
knowledge-base: [implementation-playbook]
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## Purpose
|
|
13
|
+
Create the implementation playbook — the operational document that AI agents
|
|
14
|
+
reference during implementation. Defines task ordering, context requirements
|
|
15
|
+
per task, coding standards, git workflow (branching/PR strategy), handoff
|
|
16
|
+
format between agents, and success criteria.
|
|
17
|
+
|
|
18
|
+
## Inputs
|
|
19
|
+
- docs/implementation-tasks.md (required) — tasks to sequence
|
|
20
|
+
- docs/system-architecture.md (required) — architecture context
|
|
21
|
+
- docs/testing-strategy.md (required) — testing requirements
|
|
22
|
+
- All other frozen artifacts
|
|
23
|
+
|
|
24
|
+
## Expected Outputs
|
|
25
|
+
- docs/implementation-playbook.md — agent implementation playbook
|
|
26
|
+
|
|
27
|
+
## Quality Criteria
|
|
28
|
+
- Task execution order is clear and respects dependencies
|
|
29
|
+
- Each task has context requirements (which docs to read before starting)
|
|
30
|
+
- Coding standards are defined (naming, patterns, error handling)
|
|
31
|
+
- Git workflow is defined (branching strategy, commit format, PR process)
|
|
32
|
+
- Success criteria per task (how to know it's done)
|
|
33
|
+
- Handoff format between agents (what to communicate when passing work)
|
|
34
|
+
- Quality gates are defined (what must pass before a task is complete)
|
|
35
|
+
|
|
36
|
+
## Methodology Scaling
|
|
37
|
+
- **deep**: Full playbook. Detailed coding standards, git workflow with
|
|
38
|
+
examples, per-task context briefs, inter-agent communication protocol,
|
|
39
|
+
rollback procedures for failed tasks.
|
|
40
|
+
- **mvp**: Task order, basic coding conventions, commit format, "run tests
|
|
41
|
+
before marking done."
|
|
42
|
+
- **custom:depth(1-5)**: Scale detail with depth.
|
|
43
|
+
|
|
44
|
+
## Mode Detection
|
|
45
|
+
Update mode if playbook exists.
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: domain-modeling
|
|
3
|
+
description: Deep domain modeling across all identified project domains
|
|
4
|
+
phase: "modeling"
|
|
5
|
+
order: 7
|
|
6
|
+
dependencies: [review-user-stories]
|
|
7
|
+
outputs: [docs/domain-models/]
|
|
8
|
+
conditional: null
|
|
9
|
+
knowledge-base: [domain-modeling]
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## Purpose
|
|
13
|
+
Identify and model all domains in the project. For each domain, define entities,
|
|
14
|
+
value objects, aggregates, domain events, invariants, and bounded context
|
|
15
|
+
boundaries. Establish the ubiquitous language that all subsequent phases use.
|
|
16
|
+
Use user stories and their acceptance criteria to discover entities, events,
|
|
17
|
+
and aggregate boundaries. User actions reveal the domain model.
|
|
18
|
+
|
|
19
|
+
## Inputs
|
|
20
|
+
- docs/prd.md (required) — requirements defining the problem space
|
|
21
|
+
- docs/reviews/pre-review-prd.md (optional) — review findings for context
|
|
22
|
+
- docs/prd-innovation.md (optional) — innovation findings and approved enhancements
|
|
23
|
+
- docs/user-stories.md (required) — user stories with acceptance criteria for domain discovery
|
|
24
|
+
|
|
25
|
+
## Expected Outputs
|
|
26
|
+
- docs/domain-models/ — one file per domain, each containing:
|
|
27
|
+
- Entity definitions with attributes and relationships
|
|
28
|
+
- Value objects and their validation rules
|
|
29
|
+
- Aggregate boundaries and roots
|
|
30
|
+
- Domain events and their triggers
|
|
31
|
+
- Invariants (business rules that must always hold)
|
|
32
|
+
- Bounded context boundary and its interfaces to other contexts
|
|
33
|
+
- docs/domain-models/index.md — overview of all domains and their relationships
|
|
34
|
+
|
|
35
|
+
## Quality Criteria
|
|
36
|
+
- Every PRD feature maps to at least one domain
|
|
37
|
+
- Entity relationships are explicit (not implied)
|
|
38
|
+
- Aggregate boundaries are justified (why this grouping?)
|
|
39
|
+
- Domain events cover all state transitions
|
|
40
|
+
- Invariants are testable assertions, not vague rules
|
|
41
|
+
- Ubiquitous language is consistent across all domain models
|
|
42
|
+
- Cross-domain relationships are documented at context boundaries
|
|
43
|
+
|
|
44
|
+
## Methodology Scaling
|
|
45
|
+
- **deep**: Full DDD tactical patterns. Detailed entity specs with TypeScript-style
|
|
46
|
+
interfaces. Domain event flows with sequence diagrams. Context maps showing
|
|
47
|
+
relationships between bounded contexts. Separate file per domain.
|
|
48
|
+
- **mvp**: Key entities and their relationships in a single file. Core business
|
|
49
|
+
rules listed. Enough to inform architecture decisions.
|
|
50
|
+
- **custom:depth(1-5)**: Depth 1-2: single-file entity overview. Depth 3: separate
|
|
51
|
+
files per domain with entities and events. Depth 4-5: full DDD approach with
|
|
52
|
+
context maps and detailed invariants.
|
|
53
|
+
|
|
54
|
+
## Mode Detection
|
|
55
|
+
If docs/domain-models/ exists, operate in update mode: read existing models,
|
|
56
|
+
identify changes needed based on updated PRD or new understanding. Preserve
|
|
57
|
+
existing decisions unless explicitly revisiting them.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: review-domain-modeling
|
|
3
|
+
description: Review domain models for completeness, consistency, and downstream readiness
|
|
4
|
+
phase: "modeling"
|
|
5
|
+
order: 8
|
|
6
|
+
dependencies: [domain-modeling]
|
|
7
|
+
outputs: [docs/reviews/review-domain-modeling.md]
|
|
8
|
+
conditional: null
|
|
9
|
+
knowledge-base: [review-methodology, review-domain-modeling]
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## Purpose
|
|
13
|
+
Deep multi-pass review of the domain models, targeting the specific failure modes
|
|
14
|
+
of domain modeling artifacts. Identify issues, create a fix plan, execute fixes,
|
|
15
|
+
and re-validate.
|
|
16
|
+
|
|
17
|
+
## Inputs
|
|
18
|
+
- docs/domain-models/ (required) — domain models to review
|
|
19
|
+
- docs/prd.md (required) — source requirements for coverage checking
|
|
20
|
+
|
|
21
|
+
## Expected Outputs
|
|
22
|
+
- docs/reviews/review-domain-modeling.md — review findings, fix plan, and resolution log
|
|
23
|
+
- docs/domain-models/ — updated with fixes
|
|
24
|
+
|
|
25
|
+
## Quality Criteria
|
|
26
|
+
- All review passes executed with findings documented
|
|
27
|
+
- Every finding categorized by severity (P0-P3)
|
|
28
|
+
- Fix plan created for P0 and P1 findings
|
|
29
|
+
- Fixes applied and re-validated
|
|
30
|
+
- Downstream readiness confirmed (decisions phase can proceed)
|
|
31
|
+
|
|
32
|
+
## Methodology Scaling
|
|
33
|
+
- **deep**: All review passes from the knowledge base. Full findings report
|
|
34
|
+
with severity categorization. Fixes applied and re-validated.
|
|
35
|
+
- **mvp**: Quick consistency check. Focus on blocking issues only.
|
|
36
|
+
- **custom:depth(1-5)**: Depth 1-2: blocking issues only. Depth 3: add coverage
|
|
37
|
+
and consistency passes. Depth 4-5: full multi-pass review.
|
|
38
|
+
|
|
39
|
+
## Mode Detection
|
|
40
|
+
If docs/reviews/review-domain-modeling.md exists, this is a re-review. Read previous
|
|
41
|
+
findings, check which were addressed, run review passes again on updated models.
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: implementation-tasks
|
|
3
|
+
description: Break architecture into implementable tasks with dependencies
|
|
4
|
+
phase: "planning"
|
|
5
|
+
order: 25
|
|
6
|
+
dependencies: [testing-strategy, operations, security]
|
|
7
|
+
outputs: [docs/implementation-tasks.md]
|
|
8
|
+
conditional: null
|
|
9
|
+
knowledge-base: [task-decomposition]
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## Purpose
|
|
13
|
+
Decompose user stories and system architecture into concrete, implementable
|
|
14
|
+
tasks suitable for AI agents. Each task should be independently executable,
|
|
15
|
+
have clear inputs/outputs, and be small enough for a single agent session.
|
|
16
|
+
The primary mapping is Story → Task(s), with PRD as the traceability root.
|
|
17
|
+
|
|
18
|
+
## Inputs
|
|
19
|
+
- docs/system-architecture.md (required) — components to implement
|
|
20
|
+
- docs/domain-models/ (required) — domain logic to implement
|
|
21
|
+
- docs/adrs/ (required) — technology constraints
|
|
22
|
+
- docs/prd.md (required) — features to trace tasks back to
|
|
23
|
+
- docs/user-stories.md (required) — stories to derive tasks from
|
|
24
|
+
- docs/testing-strategy.md (required) — testing requirements to incorporate into tasks
|
|
25
|
+
- docs/operations-runbook.md (optional) — ops requirements to incorporate into tasks
|
|
26
|
+
- docs/security-review.md (optional) — security requirements to incorporate into tasks
|
|
27
|
+
- docs/database-schema.md (optional) — data layer tasks
|
|
28
|
+
- docs/api-contracts.md (optional) — API implementation tasks
|
|
29
|
+
- docs/ux-spec.md (optional) — frontend tasks
|
|
30
|
+
|
|
31
|
+
## Expected Outputs
|
|
32
|
+
- docs/implementation-tasks.md — task list with dependencies, sizing, and
|
|
33
|
+
assignment recommendations
|
|
34
|
+
|
|
35
|
+
## Quality Criteria
|
|
36
|
+
- Every architecture component has implementation tasks
|
|
37
|
+
- Task dependencies form a valid DAG (no cycles)
|
|
38
|
+
- Each task is scoped for a single agent session (not too large, not too small)
|
|
39
|
+
- Tasks include acceptance criteria (how to know it's done)
|
|
40
|
+
- Tasks incorporate testing requirements from the testing strategy
|
|
41
|
+
- Tasks incorporate security controls from the security review where applicable
|
|
42
|
+
- Tasks incorporate operational requirements (monitoring, deployment) where applicable
|
|
43
|
+
- Critical path is identified
|
|
44
|
+
- Parallelization opportunities are marked
|
|
45
|
+
- Every user story maps to at least one task
|
|
46
|
+
|
|
47
|
+
## Methodology Scaling
|
|
48
|
+
- **deep**: Detailed task breakdown with story-to-task tracing. Dependency graph.
|
|
49
|
+
Sizing estimates. Parallelization plan. Agent context requirements per task.
|
|
50
|
+
Phased delivery milestones.
|
|
51
|
+
- **mvp**: Ordered task list with brief descriptions. Key dependencies noted.
|
|
52
|
+
Enough to start working sequentially.
|
|
53
|
+
- **custom:depth(1-5)**: Depth 1-2: ordered list. Depth 3: add dependencies
|
|
54
|
+
and sizing. Depth 4-5: full breakdown with parallelization.
|
|
55
|
+
|
|
56
|
+
## Mode Detection
|
|
57
|
+
Update mode if tasks exist. Re-derive from updated architecture.
|