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,232 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 'step-05-gate-decision'
|
|
3
|
+
description: 'Phase 2: Apply gate decision logic and generate outputs'
|
|
4
|
+
outputFile: '{output_folder}/traceability-report.md'
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Step 5: Phase 2 - Gate Decision
|
|
8
|
+
|
|
9
|
+
## STEP GOAL
|
|
10
|
+
|
|
11
|
+
**Phase 2:** Read coverage matrix from Phase 1, apply deterministic gate decision logic, and generate traceability report.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## MANDATORY EXECUTION RULES
|
|
16
|
+
|
|
17
|
+
- 📖 Read the entire step file before acting
|
|
18
|
+
- ✅ Speak in `{communication_language}`
|
|
19
|
+
- ✅ Read coverage matrix from Phase 1 temp file
|
|
20
|
+
- ✅ Apply gate decision logic
|
|
21
|
+
- ❌ Do NOT regenerate coverage matrix (use Phase 1 output)
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## EXECUTION PROTOCOLS:
|
|
26
|
+
|
|
27
|
+
- 🎯 Follow the MANDATORY SEQUENCE exactly
|
|
28
|
+
- 💾 Record outputs before proceeding
|
|
29
|
+
- 📖 This is the FINAL step
|
|
30
|
+
|
|
31
|
+
## CONTEXT BOUNDARIES:
|
|
32
|
+
|
|
33
|
+
- Available context: Coverage matrix from Phase 1 temp file
|
|
34
|
+
- Focus: gate decision logic only
|
|
35
|
+
- Dependencies: Phase 1 complete (coverage matrix exists)
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## MANDATORY SEQUENCE
|
|
40
|
+
|
|
41
|
+
### 1. Read Phase 1 Coverage Matrix
|
|
42
|
+
|
|
43
|
+
```javascript
|
|
44
|
+
const matrixPath = '/tmp/tea-trace-coverage-matrix-{{timestamp}}.json';
|
|
45
|
+
const coverageMatrix = JSON.parse(fs.readFileSync(matrixPath, 'utf8'));
|
|
46
|
+
|
|
47
|
+
console.log('✅ Phase 1 coverage matrix loaded');
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
**Verify Phase 1 complete:**
|
|
51
|
+
|
|
52
|
+
```javascript
|
|
53
|
+
if (coverageMatrix.phase !== 'PHASE_1_COMPLETE') {
|
|
54
|
+
throw new Error('Phase 1 not complete - cannot proceed to gate decision');
|
|
55
|
+
}
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
### 2. Apply Gate Decision Logic
|
|
61
|
+
|
|
62
|
+
**Decision Tree:**
|
|
63
|
+
|
|
64
|
+
```javascript
|
|
65
|
+
const stats = coverageMatrix.coverage_statistics;
|
|
66
|
+
const p0Coverage = stats.priority_breakdown.P0.percentage;
|
|
67
|
+
const overallCoverage = stats.overall_coverage_percentage;
|
|
68
|
+
const criticalGaps = coverageMatrix.gap_analysis.critical_gaps.length;
|
|
69
|
+
|
|
70
|
+
let gateDecision;
|
|
71
|
+
let rationale;
|
|
72
|
+
|
|
73
|
+
// Rule 1: P0 coverage must be 100%
|
|
74
|
+
if (p0Coverage < 100) {
|
|
75
|
+
gateDecision = 'FAIL';
|
|
76
|
+
rationale = `P0 coverage is ${p0Coverage}% (required: 100%). ${criticalGaps} critical requirements uncovered.`;
|
|
77
|
+
}
|
|
78
|
+
// Rule 2: Overall coverage >= 90% with P0 at 100% → PASS
|
|
79
|
+
else if (overallCoverage >= 90) {
|
|
80
|
+
gateDecision = 'PASS';
|
|
81
|
+
rationale = `P0 coverage is 100% and overall coverage is ${overallCoverage}% (target: 90%).`;
|
|
82
|
+
}
|
|
83
|
+
// Rule 3: Overall coverage >= 75% with P0 at 100% → CONCERNS
|
|
84
|
+
else if (overallCoverage >= 75) {
|
|
85
|
+
gateDecision = 'CONCERNS';
|
|
86
|
+
rationale = `P0 coverage is 100% but overall coverage is ${overallCoverage}% (target: 90%). Consider expanding coverage.`;
|
|
87
|
+
}
|
|
88
|
+
// Rule 4: P0 at 100% but overall < 75% → FAIL
|
|
89
|
+
else {
|
|
90
|
+
gateDecision = 'FAIL';
|
|
91
|
+
rationale = `Overall coverage is ${overallCoverage}% (minimum: 75%). Significant gaps exist.`;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
// Rule 5: Manual waiver option
|
|
95
|
+
const manualWaiver = false; // Can be set via config or user input
|
|
96
|
+
if (manualWaiver) {
|
|
97
|
+
gateDecision = 'WAIVED';
|
|
98
|
+
rationale += ' Manual waiver applied by stakeholder.';
|
|
99
|
+
}
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
### 3. Generate Gate Report
|
|
105
|
+
|
|
106
|
+
```javascript
|
|
107
|
+
const gateReport = {
|
|
108
|
+
decision: gateDecision,
|
|
109
|
+
rationale: rationale,
|
|
110
|
+
decision_date: new Date().toISOString(),
|
|
111
|
+
|
|
112
|
+
coverage_matrix: coverageMatrix,
|
|
113
|
+
|
|
114
|
+
gate_criteria: {
|
|
115
|
+
p0_coverage_required: '100%',
|
|
116
|
+
p0_coverage_actual: `${p0Coverage}%`,
|
|
117
|
+
p0_status: p0Coverage === 100 ? 'MET' : 'NOT MET',
|
|
118
|
+
|
|
119
|
+
overall_coverage_target: '90%',
|
|
120
|
+
overall_coverage_actual: `${overallCoverage}%`,
|
|
121
|
+
overall_status: overallCoverage >= 90 ? 'MET' : overallCoverage >= 75 ? 'PARTIAL' : 'NOT MET',
|
|
122
|
+
},
|
|
123
|
+
|
|
124
|
+
uncovered_requirements: coverageMatrix.gap_analysis.critical_gaps.concat(coverageMatrix.gap_analysis.high_gaps),
|
|
125
|
+
|
|
126
|
+
recommendations: coverageMatrix.recommendations,
|
|
127
|
+
};
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
---
|
|
131
|
+
|
|
132
|
+
### 4. Generate Traceability Report
|
|
133
|
+
|
|
134
|
+
**Use trace-template.md to generate:**
|
|
135
|
+
|
|
136
|
+
```markdown
|
|
137
|
+
# Traceability Report
|
|
138
|
+
|
|
139
|
+
## Gate Decision: {gateDecision}
|
|
140
|
+
|
|
141
|
+
**Rationale:** {rationale}
|
|
142
|
+
|
|
143
|
+
## Coverage Summary
|
|
144
|
+
|
|
145
|
+
- Total Requirements: {totalRequirements}
|
|
146
|
+
- Covered: {fullyCovered} ({coveragePercentage}%)
|
|
147
|
+
- P0 Coverage: {p0CoveragePercentage}%
|
|
148
|
+
|
|
149
|
+
## Traceability Matrix
|
|
150
|
+
|
|
151
|
+
[Full matrix with requirement → test mappings]
|
|
152
|
+
|
|
153
|
+
## Gaps & Recommendations
|
|
154
|
+
|
|
155
|
+
[List of uncovered requirements with recommended actions]
|
|
156
|
+
|
|
157
|
+
## Next Actions
|
|
158
|
+
|
|
159
|
+
{recommendations}
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
**Save to:**
|
|
163
|
+
|
|
164
|
+
```javascript
|
|
165
|
+
fs.writeFileSync('{outputFile}', reportContent, 'utf8');
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
---
|
|
169
|
+
|
|
170
|
+
### 5. Display Gate Decision
|
|
171
|
+
|
|
172
|
+
```
|
|
173
|
+
🚨 GATE DECISION: {gateDecision}
|
|
174
|
+
|
|
175
|
+
📊 Coverage Analysis:
|
|
176
|
+
- P0 Coverage: {p0Coverage}% (Required: 100%) → {p0_status}
|
|
177
|
+
- Overall Coverage: {overallCoverage}% (Target: 90%) → {overall_status}
|
|
178
|
+
|
|
179
|
+
✅ Decision Rationale:
|
|
180
|
+
{rationale}
|
|
181
|
+
|
|
182
|
+
⚠️ Critical Gaps: {criticalGaps.length}
|
|
183
|
+
|
|
184
|
+
📝 Recommended Actions:
|
|
185
|
+
{list top 3 recommendations}
|
|
186
|
+
|
|
187
|
+
📂 Full Report: {outputFile}
|
|
188
|
+
|
|
189
|
+
{if FAIL}
|
|
190
|
+
🚫 GATE: FAIL - Release BLOCKED until coverage improves
|
|
191
|
+
{endif}
|
|
192
|
+
|
|
193
|
+
{if CONCERNS}
|
|
194
|
+
⚠️ GATE: CONCERNS - Proceed with caution, address gaps soon
|
|
195
|
+
{endif}
|
|
196
|
+
|
|
197
|
+
{if PASS}
|
|
198
|
+
✅ GATE: PASS - Release approved, coverage meets standards
|
|
199
|
+
{endif}
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
---
|
|
203
|
+
|
|
204
|
+
## EXIT CONDITION
|
|
205
|
+
|
|
206
|
+
**WORKFLOW COMPLETE when:**
|
|
207
|
+
|
|
208
|
+
- ✅ Phase 1 coverage matrix read successfully
|
|
209
|
+
- ✅ Gate decision logic applied
|
|
210
|
+
- ✅ Traceability report generated
|
|
211
|
+
- ✅ Gate decision displayed
|
|
212
|
+
|
|
213
|
+
**Workflow terminates here.**
|
|
214
|
+
|
|
215
|
+
---
|
|
216
|
+
|
|
217
|
+
## 🚨 PHASE 2 SUCCESS METRICS
|
|
218
|
+
|
|
219
|
+
### ✅ SUCCESS:
|
|
220
|
+
|
|
221
|
+
- Coverage matrix read from Phase 1
|
|
222
|
+
- Gate decision made with clear rationale
|
|
223
|
+
- Report generated and saved
|
|
224
|
+
- Decision communicated clearly
|
|
225
|
+
|
|
226
|
+
### ❌ FAILURE:
|
|
227
|
+
|
|
228
|
+
- Could not read Phase 1 matrix
|
|
229
|
+
- Gate decision logic incorrect
|
|
230
|
+
- Report missing or incomplete
|
|
231
|
+
|
|
232
|
+
**Master Rule:** Gate decision MUST be deterministic based on clear criteria (P0 100%, overall 90/75%).
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 'step-01-assess'
|
|
3
|
+
description: 'Load an existing output for editing'
|
|
4
|
+
nextStepFile: './step-02-apply-edit.md'
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Step 1: Assess Edit Target
|
|
8
|
+
|
|
9
|
+
## STEP GOAL:
|
|
10
|
+
|
|
11
|
+
Identify which output should be edited and load it.
|
|
12
|
+
|
|
13
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
14
|
+
|
|
15
|
+
### Universal Rules:
|
|
16
|
+
|
|
17
|
+
- 📖 Read the complete step file before taking any action
|
|
18
|
+
- ✅ Speak in `{communication_language}`
|
|
19
|
+
|
|
20
|
+
### Role Reinforcement:
|
|
21
|
+
|
|
22
|
+
- ✅ You are the Master Test Architect
|
|
23
|
+
|
|
24
|
+
### Step-Specific Rules:
|
|
25
|
+
|
|
26
|
+
- 🎯 Ask the user which output file to edit
|
|
27
|
+
- 🚫 Do not edit until target is confirmed
|
|
28
|
+
|
|
29
|
+
## EXECUTION PROTOCOLS:
|
|
30
|
+
|
|
31
|
+
- 🎯 Follow the MANDATORY SEQUENCE exactly
|
|
32
|
+
|
|
33
|
+
## CONTEXT BOUNDARIES:
|
|
34
|
+
|
|
35
|
+
- Available context: existing outputs
|
|
36
|
+
- Focus: select edit target
|
|
37
|
+
- Limits: no edits yet
|
|
38
|
+
|
|
39
|
+
## MANDATORY SEQUENCE
|
|
40
|
+
|
|
41
|
+
**CRITICAL:** Follow this sequence exactly.
|
|
42
|
+
|
|
43
|
+
### 1. Identify Target
|
|
44
|
+
|
|
45
|
+
Ask the user to provide the output file path or select from known outputs.
|
|
46
|
+
|
|
47
|
+
### 2. Load Target
|
|
48
|
+
|
|
49
|
+
Read the provided output file in full.
|
|
50
|
+
|
|
51
|
+
### 3. Confirm
|
|
52
|
+
|
|
53
|
+
Confirm the target and proceed to edit.
|
|
54
|
+
|
|
55
|
+
Load next step: `{nextStepFile}`
|
|
56
|
+
|
|
57
|
+
## 🚨 SYSTEM SUCCESS/FAILURE METRICS:
|
|
58
|
+
|
|
59
|
+
### ✅ SUCCESS:
|
|
60
|
+
|
|
61
|
+
- Target identified and loaded
|
|
62
|
+
|
|
63
|
+
### ❌ SYSTEM FAILURE:
|
|
64
|
+
|
|
65
|
+
- Proceeding without a confirmed target
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 'step-02-apply-edit'
|
|
3
|
+
description: 'Apply edits to the selected output'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Step 2: Apply Edits
|
|
7
|
+
|
|
8
|
+
## STEP GOAL:
|
|
9
|
+
|
|
10
|
+
Apply the requested edits to the selected output and confirm changes.
|
|
11
|
+
|
|
12
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
13
|
+
|
|
14
|
+
### Universal Rules:
|
|
15
|
+
|
|
16
|
+
- 📖 Read the complete step file before taking any action
|
|
17
|
+
- ✅ Speak in `{communication_language}`
|
|
18
|
+
|
|
19
|
+
### Role Reinforcement:
|
|
20
|
+
|
|
21
|
+
- ✅ You are the Master Test Architect
|
|
22
|
+
|
|
23
|
+
### Step-Specific Rules:
|
|
24
|
+
|
|
25
|
+
- 🎯 Only apply edits explicitly requested by the user
|
|
26
|
+
|
|
27
|
+
## EXECUTION PROTOCOLS:
|
|
28
|
+
|
|
29
|
+
- 🎯 Follow the MANDATORY SEQUENCE exactly
|
|
30
|
+
|
|
31
|
+
## CONTEXT BOUNDARIES:
|
|
32
|
+
|
|
33
|
+
- Available context: selected output and user changes
|
|
34
|
+
- Focus: apply edits only
|
|
35
|
+
|
|
36
|
+
## MANDATORY SEQUENCE
|
|
37
|
+
|
|
38
|
+
**CRITICAL:** Follow this sequence exactly.
|
|
39
|
+
|
|
40
|
+
### 1. Confirm Requested Changes
|
|
41
|
+
|
|
42
|
+
Restate what will be changed and confirm.
|
|
43
|
+
|
|
44
|
+
### 2. Apply Changes
|
|
45
|
+
|
|
46
|
+
Update the output file accordingly.
|
|
47
|
+
|
|
48
|
+
### 3. Report
|
|
49
|
+
|
|
50
|
+
Summarize the edits applied.
|
|
51
|
+
|
|
52
|
+
## 🚨 SYSTEM SUCCESS/FAILURE METRICS:
|
|
53
|
+
|
|
54
|
+
### ✅ SUCCESS:
|
|
55
|
+
|
|
56
|
+
- Changes applied and confirmed
|
|
57
|
+
|
|
58
|
+
### ❌ SYSTEM FAILURE:
|
|
59
|
+
|
|
60
|
+
- Unconfirmed edits or missing update
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 'step-01-validate'
|
|
3
|
+
description: 'Validate workflow outputs against checklist'
|
|
4
|
+
outputFile: '{output_folder}/trace-validation-report.md'
|
|
5
|
+
validationChecklist: '../checklist.md'
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Step 1: Validate Outputs
|
|
9
|
+
|
|
10
|
+
## STEP GOAL:
|
|
11
|
+
|
|
12
|
+
Validate outputs using the workflow checklist and record findings.
|
|
13
|
+
|
|
14
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
15
|
+
|
|
16
|
+
### Universal Rules:
|
|
17
|
+
|
|
18
|
+
- 📖 Read the complete step file before taking any action
|
|
19
|
+
- ✅ Speak in `{communication_language}`
|
|
20
|
+
|
|
21
|
+
### Role Reinforcement:
|
|
22
|
+
|
|
23
|
+
- ✅ You are the Master Test Architect
|
|
24
|
+
|
|
25
|
+
### Step-Specific Rules:
|
|
26
|
+
|
|
27
|
+
- 🎯 Validate against `{validationChecklist}`
|
|
28
|
+
- 🚫 Do not skip checks
|
|
29
|
+
|
|
30
|
+
## EXECUTION PROTOCOLS:
|
|
31
|
+
|
|
32
|
+
- 🎯 Follow the MANDATORY SEQUENCE exactly
|
|
33
|
+
- 💾 Write findings to `{outputFile}`
|
|
34
|
+
|
|
35
|
+
## CONTEXT BOUNDARIES:
|
|
36
|
+
|
|
37
|
+
- Available context: workflow outputs and checklist
|
|
38
|
+
- Focus: validation only
|
|
39
|
+
- Limits: do not modify outputs in this step
|
|
40
|
+
|
|
41
|
+
## MANDATORY SEQUENCE
|
|
42
|
+
|
|
43
|
+
**CRITICAL:** Follow this sequence exactly.
|
|
44
|
+
|
|
45
|
+
### 1. Load Checklist
|
|
46
|
+
|
|
47
|
+
Read `{validationChecklist}` and list all criteria.
|
|
48
|
+
|
|
49
|
+
### 2. Validate Outputs
|
|
50
|
+
|
|
51
|
+
Evaluate outputs against each checklist item.
|
|
52
|
+
|
|
53
|
+
### 3. Write Report
|
|
54
|
+
|
|
55
|
+
Write a validation report to `{outputFile}` with PASS/WARN/FAIL per section.
|
|
56
|
+
|
|
57
|
+
## 🚨 SYSTEM SUCCESS/FAILURE METRICS:
|
|
58
|
+
|
|
59
|
+
### ✅ SUCCESS:
|
|
60
|
+
|
|
61
|
+
- Validation report written
|
|
62
|
+
- All checklist items evaluated
|
|
63
|
+
|
|
64
|
+
### ❌ SYSTEM FAILURE:
|
|
65
|
+
|
|
66
|
+
- Skipped checklist items
|
|
67
|
+
- No report produced
|