@cregis-dev/cckit 0.3.0 → 0.4.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/README.md +15 -3
- package/package.json +1 -1
- package/registry.json +234 -200
- package/src/commands/init.js +19 -15
- package/src/commands/update.js +9 -4
- package/src/core/plugin-installer.js +59 -13
- package/src/utils/fs.js +6 -1
- package/templates/bmad/_config/bmad-help.csv +2 -1
- package/templates/bmad/_config/files-manifest.csv +437 -431
- package/templates/bmad/_config/ides/claude-code.yaml +5 -5
- package/templates/bmad/_config/ides/trae.yaml +5 -5
- package/templates/bmad/_config/task-manifest.csv +7 -6
- package/templates/bmad/_config/workflow-manifest.csv +34 -34
- package/templates/bmad/bmm/agents/qa.md +1 -1
- package/templates/bmad/bmm/config.yaml +1 -1
- package/templates/bmad/bmm/module-help.csv +1 -1
- package/templates/bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-06-complete.md +1 -1
- package/templates/bmad/bmm/workflows/1-analysis/create-product-brief/workflow.md +1 -1
- package/templates/bmad/bmm/workflows/1-analysis/research/workflow-domain-research.md +1 -1
- package/templates/bmad/bmm/workflows/1-analysis/research/workflow-market-research.md +1 -1
- package/templates/bmad/bmm/workflows/1-analysis/research/workflow-technical-research.md +1 -1
- package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-12-complete.md +1 -1
- package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-13-report-complete.md +1 -1
- package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/workflow-create-prd.md +1 -1
- package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/workflow-edit-prd.md +1 -1
- package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/workflow-validate-prd.md +1 -1
- package/templates/bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +1 -1
- package/templates/bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +1 -1
- package/templates/bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-06-final-assessment.md +1 -1
- package/templates/bmad/bmm/workflows/3-solutioning/check-implementation-readiness/workflow.md +1 -1
- package/templates/bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-08-complete.md +1 -1
- package/templates/bmad/bmm/workflows/3-solutioning/create-architecture/workflow.md +1 -1
- package/templates/bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +1 -1
- package/templates/bmad/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +1 -1
- package/templates/bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +1 -1
- package/templates/bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +1 -1
- package/templates/bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +1 -1
- package/templates/bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +1 -1
- package/templates/bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +1 -1
- package/templates/bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +1 -1
- package/templates/bmad/bmm/workflows/4-implementation/sprint-status/workflow.yaml +1 -1
- package/templates/bmad/bmm/workflows/bmad-quick-flow/quick-dev/workflow.md +1 -1
- package/templates/bmad/bmm/workflows/bmad-quick-flow/quick-spec/workflow.md +1 -1
- package/templates/bmad/bmm/workflows/document-project/workflow.yaml +1 -1
- package/templates/bmad/bmm/workflows/generate-project-context/workflow.md +1 -1
- package/templates/bmad/bmm/workflows/qa-generate-e2e-tests/workflow.yaml +2 -2
- package/templates/bmad/commands/bmad-bmm-check-implementation-readiness.md +2 -2
- package/templates/bmad/commands/bmad-bmm-code-review.md +4 -4
- package/templates/bmad/commands/bmad-bmm-correct-course.md +4 -4
- package/templates/bmad/commands/bmad-bmm-create-architecture.md +2 -2
- package/templates/bmad/commands/bmad-bmm-create-epics-and-stories.md +2 -2
- package/templates/bmad/commands/bmad-bmm-create-prd.md +2 -2
- package/templates/bmad/commands/bmad-bmm-create-product-brief.md +2 -2
- package/templates/bmad/commands/bmad-bmm-create-story.md +4 -4
- package/templates/bmad/commands/bmad-bmm-create-ux-design.md +2 -2
- package/templates/bmad/commands/bmad-bmm-dev-story.md +4 -4
- package/templates/bmad/commands/bmad-bmm-document-project.md +4 -4
- package/templates/bmad/commands/bmad-bmm-domain-research.md +2 -2
- package/templates/bmad/commands/bmad-bmm-edit-prd.md +2 -2
- package/templates/bmad/commands/bmad-bmm-generate-project-context.md +2 -2
- package/templates/bmad/commands/bmad-bmm-market-research.md +2 -2
- package/templates/bmad/commands/bmad-bmm-qa-generate-e2e-tests.md +4 -4
- package/templates/bmad/commands/bmad-bmm-quick-dev.md +2 -2
- package/templates/bmad/commands/bmad-bmm-quick-spec.md +2 -2
- package/templates/bmad/commands/bmad-bmm-retrospective.md +4 -4
- package/templates/bmad/commands/bmad-bmm-sprint-planning.md +4 -4
- package/templates/bmad/commands/bmad-bmm-sprint-status.md +4 -4
- package/templates/bmad/commands/bmad-bmm-technical-research.md +2 -2
- package/templates/bmad/commands/bmad-bmm-validate-prd.md +2 -2
- package/templates/bmad/commands/bmad-brainstorming.md +2 -2
- package/templates/bmad/commands/bmad-editorial-review-prose.md +1 -1
- package/templates/bmad/commands/bmad-editorial-review-structure.md +1 -1
- package/templates/bmad/commands/bmad-help.md +1 -1
- package/templates/bmad/commands/bmad-index-docs.md +1 -1
- package/templates/bmad/commands/bmad-party-mode.md +2 -2
- package/templates/bmad/commands/bmad-review-adversarial-general.md +1 -1
- package/templates/bmad/commands/bmad-review-edge-case-hunter.md +10 -0
- package/templates/bmad/commands/bmad-shard-doc.md +1 -1
- package/templates/bmad/commands/bmad-tea-teach-me-testing.md +2 -2
- package/templates/bmad/commands/bmad-tea-testarch-atdd.md +4 -4
- package/templates/bmad/commands/bmad-tea-testarch-automate.md +4 -4
- package/templates/bmad/commands/bmad-tea-testarch-ci.md +4 -4
- package/templates/bmad/commands/bmad-tea-testarch-framework.md +4 -4
- package/templates/bmad/commands/bmad-tea-testarch-nfr.md +4 -4
- package/templates/bmad/commands/bmad-tea-testarch-test-design.md +4 -4
- package/templates/bmad/commands/bmad-tea-testarch-test-review.md +4 -4
- package/templates/bmad/commands/bmad-tea-testarch-trace.md +4 -4
- package/templates/bmad/core/config.yaml +1 -1
- package/templates/bmad/core/module-help.csv +1 -0
- package/templates/bmad/core/tasks/editorial-review-prose.xml +1 -1
- package/templates/bmad/core/tasks/editorial-review-structure.xml +1 -1
- package/templates/bmad/core/tasks/help.md +1 -1
- package/templates/bmad/core/tasks/index-docs.xml +1 -1
- package/templates/bmad/core/tasks/review-adversarial-general.xml +1 -1
- package/templates/bmad/core/tasks/review-edge-case-hunter.xml +63 -0
- package/templates/bmad/core/tasks/shard-doc.xml +1 -1
- package/templates/bmad/core/workflows/advanced-elicitation/workflow.xml +1 -1
- package/templates/bmad/core/workflows/brainstorming/steps/step-01-session-setup.md +31 -18
- package/templates/bmad/core/workflows/brainstorming/steps/step-01b-continue.md +1 -1
- package/templates/bmad/core/workflows/brainstorming/steps/step-03-technique-execution.md +2 -2
- package/templates/bmad/core/workflows/brainstorming/steps/step-04-idea-organization.md +2 -2
- package/templates/bmad/core/workflows/brainstorming/workflow.md +4 -2
- package/templates/bmad/core/workflows/party-mode/workflow.md +1 -1
- package/templates/bmad/tea/config.yaml +5 -1
- package/templates/bmad/tea/testarch/knowledge/contract-testing.md +24 -2
- package/templates/bmad/tea/testarch/knowledge/pact-mcp.md +204 -0
- package/templates/bmad/tea/testarch/knowledge/pactjs-utils-consumer-helpers.md +211 -0
- package/templates/bmad/tea/testarch/knowledge/pactjs-utils-overview.md +210 -0
- package/templates/bmad/tea/testarch/knowledge/pactjs-utils-provider-verifier.md +315 -0
- package/templates/bmad/tea/testarch/knowledge/pactjs-utils-request-filter.md +224 -0
- package/templates/bmad/tea/testarch/tea-index.csv +5 -0
- package/templates/bmad/tea/workflows/testarch/README.md +1 -1
- package/templates/bmad/tea/workflows/testarch/atdd/steps-c/step-01-preflight-and-context.md +30 -0
- package/templates/bmad/tea/workflows/testarch/atdd/steps-c/step-04-generate-tests.md +159 -57
- package/templates/bmad/tea/workflows/testarch/atdd/steps-c/step-04a-subagent-api-failing.md +215 -0
- package/templates/bmad/tea/workflows/testarch/atdd/steps-c/step-04b-subagent-e2e-failing.md +244 -0
- package/templates/bmad/tea/workflows/testarch/atdd/steps-c/step-04c-aggregate.md +31 -15
- package/templates/bmad/tea/workflows/testarch/atdd/validation-report-20260127-095021.md +1 -1
- package/templates/bmad/tea/workflows/testarch/atdd/validation-report-20260127-102401.md +3 -3
- package/templates/bmad/tea/workflows/testarch/atdd/workflow.yaml +2 -2
- package/templates/bmad/tea/workflows/testarch/automate/steps-c/step-01-preflight-and-context.md +32 -0
- package/templates/bmad/tea/workflows/testarch/automate/steps-c/step-03-generate-tests.md +215 -101
- package/templates/bmad/tea/workflows/testarch/automate/steps-c/step-03a-subagent-api.md +193 -0
- package/templates/bmad/tea/workflows/testarch/automate/steps-c/step-03b-subagent-backend.md +246 -0
- package/templates/bmad/tea/workflows/testarch/automate/steps-c/step-03b-subagent-e2e.md +213 -0
- package/templates/bmad/tea/workflows/testarch/automate/steps-c/step-03c-aggregate.md +38 -22
- package/templates/bmad/tea/workflows/testarch/automate/validation-report-20260127-095021.md +1 -1
- package/templates/bmad/tea/workflows/testarch/automate/validation-report-20260127-102401.md +3 -3
- package/templates/bmad/tea/workflows/testarch/automate/workflow.yaml +2 -2
- package/templates/bmad/tea/workflows/testarch/ci/steps-c/step-02-generate-pipeline.md +124 -1
- package/templates/bmad/tea/workflows/testarch/ci/steps-c/step-03-configure-quality-gates.md +7 -0
- package/templates/bmad/tea/workflows/testarch/ci/validation-report-20260127-095021.md +1 -1
- package/templates/bmad/tea/workflows/testarch/ci/validation-report-20260127-102401.md +3 -3
- package/templates/bmad/tea/workflows/testarch/ci/workflow.yaml +2 -2
- package/templates/bmad/tea/workflows/testarch/framework/steps-c/step-03-scaffold-framework.md +126 -3
- package/templates/bmad/tea/workflows/testarch/framework/validation-report-20260127-095021.md +1 -1
- package/templates/bmad/tea/workflows/testarch/framework/validation-report-20260127-102401.md +3 -3
- package/templates/bmad/tea/workflows/testarch/framework/workflow.yaml +2 -2
- package/templates/bmad/tea/workflows/testarch/nfr-assess/steps-c/step-04-evaluate-and-score.md +150 -36
- package/templates/bmad/tea/workflows/testarch/nfr-assess/steps-c/step-04a-subagent-security.md +138 -0
- package/templates/bmad/tea/workflows/testarch/nfr-assess/steps-c/step-04b-subagent-performance.md +84 -0
- package/templates/bmad/tea/workflows/testarch/nfr-assess/steps-c/step-04c-subagent-reliability.md +85 -0
- package/templates/bmad/tea/workflows/testarch/nfr-assess/steps-c/step-04d-subagent-scalability.md +88 -0
- package/templates/bmad/tea/workflows/testarch/nfr-assess/steps-c/step-04e-aggregate-nfr.md +27 -10
- package/templates/bmad/tea/workflows/testarch/nfr-assess/validation-report-20260127-095021.md +1 -1
- package/templates/bmad/tea/workflows/testarch/nfr-assess/validation-report-20260127-102401.md +3 -3
- package/templates/bmad/tea/workflows/testarch/nfr-assess/workflow.yaml +2 -2
- package/templates/bmad/tea/workflows/testarch/teach-me-testing/data/tea-resources-index.yaml +3 -3
- package/templates/bmad/tea/workflows/testarch/teach-me-testing/workflow-plan-teach-me-testing.md +6 -6
- package/templates/bmad/tea/workflows/testarch/teach-me-testing/workflow.md +1 -1
- package/templates/bmad/tea/workflows/testarch/test-design/steps-c/step-02-load-context.md +30 -0
- package/templates/bmad/tea/workflows/testarch/test-design/steps-c/step-05-generate-output.md +72 -1
- package/templates/bmad/tea/workflows/testarch/test-design/validation-report-20260127-095021.md +1 -1
- package/templates/bmad/tea/workflows/testarch/test-design/validation-report-20260127-102401.md +3 -3
- package/templates/bmad/tea/workflows/testarch/test-design/workflow.yaml +2 -2
- package/templates/bmad/tea/workflows/testarch/test-review/steps-c/step-01-load-context.md +29 -1
- package/templates/bmad/tea/workflows/testarch/test-review/steps-c/step-03-quality-evaluation.md +147 -46
- package/templates/bmad/tea/workflows/testarch/test-review/steps-c/step-03a-subagent-determinism.md +214 -0
- package/templates/bmad/tea/workflows/testarch/test-review/steps-c/step-03b-subagent-isolation.md +125 -0
- package/templates/bmad/tea/workflows/testarch/test-review/steps-c/step-03c-subagent-maintainability.md +102 -0
- package/templates/bmad/tea/workflows/testarch/test-review/steps-c/step-03e-subagent-performance.md +117 -0
- package/templates/bmad/tea/workflows/testarch/test-review/steps-c/step-03f-aggregate-scores.md +10 -10
- package/templates/bmad/tea/workflows/testarch/test-review/validation-report-20260127-095021.md +1 -1
- package/templates/bmad/tea/workflows/testarch/test-review/validation-report-20260127-102401.md +3 -3
- package/templates/bmad/tea/workflows/testarch/test-review/workflow.yaml +2 -2
- package/templates/bmad/tea/workflows/testarch/trace/steps-c/step-04-analyze-gaps.md +92 -1
- package/templates/bmad/tea/workflows/testarch/trace/validation-report-20260127-095021.md +1 -1
- package/templates/bmad/tea/workflows/testarch/trace/validation-report-20260127-102401.md +3 -3
- package/templates/bmad/tea/workflows/testarch/trace/workflow.yaml +2 -2
- package/templates/ecc/agents/chief-of-staff.md +151 -0
- package/templates/ecc/commands/claw.md +79 -0
- package/templates/ecc/rules/README.md +23 -2
- package/templates/ecc/rules/common/development-workflow.md +37 -0
- package/templates/ecc/rules/common/git-workflow.md +2 -23
- package/templates/ecc/rules/swift/coding-style.md +47 -0
- package/templates/ecc/rules/swift/hooks.md +20 -0
- package/templates/ecc/rules/swift/patterns.md +66 -0
- package/templates/ecc/rules/swift/security.md +33 -0
- package/templates/ecc/rules/swift/testing.md +45 -0
- package/templates/ecc/skills/api-design/SKILL.md +1 -0
- package/templates/ecc/skills/article-writing/SKILL.md +85 -0
- package/templates/ecc/skills/backend-patterns/SKILL.md +1 -0
- package/templates/ecc/skills/clickhouse-io/SKILL.md +1 -0
- package/templates/ecc/skills/coding-standards/SKILL.md +1 -0
- package/templates/ecc/skills/configure-ecc/SKILL.md +32 -4
- package/templates/ecc/skills/content-engine/SKILL.md +88 -0
- package/templates/ecc/skills/content-hash-cache-pattern/SKILL.md +1 -0
- package/templates/ecc/skills/continuous-learning/SKILL.md +2 -1
- package/templates/ecc/skills/continuous-learning-v2/SKILL.md +4 -1
- package/templates/ecc/skills/continuous-learning-v2/hooks/observe.sh +14 -7
- package/templates/ecc/skills/cost-aware-llm-pipeline/SKILL.md +1 -0
- package/templates/ecc/skills/cpp-coding-standards/SKILL.md +1 -0
- package/templates/ecc/skills/cpp-testing/SKILL.md +1 -0
- package/templates/ecc/skills/database-migrations/SKILL.md +1 -0
- package/templates/ecc/skills/deployment-patterns/SKILL.md +1 -0
- package/templates/ecc/skills/django-patterns/SKILL.md +1 -0
- package/templates/ecc/skills/django-security/SKILL.md +1 -0
- package/templates/ecc/skills/django-tdd/SKILL.md +1 -0
- package/templates/ecc/skills/django-verification/SKILL.md +1 -0
- package/templates/ecc/skills/docker-patterns/SKILL.md +1 -0
- package/templates/ecc/skills/e2e-testing/SKILL.md +1 -0
- package/templates/ecc/skills/eval-harness/SKILL.md +1 -0
- package/templates/ecc/skills/foundation-models-on-device/SKILL.md +243 -0
- package/templates/ecc/skills/frontend-patterns/SKILL.md +1 -0
- package/templates/ecc/skills/frontend-slides/SKILL.md +184 -0
- package/templates/ecc/skills/frontend-slides/STYLE_PRESETS.md +330 -0
- package/templates/ecc/skills/golang-patterns/SKILL.md +1 -0
- package/templates/ecc/skills/golang-testing/SKILL.md +1 -0
- package/templates/ecc/skills/investor-materials/SKILL.md +96 -0
- package/templates/ecc/skills/investor-outreach/SKILL.md +76 -0
- package/templates/ecc/skills/iterative-retrieval/SKILL.md +1 -0
- package/templates/ecc/skills/java-coding-standards/SKILL.md +1 -0
- package/templates/ecc/skills/jpa-patterns/SKILL.md +1 -0
- package/templates/ecc/skills/liquid-glass-design/SKILL.md +279 -0
- package/templates/ecc/skills/market-research/SKILL.md +75 -0
- package/templates/ecc/skills/nutrient-document-processing/SKILL.md +1 -1
- package/templates/ecc/skills/postgres-patterns/SKILL.md +1 -0
- package/templates/ecc/skills/project-guidelines-example/SKILL.md +1 -0
- package/templates/ecc/skills/python-patterns/SKILL.md +1 -0
- package/templates/ecc/skills/python-testing/SKILL.md +1 -0
- package/templates/ecc/skills/regex-vs-llm-structured-text/SKILL.md +1 -0
- package/templates/ecc/skills/search-first/SKILL.md +3 -1
- package/templates/ecc/skills/security-review/SKILL.md +1 -0
- package/templates/ecc/skills/security-scan/SKILL.md +1 -0
- package/templates/ecc/skills/skill-stocktake/SKILL.md +176 -0
- package/templates/ecc/skills/skill-stocktake/scripts/quick-diff.sh +87 -0
- package/templates/ecc/skills/skill-stocktake/scripts/save-results.sh +56 -0
- package/templates/ecc/skills/skill-stocktake/scripts/scan.sh +170 -0
- package/templates/ecc/skills/springboot-patterns/SKILL.md +1 -0
- package/templates/ecc/skills/springboot-security/SKILL.md +1 -0
- package/templates/ecc/skills/springboot-tdd/SKILL.md +1 -0
- package/templates/ecc/skills/springboot-verification/SKILL.md +1 -0
- package/templates/ecc/skills/strategic-compact/SKILL.md +1 -0
- package/templates/ecc/skills/swift-actor-persistence/SKILL.md +1 -0
- package/templates/ecc/skills/swift-concurrency-6-2/SKILL.md +216 -0
- package/templates/ecc/skills/swift-protocol-di-testing/SKILL.md +1 -0
- package/templates/ecc/skills/swiftui-patterns/SKILL.md +259 -0
- package/templates/ecc/skills/tdd-workflow/SKILL.md +1 -0
- package/templates/ecc/skills/verification-loop/SKILL.md +1 -0
- package/templates/ecc/skills/visa-doc-translate/README.md +86 -0
- package/templates/ecc/skills/visa-doc-translate/SKILL.md +117 -0
- package/templates/ext-skills/pinchtab/SKILL.md +89 -486
- package/templates/ext-skills/pinchtab/TRUST.md +69 -0
- package/templates/ext-skills/pinchtab/references/api.md +297 -0
- package/templates/ext-skills/pinchtab/references/env.md +45 -0
- package/templates/ext-skills/pinchtab/references/profiles.md +107 -0
- package/templates/plugins/claude-code-setup/.claude-plugin/plugin.json +9 -0
- package/templates/plugins/claude-code-setup/LICENSE +202 -0
- package/templates/plugins/claude-code-setup/README.md +29 -0
- package/templates/plugins/claude-code-setup/automation-recommender-example.png +0 -0
- package/templates/plugins/claude-code-setup/skills/claude-automation-recommender/SKILL.md +288 -0
- package/templates/plugins/claude-code-setup/skills/claude-automation-recommender/references/hooks-patterns.md +226 -0
- package/templates/plugins/claude-code-setup/skills/claude-automation-recommender/references/mcp-servers.md +263 -0
- package/templates/plugins/claude-code-setup/skills/claude-automation-recommender/references/plugins-reference.md +98 -0
- package/templates/plugins/claude-code-setup/skills/claude-automation-recommender/references/skills-reference.md +408 -0
- package/templates/plugins/claude-code-setup/skills/claude-automation-recommender/references/subagent-templates.md +181 -0
- package/templates/plugins/claude-md-management/.claude-plugin/plugin.json +9 -0
- package/templates/plugins/claude-md-management/LICENSE +202 -0
- package/templates/plugins/claude-md-management/README.md +40 -0
- package/templates/plugins/claude-md-management/claude-md-improver-example.png +0 -0
- package/templates/plugins/claude-md-management/commands/revise-claude-md.md +54 -0
- package/templates/plugins/claude-md-management/revise-claude-md-example.png +0 -0
- package/templates/plugins/claude-md-management/skills/claude-md-improver/SKILL.md +179 -0
- package/templates/plugins/claude-md-management/skills/claude-md-improver/references/quality-criteria.md +109 -0
- package/templates/plugins/claude-md-management/skills/claude-md-improver/references/templates.md +253 -0
- package/templates/plugins/claude-md-management/skills/claude-md-improver/references/update-guidelines.md +150 -0
- package/templates/plugins/code-simplifier/.claude-plugin/plugin.json +9 -0
- package/templates/plugins/code-simplifier/LICENSE +202 -0
- package/templates/plugins/code-simplifier/agents/code-simplifier.md +52 -0
- package/templates/plugins/commit-commands/.claude-plugin/plugin.json +9 -0
- package/templates/plugins/commit-commands/LICENSE +202 -0
- package/templates/plugins/commit-commands/README.md +225 -0
- package/templates/plugins/commit-commands/commands/clean_gone.md +53 -0
- package/templates/plugins/commit-commands/commands/commit-push-pr.md +20 -0
- package/templates/plugins/commit-commands/commands/commit.md +17 -0
- package/templates/trae-bmad/rules/bmad-bmm-check-implementation-readiness.md +2 -2
- package/templates/trae-bmad/rules/bmad-bmm-code-review.md +4 -4
- package/templates/trae-bmad/rules/bmad-bmm-correct-course.md +4 -4
- package/templates/trae-bmad/rules/bmad-bmm-create-architecture.md +2 -2
- package/templates/trae-bmad/rules/bmad-bmm-create-epics-and-stories.md +2 -2
- package/templates/trae-bmad/rules/bmad-bmm-create-prd.md +2 -2
- package/templates/trae-bmad/rules/bmad-bmm-create-product-brief.md +2 -2
- package/templates/trae-bmad/rules/bmad-bmm-create-story.md +4 -4
- package/templates/trae-bmad/rules/bmad-bmm-create-ux-design.md +2 -2
- package/templates/trae-bmad/rules/bmad-bmm-dev-story.md +4 -4
- package/templates/trae-bmad/rules/bmad-bmm-document-project.md +4 -4
- package/templates/trae-bmad/rules/bmad-bmm-domain-research.md +2 -2
- package/templates/trae-bmad/rules/bmad-bmm-edit-prd.md +2 -2
- package/templates/trae-bmad/rules/bmad-bmm-generate-project-context.md +2 -2
- package/templates/trae-bmad/rules/bmad-bmm-market-research.md +2 -2
- package/templates/trae-bmad/rules/bmad-bmm-qa-generate-e2e-tests.md +4 -4
- package/templates/trae-bmad/rules/bmad-bmm-quick-dev.md +2 -2
- package/templates/trae-bmad/rules/bmad-bmm-quick-spec.md +2 -2
- package/templates/trae-bmad/rules/bmad-bmm-retrospective.md +4 -4
- package/templates/trae-bmad/rules/bmad-bmm-sprint-planning.md +4 -4
- package/templates/trae-bmad/rules/bmad-bmm-sprint-status.md +4 -4
- package/templates/trae-bmad/rules/bmad-bmm-technical-research.md +2 -2
- package/templates/trae-bmad/rules/bmad-bmm-validate-prd.md +2 -2
- package/templates/trae-bmad/rules/bmad-brainstorming.md +2 -2
- package/templates/trae-bmad/rules/bmad-editorial-review-prose.md +1 -1
- package/templates/trae-bmad/rules/bmad-editorial-review-structure.md +1 -1
- package/templates/trae-bmad/rules/bmad-help.md +1 -1
- package/templates/trae-bmad/rules/bmad-index-docs.md +1 -1
- package/templates/trae-bmad/rules/bmad-party-mode.md +2 -2
- package/templates/trae-bmad/rules/bmad-review-adversarial-general.md +1 -1
- package/templates/trae-bmad/rules/bmad-review-edge-case-hunter.md +10 -0
- package/templates/trae-bmad/rules/bmad-shard-doc.md +1 -1
- package/templates/trae-bmad/rules/bmad-tea-teach-me-testing.md +2 -2
- package/templates/trae-bmad/rules/bmad-tea-testarch-atdd.md +4 -4
- package/templates/trae-bmad/rules/bmad-tea-testarch-automate.md +4 -4
- package/templates/trae-bmad/rules/bmad-tea-testarch-ci.md +4 -4
- package/templates/trae-bmad/rules/bmad-tea-testarch-framework.md +4 -4
- package/templates/trae-bmad/rules/bmad-tea-testarch-nfr.md +4 -4
- package/templates/trae-bmad/rules/bmad-tea-testarch-test-design.md +4 -4
- package/templates/trae-bmad/rules/bmad-tea-testarch-test-review.md +4 -4
- package/templates/trae-bmad/rules/bmad-tea-testarch-trace.md +4 -4
|
@@ -9,7 +9,7 @@ outputFile: '{test_artifacts}/nfr-assessment.md'
|
|
|
9
9
|
|
|
10
10
|
## STEP GOAL
|
|
11
11
|
|
|
12
|
-
Read outputs from 4 parallel NFR
|
|
12
|
+
Read outputs from 4 parallel NFR subagents, calculate overall risk level, aggregate compliance status, and identify cross-domain risks.
|
|
13
13
|
|
|
14
14
|
---
|
|
15
15
|
|
|
@@ -17,15 +17,15 @@ Read outputs from 4 parallel NFR subprocesses, calculate overall risk level, agg
|
|
|
17
17
|
|
|
18
18
|
- 📖 Read the entire step file before acting
|
|
19
19
|
- ✅ Speak in `{communication_language}`
|
|
20
|
-
- ✅ Read all 4
|
|
20
|
+
- ✅ Read all 4 subagent outputs
|
|
21
21
|
- ✅ Calculate overall risk level
|
|
22
|
-
- ❌ Do NOT re-assess NFRs (use
|
|
22
|
+
- ❌ Do NOT re-assess NFRs (use subagent outputs)
|
|
23
23
|
|
|
24
24
|
---
|
|
25
25
|
|
|
26
26
|
## MANDATORY SEQUENCE
|
|
27
27
|
|
|
28
|
-
### 1. Read All
|
|
28
|
+
### 1. Read All Subagent Outputs
|
|
29
29
|
|
|
30
30
|
```javascript
|
|
31
31
|
const domains = ['security', 'performance', 'reliability', 'scalability'];
|
|
@@ -137,6 +137,23 @@ const prioritizedActions = allPriorityActions.sort((a, b) => (a.urgency === 'URG
|
|
|
137
137
|
### 6. Generate Executive Summary
|
|
138
138
|
|
|
139
139
|
```javascript
|
|
140
|
+
const resolvedMode = subagentContext?.execution?.resolvedMode ?? 'unknown';
|
|
141
|
+
const subagentExecutionLabel =
|
|
142
|
+
resolvedMode === 'sequential'
|
|
143
|
+
? 'SEQUENTIAL (4 NFR domains)'
|
|
144
|
+
: resolvedMode === 'agent-team'
|
|
145
|
+
? 'AGENT-TEAM (4 NFR domains)'
|
|
146
|
+
: resolvedMode === 'subagent'
|
|
147
|
+
? 'SUBAGENT (4 NFR domains)'
|
|
148
|
+
: 'MODE-DEPENDENT (4 NFR domains)';
|
|
149
|
+
|
|
150
|
+
const performanceGainLabel =
|
|
151
|
+
resolvedMode === 'sequential'
|
|
152
|
+
? 'baseline (no parallel speedup)'
|
|
153
|
+
: resolvedMode === 'agent-team' || resolvedMode === 'subagent'
|
|
154
|
+
? '~67% faster than sequential'
|
|
155
|
+
: 'mode-dependent';
|
|
156
|
+
|
|
140
157
|
const executiveSummary = {
|
|
141
158
|
overall_risk: overallRisk,
|
|
142
159
|
assessment_date: new Date().toISOString(),
|
|
@@ -156,8 +173,8 @@ const executiveSummary = {
|
|
|
156
173
|
scalability: assessments.scalability.risk_level,
|
|
157
174
|
},
|
|
158
175
|
|
|
159
|
-
|
|
160
|
-
performance_gain:
|
|
176
|
+
subagent_execution: subagentExecutionLabel,
|
|
177
|
+
performance_gain: performanceGainLabel,
|
|
161
178
|
};
|
|
162
179
|
|
|
163
180
|
// Save for Step 5 (report generation)
|
|
@@ -169,7 +186,7 @@ fs.writeFileSync('/tmp/tea-nfr-summary-{{timestamp}}.json', JSON.stringify(execu
|
|
|
169
186
|
### 7. Display Summary to User
|
|
170
187
|
|
|
171
188
|
```
|
|
172
|
-
✅ NFR Assessment Complete (
|
|
189
|
+
✅ NFR Assessment Complete ({subagentExecutionLabel})
|
|
173
190
|
|
|
174
191
|
🎯 Overall Risk Level: {overallRisk}
|
|
175
192
|
|
|
@@ -186,7 +203,7 @@ fs.writeFileSync('/tmp/tea-nfr-summary-{{timestamp}}.json', JSON.stringify(execu
|
|
|
186
203
|
|
|
187
204
|
🎯 Priority Actions: {priority_action_count}
|
|
188
205
|
|
|
189
|
-
🚀 Performance:
|
|
206
|
+
🚀 Performance: {performanceGainLabel}
|
|
190
207
|
|
|
191
208
|
✅ Ready for report generation (Step 5)
|
|
192
209
|
```
|
|
@@ -223,7 +240,7 @@ fs.writeFileSync('/tmp/tea-nfr-summary-{{timestamp}}.json', JSON.stringify(execu
|
|
|
223
240
|
|
|
224
241
|
Proceed to Step 5 when:
|
|
225
242
|
|
|
226
|
-
- ✅ All
|
|
243
|
+
- ✅ All subagent outputs read
|
|
227
244
|
- ✅ Overall risk calculated
|
|
228
245
|
- ✅ Compliance aggregated
|
|
229
246
|
- ✅ Summary saved
|
|
@@ -243,5 +260,5 @@ Load next step: `{nextStepFile}`
|
|
|
243
260
|
|
|
244
261
|
### ❌ FAILURE:
|
|
245
262
|
|
|
246
|
-
- Failed to read
|
|
263
|
+
- Failed to read subagent outputs
|
|
247
264
|
- Risk calculation incorrect
|
package/templates/bmad/tea/workflows/testarch/nfr-assess/validation-report-20260127-095021.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
validationDate: 2026-01-27
|
|
3
3
|
workflowName: testarch-nfr
|
|
4
|
-
workflowPath:
|
|
4
|
+
workflowPath: {project-root}/src/workflows/testarch/nfr-assess
|
|
5
5
|
validationStatus: COMPLETE
|
|
6
6
|
completionDate: 2026-01-27 10:03:10
|
|
7
7
|
---
|
package/templates/bmad/tea/workflows/testarch/nfr-assess/validation-report-20260127-102401.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
validationDate: 2026-01-27
|
|
3
3
|
workflowName: testarch-nfr
|
|
4
|
-
workflowPath:
|
|
4
|
+
workflowPath: {project-root}/src/workflows/testarch/nfr-assess
|
|
5
5
|
validationStatus: COMPLETE
|
|
6
6
|
completionDate: 2026-01-27 10:24:01
|
|
7
7
|
---
|
|
@@ -87,9 +87,9 @@ Standard BMAD config variables treated as valid exceptions: bmb_creations_output
|
|
|
87
87
|
- Steps use progressive prompts and clear role reinforcement; no laundry-list interrogation detected
|
|
88
88
|
- Flow progression is clear and aligned to workflow goals
|
|
89
89
|
|
|
90
|
-
##
|
|
90
|
+
## Subagent Optimization Opportunities
|
|
91
91
|
|
|
92
|
-
- No high-priority
|
|
92
|
+
- No high-priority subagent optimizations identified; workflow already uses step-file architecture
|
|
93
93
|
- Pattern 1 (grep/regex): N/A for most steps
|
|
94
94
|
- Pattern 2 (per-file analysis): already aligned to validation structure
|
|
95
95
|
- Pattern 3 (data ops): minimal data file loads
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Test Architect workflow: nfr-assess
|
|
2
2
|
name: testarch-nfr
|
|
3
|
-
|
|
3
|
+
# prettier-ignore
|
|
4
|
+
description: 'Assess NFRs like performance security and reliability. Use when the user says "lets assess NFRs" or "I want to evaluate non-functional requirements"'
|
|
4
5
|
|
|
5
6
|
# Critical variables from config
|
|
6
7
|
config_source: "{project-root}/_bmad/tea/config.yaml"
|
|
@@ -45,4 +46,3 @@ execution_hints:
|
|
|
45
46
|
interactive: false # Minimize prompts
|
|
46
47
|
autonomous: true # Proceed without user input unless blocked
|
|
47
48
|
iterative: true
|
|
48
|
-
|
package/templates/bmad/tea/workflows/testarch/teach-me-testing/data/tea-resources-index.yaml
CHANGED
|
@@ -120,9 +120,9 @@ documentation:
|
|
|
120
120
|
online: "/explanation/step-file-architecture/"
|
|
121
121
|
topics: ["Micro-file design", "JIT loading", "Sequential enforcement"]
|
|
122
122
|
|
|
123
|
-
- name: "
|
|
124
|
-
local: "/docs/explanation/
|
|
125
|
-
online: "/explanation/
|
|
123
|
+
- name: "Subagent Architecture"
|
|
124
|
+
local: "/docs/explanation/subagent-architecture.md"
|
|
125
|
+
online: "/explanation/subagent-architecture/"
|
|
126
126
|
topics: ["Parallel execution", "Context optimization"]
|
|
127
127
|
|
|
128
128
|
reference:
|
package/templates/bmad/tea/workflows/testarch/teach-me-testing/workflow-plan-teach-me-testing.md
CHANGED
|
@@ -60,7 +60,7 @@ Create an ongoing learning companion that teaches testing progressively through
|
|
|
60
60
|
## Classification Decisions
|
|
61
61
|
|
|
62
62
|
**Workflow Name:** teach-me-testing
|
|
63
|
-
**Target Path:**
|
|
63
|
+
**Target Path:** {project-root}/src/workflows/testarch/teach-me-testing/
|
|
64
64
|
|
|
65
65
|
**4 Key Decisions:**
|
|
66
66
|
|
|
@@ -501,7 +501,7 @@ teach-me-testing/
|
|
|
501
501
|
└── checklist.md ✓ Created
|
|
502
502
|
```
|
|
503
503
|
|
|
504
|
-
**Location:**
|
|
504
|
+
**Location:** {external-project-root}/\_bmad-output/bmb-creations/workflows/teach-me-testing/
|
|
505
505
|
|
|
506
506
|
**Configuration:**
|
|
507
507
|
|
|
@@ -924,16 +924,16 @@ teach-me-testing/
|
|
|
924
924
|
**DEPLOYMENT:** Move workflow from staging to TEA module
|
|
925
925
|
|
|
926
926
|
**Source (Staging):**
|
|
927
|
-
|
|
927
|
+
`{external-project-root}/_bmad-output/bmb-creations/workflows/teach-me-testing/`
|
|
928
928
|
|
|
929
929
|
**Target (Production):**
|
|
930
|
-
|
|
930
|
+
`{project-root}/src/workflows/testarch/teach-me-testing/`
|
|
931
931
|
|
|
932
932
|
**Command:**
|
|
933
933
|
|
|
934
934
|
```bash
|
|
935
|
-
cp -r
|
|
936
|
-
|
|
935
|
+
cp -r {external-project-root}/_bmad-output/bmb-creations/workflows/teach-me-testing \
|
|
936
|
+
{project-root}/src/workflows/testarch/
|
|
937
937
|
```
|
|
938
938
|
|
|
939
939
|
**After deployment:**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: teach-me-testing
|
|
3
|
-
description: Teach testing progressively through structured sessions. Use when user says
|
|
3
|
+
description: 'Teach testing progressively through structured sessions. Use when user says "lets learn testing" or "I want to study test practices"'
|
|
4
4
|
web_bundle: true
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -42,6 +42,8 @@ Load the required documents, config flags, and knowledge fragments needed to pro
|
|
|
42
42
|
From `{config_source}`:
|
|
43
43
|
|
|
44
44
|
- Read `tea_use_playwright_utils`
|
|
45
|
+
- Read `tea_use_pactjs_utils`
|
|
46
|
+
- Read `tea_pact_mcp`
|
|
45
47
|
- Read `tea_browser_automation`
|
|
46
48
|
- Read `test_stack_type` (if not set, default to `"auto"`)
|
|
47
49
|
- Note `test_artifacts`
|
|
@@ -140,6 +142,22 @@ Load fragments based on their `tier` classification in `tea-index.csv`:
|
|
|
140
142
|
|
|
141
143
|
**Detection**: Scan `{test_dir}` for files containing `page.goto` or `page.locator`. If none found, use API-only profile.
|
|
142
144
|
|
|
145
|
+
### Pact.js Utils Loading
|
|
146
|
+
|
|
147
|
+
**If `tea_use_pactjs_utils` is enabled** (and `{detected_stack}` is `backend` or `fullstack`, or microservices indicators detected):
|
|
148
|
+
|
|
149
|
+
Load: `pactjs-utils-overview.md`, `pactjs-utils-consumer-helpers.md`, `pactjs-utils-provider-verifier.md`, `pactjs-utils-request-filter.md`
|
|
150
|
+
|
|
151
|
+
**If `tea_use_pactjs_utils` is disabled** but contract testing is relevant:
|
|
152
|
+
|
|
153
|
+
Load: `contract-testing.md`
|
|
154
|
+
|
|
155
|
+
### Pact MCP Loading
|
|
156
|
+
|
|
157
|
+
**If `tea_pact_mcp` is `"mcp"`:**
|
|
158
|
+
|
|
159
|
+
Load: `pact-mcp.md` — enables agent to use SmartBear MCP "Fetch Provider States" and "Matrix" tools to understand existing contract landscape during test design.
|
|
160
|
+
|
|
143
161
|
## 4. Load Knowledge Base Fragments
|
|
144
162
|
|
|
145
163
|
Use `{knowledgeIndex}` to select and load only relevant fragments.
|
|
@@ -166,6 +184,18 @@ Use `{knowledgeIndex}` to select and load only relevant fragments.
|
|
|
166
184
|
|
|
167
185
|
- (existing MCP-related fragments, if any are added in future)
|
|
168
186
|
|
|
187
|
+
**Pact.js Utils (if enabled — both System-Level and Epic-Level):**
|
|
188
|
+
|
|
189
|
+
- `pactjs-utils-overview.md`, `pactjs-utils-consumer-helpers.md`, `pactjs-utils-provider-verifier.md`, `pactjs-utils-request-filter.md`
|
|
190
|
+
|
|
191
|
+
**Contract Testing (if pactjs-utils disabled but relevant):**
|
|
192
|
+
|
|
193
|
+
- `contract-testing.md`
|
|
194
|
+
|
|
195
|
+
**Pact MCP (if tea_pact_mcp is "mcp"):**
|
|
196
|
+
|
|
197
|
+
- `pact-mcp.md`
|
|
198
|
+
|
|
169
199
|
---
|
|
170
200
|
|
|
171
201
|
## 5. Confirm Loaded Inputs
|
package/templates/bmad/tea/workflows/testarch/test-design/steps-c/step-05-generate-output.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: 'step-05-generate-output'
|
|
3
|
-
description: 'Generate output documents
|
|
3
|
+
description: 'Generate output documents with adaptive orchestration (agent-team, subagent, or sequential)'
|
|
4
4
|
outputFile: '{test_artifacts}/test-design-epic-{epic_num}.md'
|
|
5
5
|
progressFile: '{test_artifacts}/test-design-progress.md'
|
|
6
6
|
---
|
|
@@ -16,6 +16,8 @@ Write the final test-design document(s) using the correct template(s), then vali
|
|
|
16
16
|
- 📖 Read the entire step file before acting
|
|
17
17
|
- ✅ Speak in `{communication_language}`
|
|
18
18
|
- ✅ Use the provided templates and output paths
|
|
19
|
+
- ✅ Resolve execution mode from explicit user request first, then config
|
|
20
|
+
- ✅ Apply fallback rules deterministically when requested mode is unsupported
|
|
19
21
|
|
|
20
22
|
---
|
|
21
23
|
|
|
@@ -36,6 +38,71 @@ Write the final test-design document(s) using the correct template(s), then vali
|
|
|
36
38
|
|
|
37
39
|
**CRITICAL:** Follow this sequence exactly. Do not skip, reorder, or improvise.
|
|
38
40
|
|
|
41
|
+
## 0. Resolve Execution Mode (User Override First)
|
|
42
|
+
|
|
43
|
+
```javascript
|
|
44
|
+
const orchestrationContext = {
|
|
45
|
+
config: {
|
|
46
|
+
execution_mode: config.tea_execution_mode || 'auto', // "auto" | "subagent" | "agent-team" | "sequential"
|
|
47
|
+
capability_probe: config.tea_capability_probe !== false, // true by default
|
|
48
|
+
},
|
|
49
|
+
timestamp: new Date().toISOString().replace(/[:.]/g, '-'),
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
const normalizeUserExecutionMode = (mode) => {
|
|
53
|
+
if (typeof mode !== 'string') return null;
|
|
54
|
+
const normalized = mode.trim().toLowerCase().replace(/[-_]/g, ' ').replace(/\s+/g, ' ');
|
|
55
|
+
|
|
56
|
+
if (normalized === 'auto') return 'auto';
|
|
57
|
+
if (normalized === 'sequential') return 'sequential';
|
|
58
|
+
if (normalized === 'subagent' || normalized === 'sub agent' || normalized === 'subagents' || normalized === 'sub agents') {
|
|
59
|
+
return 'subagent';
|
|
60
|
+
}
|
|
61
|
+
if (normalized === 'agent team' || normalized === 'agent teams' || normalized === 'agentteam') {
|
|
62
|
+
return 'agent-team';
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
return null;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
const normalizeConfigExecutionMode = (mode) => {
|
|
69
|
+
if (mode === 'subagent') return 'subagent';
|
|
70
|
+
if (mode === 'auto' || mode === 'sequential' || mode === 'subagent' || mode === 'agent-team') {
|
|
71
|
+
return mode;
|
|
72
|
+
}
|
|
73
|
+
return null;
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
// Explicit user instruction in the active run takes priority over config.
|
|
77
|
+
const explicitModeFromUser = normalizeUserExecutionMode(runtime.getExplicitExecutionModeHint?.() || null);
|
|
78
|
+
|
|
79
|
+
const requestedMode = explicitModeFromUser || normalizeConfigExecutionMode(orchestrationContext.config.execution_mode) || 'auto';
|
|
80
|
+
const probeEnabled = orchestrationContext.config.capability_probe;
|
|
81
|
+
|
|
82
|
+
const supports = { subagent: false, agentTeam: false };
|
|
83
|
+
if (probeEnabled) {
|
|
84
|
+
supports.subagent = runtime.canLaunchSubagents?.() === true;
|
|
85
|
+
supports.agentTeam = runtime.canLaunchAgentTeams?.() === true;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
let resolvedMode = requestedMode;
|
|
89
|
+
if (requestedMode === 'auto') {
|
|
90
|
+
if (supports.agentTeam) resolvedMode = 'agent-team';
|
|
91
|
+
else if (supports.subagent) resolvedMode = 'subagent';
|
|
92
|
+
else resolvedMode = 'sequential';
|
|
93
|
+
} else if (probeEnabled && requestedMode === 'agent-team' && !supports.agentTeam) {
|
|
94
|
+
resolvedMode = supports.subagent ? 'subagent' : 'sequential';
|
|
95
|
+
} else if (probeEnabled && requestedMode === 'subagent' && !supports.subagent) {
|
|
96
|
+
resolvedMode = 'sequential';
|
|
97
|
+
}
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
Resolution precedence:
|
|
101
|
+
|
|
102
|
+
1. Explicit user request in this run (`agent team` => `agent-team`; `subagent` => `subagent`; `sequential`; `auto`)
|
|
103
|
+
2. `tea_execution_mode` from config
|
|
104
|
+
3. Runtime capability fallback (when probing enabled)
|
|
105
|
+
|
|
39
106
|
## 1. Select Output Template(s)
|
|
40
107
|
|
|
41
108
|
### System-Level Mode (Phase 3)
|
|
@@ -45,6 +112,8 @@ Generate **two** documents:
|
|
|
45
112
|
- `{test_artifacts}/test-design-architecture.md` using `test-design-architecture-template.md`
|
|
46
113
|
- `{test_artifacts}/test-design-qa.md` using `test-design-qa-template.md`
|
|
47
114
|
|
|
115
|
+
If `resolvedMode` is `agent-team` or `subagent`, these two documents can be generated in parallel as independent workers, then reconciled for consistency.
|
|
116
|
+
|
|
48
117
|
### Epic-Level Mode (Phase 4)
|
|
49
118
|
|
|
50
119
|
Generate **one** document:
|
|
@@ -52,6 +121,8 @@ Generate **one** document:
|
|
|
52
121
|
- `{outputFile}` using `test-design-template.md`
|
|
53
122
|
- If `epic_num` is unclear, ask the user
|
|
54
123
|
|
|
124
|
+
Epic-level mode remains single-worker by default (one output artifact).
|
|
125
|
+
|
|
55
126
|
---
|
|
56
127
|
|
|
57
128
|
## 2. Populate Templates
|
package/templates/bmad/tea/workflows/testarch/test-design/validation-report-20260127-095021.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
validationDate: 2026-01-27
|
|
3
3
|
workflowName: testarch-test-design
|
|
4
|
-
workflowPath:
|
|
4
|
+
workflowPath: {project-root}/src/workflows/testarch/test-design
|
|
5
5
|
validationStatus: COMPLETE
|
|
6
6
|
completionDate: 2026-01-27 10:03:10
|
|
7
7
|
---
|
package/templates/bmad/tea/workflows/testarch/test-design/validation-report-20260127-102401.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
validationDate: 2026-01-27
|
|
3
3
|
workflowName: testarch-test-design
|
|
4
|
-
workflowPath:
|
|
4
|
+
workflowPath: {project-root}/src/workflows/testarch/test-design
|
|
5
5
|
validationStatus: COMPLETE
|
|
6
6
|
completionDate: 2026-01-27 10:24:01
|
|
7
7
|
---
|
|
@@ -87,9 +87,9 @@ Standard BMAD config variables treated as valid exceptions: bmb_creations_output
|
|
|
87
87
|
- Steps use progressive prompts and clear role reinforcement; no laundry-list interrogation detected
|
|
88
88
|
- Flow progression is clear and aligned to workflow goals
|
|
89
89
|
|
|
90
|
-
##
|
|
90
|
+
## Subagent Optimization Opportunities
|
|
91
91
|
|
|
92
|
-
- No high-priority
|
|
92
|
+
- No high-priority subagent optimizations identified; workflow already uses step-file architecture
|
|
93
93
|
- Pattern 1 (grep/regex): N/A for most steps
|
|
94
94
|
- Pattern 2 (per-file analysis): already aligned to validation structure
|
|
95
95
|
- Pattern 3 (data ops): minimal data file loads
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Test Architect workflow: test-design
|
|
2
2
|
name: testarch-test-design
|
|
3
|
-
|
|
3
|
+
# prettier-ignore
|
|
4
|
+
description: 'Create system-level or epic-level test plans. Use when the user says "lets design test plan" or "I want to create test strategy"'
|
|
4
5
|
|
|
5
6
|
# Critical variables from config
|
|
6
7
|
config_source: "{project-root}/_bmad/tea/config.yaml"
|
|
@@ -74,4 +75,3 @@ execution_hints:
|
|
|
74
75
|
interactive: false # Minimize prompts
|
|
75
76
|
autonomous: true # Proceed without user input unless blocked
|
|
76
77
|
iterative: true
|
|
77
|
-
|
|
@@ -79,11 +79,27 @@ Load fragments based on their `tier` classification in `tea-index.csv`:
|
|
|
79
79
|
|
|
80
80
|
**Detection**: Scan `{test_dir}` for files containing `page.goto` or `page.locator`. If none found, use API-only profile.
|
|
81
81
|
|
|
82
|
+
### Pact.js Utils Loading
|
|
83
|
+
|
|
84
|
+
**If `tea_use_pactjs_utils` is enabled** (and contract tests detected in review scope):
|
|
85
|
+
|
|
86
|
+
Load: `pactjs-utils-overview.md`, `pactjs-utils-provider-verifier.md`, `pactjs-utils-request-filter.md` (the 3 most relevant for reviewing provider verification tests)
|
|
87
|
+
|
|
88
|
+
**If `tea_use_pactjs_utils` is disabled** but contract tests are in review scope:
|
|
89
|
+
|
|
90
|
+
Load: `contract-testing.md`
|
|
91
|
+
|
|
92
|
+
### Pact MCP Loading
|
|
93
|
+
|
|
94
|
+
**If `tea_pact_mcp` is `"mcp"`:**
|
|
95
|
+
|
|
96
|
+
Load: `pact-mcp.md` — enables agent to use SmartBear MCP "Review Pact Tests" tool for automated best-practice feedback during test review.
|
|
97
|
+
|
|
82
98
|
## 2. Load Knowledge Base
|
|
83
99
|
|
|
84
100
|
From `{knowledgeIndex}` load:
|
|
85
101
|
|
|
86
|
-
Read `{config_source}` and check `tea_use_playwright_utils` and `tea_browser_automation` to select the correct fragment set.
|
|
102
|
+
Read `{config_source}` and check `tea_use_playwright_utils`, `tea_use_pactjs_utils`, `tea_pact_mcp`, and `tea_browser_automation` to select the correct fragment set.
|
|
87
103
|
|
|
88
104
|
**Core:**
|
|
89
105
|
|
|
@@ -115,6 +131,18 @@ Read `{config_source}` and check `tea_use_playwright_utils` and `tea_browser_aut
|
|
|
115
131
|
|
|
116
132
|
- (existing MCP-related fragments, if any are added in future)
|
|
117
133
|
|
|
134
|
+
**Pact.js Utils (if enabled and contract tests in review scope):**
|
|
135
|
+
|
|
136
|
+
- `pactjs-utils-overview.md`, `pactjs-utils-provider-verifier.md`, `pactjs-utils-request-filter.md`
|
|
137
|
+
|
|
138
|
+
**Contract Testing (if pactjs-utils disabled but contract tests in review scope):**
|
|
139
|
+
|
|
140
|
+
- `contract-testing.md`
|
|
141
|
+
|
|
142
|
+
**Pact MCP (if tea_pact_mcp is "mcp"):**
|
|
143
|
+
|
|
144
|
+
- `pact-mcp.md`
|
|
145
|
+
|
|
118
146
|
---
|
|
119
147
|
|
|
120
148
|
## 3. Gather Context Artifacts
|