maestro-flow 0.4.9 → 0.4.11
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/.agents/agents/cli-explore-agent.md +189 -0
- package/.agents/agents/conceptual-planning-agent.md +247 -0
- package/.agents/agents/impeccable-agent.md +101 -0
- package/.agents/agents/team-supervisor.md +145 -0
- package/.agents/agents/team-worker.md +239 -0
- package/.agents/agents/ui-design-agent.md +289 -0
- package/.agents/agents/workflow-analyzer.md +117 -0
- package/.agents/agents/workflow-codebase-mapper.md +79 -0
- package/.agents/agents/workflow-collab-planner.md +145 -0
- package/.agents/agents/workflow-debugger.md +105 -0
- package/.agents/agents/workflow-executor.md +134 -0
- package/.agents/agents/workflow-external-researcher.md +88 -0
- package/.agents/agents/workflow-integration-checker.md +85 -0
- package/.agents/agents/workflow-nyquist-auditor.md +87 -0
- package/.agents/agents/workflow-phase-researcher.md +87 -0
- package/.agents/agents/workflow-plan-checker.md +92 -0
- package/.agents/agents/workflow-planner.md +197 -0
- package/.agents/agents/workflow-project-researcher.md +76 -0
- package/.agents/agents/workflow-research-synthesizer.md +72 -0
- package/.agents/agents/workflow-reviewer.md +84 -0
- package/.agents/agents/workflow-roadmapper.md +83 -0
- package/.agents/agents/workflow-verifier.md +122 -0
- package/.agents/skills/codify-to-knowhow/SKILL.md +169 -0
- package/.agents/skills/codify-to-knowhow/phases/01-load-manifest.md +101 -0
- package/.agents/skills/codify-to-knowhow/phases/02-generate-knowhow.md +97 -0
- package/.agents/skills/codify-to-knowhow/phases/03-generate-specs.md +92 -0
- package/.agents/skills/codify-to-knowhow/phases/04-index-verify.md +119 -0
- package/.agents/skills/learn-decompose/SKILL.md +118 -0
- package/.agents/skills/learn-follow/SKILL.md +129 -0
- package/.agents/skills/learn-investigate/SKILL.md +154 -0
- package/.agents/skills/learn-retro/SKILL.md +159 -0
- package/.agents/skills/learn-second-opinion/SKILL.md +124 -0
- package/.agents/skills/maestro/SKILL.md +224 -0
- package/.agents/skills/maestro-amend/SKILL.md +165 -0
- package/.agents/skills/maestro-analyze/SKILL.md +135 -0
- package/.agents/skills/maestro-brainstorm/SKILL.md +118 -0
- package/.agents/skills/maestro-collab/SKILL.md +174 -0
- package/.agents/skills/maestro-composer/SKILL.md +181 -0
- package/.agents/skills/maestro-execute/SKILL.md +133 -0
- package/.agents/skills/maestro-fork/SKILL.md +88 -0
- package/.agents/skills/maestro-guard/SKILL.md +103 -0
- package/.agents/skills/maestro-help/SKILL.md +266 -0
- package/.agents/skills/maestro-help/index/catalog.json +184 -0
- package/.agents/skills/maestro-help/phases/01-parse-intent.md +122 -0
- package/.agents/skills/maestro-help/phases/02-search-present.md +181 -0
- package/.agents/skills/maestro-help/phases/03-workflow-guide.md +186 -0
- package/.agents/skills/maestro-impeccable/SKILL.md +251 -0
- package/.agents/skills/maestro-init/SKILL.md +80 -0
- package/.agents/skills/maestro-learn/SKILL.md +142 -0
- package/.agents/skills/maestro-merge/SKILL.md +66 -0
- package/.agents/skills/maestro-milestone-audit/SKILL.md +70 -0
- package/.agents/skills/maestro-milestone-complete/SKILL.md +77 -0
- package/.agents/skills/maestro-milestone-release/SKILL.md +98 -0
- package/.agents/skills/maestro-overlay/SKILL.md +180 -0
- package/.agents/skills/maestro-plan/SKILL.md +172 -0
- package/.agents/skills/maestro-player/SKILL.md +177 -0
- package/.agents/skills/maestro-quick/SKILL.md +67 -0
- package/.agents/skills/maestro-ralph/SKILL.md +685 -0
- package/.agents/skills/maestro-ralph-execute/SKILL.md +259 -0
- package/.agents/skills/maestro-roadmap/SKILL.md +170 -0
- package/.agents/skills/maestro-tools-execute/SKILL.md +119 -0
- package/.agents/skills/maestro-tools-register/SKILL.md +159 -0
- package/.agents/skills/maestro-ui-codify/SKILL.md +82 -0
- package/.agents/skills/maestro-update/SKILL.md +178 -0
- package/.agents/skills/maestro-verify/SKILL.md +111 -0
- package/.agents/skills/manage-codebase-rebuild/SKILL.md +77 -0
- package/.agents/skills/manage-codebase-refresh/SKILL.md +59 -0
- package/.agents/skills/manage-harvest/SKILL.md +96 -0
- package/.agents/skills/manage-issue/SKILL.md +75 -0
- package/.agents/skills/manage-issue-discover/SKILL.md +83 -0
- package/.agents/skills/manage-knowhow/SKILL.md +79 -0
- package/.agents/skills/manage-knowhow-capture/SKILL.md +81 -0
- package/.agents/skills/manage-learn/SKILL.md +67 -0
- package/.agents/skills/manage-status/SKILL.md +54 -0
- package/.agents/skills/manage-wiki/SKILL.md +64 -0
- package/.agents/skills/quality-auto-test/SKILL.md +138 -0
- package/.agents/skills/quality-debug/SKILL.md +122 -0
- package/.agents/skills/quality-refactor/SKILL.md +69 -0
- package/.agents/skills/quality-retrospective/SKILL.md +79 -0
- package/.agents/skills/quality-review/SKILL.md +130 -0
- package/.agents/skills/quality-sync/SKILL.md +53 -0
- package/.agents/skills/quality-test/SKILL.md +119 -0
- package/.agents/skills/security-audit/SKILL.md +157 -0
- package/.agents/skills/skill-iter-tune/SKILL.md +384 -0
- package/.agents/skills/skill-iter-tune/phases/01-setup.md +144 -0
- package/.agents/skills/skill-iter-tune/phases/02-execute.md +292 -0
- package/.agents/skills/skill-iter-tune/phases/03-evaluate.md +312 -0
- package/.agents/skills/skill-iter-tune/phases/04-improve.md +186 -0
- package/.agents/skills/skill-iter-tune/phases/05-report.md +166 -0
- package/.agents/skills/skill-iter-tune/specs/evaluation-criteria.md +63 -0
- package/.agents/skills/skill-iter-tune/templates/eval-prompt.md +134 -0
- package/.agents/skills/skill-iter-tune/templates/execute-prompt.md +97 -0
- package/.agents/skills/spec-add/SKILL.md +70 -0
- package/.agents/skills/spec-load/SKILL.md +73 -0
- package/.agents/skills/spec-remove/SKILL.md +53 -0
- package/.agents/skills/spec-setup/SKILL.md +50 -0
- package/.agents/skills/team-coordinate/SKILL.md +268 -0
- package/.agents/skills/team-coordinate/roles/coordinator/commands/analyze-task.md +247 -0
- package/.agents/skills/team-coordinate/roles/coordinator/commands/dispatch.md +131 -0
- package/.agents/skills/team-coordinate/roles/coordinator/commands/monitor.md +358 -0
- package/.agents/skills/team-coordinate/roles/coordinator/role.md +365 -0
- package/.agents/skills/team-coordinate/specs/knowledge-transfer.md +111 -0
- package/.agents/skills/team-coordinate/specs/pipelines.md +97 -0
- package/.agents/skills/team-coordinate/specs/quality-gates.md +112 -0
- package/.agents/skills/team-coordinate/specs/role-spec-template.md +198 -0
- package/.agents/skills/team-executor/SKILL.md +191 -0
- package/.agents/skills/team-executor/roles/executor/commands/monitor.md +239 -0
- package/.agents/skills/team-executor/roles/executor/role.md +171 -0
- package/.agents/skills/team-executor/specs/session-schema.md +264 -0
- package/.agents/skills/team-lifecycle-v4/SKILL.md +211 -0
- package/.agents/skills/team-lifecycle-v4/roles/analyst/role.md +96 -0
- package/.agents/skills/team-lifecycle-v4/roles/coordinator/commands/analyze.md +56 -0
- package/.agents/skills/team-lifecycle-v4/roles/coordinator/commands/dispatch.md +56 -0
- package/.agents/skills/team-lifecycle-v4/roles/coordinator/commands/monitor.md +206 -0
- package/.agents/skills/team-lifecycle-v4/roles/coordinator/role.md +130 -0
- package/.agents/skills/team-lifecycle-v4/roles/executor/commands/fix.md +35 -0
- package/.agents/skills/team-lifecycle-v4/roles/executor/commands/implement.md +62 -0
- package/.agents/skills/team-lifecycle-v4/roles/executor/role.md +69 -0
- package/.agents/skills/team-lifecycle-v4/roles/planner/role.md +87 -0
- package/.agents/skills/team-lifecycle-v4/roles/reviewer/commands/review-code.md +34 -0
- package/.agents/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +44 -0
- package/.agents/skills/team-lifecycle-v4/roles/reviewer/role.md +71 -0
- package/.agents/skills/team-lifecycle-v4/roles/supervisor/role.md +194 -0
- package/.agents/skills/team-lifecycle-v4/roles/tester/role.md +89 -0
- package/.agents/skills/team-lifecycle-v4/roles/writer/role.md +97 -0
- package/.agents/skills/team-lifecycle-v4/specs/knowledge-transfer.md +114 -0
- package/.agents/skills/team-lifecycle-v4/specs/pipelines.md +140 -0
- package/.agents/skills/team-lifecycle-v4/specs/quality-gates.md +130 -0
- package/.agents/skills/team-lifecycle-v4/templates/architecture.md +254 -0
- package/.agents/skills/team-lifecycle-v4/templates/epics.md +196 -0
- package/.agents/skills/team-lifecycle-v4/templates/product-brief.md +133 -0
- package/.agents/skills/team-lifecycle-v4/templates/requirements.md +224 -0
- package/.agents/skills/team-quality-assurance/SKILL.md +149 -0
- package/.agents/skills/team-quality-assurance/roles/analyst/role.md +90 -0
- package/.agents/skills/team-quality-assurance/roles/coordinator/commands/analyze.md +72 -0
- package/.agents/skills/team-quality-assurance/roles/coordinator/commands/dispatch.md +111 -0
- package/.agents/skills/team-quality-assurance/roles/coordinator/commands/monitor.md +250 -0
- package/.agents/skills/team-quality-assurance/roles/coordinator/role.md +143 -0
- package/.agents/skills/team-quality-assurance/roles/executor/role.md +68 -0
- package/.agents/skills/team-quality-assurance/roles/generator/role.md +70 -0
- package/.agents/skills/team-quality-assurance/roles/scout/role.md +77 -0
- package/.agents/skills/team-quality-assurance/roles/strategist/role.md +73 -0
- package/.agents/skills/team-quality-assurance/specs/pipelines.md +115 -0
- package/.agents/skills/team-quality-assurance/specs/team-config.json +131 -0
- package/.agents/skills/team-review/SKILL.md +149 -0
- package/.agents/skills/team-review/roles/coordinator/commands/analyze.md +71 -0
- package/.agents/skills/team-review/roles/coordinator/commands/dispatch.md +91 -0
- package/.agents/skills/team-review/roles/coordinator/commands/monitor.md +224 -0
- package/.agents/skills/team-review/roles/coordinator/role.md +132 -0
- package/.agents/skills/team-review/roles/fixer/role.md +78 -0
- package/.agents/skills/team-review/roles/reviewer/role.md +70 -0
- package/.agents/skills/team-review/roles/scanner/role.md +81 -0
- package/.agents/skills/team-review/specs/dimensions.md +82 -0
- package/.agents/skills/team-review/specs/finding-schema.json +82 -0
- package/.agents/skills/team-review/specs/pipelines.md +102 -0
- package/.agents/skills/team-review/specs/team-config.json +27 -0
- package/.agents/skills/team-tech-debt/SKILL.md +130 -0
- package/.agents/skills/team-tech-debt/roles/assessor/role.md +79 -0
- package/.agents/skills/team-tech-debt/roles/coordinator/commands/analyze.md +47 -0
- package/.agents/skills/team-tech-debt/roles/coordinator/commands/dispatch.md +156 -0
- package/.agents/skills/team-tech-debt/roles/coordinator/commands/monitor.md +209 -0
- package/.agents/skills/team-tech-debt/roles/coordinator/role.md +123 -0
- package/.agents/skills/team-tech-debt/roles/executor/role.md +78 -0
- package/.agents/skills/team-tech-debt/roles/planner/role.md +71 -0
- package/.agents/skills/team-tech-debt/roles/scanner/role.md +92 -0
- package/.agents/skills/team-tech-debt/roles/validator/role.md +80 -0
- package/.agents/skills/team-tech-debt/specs/pipelines.md +47 -0
- package/.agents/skills/team-tech-debt/specs/team-config.json +129 -0
- package/.agents/skills/team-testing/SKILL.md +145 -0
- package/.agents/skills/team-testing/roles/analyst/role.md +105 -0
- package/.agents/skills/team-testing/roles/coordinator/commands/analyze.md +70 -0
- package/.agents/skills/team-testing/roles/coordinator/commands/dispatch.md +108 -0
- package/.agents/skills/team-testing/roles/coordinator/commands/monitor.md +257 -0
- package/.agents/skills/team-testing/roles/coordinator/role.md +134 -0
- package/.agents/skills/team-testing/roles/executor/role.md +101 -0
- package/.agents/skills/team-testing/roles/generator/role.md +100 -0
- package/.agents/skills/team-testing/roles/strategist/role.md +85 -0
- package/.agents/skills/team-testing/specs/pipelines.md +101 -0
- package/.agents/skills/team-testing/specs/team-config.json +93 -0
- package/.agents/skills/wiki-connect/SKILL.md +64 -0
- package/.agents/skills/wiki-digest/SKILL.md +70 -0
- package/.agents/skills/workflow-skill-designer/SKILL.md +498 -0
- package/.agents/skills/workflow-skill-designer/phases/01-requirements-analysis.md +356 -0
- package/.agents/skills/workflow-skill-designer/phases/02-orchestrator-design.md +444 -0
- package/.agents/skills/workflow-skill-designer/phases/03-phase-design.md +458 -0
- package/.agents/skills/workflow-skill-designer/phases/04-validation.md +471 -0
- package/.agy/agents/cli-explore-agent.md +186 -0
- package/.agy/agents/conceptual-planning-agent.md +244 -0
- package/.agy/agents/impeccable-agent.md +97 -0
- package/.agy/agents/team-supervisor.md +142 -0
- package/.agy/agents/team-worker.md +236 -0
- package/.agy/agents/ui-design-agent.md +286 -0
- package/.agy/agents/workflow-analyzer.md +114 -0
- package/.agy/agents/workflow-codebase-mapper.md +76 -0
- package/.agy/agents/workflow-collab-planner.md +142 -0
- package/.agy/agents/workflow-debugger.md +102 -0
- package/.agy/agents/workflow-executor.md +131 -0
- package/.agy/agents/workflow-external-researcher.md +86 -0
- package/.agy/agents/workflow-integration-checker.md +82 -0
- package/.agy/agents/workflow-nyquist-auditor.md +84 -0
- package/.agy/agents/workflow-phase-researcher.md +84 -0
- package/.agy/agents/workflow-plan-checker.md +89 -0
- package/.agy/agents/workflow-planner.md +194 -0
- package/.agy/agents/workflow-project-researcher.md +73 -0
- package/.agy/agents/workflow-research-synthesizer.md +70 -0
- package/.agy/agents/workflow-reviewer.md +81 -0
- package/.agy/agents/workflow-roadmapper.md +81 -0
- package/.agy/agents/workflow-verifier.md +119 -0
- package/.agy/skills/codify-to-knowhow/SKILL.md +172 -0
- package/.agy/skills/codify-to-knowhow/phases/01-load-manifest.md +101 -0
- package/.agy/skills/codify-to-knowhow/phases/02-generate-knowhow.md +97 -0
- package/.agy/skills/codify-to-knowhow/phases/03-generate-specs.md +92 -0
- package/.agy/skills/codify-to-knowhow/phases/04-index-verify.md +119 -0
- package/.agy/skills/learn-decompose/SKILL.md +118 -0
- package/.agy/skills/learn-follow/SKILL.md +129 -0
- package/.agy/skills/learn-investigate/SKILL.md +154 -0
- package/.agy/skills/learn-retro/SKILL.md +159 -0
- package/.agy/skills/learn-second-opinion/SKILL.md +124 -0
- package/.agy/skills/maestro/SKILL.md +223 -0
- package/.agy/skills/maestro-amend/SKILL.md +162 -0
- package/.agy/skills/maestro-analyze/SKILL.md +135 -0
- package/.agy/skills/maestro-brainstorm/SKILL.md +118 -0
- package/.agy/skills/maestro-collab/SKILL.md +174 -0
- package/.agy/skills/maestro-composer/SKILL.md +180 -0
- package/.agy/skills/maestro-execute/SKILL.md +133 -0
- package/.agy/skills/maestro-fork/SKILL.md +88 -0
- package/.agy/skills/maestro-guard/SKILL.md +101 -0
- package/.agy/skills/maestro-help/SKILL.md +267 -0
- package/.agy/skills/maestro-help/index/catalog.json +184 -0
- package/.agy/skills/maestro-help/phases/01-parse-intent.md +122 -0
- package/.agy/skills/maestro-help/phases/02-search-present.md +181 -0
- package/.agy/skills/maestro-help/phases/03-workflow-guide.md +186 -0
- package/.agy/skills/maestro-impeccable/SKILL.md +250 -0
- package/.agy/skills/maestro-init/SKILL.md +80 -0
- package/.agy/skills/maestro-learn/SKILL.md +142 -0
- package/.agy/skills/maestro-merge/SKILL.md +66 -0
- package/.agy/skills/maestro-milestone-audit/SKILL.md +70 -0
- package/.agy/skills/maestro-milestone-complete/SKILL.md +77 -0
- package/.agy/skills/maestro-milestone-release/SKILL.md +98 -0
- package/.agy/skills/maestro-overlay/SKILL.md +177 -0
- package/.agy/skills/maestro-plan/SKILL.md +172 -0
- package/.agy/skills/maestro-player/SKILL.md +176 -0
- package/.agy/skills/maestro-quick/SKILL.md +67 -0
- package/.agy/skills/maestro-ralph/SKILL.md +681 -0
- package/.agy/skills/maestro-ralph-execute/SKILL.md +255 -0
- package/.agy/skills/maestro-roadmap/SKILL.md +170 -0
- package/.agy/skills/maestro-tools-execute/SKILL.md +119 -0
- package/.agy/skills/maestro-tools-register/SKILL.md +159 -0
- package/.agy/skills/maestro-ui-codify/SKILL.md +81 -0
- package/.agy/skills/maestro-update/SKILL.md +175 -0
- package/.agy/skills/maestro-verify/SKILL.md +111 -0
- package/.agy/skills/manage-codebase-rebuild/SKILL.md +77 -0
- package/.agy/skills/manage-codebase-refresh/SKILL.md +59 -0
- package/.agy/skills/manage-harvest/SKILL.md +96 -0
- package/.agy/skills/manage-issue/SKILL.md +72 -0
- package/.agy/skills/manage-issue-discover/SKILL.md +83 -0
- package/.agy/skills/manage-knowhow/SKILL.md +76 -0
- package/.agy/skills/manage-knowhow-capture/SKILL.md +78 -0
- package/.agy/skills/manage-learn/SKILL.md +64 -0
- package/.agy/skills/manage-status/SKILL.md +51 -0
- package/.agy/skills/manage-wiki/SKILL.md +61 -0
- package/.agy/skills/quality-auto-test/SKILL.md +135 -0
- package/.agy/skills/quality-debug/SKILL.md +122 -0
- package/.agy/skills/quality-refactor/SKILL.md +69 -0
- package/.agy/skills/quality-retrospective/SKILL.md +79 -0
- package/.agy/skills/quality-review/SKILL.md +130 -0
- package/.agy/skills/quality-sync/SKILL.md +53 -0
- package/.agy/skills/quality-test/SKILL.md +119 -0
- package/.agy/skills/security-audit/SKILL.md +157 -0
- package/.agy/skills/skill-iter-tune/SKILL.md +381 -0
- package/.agy/skills/skill-iter-tune/phases/01-setup.md +144 -0
- package/.agy/skills/skill-iter-tune/phases/02-execute.md +292 -0
- package/.agy/skills/skill-iter-tune/phases/03-evaluate.md +312 -0
- package/.agy/skills/skill-iter-tune/phases/04-improve.md +198 -0
- package/.agy/skills/skill-iter-tune/phases/05-report.md +166 -0
- package/.agy/skills/skill-iter-tune/specs/evaluation-criteria.md +63 -0
- package/.agy/skills/skill-iter-tune/templates/eval-prompt.md +134 -0
- package/.agy/skills/skill-iter-tune/templates/execute-prompt.md +97 -0
- package/.agy/skills/spec-add/SKILL.md +67 -0
- package/.agy/skills/spec-load/SKILL.md +70 -0
- package/.agy/skills/spec-remove/SKILL.md +50 -0
- package/.agy/skills/spec-setup/SKILL.md +47 -0
- package/.agy/skills/team-coordinate/SKILL.md +267 -0
- package/.agy/skills/team-coordinate/roles/coordinator/commands/analyze-task.md +247 -0
- package/.agy/skills/team-coordinate/roles/coordinator/commands/dispatch.md +131 -0
- package/.agy/skills/team-coordinate/roles/coordinator/commands/monitor.md +348 -0
- package/.agy/skills/team-coordinate/roles/coordinator/role.md +362 -0
- package/.agy/skills/team-coordinate/specs/knowledge-transfer.md +111 -0
- package/.agy/skills/team-coordinate/specs/pipelines.md +97 -0
- package/.agy/skills/team-coordinate/specs/quality-gates.md +112 -0
- package/.agy/skills/team-coordinate/specs/role-spec-template.md +198 -0
- package/.agy/skills/team-executor/SKILL.md +180 -0
- package/.agy/skills/team-executor/roles/executor/commands/monitor.md +235 -0
- package/.agy/skills/team-executor/roles/executor/role.md +171 -0
- package/.agy/skills/team-executor/specs/session-schema.md +264 -0
- package/.agy/skills/team-lifecycle-v4/SKILL.md +189 -0
- package/.agy/skills/team-lifecycle-v4/roles/analyst/role.md +92 -0
- package/.agy/skills/team-lifecycle-v4/roles/coordinator/commands/analyze.md +56 -0
- package/.agy/skills/team-lifecycle-v4/roles/coordinator/commands/dispatch.md +56 -0
- package/.agy/skills/team-lifecycle-v4/roles/coordinator/commands/monitor.md +206 -0
- package/.agy/skills/team-lifecycle-v4/roles/coordinator/role.md +130 -0
- package/.agy/skills/team-lifecycle-v4/roles/executor/commands/fix.md +35 -0
- package/.agy/skills/team-lifecycle-v4/roles/executor/commands/implement.md +62 -0
- package/.agy/skills/team-lifecycle-v4/roles/executor/role.md +64 -0
- package/.agy/skills/team-lifecycle-v4/roles/planner/role.md +82 -0
- package/.agy/skills/team-lifecycle-v4/roles/reviewer/commands/review-code.md +34 -0
- package/.agy/skills/team-lifecycle-v4/roles/reviewer/commands/review-spec.md +44 -0
- package/.agy/skills/team-lifecycle-v4/roles/reviewer/role.md +65 -0
- package/.agy/skills/team-lifecycle-v4/roles/supervisor/role.md +188 -0
- package/.agy/skills/team-lifecycle-v4/roles/tester/role.md +84 -0
- package/.agy/skills/team-lifecycle-v4/roles/writer/role.md +92 -0
- package/.agy/skills/team-lifecycle-v4/specs/knowledge-transfer.md +114 -0
- package/.agy/skills/team-lifecycle-v4/specs/pipelines.md +140 -0
- package/.agy/skills/team-lifecycle-v4/specs/quality-gates.md +130 -0
- package/.agy/skills/team-lifecycle-v4/templates/architecture.md +254 -0
- package/.agy/skills/team-lifecycle-v4/templates/epics.md +196 -0
- package/.agy/skills/team-lifecycle-v4/templates/product-brief.md +133 -0
- package/.agy/skills/team-lifecycle-v4/templates/requirements.md +224 -0
- package/.agy/skills/team-quality-assurance/SKILL.md +148 -0
- package/.agy/skills/team-quality-assurance/roles/analyst/role.md +85 -0
- package/.agy/skills/team-quality-assurance/roles/coordinator/commands/analyze.md +72 -0
- package/.agy/skills/team-quality-assurance/roles/coordinator/commands/dispatch.md +111 -0
- package/.agy/skills/team-quality-assurance/roles/coordinator/commands/monitor.md +235 -0
- package/.agy/skills/team-quality-assurance/roles/coordinator/role.md +143 -0
- package/.agy/skills/team-quality-assurance/roles/executor/role.md +62 -0
- package/.agy/skills/team-quality-assurance/roles/generator/role.md +65 -0
- package/.agy/skills/team-quality-assurance/roles/scout/role.md +72 -0
- package/.agy/skills/team-quality-assurance/roles/strategist/role.md +69 -0
- package/.agy/skills/team-quality-assurance/specs/pipelines.md +115 -0
- package/.agy/skills/team-quality-assurance/specs/team-config.json +131 -0
- package/.agy/skills/team-review/SKILL.md +149 -0
- package/.agy/skills/team-review/roles/coordinator/commands/analyze.md +71 -0
- package/.agy/skills/team-review/roles/coordinator/commands/dispatch.md +91 -0
- package/.agy/skills/team-review/roles/coordinator/commands/monitor.md +209 -0
- package/.agy/skills/team-review/roles/coordinator/role.md +132 -0
- package/.agy/skills/team-review/roles/fixer/role.md +74 -0
- package/.agy/skills/team-review/roles/reviewer/role.md +66 -0
- package/.agy/skills/team-review/roles/scanner/role.md +77 -0
- package/.agy/skills/team-review/specs/dimensions.md +82 -0
- package/.agy/skills/team-review/specs/finding-schema.json +82 -0
- package/.agy/skills/team-review/specs/pipelines.md +102 -0
- package/.agy/skills/team-review/specs/team-config.json +27 -0
- package/.agy/skills/team-tech-debt/SKILL.md +133 -0
- package/.agy/skills/team-tech-debt/roles/assessor/role.md +76 -0
- package/.agy/skills/team-tech-debt/roles/coordinator/commands/analyze.md +47 -0
- package/.agy/skills/team-tech-debt/roles/coordinator/commands/dispatch.md +156 -0
- package/.agy/skills/team-tech-debt/roles/coordinator/commands/monitor.md +198 -0
- package/.agy/skills/team-tech-debt/roles/coordinator/role.md +123 -0
- package/.agy/skills/team-tech-debt/roles/executor/role.md +76 -0
- package/.agy/skills/team-tech-debt/roles/planner/role.md +68 -0
- package/.agy/skills/team-tech-debt/roles/scanner/role.md +90 -0
- package/.agy/skills/team-tech-debt/roles/validator/role.md +78 -0
- package/.agy/skills/team-tech-debt/specs/pipelines.md +47 -0
- package/.agy/skills/team-tech-debt/specs/team-config.json +129 -0
- package/.agy/skills/team-testing/SKILL.md +144 -0
- package/.agy/skills/team-testing/roles/analyst/role.md +101 -0
- package/.agy/skills/team-testing/roles/coordinator/commands/analyze.md +70 -0
- package/.agy/skills/team-testing/roles/coordinator/commands/dispatch.md +108 -0
- package/.agy/skills/team-testing/roles/coordinator/commands/monitor.md +242 -0
- package/.agy/skills/team-testing/roles/coordinator/role.md +134 -0
- package/.agy/skills/team-testing/roles/executor/role.md +95 -0
- package/.agy/skills/team-testing/roles/generator/role.md +95 -0
- package/.agy/skills/team-testing/roles/strategist/role.md +81 -0
- package/.agy/skills/team-testing/specs/pipelines.md +101 -0
- package/.agy/skills/team-testing/specs/team-config.json +93 -0
- package/.agy/skills/wiki-connect/SKILL.md +64 -0
- package/.agy/skills/wiki-digest/SKILL.md +70 -0
- package/.agy/skills/workflow-skill-designer/SKILL.md +506 -0
- package/.agy/skills/workflow-skill-designer/phases/01-requirements-analysis.md +356 -0
- package/.agy/skills/workflow-skill-designer/phases/02-orchestrator-design.md +444 -0
- package/.agy/skills/workflow-skill-designer/phases/03-phase-design.md +458 -0
- package/.agy/skills/workflow-skill-designer/phases/04-validation.md +471 -0
- package/.claude/commands/maestro-ralph.md +222 -87
- package/.claude/commands/maestro.md +13 -11
- package/.codex/skills/maestro/SKILL.md +23 -17
- package/.codex/skills/maestro-ralph/SKILL.md +177 -67
- package/dist/src/commands/install-backend.d.ts +12 -0
- package/dist/src/commands/install-backend.d.ts.map +1 -1
- package/dist/src/commands/install-backend.js +144 -0
- package/dist/src/commands/install-backend.js.map +1 -1
- package/dist/src/core/component-defs.d.ts +6 -0
- package/dist/src/core/component-defs.d.ts.map +1 -1
- package/dist/src/core/component-defs.js +97 -0
- package/dist/src/core/component-defs.js.map +1 -1
- package/dist/src/tui/install-ui/ExtraMcpConfig.d.ts +11 -0
- package/dist/src/tui/install-ui/ExtraMcpConfig.d.ts.map +1 -0
- package/dist/src/tui/install-ui/ExtraMcpConfig.js +61 -0
- package/dist/src/tui/install-ui/ExtraMcpConfig.js.map +1 -0
- package/dist/src/tui/install-ui/InstallConfirm.d.ts +3 -0
- package/dist/src/tui/install-ui/InstallConfirm.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallConfirm.js +1 -1
- package/dist/src/tui/install-ui/InstallConfirm.js.map +1 -1
- package/dist/src/tui/install-ui/InstallExecution.d.ts +2 -0
- package/dist/src/tui/install-ui/InstallExecution.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallExecution.js +14 -2
- package/dist/src/tui/install-ui/InstallExecution.js.map +1 -1
- package/dist/src/tui/install-ui/InstallFlow.d.ts +1 -1
- package/dist/src/tui/install-ui/InstallFlow.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallFlow.js +16 -3
- package/dist/src/tui/install-ui/InstallFlow.js.map +1 -1
- package/dist/src/tui/install-ui/InstallHub.d.ts +2 -0
- package/dist/src/tui/install-ui/InstallHub.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallHub.js +8 -0
- package/dist/src/tui/install-ui/InstallHub.js.map +1 -1
- package/dist/src/tui/install-ui/InstallResult.d.ts.map +1 -1
- package/dist/src/tui/install-ui/InstallResult.js +3 -1
- package/dist/src/tui/install-ui/InstallResult.js.map +1 -1
- package/dist/src/utils/update-notices.js +19 -0
- package/dist/src/utils/update-notices.js.map +1 -1
- package/package.json +7 -2
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
# Knowledge Transfer Protocols
|
|
2
|
+
|
|
3
|
+
## 1. Transfer Channels
|
|
4
|
+
|
|
5
|
+
| Channel | Method | Producer | Consumer |
|
|
6
|
+
|---------|--------|----------|----------|
|
|
7
|
+
| Artifacts | Files in `<session>/artifacts/` | Task executor | Next task in pipeline |
|
|
8
|
+
| State Updates | `team_msg(type="state_update")` | Task executor | Coordinator + downstream |
|
|
9
|
+
| Wisdom | Append to `<session>/wisdom/*.md` | Any role | All roles |
|
|
10
|
+
| Context Accumulator | In-memory aggregation | Inner loop only | Current task |
|
|
11
|
+
| Exploration Cache | `<session>/explorations/` | Analyst / researcher | All roles |
|
|
12
|
+
|
|
13
|
+
## 2. Context Loading Protocol (Before Task Execution)
|
|
14
|
+
|
|
15
|
+
Every role MUST load context in this order before starting work.
|
|
16
|
+
|
|
17
|
+
| Step | Action | Required |
|
|
18
|
+
|------|--------|----------|
|
|
19
|
+
| 1 | `team_msg(operation="get_state", role=<upstream>)` | Yes |
|
|
20
|
+
| 2 | Read artifact files from upstream state's `ref` paths | Yes |
|
|
21
|
+
| 3 | Read `<session>/wisdom/*.md` if exists | Yes |
|
|
22
|
+
| 4 | Check `<session>/explorations/cache-index.json` before new exploration | If exploring |
|
|
23
|
+
|
|
24
|
+
**Loading rules**:
|
|
25
|
+
- Never skip step 1 -- state contains key decisions and findings
|
|
26
|
+
- If `ref` path in state does not exist, log warning and continue
|
|
27
|
+
- Wisdom files are append-only -- read all entries, newest last
|
|
28
|
+
|
|
29
|
+
## 3. Context Publishing Protocol (After Task Completion)
|
|
30
|
+
|
|
31
|
+
| Step | Action | Required |
|
|
32
|
+
|------|--------|----------|
|
|
33
|
+
| 1 | Write deliverable to `<session>/artifacts/<task-id>-<name>.md` | Yes |
|
|
34
|
+
| 2 | Send `team_msg(type="state_update")` with payload (see schema below) | Yes |
|
|
35
|
+
| 3 | Append wisdom entries for learnings, decisions, issues found | If applicable |
|
|
36
|
+
|
|
37
|
+
## 4. State Update Schema
|
|
38
|
+
|
|
39
|
+
Sent via `team_msg(type="state_update")` on task completion.
|
|
40
|
+
|
|
41
|
+
```json
|
|
42
|
+
{
|
|
43
|
+
"status": "task_complete",
|
|
44
|
+
"task_id": "<TASK-NNN>",
|
|
45
|
+
"ref": "<session>/artifacts/<filename>",
|
|
46
|
+
"key_findings": [
|
|
47
|
+
"Finding 1",
|
|
48
|
+
"Finding 2"
|
|
49
|
+
],
|
|
50
|
+
"decisions": [
|
|
51
|
+
"Decision with rationale"
|
|
52
|
+
],
|
|
53
|
+
"files_modified": [
|
|
54
|
+
"path/to/file.ts"
|
|
55
|
+
],
|
|
56
|
+
"verification": "self-validated | peer-reviewed | tested",
|
|
57
|
+
"tech_profile": "<optional, from Phase 2-4 if codebase signals detected>"
|
|
58
|
+
}
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
**Field rules**:
|
|
62
|
+
- `ref`: Always an artifact path, never inline content
|
|
63
|
+
- `key_findings`: Max 5 items, each under 100 chars
|
|
64
|
+
- `decisions`: Include rationale, not just the choice
|
|
65
|
+
- `files_modified`: Only for implementation tasks
|
|
66
|
+
- `verification`: One of `self-validated`, `peer-reviewed`, `tested`
|
|
67
|
+
- `tech_profile`: Optional. Codebase signals for context-aware specialist injection. Schema: `{ signals: string[], evidence: { signal: filePaths[] }, confidence: "high|medium|low" }`
|
|
68
|
+
|
|
69
|
+
**Supervisor-specific extensions** (CHECKPOINT tasks only):
|
|
70
|
+
|
|
71
|
+
```json
|
|
72
|
+
{
|
|
73
|
+
"supervision_verdict": "pass | warn | block",
|
|
74
|
+
"supervision_score": 0.85,
|
|
75
|
+
"risks_logged": 0,
|
|
76
|
+
"blocks_detected": 0
|
|
77
|
+
}
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
- `supervision_verdict`: Required for CHECKPOINT tasks. Determines pipeline progression.
|
|
81
|
+
- `supervision_score`: Float 0.0-1.0. Aggregate of individual check scores.
|
|
82
|
+
- `risks_logged`: Count of risks written to wisdom/issues.md.
|
|
83
|
+
- `blocks_detected`: Count of blocking issues found. >0 implies verdict=block.
|
|
84
|
+
|
|
85
|
+
## 5. Exploration Cache Protocol
|
|
86
|
+
|
|
87
|
+
Prevents redundant research across tasks and discussion rounds.
|
|
88
|
+
|
|
89
|
+
| Step | Action |
|
|
90
|
+
|------|--------|
|
|
91
|
+
| 1 | Read `<session>/explorations/cache-index.json` |
|
|
92
|
+
| 2 | If angle already explored, read cached result from `explore-<angle>.json` |
|
|
93
|
+
| 3 | If not cached, perform exploration |
|
|
94
|
+
| 4 | Write result to `<session>/explorations/explore-<angle>.json` |
|
|
95
|
+
| 5 | Update `cache-index.json` with new entry |
|
|
96
|
+
|
|
97
|
+
**cache-index.json format**:
|
|
98
|
+
```json
|
|
99
|
+
{
|
|
100
|
+
"entries": [
|
|
101
|
+
{
|
|
102
|
+
"angle": "competitor-analysis",
|
|
103
|
+
"file": "explore-competitor-analysis.json",
|
|
104
|
+
"created_by": "RESEARCH-001",
|
|
105
|
+
"timestamp": "2026-01-15T10:30:00Z"
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
}
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
**Rules**:
|
|
112
|
+
- Cache key is the exploration `angle` (normalized to kebab-case)
|
|
113
|
+
- Cache entries never expire within a session
|
|
114
|
+
- Any role can read cached explorations; only the creator updates them
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
# Pipeline Definitions
|
|
2
|
+
|
|
3
|
+
## 1. Pipeline Selection Criteria
|
|
4
|
+
|
|
5
|
+
| Keywords | Pipeline |
|
|
6
|
+
|----------|----------|
|
|
7
|
+
| spec, design, document, requirements | `spec-only` |
|
|
8
|
+
| implement, build, fix, code | `impl-only` |
|
|
9
|
+
| full, lifecycle, end-to-end | `full-lifecycle` |
|
|
10
|
+
| frontend, UI, react, vue | `fe-only` or `fullstack` |
|
|
11
|
+
| Ambiguous / unclear | ask_question |
|
|
12
|
+
|
|
13
|
+
## 2. Spec-Only Pipeline
|
|
14
|
+
|
|
15
|
+
**6 tasks + 2 optional checkpoints, 3 discussion rounds**
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
RESEARCH-001(+D1) -> DRAFT-001 -> DRAFT-002(+D2) -> [CHECKPOINT-001] -> DRAFT-003 -> DRAFT-004 -> [CHECKPOINT-002] -> QUALITY-001(+D3)
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
| Task | Role | Description | Discuss |
|
|
22
|
+
|------|------|-------------|---------|
|
|
23
|
+
| RESEARCH-001 | analyst | Research domain, competitors, constraints | D1: scope alignment |
|
|
24
|
+
| DRAFT-001 | writer | Product brief, self-validate | - |
|
|
25
|
+
| DRAFT-002 | writer | Requirements PRD | D2: requirements review |
|
|
26
|
+
| CHECKPOINT-001 | supervisor | Brief↔PRD consistency, terminology alignment | - |
|
|
27
|
+
| DRAFT-003 | writer | Architecture design, self-validate | - |
|
|
28
|
+
| DRAFT-004 | writer | Epics & stories, self-validate | - |
|
|
29
|
+
| CHECKPOINT-002 | supervisor | Full spec consistency (4 docs), quality trend | - |
|
|
30
|
+
| QUALITY-001 | reviewer | Quality gate scoring | D3: readiness decision |
|
|
31
|
+
|
|
32
|
+
**Checkpoint**: After QUALITY-001 -- pause for user approval before any implementation.
|
|
33
|
+
|
|
34
|
+
**Supervision opt-out**: Set `supervision: false` in team-session.json to skip CHECKPOINT tasks.
|
|
35
|
+
|
|
36
|
+
## 3. Impl-Only Pipeline
|
|
37
|
+
|
|
38
|
+
**4 tasks + 1 optional checkpoint, 0 discussion rounds**
|
|
39
|
+
|
|
40
|
+
```
|
|
41
|
+
PLAN-001 -> [CHECKPOINT-003] -> IMPL-001 -> TEST-001 + REVIEW-001
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
| Task | Role | Description |
|
|
45
|
+
|------|------|-------------|
|
|
46
|
+
| PLAN-001 | planner | Break down into implementation steps, assess complexity |
|
|
47
|
+
| CHECKPOINT-003 | supervisor | Plan↔input alignment, complexity sanity check |
|
|
48
|
+
| IMPL-001 | implementer | Execute implementation plan |
|
|
49
|
+
| TEST-001 | tester | Validate against acceptance criteria |
|
|
50
|
+
| REVIEW-001 | reviewer | Code review |
|
|
51
|
+
|
|
52
|
+
TEST-001 and REVIEW-001 run in parallel after IMPL-001 completes.
|
|
53
|
+
|
|
54
|
+
**Supervision opt-out**: Set `supervision: false` in team-session.json to skip CHECKPOINT tasks.
|
|
55
|
+
|
|
56
|
+
## 4. Full-Lifecycle Pipeline
|
|
57
|
+
|
|
58
|
+
**10 tasks + 3 optional checkpoints = spec-only (6+2) + impl (4+1)**
|
|
59
|
+
|
|
60
|
+
```
|
|
61
|
+
[Spec pipeline with CHECKPOINT-001/002] -> PLAN-001(blockedBy: QUALITY-001) -> [CHECKPOINT-003] -> IMPL-001 -> TEST-001 + REVIEW-001
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
PLAN-001 is blocked until QUALITY-001 passes and user approves the checkpoint.
|
|
65
|
+
|
|
66
|
+
**Supervision opt-out**: Set `supervision: false` in team-session.json to skip all CHECKPOINT tasks.
|
|
67
|
+
|
|
68
|
+
## 5. Frontend Pipelines
|
|
69
|
+
|
|
70
|
+
| Pipeline | Description |
|
|
71
|
+
|----------|-------------|
|
|
72
|
+
| `fe-only` | Frontend implementation only: PLAN-001 -> IMPL-001 (fe-implementer) -> TEST-001 + REVIEW-001 |
|
|
73
|
+
| `fullstack` | Backend + frontend: PLAN-001 -> IMPL-001 (backend) + IMPL-002 (frontend) -> TEST-001 + REVIEW-001 |
|
|
74
|
+
| `full-lifecycle-fe` | Full spec pipeline -> fullstack impl pipeline |
|
|
75
|
+
|
|
76
|
+
## 6. Conditional Routing
|
|
77
|
+
|
|
78
|
+
PLAN-001 outputs a complexity assessment that determines the impl topology.
|
|
79
|
+
|
|
80
|
+
| Complexity | Modules | Route |
|
|
81
|
+
|------------|---------|-------|
|
|
82
|
+
| Low | 1-2 | PLAN-001 -> IMPL-001 -> TEST + REVIEW |
|
|
83
|
+
| Medium | 3-4 | PLAN-001 -> ORCH-001 -> IMPL-{1..N} (parallel) -> TEST + REVIEW |
|
|
84
|
+
| High | 5+ | PLAN-001 -> ARCH-001 -> ORCH-001 -> IMPL-{1..N} -> TEST + REVIEW |
|
|
85
|
+
|
|
86
|
+
- **ORCH-001** (orchestrator): Coordinates parallel IMPL tasks, manages dependencies
|
|
87
|
+
- **ARCH-001** (architect): Detailed architecture decisions before orchestration
|
|
88
|
+
|
|
89
|
+
## 7. Task Metadata Registry
|
|
90
|
+
|
|
91
|
+
| Task ID | Role | Phase | Depends On | Discuss | Priority |
|
|
92
|
+
|---------|------|-------|------------|---------|----------|
|
|
93
|
+
| RESEARCH-001 | analyst | research | - | D1 | P0 |
|
|
94
|
+
| DRAFT-001 | writer | product-brief | RESEARCH-001 | - | P0 |
|
|
95
|
+
| DRAFT-002 | writer | requirements | DRAFT-001 | D2 | P0 |
|
|
96
|
+
| DRAFT-003 | writer | architecture | DRAFT-002 | - | P0 |
|
|
97
|
+
| DRAFT-004 | writer | epics | DRAFT-003 | - | P0 |
|
|
98
|
+
| QUALITY-001 | reviewer | readiness | CHECKPOINT-002 (or DRAFT-004) | D3 | P0 |
|
|
99
|
+
| CHECKPOINT-001 | supervisor | checkpoint | DRAFT-002 | - | P1 |
|
|
100
|
+
| CHECKPOINT-002 | supervisor | checkpoint | DRAFT-004 | - | P1 |
|
|
101
|
+
| CHECKPOINT-003 | supervisor | checkpoint | PLAN-001 | - | P1 |
|
|
102
|
+
| PLAN-001 | planner | planning | QUALITY-001 (or user input) | - | P0 |
|
|
103
|
+
| ARCH-001 | architect | arch-detail | PLAN-001 | - | P1 |
|
|
104
|
+
| ORCH-001 | orchestrator | orchestration | PLAN-001 or ARCH-001 | - | P1 |
|
|
105
|
+
| IMPL-001 | implementer | implementation | PLAN-001 or ORCH-001 | - | P0 |
|
|
106
|
+
| IMPL-{N} | implementer | implementation | ORCH-001 | - | P0 |
|
|
107
|
+
| TEST-001 | tester | validation | IMPL-* | - | P0 |
|
|
108
|
+
| REVIEW-001 | reviewer | review | IMPL-* | - | P0 |
|
|
109
|
+
|
|
110
|
+
## 8. Context-Aware Specialist Injection
|
|
111
|
+
|
|
112
|
+
Specialists are injected based on **codebase signals** detected by explorer/analyst/planner workers, not keyword matching. The coordinator evaluates signals emitted in worker state updates against a trigger matrix to determine when specialist roles are needed.
|
|
113
|
+
|
|
114
|
+
### Signal Flow
|
|
115
|
+
|
|
116
|
+
```
|
|
117
|
+
analyst (RESEARCH-001) emits tech_profile in state_update
|
|
118
|
+
→ coordinator evaluateSpecialistInjection (in handleCallback)
|
|
119
|
+
→ signal combination matches trigger matrix
|
|
120
|
+
→ P0: TaskCreate blocking downstream | P1: TaskCreate parallel with REVIEW/TEST
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
### Common Trigger Examples
|
|
124
|
+
|
|
125
|
+
| Signal Combination | Specialist | Priority |
|
|
126
|
+
|-------------------|-----------|----------|
|
|
127
|
+
| `sql_detected` + `auth_detected` | security-expert (SECURITY-*) | P0 |
|
|
128
|
+
| `perf_sensitive` + `scaling_concern` | performance-optimizer (PERF-*) | P0 |
|
|
129
|
+
| `ml_detected` | ml-engineer (ML-*) | P0 |
|
|
130
|
+
| `data_migration` | data-engineer (DATA-*) | P0 |
|
|
131
|
+
| `devops_detected` + CI config changes | devops-engineer (DEVOPS-*) | P1 |
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
### Injection Rules
|
|
136
|
+
|
|
137
|
+
- Specialist tasks inherit session context and wisdom
|
|
138
|
+
- They publish state_update on completion like any other task
|
|
139
|
+
- P0 specialists block downstream tasks; P1 run in parallel
|
|
140
|
+
- Same specialist is only injected once per session (dedup)
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
# Quality Gates
|
|
2
|
+
|
|
3
|
+
## 1. Quality Thresholds
|
|
4
|
+
|
|
5
|
+
| Result | Score | Action |
|
|
6
|
+
|--------|-------|--------|
|
|
7
|
+
| Pass | >= 80% | Proceed to next phase |
|
|
8
|
+
| Review | 60-79% | Revise flagged items, re-evaluate |
|
|
9
|
+
| Fail | < 60% | Return to producer for rework |
|
|
10
|
+
|
|
11
|
+
## 2. Scoring Dimensions
|
|
12
|
+
|
|
13
|
+
| Dimension | Weight | Criteria |
|
|
14
|
+
|-----------|--------|----------|
|
|
15
|
+
| Completeness | 25% | All required sections present with substantive content |
|
|
16
|
+
| Consistency | 25% | Terminology, formatting, cross-references are uniform |
|
|
17
|
+
| Traceability | 25% | Clear chain: Goals -> Requirements -> Architecture -> Stories |
|
|
18
|
+
| Depth | 25% | ACs are testable, ADRs justified, stories estimable |
|
|
19
|
+
|
|
20
|
+
**Score** = weighted average of all dimensions (0-100 per dimension).
|
|
21
|
+
|
|
22
|
+
## 3. Per-Phase Quality Gates
|
|
23
|
+
|
|
24
|
+
### Phase 2: Product Brief
|
|
25
|
+
|
|
26
|
+
| Check | Pass Criteria |
|
|
27
|
+
|-------|---------------|
|
|
28
|
+
| Vision statement | Clear, one-paragraph, measurable outcome |
|
|
29
|
+
| Problem definition | Specific pain points with evidence |
|
|
30
|
+
| Target users | Defined personas or segments |
|
|
31
|
+
| Success goals | Quantifiable metrics (KPIs) |
|
|
32
|
+
| Success metrics | Measurement method specified |
|
|
33
|
+
|
|
34
|
+
### Phase 3: Requirements PRD
|
|
35
|
+
|
|
36
|
+
| Check | Pass Criteria |
|
|
37
|
+
|-------|---------------|
|
|
38
|
+
| Functional requirements | Each has unique ID (FR-NNN) |
|
|
39
|
+
| Acceptance criteria | Testable given/when/then format |
|
|
40
|
+
| Prioritization | MoSCoW applied to all requirements |
|
|
41
|
+
| User stories | Format: As a [role], I want [goal], so that [benefit] |
|
|
42
|
+
| Non-functional reqs | Performance, security, scalability addressed |
|
|
43
|
+
|
|
44
|
+
### Phase 4: Architecture
|
|
45
|
+
|
|
46
|
+
| Check | Pass Criteria |
|
|
47
|
+
|-------|---------------|
|
|
48
|
+
| Component diagram | All major components identified with boundaries |
|
|
49
|
+
| Tech stack | Each choice justified against alternatives |
|
|
50
|
+
| ADRs | At least 1 ADR per major decision, with status |
|
|
51
|
+
| Data model | Entities, relationships, key fields defined |
|
|
52
|
+
| Integration points | APIs, protocols, data formats specified |
|
|
53
|
+
|
|
54
|
+
### Phase 5: Epics & Stories
|
|
55
|
+
|
|
56
|
+
| Check | Pass Criteria |
|
|
57
|
+
|-------|---------------|
|
|
58
|
+
| Epic count | 2-8 epics (too few = too broad, too many = too granular) |
|
|
59
|
+
| MVP subset | Clearly marked MVP epics/stories |
|
|
60
|
+
| Stories per epic | 3-12 stories each |
|
|
61
|
+
| Story format | Title, description, ACs, estimate present |
|
|
62
|
+
|
|
63
|
+
### Phase 6: Readiness Gate
|
|
64
|
+
|
|
65
|
+
| Check | Pass Criteria |
|
|
66
|
+
|-------|---------------|
|
|
67
|
+
| All docs exist | Brief, PRD, Architecture, Epics all present |
|
|
68
|
+
| Cross-refs valid | All document references resolve correctly |
|
|
69
|
+
| Overall score | >= 60% across all dimensions |
|
|
70
|
+
| No P0 issues | Zero Error-class issues outstanding |
|
|
71
|
+
|
|
72
|
+
## 4. Cross-Document Validation
|
|
73
|
+
|
|
74
|
+
| Source | Target | Validation |
|
|
75
|
+
|--------|--------|------------|
|
|
76
|
+
| Brief goals | PRD requirements | Every goal has >= 1 requirement |
|
|
77
|
+
| PRD requirements | Architecture components | Every requirement maps to a component |
|
|
78
|
+
| PRD requirements | Epic stories | Every requirement covered by >= 1 story |
|
|
79
|
+
| Architecture components | Epic stories | Every component has implementation stories |
|
|
80
|
+
| Brief success metrics | Epic ACs | Metrics traceable to acceptance criteria |
|
|
81
|
+
|
|
82
|
+
## 5. Code Review Dimensions
|
|
83
|
+
|
|
84
|
+
For REVIEW-* tasks during implementation phases.
|
|
85
|
+
|
|
86
|
+
### Quality
|
|
87
|
+
|
|
88
|
+
| Check | Severity |
|
|
89
|
+
|-------|----------|
|
|
90
|
+
| Empty catch blocks | Error |
|
|
91
|
+
| `as any` type casts | Warning |
|
|
92
|
+
| `@ts-ignore` / `@ts-expect-error` | Warning |
|
|
93
|
+
| `console.log` in production code | Warning |
|
|
94
|
+
| Unused imports/variables | Info |
|
|
95
|
+
|
|
96
|
+
### Security
|
|
97
|
+
|
|
98
|
+
| Check | Severity |
|
|
99
|
+
|-------|----------|
|
|
100
|
+
| Hardcoded secrets/credentials | Error |
|
|
101
|
+
| SQL injection vectors | Error |
|
|
102
|
+
| `eval()` or `Function()` usage | Error |
|
|
103
|
+
| `innerHTML` assignment | Warning |
|
|
104
|
+
| Missing input validation | Warning |
|
|
105
|
+
|
|
106
|
+
### Architecture
|
|
107
|
+
|
|
108
|
+
| Check | Severity |
|
|
109
|
+
|-------|----------|
|
|
110
|
+
| Circular dependencies | Error |
|
|
111
|
+
| Deep cross-boundary imports (3+ levels) | Warning |
|
|
112
|
+
| Files > 500 lines | Warning |
|
|
113
|
+
| Functions > 50 lines | Info |
|
|
114
|
+
|
|
115
|
+
### Requirements Coverage
|
|
116
|
+
|
|
117
|
+
| Check | Severity |
|
|
118
|
+
|-------|----------|
|
|
119
|
+
| Core functionality implemented | Error if missing |
|
|
120
|
+
| Acceptance criteria covered | Error if missing |
|
|
121
|
+
| Edge cases handled | Warning |
|
|
122
|
+
| Error states handled | Warning |
|
|
123
|
+
|
|
124
|
+
## 6. Issue Classification
|
|
125
|
+
|
|
126
|
+
| Class | Label | Action |
|
|
127
|
+
|-------|-------|--------|
|
|
128
|
+
| Error | Must fix | Blocks progression, must resolve before proceeding |
|
|
129
|
+
| Warning | Should fix | Should resolve, can proceed with justification |
|
|
130
|
+
| Info | Nice to have | Optional improvement, log for future |
|
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
# Architecture Document Template (Directory Structure)
|
|
2
|
+
|
|
3
|
+
Template for generating architecture decision documents as a directory of individual ADR files in Phase 4.
|
|
4
|
+
|
|
5
|
+
## Usage Context
|
|
6
|
+
|
|
7
|
+
| Phase | Usage |
|
|
8
|
+
|-------|-------|
|
|
9
|
+
| Phase 4 (Architecture) | Generate `architecture/` directory from requirements analysis |
|
|
10
|
+
| Output Location | `{workDir}/architecture/` |
|
|
11
|
+
|
|
12
|
+
## Output Structure
|
|
13
|
+
|
|
14
|
+
```
|
|
15
|
+
{workDir}/architecture/
|
|
16
|
+
├── _index.md # Overview, components, tech stack, data model, security
|
|
17
|
+
├── ADR-001-{slug}.md # Individual Architecture Decision Record
|
|
18
|
+
├── ADR-002-{slug}.md
|
|
19
|
+
└── ...
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## Template: _index.md
|
|
25
|
+
|
|
26
|
+
```markdown
|
|
27
|
+
---
|
|
28
|
+
session_id: {session_id}
|
|
29
|
+
phase: 4
|
|
30
|
+
document_type: architecture-index
|
|
31
|
+
status: draft
|
|
32
|
+
generated_at: {timestamp}
|
|
33
|
+
version: 1
|
|
34
|
+
dependencies:
|
|
35
|
+
- ../spec-config.json
|
|
36
|
+
- ../product-brief.md
|
|
37
|
+
- ../requirements/_index.md
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
# Architecture: {product_name}
|
|
41
|
+
|
|
42
|
+
{executive_summary - high-level architecture approach and key decisions}
|
|
43
|
+
|
|
44
|
+
## System Overview
|
|
45
|
+
|
|
46
|
+
### Architecture Style
|
|
47
|
+
{description of chosen architecture style: microservices, monolith, serverless, etc.}
|
|
48
|
+
|
|
49
|
+
### System Context Diagram
|
|
50
|
+
|
|
51
|
+
```mermaid
|
|
52
|
+
C4Context
|
|
53
|
+
title System Context Diagram
|
|
54
|
+
Person(user, "User", "Primary user")
|
|
55
|
+
System(system, "{product_name}", "Core system")
|
|
56
|
+
System_Ext(ext1, "{external_system}", "{description}")
|
|
57
|
+
Rel(user, system, "Uses")
|
|
58
|
+
Rel(system, ext1, "Integrates with")
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
## Component Architecture
|
|
62
|
+
|
|
63
|
+
### Component Diagram
|
|
64
|
+
|
|
65
|
+
```mermaid
|
|
66
|
+
graph TD
|
|
67
|
+
subgraph "{product_name}"
|
|
68
|
+
A[Component A] --> B[Component B]
|
|
69
|
+
B --> C[Component C]
|
|
70
|
+
A --> D[Component D]
|
|
71
|
+
end
|
|
72
|
+
B --> E[External Service]
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### Component Descriptions
|
|
76
|
+
|
|
77
|
+
| Component | Responsibility | Technology | Dependencies |
|
|
78
|
+
|-----------|---------------|------------|--------------|
|
|
79
|
+
| {component_name} | {what it does} | {tech stack} | {depends on} |
|
|
80
|
+
|
|
81
|
+
## Technology Stack
|
|
82
|
+
|
|
83
|
+
### Core Technologies
|
|
84
|
+
|
|
85
|
+
| Layer | Technology | Version | Rationale |
|
|
86
|
+
|-------|-----------|---------|-----------|
|
|
87
|
+
| Frontend | {technology} | {version} | {why chosen} |
|
|
88
|
+
| Backend | {technology} | {version} | {why chosen} |
|
|
89
|
+
| Database | {technology} | {version} | {why chosen} |
|
|
90
|
+
| Infrastructure | {technology} | {version} | {why chosen} |
|
|
91
|
+
|
|
92
|
+
### Key Libraries & Frameworks
|
|
93
|
+
|
|
94
|
+
| Library | Purpose | License |
|
|
95
|
+
|---------|---------|---------|
|
|
96
|
+
| {library_name} | {purpose} | {license} |
|
|
97
|
+
|
|
98
|
+
## Architecture Decision Records
|
|
99
|
+
|
|
100
|
+
| ADR | Title | Status | Key Choice |
|
|
101
|
+
|-----|-------|--------|------------|
|
|
102
|
+
| [ADR-001](ADR-001-{slug}.md) | {title} | Accepted | {one-line summary} |
|
|
103
|
+
| [ADR-002](ADR-002-{slug}.md) | {title} | Accepted | {one-line summary} |
|
|
104
|
+
| [ADR-003](ADR-003-{slug}.md) | {title} | Proposed | {one-line summary} |
|
|
105
|
+
|
|
106
|
+
## Data Architecture
|
|
107
|
+
|
|
108
|
+
### Data Model
|
|
109
|
+
|
|
110
|
+
```mermaid
|
|
111
|
+
erDiagram
|
|
112
|
+
ENTITY_A ||--o{ ENTITY_B : "has many"
|
|
113
|
+
ENTITY_A {
|
|
114
|
+
string id PK
|
|
115
|
+
string name
|
|
116
|
+
datetime created_at
|
|
117
|
+
}
|
|
118
|
+
ENTITY_B {
|
|
119
|
+
string id PK
|
|
120
|
+
string entity_a_id FK
|
|
121
|
+
string value
|
|
122
|
+
}
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
### Data Storage Strategy
|
|
126
|
+
|
|
127
|
+
| Data Type | Storage | Retention | Backup |
|
|
128
|
+
|-----------|---------|-----------|--------|
|
|
129
|
+
| {type} | {storage solution} | {retention policy} | {backup strategy} |
|
|
130
|
+
|
|
131
|
+
## API Design
|
|
132
|
+
|
|
133
|
+
### API Overview
|
|
134
|
+
|
|
135
|
+
| Endpoint | Method | Purpose | Auth |
|
|
136
|
+
|----------|--------|---------|------|
|
|
137
|
+
| {/api/resource} | {GET/POST/etc} | {purpose} | {auth type} |
|
|
138
|
+
|
|
139
|
+
## Security Architecture
|
|
140
|
+
|
|
141
|
+
### Security Controls
|
|
142
|
+
|
|
143
|
+
| Control | Implementation | Requirement |
|
|
144
|
+
|---------|---------------|-------------|
|
|
145
|
+
| Authentication | {approach} | [NFR-S-{NNN}](../requirements/NFR-S-{NNN}-{slug}.md) |
|
|
146
|
+
| Authorization | {approach} | [NFR-S-{NNN}](../requirements/NFR-S-{NNN}-{slug}.md) |
|
|
147
|
+
| Data Protection | {approach} | [NFR-S-{NNN}](../requirements/NFR-S-{NNN}-{slug}.md) |
|
|
148
|
+
|
|
149
|
+
## Infrastructure & Deployment
|
|
150
|
+
|
|
151
|
+
### Deployment Architecture
|
|
152
|
+
|
|
153
|
+
{description of deployment model: containers, serverless, VMs, etc.}
|
|
154
|
+
|
|
155
|
+
### Environment Strategy
|
|
156
|
+
|
|
157
|
+
| Environment | Purpose | Configuration |
|
|
158
|
+
|-------------|---------|---------------|
|
|
159
|
+
| Development | Local development | {config} |
|
|
160
|
+
| Staging | Pre-production testing | {config} |
|
|
161
|
+
| Production | Live system | {config} |
|
|
162
|
+
|
|
163
|
+
## Codebase Integration
|
|
164
|
+
|
|
165
|
+
{if has_codebase is true:}
|
|
166
|
+
|
|
167
|
+
### Existing Code Mapping
|
|
168
|
+
|
|
169
|
+
| New Component | Existing Module | Integration Type | Notes |
|
|
170
|
+
|--------------|----------------|------------------|-------|
|
|
171
|
+
| {component} | {existing module path} | Extend/Replace/New | {notes} |
|
|
172
|
+
|
|
173
|
+
### Migration Notes
|
|
174
|
+
{any migration considerations for existing code}
|
|
175
|
+
|
|
176
|
+
## Quality Attributes
|
|
177
|
+
|
|
178
|
+
| Attribute | Target | Measurement | ADR Reference |
|
|
179
|
+
|-----------|--------|-------------|---------------|
|
|
180
|
+
| Performance | {target} | {how measured} | [ADR-{NNN}](ADR-{NNN}-{slug}.md) |
|
|
181
|
+
| Scalability | {target} | {how measured} | [ADR-{NNN}](ADR-{NNN}-{slug}.md) |
|
|
182
|
+
| Reliability | {target} | {how measured} | [ADR-{NNN}](ADR-{NNN}-{slug}.md) |
|
|
183
|
+
|
|
184
|
+
## Risks & Mitigations
|
|
185
|
+
|
|
186
|
+
| Risk | Impact | Probability | Mitigation |
|
|
187
|
+
|------|--------|-------------|------------|
|
|
188
|
+
| {risk} | High/Medium/Low | High/Medium/Low | {mitigation approach} |
|
|
189
|
+
|
|
190
|
+
## Open Questions
|
|
191
|
+
|
|
192
|
+
- [ ] {architectural question 1}
|
|
193
|
+
- [ ] {architectural question 2}
|
|
194
|
+
|
|
195
|
+
## References
|
|
196
|
+
|
|
197
|
+
- Derived from: [Requirements](../requirements/_index.md), [Product Brief](../product-brief.md)
|
|
198
|
+
- Next: [Epics & Stories](../epics/_index.md)
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
---
|
|
202
|
+
|
|
203
|
+
## Template: ADR-NNN-{slug}.md (Individual Architecture Decision Record)
|
|
204
|
+
|
|
205
|
+
```markdown
|
|
206
|
+
---
|
|
207
|
+
id: ADR-{NNN}
|
|
208
|
+
status: Accepted
|
|
209
|
+
traces_to: [{REQ-NNN}, {NFR-X-NNN}]
|
|
210
|
+
date: {timestamp}
|
|
211
|
+
---
|
|
212
|
+
|
|
213
|
+
# ADR-{NNN}: {decision_title}
|
|
214
|
+
|
|
215
|
+
## Context
|
|
216
|
+
|
|
217
|
+
{what is the situation that motivates this decision}
|
|
218
|
+
|
|
219
|
+
## Decision
|
|
220
|
+
|
|
221
|
+
{what is the chosen approach}
|
|
222
|
+
|
|
223
|
+
## Alternatives Considered
|
|
224
|
+
|
|
225
|
+
| Option | Pros | Cons |
|
|
226
|
+
|--------|------|------|
|
|
227
|
+
| {option_1 - chosen} | {pros} | {cons} |
|
|
228
|
+
| {option_2} | {pros} | {cons} |
|
|
229
|
+
| {option_3} | {pros} | {cons} |
|
|
230
|
+
|
|
231
|
+
## Consequences
|
|
232
|
+
|
|
233
|
+
- **Positive**: {positive outcomes}
|
|
234
|
+
- **Negative**: {tradeoffs accepted}
|
|
235
|
+
- **Risks**: {risks to monitor}
|
|
236
|
+
|
|
237
|
+
## Traces
|
|
238
|
+
|
|
239
|
+
- **Requirements**: [REQ-{NNN}](../requirements/REQ-{NNN}-{slug}.md), [NFR-X-{NNN}](../requirements/NFR-X-{NNN}-{slug}.md)
|
|
240
|
+
- **Implemented by**: [EPIC-{NNN}](../epics/EPIC-{NNN}-{slug}.md) (added in Phase 5)
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
---
|
|
244
|
+
|
|
245
|
+
## Variable Descriptions
|
|
246
|
+
|
|
247
|
+
| Variable | Source | Description |
|
|
248
|
+
|----------|--------|-------------|
|
|
249
|
+
| `{session_id}` | spec-config.json | Session identifier |
|
|
250
|
+
| `{timestamp}` | Runtime | ISO8601 generation timestamp |
|
|
251
|
+
| `{product_name}` | product-brief.md | Product/feature name |
|
|
252
|
+
| `{NNN}` | Auto-increment | ADR/requirement number |
|
|
253
|
+
| `{slug}` | Auto-generated | Kebab-case from decision title |
|
|
254
|
+
| `{has_codebase}` | spec-config.json | Whether existing codebase exists |
|