bmad-method-test-architecture-enterprise 0.1.1-beta.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/.github/CODE_OF_CONDUCT.md +128 -0
- package/.github/FUNDING.yaml +15 -0
- package/.github/ISSUE_TEMPLATE/config.yaml +11 -0
- package/.github/ISSUE_TEMPLATE/feature_request.md +70 -0
- package/.github/ISSUE_TEMPLATE/issue.md +61 -0
- package/.github/workflows/docs.yaml +66 -0
- package/.github/workflows/manual-release.yaml +195 -0
- package/.github/workflows/quality.yaml +114 -0
- package/.husky/pre-commit +20 -0
- package/.markdownlint-cli2.yaml +36 -0
- package/.nvmrc +1 -0
- package/.prettierignore +9 -0
- package/.vscode/settings.json +47 -0
- package/CHANGELOG.md +217 -0
- package/CONTRIBUTING.md +268 -0
- package/LICENSE +26 -0
- package/README.md +300 -0
- package/SECURITY.md +85 -0
- package/TEA-MODULE-MIGRATION-PLAN.md +3788 -0
- package/docs/404.md +20 -0
- package/docs/MIGRATION.md +447 -0
- package/docs/explanation/engagement-models.md +767 -0
- package/docs/explanation/fixture-architecture.md +484 -0
- package/docs/explanation/knowledge-base-system.md +599 -0
- package/docs/explanation/network-first-patterns.md +884 -0
- package/docs/explanation/risk-based-testing.md +628 -0
- package/docs/explanation/step-file-architecture.md +609 -0
- package/docs/explanation/subprocess-architecture.md +578 -0
- package/docs/explanation/subprocess-implementation-status.md +327 -0
- package/docs/explanation/tea-overview.md +425 -0
- package/docs/explanation/test-quality-standards.md +965 -0
- package/docs/explanation/testing-as-engineering.md +111 -0
- package/docs/glossary/index.md +160 -0
- package/docs/how-to/brownfield/use-tea-for-enterprise.md +571 -0
- package/docs/how-to/brownfield/use-tea-with-existing-tests.md +631 -0
- package/docs/how-to/customization/enable-tea-mcp-enhancements.md +455 -0
- package/docs/how-to/customization/integrate-playwright-utils.md +846 -0
- package/docs/how-to/workflows/run-atdd.md +460 -0
- package/docs/how-to/workflows/run-automate.md +690 -0
- package/docs/how-to/workflows/run-nfr-assess.md +731 -0
- package/docs/how-to/workflows/run-test-design.md +144 -0
- package/docs/how-to/workflows/run-test-review.md +638 -0
- package/docs/how-to/workflows/run-trace.md +951 -0
- package/docs/how-to/workflows/setup-ci.md +761 -0
- package/docs/how-to/workflows/setup-test-framework.md +99 -0
- package/docs/index.md +122 -0
- package/docs/reference/commands.md +300 -0
- package/docs/reference/configuration.md +729 -0
- package/docs/reference/knowledge-base.md +365 -0
- package/docs/reference/troubleshooting.md +717 -0
- package/docs/tutorials/tea-lite-quickstart.md +465 -0
- package/eslint.config.mjs +152 -0
- package/package.json +117 -0
- package/prettier.config.mjs +32 -0
- package/release_notes.md +28 -0
- package/src/_module-installer/installer.js +92 -0
- package/src/agents/tea.agent.yaml +63 -0
- package/src/module-help.csv +9 -0
- package/src/module.yaml +91 -0
- package/src/testarch/knowledge/adr-quality-readiness-checklist.md +377 -0
- package/src/testarch/knowledge/api-request.md +442 -0
- package/src/testarch/knowledge/api-testing-patterns.md +851 -0
- package/src/testarch/knowledge/auth-session.md +548 -0
- package/src/testarch/knowledge/burn-in.md +273 -0
- package/src/testarch/knowledge/ci-burn-in.md +675 -0
- package/src/testarch/knowledge/component-tdd.md +486 -0
- package/src/testarch/knowledge/contract-testing.md +957 -0
- package/src/testarch/knowledge/data-factories.md +500 -0
- package/src/testarch/knowledge/email-auth.md +721 -0
- package/src/testarch/knowledge/error-handling.md +725 -0
- package/src/testarch/knowledge/feature-flags.md +750 -0
- package/src/testarch/knowledge/file-utils.md +456 -0
- package/src/testarch/knowledge/fixture-architecture.md +401 -0
- package/src/testarch/knowledge/fixtures-composition.md +382 -0
- package/src/testarch/knowledge/intercept-network-call.md +426 -0
- package/src/testarch/knowledge/log.md +426 -0
- package/src/testarch/knowledge/network-error-monitor.md +401 -0
- package/src/testarch/knowledge/network-first.md +486 -0
- package/src/testarch/knowledge/network-recorder.md +527 -0
- package/src/testarch/knowledge/nfr-criteria.md +670 -0
- package/src/testarch/knowledge/overview.md +286 -0
- package/src/testarch/knowledge/playwright-config.md +730 -0
- package/src/testarch/knowledge/probability-impact.md +601 -0
- package/src/testarch/knowledge/recurse.md +421 -0
- package/src/testarch/knowledge/risk-governance.md +615 -0
- package/src/testarch/knowledge/selective-testing.md +732 -0
- package/src/testarch/knowledge/selector-resilience.md +527 -0
- package/src/testarch/knowledge/test-healing-patterns.md +644 -0
- package/src/testarch/knowledge/test-levels-framework.md +473 -0
- package/src/testarch/knowledge/test-priorities-matrix.md +373 -0
- package/src/testarch/knowledge/test-quality.md +664 -0
- package/src/testarch/knowledge/timing-debugging.md +372 -0
- package/src/testarch/knowledge/visual-debugging.md +524 -0
- package/src/testarch/tea-index.csv +35 -0
- package/src/workflows/testarch/README.md +74 -0
- package/src/workflows/testarch/atdd/atdd-checklist-template.md +363 -0
- package/src/workflows/testarch/atdd/checklist.md +374 -0
- package/src/workflows/testarch/atdd/instructions.md +38 -0
- package/src/workflows/testarch/atdd/steps-c/step-01-preflight-and-context.md +110 -0
- package/src/workflows/testarch/atdd/steps-c/step-02-generation-mode.md +79 -0
- package/src/workflows/testarch/atdd/steps-c/step-03-test-strategy.md +76 -0
- package/src/workflows/testarch/atdd/steps-c/step-04-generate-tests.md +228 -0
- package/src/workflows/testarch/atdd/steps-c/step-04a-subprocess-api-failing.md +215 -0
- package/src/workflows/testarch/atdd/steps-c/step-04b-subprocess-e2e-failing.md +212 -0
- package/src/workflows/testarch/atdd/steps-c/step-04c-aggregate.md +329 -0
- package/src/workflows/testarch/atdd/steps-c/step-05-validate-and-complete.md +68 -0
- package/src/workflows/testarch/atdd/steps-e/step-01-assess.md +65 -0
- package/src/workflows/testarch/atdd/steps-e/step-02-apply-edit.md +60 -0
- package/src/workflows/testarch/atdd/steps-v/step-01-validate.md +67 -0
- package/src/workflows/testarch/atdd/validation-report-20260127-095021.md +73 -0
- package/src/workflows/testarch/atdd/validation-report-20260127-102401.md +116 -0
- package/src/workflows/testarch/atdd/workflow-plan.md +21 -0
- package/src/workflows/testarch/atdd/workflow.md +39 -0
- package/src/workflows/testarch/atdd/workflow.yaml +47 -0
- package/src/workflows/testarch/automate/checklist.md +582 -0
- package/src/workflows/testarch/automate/instructions.md +43 -0
- package/src/workflows/testarch/automate/steps-c/step-01-preflight-and-context.md +127 -0
- package/src/workflows/testarch/automate/steps-c/step-02-identify-targets.md +95 -0
- package/src/workflows/testarch/automate/steps-c/step-03-generate-tests.md +199 -0
- package/src/workflows/testarch/automate/steps-c/step-03a-subprocess-api.md +183 -0
- package/src/workflows/testarch/automate/steps-c/step-03b-subprocess-e2e.md +181 -0
- package/src/workflows/testarch/automate/steps-c/step-03c-aggregate.md +300 -0
- package/src/workflows/testarch/automate/steps-c/step-04-validate-and-summarize.md +69 -0
- package/src/workflows/testarch/automate/steps-e/step-01-assess.md +65 -0
- package/src/workflows/testarch/automate/steps-e/step-02-apply-edit.md +60 -0
- package/src/workflows/testarch/automate/steps-v/step-01-validate.md +67 -0
- package/src/workflows/testarch/automate/validation-report-20260127-095021.md +72 -0
- package/src/workflows/testarch/automate/validation-report-20260127-102401.md +114 -0
- package/src/workflows/testarch/automate/workflow-plan.md +20 -0
- package/src/workflows/testarch/automate/workflow.md +39 -0
- package/src/workflows/testarch/automate/workflow.yaml +54 -0
- package/src/workflows/testarch/ci/checklist.md +247 -0
- package/src/workflows/testarch/ci/github-actions-template.yaml +198 -0
- package/src/workflows/testarch/ci/gitlab-ci-template.yaml +149 -0
- package/src/workflows/testarch/ci/instructions.md +38 -0
- package/src/workflows/testarch/ci/steps-c/step-01-preflight.md +92 -0
- package/src/workflows/testarch/ci/steps-c/step-02-generate-pipeline.md +82 -0
- package/src/workflows/testarch/ci/steps-c/step-03-configure-quality-gates.md +75 -0
- package/src/workflows/testarch/ci/steps-c/step-04-validate-and-summary.md +67 -0
- package/src/workflows/testarch/ci/steps-e/step-01-assess.md +65 -0
- package/src/workflows/testarch/ci/steps-e/step-02-apply-edit.md +60 -0
- package/src/workflows/testarch/ci/steps-v/step-01-validate.md +67 -0
- package/src/workflows/testarch/ci/validation-report-20260127-095021.md +72 -0
- package/src/workflows/testarch/ci/validation-report-20260127-102401.md +114 -0
- package/src/workflows/testarch/ci/workflow-plan.md +20 -0
- package/src/workflows/testarch/ci/workflow.md +39 -0
- package/src/workflows/testarch/ci/workflow.yaml +47 -0
- package/src/workflows/testarch/framework/checklist.md +320 -0
- package/src/workflows/testarch/framework/instructions.md +38 -0
- package/src/workflows/testarch/framework/steps-c/step-01-preflight.md +75 -0
- package/src/workflows/testarch/framework/steps-c/step-02-select-framework.md +73 -0
- package/src/workflows/testarch/framework/steps-c/step-03-scaffold-framework.md +120 -0
- package/src/workflows/testarch/framework/steps-c/step-04-docs-and-scripts.md +70 -0
- package/src/workflows/testarch/framework/steps-c/step-05-validate-and-summary.md +68 -0
- package/src/workflows/testarch/framework/steps-e/step-01-assess.md +65 -0
- package/src/workflows/testarch/framework/steps-e/step-02-apply-edit.md +60 -0
- package/src/workflows/testarch/framework/steps-v/step-01-validate.md +67 -0
- package/src/workflows/testarch/framework/validation-report-20260127-095021.md +73 -0
- package/src/workflows/testarch/framework/validation-report-20260127-102401.md +116 -0
- package/src/workflows/testarch/framework/workflow-plan.md +22 -0
- package/src/workflows/testarch/framework/workflow.md +39 -0
- package/src/workflows/testarch/framework/workflow.yaml +49 -0
- package/src/workflows/testarch/nfr-assess/checklist.md +407 -0
- package/src/workflows/testarch/nfr-assess/instructions.md +36 -0
- package/src/workflows/testarch/nfr-assess/nfr-report-template.md +462 -0
- package/src/workflows/testarch/nfr-assess/steps-c/step-01-load-context.md +85 -0
- package/src/workflows/testarch/nfr-assess/steps-c/step-02-define-thresholds.md +82 -0
- package/src/workflows/testarch/nfr-assess/steps-c/step-03-gather-evidence.md +64 -0
- package/src/workflows/testarch/nfr-assess/steps-c/step-04-evaluate-and-score.md +140 -0
- package/src/workflows/testarch/nfr-assess/steps-c/step-04a-subprocess-security.md +138 -0
- package/src/workflows/testarch/nfr-assess/steps-c/step-04b-subprocess-performance.md +84 -0
- package/src/workflows/testarch/nfr-assess/steps-c/step-04c-subprocess-reliability.md +85 -0
- package/src/workflows/testarch/nfr-assess/steps-c/step-04d-subprocess-scalability.md +88 -0
- package/src/workflows/testarch/nfr-assess/steps-c/step-04e-aggregate-nfr.md +219 -0
- package/src/workflows/testarch/nfr-assess/steps-c/step-05-generate-report.md +71 -0
- package/src/workflows/testarch/nfr-assess/steps-e/step-01-assess.md +65 -0
- package/src/workflows/testarch/nfr-assess/steps-e/step-02-apply-edit.md +60 -0
- package/src/workflows/testarch/nfr-assess/steps-v/step-01-validate.md +67 -0
- package/src/workflows/testarch/nfr-assess/validation-report-20260127-095021.md +73 -0
- package/src/workflows/testarch/nfr-assess/validation-report-20260127-102401.md +116 -0
- package/src/workflows/testarch/nfr-assess/workflow-plan.md +19 -0
- package/src/workflows/testarch/nfr-assess/workflow.md +39 -0
- package/src/workflows/testarch/nfr-assess/workflow.yaml +49 -0
- package/src/workflows/testarch/test-design/checklist.md +410 -0
- package/src/workflows/testarch/test-design/instructions.md +52 -0
- package/src/workflows/testarch/test-design/steps-c/step-01-detect-mode.md +109 -0
- package/src/workflows/testarch/test-design/steps-c/step-02-load-context.md +127 -0
- package/src/workflows/testarch/test-design/steps-c/step-03-risk-and-testability.md +85 -0
- package/src/workflows/testarch/test-design/steps-c/step-04-coverage-plan.md +98 -0
- package/src/workflows/testarch/test-design/steps-c/step-05-generate-output.md +97 -0
- package/src/workflows/testarch/test-design/steps-e/step-01-assess.md +65 -0
- package/src/workflows/testarch/test-design/steps-e/step-02-apply-edit.md +60 -0
- package/src/workflows/testarch/test-design/steps-v/step-01-validate.md +67 -0
- package/src/workflows/testarch/test-design/test-design-architecture-template.md +222 -0
- package/src/workflows/testarch/test-design/test-design-qa-template.md +296 -0
- package/src/workflows/testarch/test-design/test-design-template.md +294 -0
- package/src/workflows/testarch/test-design/validation-report-20260127-095021.md +73 -0
- package/src/workflows/testarch/test-design/validation-report-20260127-102401.md +116 -0
- package/src/workflows/testarch/test-design/workflow-plan.md +22 -0
- package/src/workflows/testarch/test-design/workflow.md +39 -0
- package/src/workflows/testarch/test-design/workflow.yaml +71 -0
- package/src/workflows/testarch/test-review/checklist.md +472 -0
- package/src/workflows/testarch/test-review/instructions.md +36 -0
- package/src/workflows/testarch/test-review/steps-c/step-01-load-context.md +101 -0
- package/src/workflows/testarch/test-review/steps-c/step-02-discover-tests.md +69 -0
- package/src/workflows/testarch/test-review/steps-c/step-03-quality-evaluation.md +184 -0
- package/src/workflows/testarch/test-review/steps-c/step-03a-subprocess-determinism.md +214 -0
- package/src/workflows/testarch/test-review/steps-c/step-03b-subprocess-isolation.md +125 -0
- package/src/workflows/testarch/test-review/steps-c/step-03c-subprocess-maintainability.md +102 -0
- package/src/workflows/testarch/test-review/steps-c/step-03d-subprocess-coverage.md +111 -0
- package/src/workflows/testarch/test-review/steps-c/step-03e-subprocess-performance.md +117 -0
- package/src/workflows/testarch/test-review/steps-c/step-03f-aggregate-scores.md +246 -0
- package/src/workflows/testarch/test-review/steps-c/step-04-generate-report.md +72 -0
- package/src/workflows/testarch/test-review/steps-e/step-01-assess.md +65 -0
- package/src/workflows/testarch/test-review/steps-e/step-02-apply-edit.md +60 -0
- package/src/workflows/testarch/test-review/steps-v/step-01-validate.md +67 -0
- package/src/workflows/testarch/test-review/test-review-template.md +390 -0
- package/src/workflows/testarch/test-review/validation-report-20260127-095021.md +72 -0
- package/src/workflows/testarch/test-review/validation-report-20260127-102401.md +114 -0
- package/src/workflows/testarch/test-review/workflow-plan.md +18 -0
- package/src/workflows/testarch/test-review/workflow.md +39 -0
- package/src/workflows/testarch/test-review/workflow.yaml +48 -0
- package/src/workflows/testarch/trace/checklist.md +642 -0
- package/src/workflows/testarch/trace/instructions.md +36 -0
- package/src/workflows/testarch/trace/steps-c/step-01-load-context.md +80 -0
- package/src/workflows/testarch/trace/steps-c/step-02-discover-tests.md +69 -0
- package/src/workflows/testarch/trace/steps-c/step-03-map-criteria.md +65 -0
- package/src/workflows/testarch/trace/steps-c/step-04-analyze-gaps.md +244 -0
- package/src/workflows/testarch/trace/steps-c/step-05-gate-decision.md +232 -0
- package/src/workflows/testarch/trace/steps-e/step-01-assess.md +65 -0
- package/src/workflows/testarch/trace/steps-e/step-02-apply-edit.md +60 -0
- package/src/workflows/testarch/trace/steps-v/step-01-validate.md +67 -0
- package/src/workflows/testarch/trace/trace-template.md +675 -0
- package/src/workflows/testarch/trace/validation-report-20260127-095021.md +73 -0
- package/src/workflows/testarch/trace/validation-report-20260127-102401.md +116 -0
- package/src/workflows/testarch/trace/workflow-plan.md +21 -0
- package/src/workflows/testarch/trace/workflow.md +39 -0
- package/src/workflows/testarch/trace/workflow.yaml +57 -0
- package/test/README.md +23 -0
- package/test/fixtures/agent-schema/invalid/critical-actions/actions-as-string.agent.yaml +27 -0
- package/test/fixtures/agent-schema/invalid/critical-actions/empty-string-in-actions.agent.yaml +30 -0
- package/test/fixtures/agent-schema/invalid/menu/empty-menu.agent.yaml +22 -0
- package/test/fixtures/agent-schema/invalid/menu/missing-menu.agent.yaml +20 -0
- package/test/fixtures/agent-schema/invalid/menu-commands/empty-command-target.agent.yaml +25 -0
- package/test/fixtures/agent-schema/invalid/menu-commands/no-command-target.agent.yaml +24 -0
- package/test/fixtures/agent-schema/invalid/menu-triggers/camel-case.agent.yaml +25 -0
- package/test/fixtures/agent-schema/invalid/menu-triggers/compound-invalid-format.agent.yaml +25 -0
- package/test/fixtures/agent-schema/invalid/menu-triggers/compound-mismatched-kebab.agent.yaml +25 -0
- package/test/fixtures/agent-schema/invalid/menu-triggers/duplicate-triggers.agent.yaml +31 -0
- package/test/fixtures/agent-schema/invalid/menu-triggers/empty-trigger.agent.yaml +25 -0
- package/test/fixtures/agent-schema/invalid/menu-triggers/leading-asterisk.agent.yaml +25 -0
- package/test/fixtures/agent-schema/invalid/menu-triggers/snake-case.agent.yaml +25 -0
- package/test/fixtures/agent-schema/invalid/menu-triggers/trigger-with-spaces.agent.yaml +25 -0
- package/test/fixtures/agent-schema/invalid/metadata/empty-module-string.agent.yaml +26 -0
- package/test/fixtures/agent-schema/invalid/metadata/empty-name.agent.yaml +24 -0
- package/test/fixtures/agent-schema/invalid/metadata/extra-metadata-fields.agent.yaml +27 -0
- package/test/fixtures/agent-schema/invalid/metadata/missing-id.agent.yaml +23 -0
- package/test/fixtures/agent-schema/invalid/persona/empty-principles-array.agent.yaml +24 -0
- package/test/fixtures/agent-schema/invalid/persona/empty-string-in-principles.agent.yaml +27 -0
- package/test/fixtures/agent-schema/invalid/persona/extra-persona-fields.agent.yaml +27 -0
- package/test/fixtures/agent-schema/invalid/persona/missing-role.agent.yaml +24 -0
- package/test/fixtures/agent-schema/invalid/prompts/empty-content.agent.yaml +29 -0
- package/test/fixtures/agent-schema/invalid/prompts/extra-prompt-fields.agent.yaml +31 -0
- package/test/fixtures/agent-schema/invalid/prompts/missing-content.agent.yaml +28 -0
- package/test/fixtures/agent-schema/invalid/prompts/missing-id.agent.yaml +28 -0
- package/test/fixtures/agent-schema/invalid/top-level/empty-file.agent.yaml +5 -0
- package/test/fixtures/agent-schema/invalid/top-level/extra-top-level-keys.agent.yaml +28 -0
- package/test/fixtures/agent-schema/invalid/top-level/missing-agent-key.agent.yaml +11 -0
- package/test/fixtures/agent-schema/invalid/yaml-errors/invalid-indentation.agent.yaml +19 -0
- package/test/fixtures/agent-schema/invalid/yaml-errors/malformed-yaml.agent.yaml +18 -0
- package/test/fixtures/agent-schema/valid/critical-actions/empty-critical-actions.agent.yaml +24 -0
- package/test/fixtures/agent-schema/valid/critical-actions/no-critical-actions.agent.yaml +22 -0
- package/test/fixtures/agent-schema/valid/critical-actions/valid-critical-actions.agent.yaml +27 -0
- package/test/fixtures/agent-schema/valid/menu/multiple-menu-items.agent.yaml +31 -0
- package/test/fixtures/agent-schema/valid/menu/single-menu-item.agent.yaml +22 -0
- package/test/fixtures/agent-schema/valid/menu-commands/all-command-types.agent.yaml +38 -0
- package/test/fixtures/agent-schema/valid/menu-commands/multiple-commands.agent.yaml +24 -0
- package/test/fixtures/agent-schema/valid/menu-triggers/compound-triggers.agent.yaml +31 -0
- package/test/fixtures/agent-schema/valid/menu-triggers/kebab-case-triggers.agent.yaml +34 -0
- package/test/fixtures/agent-schema/valid/metadata/core-agent-with-module.agent.yaml +24 -0
- package/test/fixtures/agent-schema/valid/metadata/empty-module-name-in-path.agent.yaml +24 -0
- package/test/fixtures/agent-schema/valid/metadata/malformed-path-treated-as-core.agent.yaml +24 -0
- package/test/fixtures/agent-schema/valid/metadata/module-agent-correct.agent.yaml +24 -0
- package/test/fixtures/agent-schema/valid/metadata/module-agent-missing-module.agent.yaml +23 -0
- package/test/fixtures/agent-schema/valid/metadata/wrong-module-value.agent.yaml +24 -0
- package/test/fixtures/agent-schema/valid/persona/complete-persona.agent.yaml +24 -0
- package/test/fixtures/agent-schema/valid/prompts/empty-prompts.agent.yaml +24 -0
- package/test/fixtures/agent-schema/valid/prompts/no-prompts.agent.yaml +22 -0
- package/test/fixtures/agent-schema/valid/prompts/valid-prompts-minimal.agent.yaml +28 -0
- package/test/fixtures/agent-schema/valid/prompts/valid-prompts-with-description.agent.yaml +30 -0
- package/test/fixtures/agent-schema/valid/top-level/minimal-core-agent.agent.yaml +24 -0
- package/test/schema/agent.js +491 -0
- package/test/test-agent-schema.js +387 -0
- package/test/test-installation-components.js +183 -0
- package/test/test-knowledge-base.js +199 -0
- package/test/unit-test-schema.js +133 -0
- package/test/validate-agent-schema.js +110 -0
- package/tools/build-docs.js +575 -0
- package/tools/fix-doc-links.js +288 -0
- package/tools/schema/agent.js +491 -0
- package/tools/validate-agent-schema.js +111 -0
- package/tools/validate-doc-links.js +371 -0
- package/tools/verify-paths.js +100 -0
- package/website/README.md +137 -0
- package/website/astro.config.mjs +158 -0
- package/website/package-lock.json +6856 -0
- package/website/package.json +23 -0
- package/website/public/favicon.ico +0 -0
- package/website/public/img/tea-logo.svg +7 -0
- package/website/public/robots.txt +37 -0
- package/website/src/components/Banner.astro +59 -0
- package/website/src/components/Header.astro +121 -0
- package/website/src/components/MobileMenuFooter.astro +53 -0
- package/website/src/content/config.ts +6 -0
- package/website/src/lib/site-url.js +25 -0
- package/website/src/pages/404.astro +11 -0
- package/website/src/rehype-base-paths.js +89 -0
- package/website/src/rehype-markdown-links.js +117 -0
- package/website/src/styles/custom.css +499 -0
- package/website/tsconfig.json +9 -0
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Subprocess Implementation Status
|
|
3
|
+
description: Status of subprocess implementation across workflows
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Subprocess Pattern Implementation Status
|
|
7
|
+
|
|
8
|
+
**Date**: 2026-01-27
|
|
9
|
+
**Status**: Phase 5 - Subprocess Patterns
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## ✅ Completed Implementations
|
|
14
|
+
|
|
15
|
+
### 1. automate Workflow - COMPLETE ✅
|
|
16
|
+
|
|
17
|
+
**Pattern**: Parallel API + E2E test generation
|
|
18
|
+
|
|
19
|
+
**Files Created**:
|
|
20
|
+
|
|
21
|
+
- `src/workflows/testarch/automate/steps-c/step-03a-subprocess-api.md`
|
|
22
|
+
- `src/workflows/testarch/automate/steps-c/step-03b-subprocess-e2e.md`
|
|
23
|
+
- `src/workflows/testarch/automate/steps-c/step-03c-aggregate.md`
|
|
24
|
+
- Updated: `src/workflows/testarch/automate/steps-c/step-03-generate-tests.md`
|
|
25
|
+
|
|
26
|
+
**Subprocesses**:
|
|
27
|
+
|
|
28
|
+
- Subprocess A: API test generation → `/tmp/tea-automate-api-tests-{{timestamp}}.json`
|
|
29
|
+
- Subprocess B: E2E test generation → `/tmp/tea-automate-e2e-tests-{{timestamp}}.json`
|
|
30
|
+
- Aggregation: Reads both outputs, writes tests to disk, generates fixtures
|
|
31
|
+
|
|
32
|
+
**Performance**: ~50% faster (parallel vs sequential)
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
### 2. atdd Workflow - COMPLETE ✅
|
|
37
|
+
|
|
38
|
+
**Pattern**: Parallel FAILING API + E2E test generation (TDD RED PHASE)
|
|
39
|
+
|
|
40
|
+
**Files Created**:
|
|
41
|
+
|
|
42
|
+
- `src/workflows/testarch/atdd/steps-c/step-04a-subprocess-api-failing.md`
|
|
43
|
+
- `src/workflows/testarch/atdd/steps-c/step-04b-subprocess-e2e-failing.md`
|
|
44
|
+
- `src/workflows/testarch/atdd/steps-c/step-04c-aggregate.md`
|
|
45
|
+
- Updated: `src/workflows/testarch/atdd/steps-c/step-04-generate-tests.md`
|
|
46
|
+
|
|
47
|
+
**Subprocesses**:
|
|
48
|
+
|
|
49
|
+
- Subprocess A: API failing tests (with test.skip()) → `/tmp/tea-atdd-api-tests-{{timestamp}}.json`
|
|
50
|
+
- Subprocess B: E2E failing tests (with test.skip()) → `/tmp/tea-atdd-e2e-tests-{{timestamp}}.json`
|
|
51
|
+
- Aggregation: TDD red phase validation, writes tests, generates ATDD checklist
|
|
52
|
+
|
|
53
|
+
**Performance**: ~50% faster (parallel vs sequential)
|
|
54
|
+
|
|
55
|
+
**Special Features**: TDD compliance validation (all tests have test.skip())
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## 🟨 Implementation Guide for Remaining Workflows
|
|
60
|
+
|
|
61
|
+
### 3. test-review Workflow - TO IMPLEMENT
|
|
62
|
+
|
|
63
|
+
**Pattern**: 5 parallel quality dimension checks
|
|
64
|
+
|
|
65
|
+
**Subprocess Architecture**:
|
|
66
|
+
|
|
67
|
+
```
|
|
68
|
+
test-review/
|
|
69
|
+
├── step-XX-orchestrate.md (updated to launch subprocesses)
|
|
70
|
+
├── step-XXa-subprocess-determinism.md
|
|
71
|
+
├── step-XXb-subprocess-isolation.md
|
|
72
|
+
├── step-XXc-subprocess-maintainability.md
|
|
73
|
+
├── step-XXd-subprocess-coverage.md
|
|
74
|
+
├── step-XXe-subprocess-performance.md
|
|
75
|
+
└── step-XXz-aggregate-scores.md
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
**Subprocess Outputs**:
|
|
79
|
+
Each subprocess outputs JSON with:
|
|
80
|
+
|
|
81
|
+
```json
|
|
82
|
+
{
|
|
83
|
+
"dimension": "determinism",
|
|
84
|
+
"score": 85,
|
|
85
|
+
"max_score": 100,
|
|
86
|
+
"violations": [
|
|
87
|
+
{
|
|
88
|
+
"file": "tests/api/user.spec.ts",
|
|
89
|
+
"line": 42,
|
|
90
|
+
"severity": "HIGH",
|
|
91
|
+
"description": "Test uses Math.random() - non-deterministic",
|
|
92
|
+
"suggestion": "Use faker with fixed seed"
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
"passed_checks": 12,
|
|
96
|
+
"failed_checks": 3
|
|
97
|
+
}
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
**Aggregation Logic**:
|
|
101
|
+
|
|
102
|
+
- Read all 5 dimension outputs
|
|
103
|
+
- Calculate weighted score (0-100)
|
|
104
|
+
- Aggregate violations by severity
|
|
105
|
+
- Generate review report with actionable suggestions
|
|
106
|
+
|
|
107
|
+
**Performance**: ~60% faster (5 checks in parallel vs sequential)
|
|
108
|
+
|
|
109
|
+
**Implementation Steps**:
|
|
110
|
+
|
|
111
|
+
1. Create 5 subprocess step files (one per quality dimension)
|
|
112
|
+
2. Each subprocess analyzes test files for its specific dimension
|
|
113
|
+
3. Create aggregation step to calculate overall score
|
|
114
|
+
4. Update orchestration step to launch all 5 subprocesses in parallel
|
|
115
|
+
|
|
116
|
+
---
|
|
117
|
+
|
|
118
|
+
### 4. nfr-assess Workflow - TO IMPLEMENT
|
|
119
|
+
|
|
120
|
+
**Pattern**: 4 parallel NFR domain assessments
|
|
121
|
+
|
|
122
|
+
**Subprocess Architecture**:
|
|
123
|
+
|
|
124
|
+
```
|
|
125
|
+
nfr-assess/
|
|
126
|
+
├── step-XX-orchestrate.md (updated to launch subprocesses)
|
|
127
|
+
├── step-XXa-subprocess-security.md
|
|
128
|
+
├── step-XXb-subprocess-performance.md
|
|
129
|
+
├── step-XXc-subprocess-reliability.md
|
|
130
|
+
├── step-XXd-subprocess-scalability.md
|
|
131
|
+
└── step-XXz-aggregate-report.md
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
**Subprocess Outputs**:
|
|
135
|
+
Each subprocess outputs JSON with:
|
|
136
|
+
|
|
137
|
+
```json
|
|
138
|
+
{
|
|
139
|
+
"domain": "security",
|
|
140
|
+
"risk_level": "MEDIUM",
|
|
141
|
+
"findings": [
|
|
142
|
+
{
|
|
143
|
+
"category": "Authentication",
|
|
144
|
+
"status": "PASS",
|
|
145
|
+
"description": "OAuth2 with JWT tokens implemented",
|
|
146
|
+
"recommendations": []
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"category": "Data Encryption",
|
|
150
|
+
"status": "CONCERN",
|
|
151
|
+
"description": "Database encryption at rest not enabled",
|
|
152
|
+
"recommendations": ["Enable database encryption", "Use AWS KMS"]
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
"compliance": {
|
|
156
|
+
"SOC2": "PARTIAL",
|
|
157
|
+
"GDPR": "PASS",
|
|
158
|
+
"HIPAA": "N/A"
|
|
159
|
+
},
|
|
160
|
+
"priority_actions": ["Enable database encryption within 30 days"]
|
|
161
|
+
}
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
**Aggregation Logic**:
|
|
165
|
+
|
|
166
|
+
- Read all 4 NFR domain outputs
|
|
167
|
+
- Calculate overall risk (max of all domain risks)
|
|
168
|
+
- Aggregate compliance status
|
|
169
|
+
- Identify cross-domain risks
|
|
170
|
+
- Generate executive summary with priority actions
|
|
171
|
+
|
|
172
|
+
**Performance**: ~67% faster (4 domains in parallel vs sequential)
|
|
173
|
+
|
|
174
|
+
**Implementation Steps**:
|
|
175
|
+
|
|
176
|
+
1. Create 4 subprocess step files (one per NFR domain)
|
|
177
|
+
2. Each subprocess assesses system for its specific domain
|
|
178
|
+
3. Create aggregation step to synthesize findings
|
|
179
|
+
4. Update orchestration step to launch all 4 subprocesses in parallel
|
|
180
|
+
|
|
181
|
+
---
|
|
182
|
+
|
|
183
|
+
### 5. trace Workflow - TO IMPLEMENT
|
|
184
|
+
|
|
185
|
+
**Pattern**: Two-phase workflow separation (not parallel, but clean separation)
|
|
186
|
+
|
|
187
|
+
**Subprocess Architecture**:
|
|
188
|
+
|
|
189
|
+
```
|
|
190
|
+
trace/
|
|
191
|
+
├── step-XX-phase-1-coverage-matrix.md (generates matrix → temp file)
|
|
192
|
+
├── step-XX-phase-2-gate-decision.md (reads matrix → applies decision tree)
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
**Phase 1 Output**:
|
|
196
|
+
|
|
197
|
+
```json
|
|
198
|
+
{
|
|
199
|
+
"requirements": [
|
|
200
|
+
{
|
|
201
|
+
"id": "REQ-001",
|
|
202
|
+
"description": "User can login",
|
|
203
|
+
"priority": "P0",
|
|
204
|
+
"tests": ["tests/auth/login.spec.ts::should login"],
|
|
205
|
+
"coverage": "FULL"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"id": "REQ-002",
|
|
209
|
+
"description": "User can reset password",
|
|
210
|
+
"priority": "P1",
|
|
211
|
+
"tests": [],
|
|
212
|
+
"coverage": "NONE"
|
|
213
|
+
}
|
|
214
|
+
],
|
|
215
|
+
"total_requirements": 50,
|
|
216
|
+
"covered_requirements": 42,
|
|
217
|
+
"coverage_percentage": 84
|
|
218
|
+
}
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
**Phase 2 Logic**:
|
|
222
|
+
|
|
223
|
+
- Read Phase 1 coverage matrix
|
|
224
|
+
- Apply decision tree:
|
|
225
|
+
- P0 coverage == 100% AND overall >= 90% → PASS
|
|
226
|
+
- P0 coverage == 100% AND overall >= 75% → CONCERNS
|
|
227
|
+
- P0 coverage < 100% → FAIL
|
|
228
|
+
- Otherwise → WAIVED (manual review)
|
|
229
|
+
- Generate gate report with recommendations
|
|
230
|
+
|
|
231
|
+
**Performance**: Not about parallelization, but clean phase separation
|
|
232
|
+
|
|
233
|
+
**Implementation Steps**:
|
|
234
|
+
|
|
235
|
+
1. Split current trace workflow into 2 phases
|
|
236
|
+
2. Phase 1: Generate coverage matrix to temp file
|
|
237
|
+
3. Phase 2: Read matrix, apply gate logic, generate report
|
|
238
|
+
4. Subprocess-like isolation without actual parallel execution
|
|
239
|
+
|
|
240
|
+
---
|
|
241
|
+
|
|
242
|
+
## 📊 Implementation Summary
|
|
243
|
+
|
|
244
|
+
| Workflow | Status | Subprocesses | Performance Gain | Complexity |
|
|
245
|
+
| --------------- | --------------- | ---------------------- | ---------------- | ---------- |
|
|
246
|
+
| **automate** | ✅ Complete | 2 (API, E2E) | ~50% | Medium |
|
|
247
|
+
| **atdd** | ✅ Complete | 2 (API RED, E2E RED) | ~50% | Medium |
|
|
248
|
+
| **test-review** | 🟨 To Implement | 5 (quality dimensions) | ~60% | High |
|
|
249
|
+
| **nfr-assess** | 🟨 To Implement | 4 (NFR domains) | ~67% | High |
|
|
250
|
+
| **trace** | 🟨 To Implement | 2 phases (sequential) | N/A | Medium |
|
|
251
|
+
|
|
252
|
+
---
|
|
253
|
+
|
|
254
|
+
## 🎯 Implementation Priority
|
|
255
|
+
|
|
256
|
+
**Priority 1 (Highest Impact - Already Done)**:
|
|
257
|
+
|
|
258
|
+
- ✅ automate - Most frequently used
|
|
259
|
+
- ✅ atdd - Frequently used, TDD workflow
|
|
260
|
+
|
|
261
|
+
**Priority 2 (Next to Implement)**:
|
|
262
|
+
|
|
263
|
+
- test-review - Complex validation, clear parallelization benefit
|
|
264
|
+
- nfr-assess - Independent domains, high parallelization benefit
|
|
265
|
+
|
|
266
|
+
**Priority 3 (Good Separation)**:
|
|
267
|
+
|
|
268
|
+
- trace - Two-phase separation, clean design
|
|
269
|
+
|
|
270
|
+
---
|
|
271
|
+
|
|
272
|
+
## 🚀 Next Steps
|
|
273
|
+
|
|
274
|
+
### For test-review Implementation:
|
|
275
|
+
|
|
276
|
+
1. Identify which step currently does quality checks
|
|
277
|
+
2. Create 5 subprocess step files (determinism, isolation, maintainability, coverage, performance)
|
|
278
|
+
3. Each subprocess analyzes test files for specific quality dimension
|
|
279
|
+
4. Create aggregation step to calculate 0-100 score
|
|
280
|
+
5. Update orchestration step to launch all 5 in parallel
|
|
281
|
+
|
|
282
|
+
### For nfr-assess Implementation:
|
|
283
|
+
|
|
284
|
+
1. Identify which step currently does NFR assessment
|
|
285
|
+
2. Create 4 subprocess step files (security, performance, reliability, scalability)
|
|
286
|
+
3. Each subprocess assesses system for specific NFR domain
|
|
287
|
+
4. Create aggregation step to synthesize findings
|
|
288
|
+
5. Update orchestration step to launch all 4 in parallel
|
|
289
|
+
|
|
290
|
+
### For trace Implementation:
|
|
291
|
+
|
|
292
|
+
1. Identify current trace workflow structure
|
|
293
|
+
2. Split into Phase 1 (coverage matrix) and Phase 2 (gate decision)
|
|
294
|
+
3. Phase 1 outputs to temp file
|
|
295
|
+
4. Phase 2 reads temp file and applies decision logic
|
|
296
|
+
5. Update workflow.yaml to point to new phase structure
|
|
297
|
+
|
|
298
|
+
---
|
|
299
|
+
|
|
300
|
+
## 📝 Testing Checklist
|
|
301
|
+
|
|
302
|
+
After implementing each workflow:
|
|
303
|
+
|
|
304
|
+
- [ ] Create subprocess step files
|
|
305
|
+
- [ ] Update orchestration step
|
|
306
|
+
- [ ] Test with real project data
|
|
307
|
+
- [ ] Verify subprocess outputs are valid JSON
|
|
308
|
+
- [ ] Verify aggregation logic works correctly
|
|
309
|
+
- [ ] Measure performance improvement
|
|
310
|
+
- [ ] Run BMad Builder validation (should score 100%)
|
|
311
|
+
- [ ] Document in subprocess-architecture.md
|
|
312
|
+
|
|
313
|
+
---
|
|
314
|
+
|
|
315
|
+
## 🔗 References
|
|
316
|
+
|
|
317
|
+
- **Subprocess Architecture**: `docs/explanation/subprocess-architecture.md`
|
|
318
|
+
- **Step-File Architecture**: `docs/explanation/step-file-architecture.md`
|
|
319
|
+
- **Completed Examples**:
|
|
320
|
+
- `src/workflows/testarch/automate/steps-c/step-03*`
|
|
321
|
+
- `src/workflows/testarch/atdd/steps-c/step-04*`
|
|
322
|
+
|
|
323
|
+
---
|
|
324
|
+
|
|
325
|
+
**Status**: 2 of 5 workflows complete, 3 remaining (implementation guide provided)
|
|
326
|
+
**Next Action**: Implement test-review, nfr-assess, trace following established patterns
|
|
327
|
+
**Expected Total Performance Gain**: 40-67% across all applicable workflows
|