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,34 @@
|
|
|
1
|
+
# Test: Valid kebab-case triggers
|
|
2
|
+
# Expected: PASS
|
|
3
|
+
|
|
4
|
+
agent:
|
|
5
|
+
metadata:
|
|
6
|
+
id: kebab-triggers
|
|
7
|
+
name: Kebab Case Triggers
|
|
8
|
+
title: Kebab Triggers
|
|
9
|
+
icon: 🧪
|
|
10
|
+
hasSidecar: false
|
|
11
|
+
|
|
12
|
+
persona:
|
|
13
|
+
role: Test agent with kebab-case triggers
|
|
14
|
+
identity: I test kebab-case trigger validation.
|
|
15
|
+
communication_style: Clear
|
|
16
|
+
principles:
|
|
17
|
+
- Test kebab-case format
|
|
18
|
+
|
|
19
|
+
menu:
|
|
20
|
+
- trigger: help
|
|
21
|
+
description: Single word trigger
|
|
22
|
+
action: display_help
|
|
23
|
+
- trigger: list-tasks
|
|
24
|
+
description: Two word trigger
|
|
25
|
+
action: list_tasks
|
|
26
|
+
- trigger: workflow-init-process
|
|
27
|
+
description: Three word trigger
|
|
28
|
+
action: init_workflow
|
|
29
|
+
- trigger: test123
|
|
30
|
+
description: Trigger with numbers
|
|
31
|
+
action: test
|
|
32
|
+
- trigger: multi-word-kebab-case-trigger
|
|
33
|
+
description: Long kebab-case trigger
|
|
34
|
+
action: long_action
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Test: Core agent can have module field
|
|
2
|
+
# Expected: PASS
|
|
3
|
+
# Note: Core agents can now include module field if needed
|
|
4
|
+
|
|
5
|
+
agent:
|
|
6
|
+
metadata:
|
|
7
|
+
id: core-with-module
|
|
8
|
+
name: Core With Module
|
|
9
|
+
title: Core Agent
|
|
10
|
+
icon: ✅
|
|
11
|
+
module: bmm
|
|
12
|
+
hasSidecar: false
|
|
13
|
+
|
|
14
|
+
persona:
|
|
15
|
+
role: Test agent
|
|
16
|
+
identity: Test identity
|
|
17
|
+
communication_style: Test style
|
|
18
|
+
principles:
|
|
19
|
+
- Test principle
|
|
20
|
+
|
|
21
|
+
menu:
|
|
22
|
+
- trigger: help
|
|
23
|
+
description: Show help
|
|
24
|
+
action: display_help
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Test: Empty module name in path (src/modules//agents/)
|
|
2
|
+
# Expected: PASS - treated as core agent (empty module normalizes to null)
|
|
3
|
+
# Path context: src/modules//agents/test.agent.yaml
|
|
4
|
+
|
|
5
|
+
agent:
|
|
6
|
+
metadata:
|
|
7
|
+
id: empty-module-path
|
|
8
|
+
name: Empty Module in Path
|
|
9
|
+
title: Empty Module Path
|
|
10
|
+
icon: 🧪
|
|
11
|
+
hasSidecar: false
|
|
12
|
+
# No module field - path has empty module name, treated as core
|
|
13
|
+
|
|
14
|
+
persona:
|
|
15
|
+
role: Test agent for empty module name in path
|
|
16
|
+
identity: I test the edge case where module name in path is empty.
|
|
17
|
+
communication_style: Clear
|
|
18
|
+
principles:
|
|
19
|
+
- Test path parsing edge cases
|
|
20
|
+
|
|
21
|
+
menu:
|
|
22
|
+
- trigger: help
|
|
23
|
+
description: Show help
|
|
24
|
+
action: display_help
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Test: Malformed module path (no slash after module name) treated as core
|
|
2
|
+
# Expected: PASS - malformed path returns null, treated as core agent
|
|
3
|
+
# Path context: src/modules/bmm
|
|
4
|
+
|
|
5
|
+
agent:
|
|
6
|
+
metadata:
|
|
7
|
+
id: malformed-path
|
|
8
|
+
name: Malformed Path Test
|
|
9
|
+
title: Malformed Path
|
|
10
|
+
icon: 🧪
|
|
11
|
+
hasSidecar: false
|
|
12
|
+
# No module field - will be treated as core since path parsing returns null
|
|
13
|
+
|
|
14
|
+
persona:
|
|
15
|
+
role: Test agent for malformed path edge case
|
|
16
|
+
identity: I test edge cases in path parsing.
|
|
17
|
+
communication_style: Clear
|
|
18
|
+
principles:
|
|
19
|
+
- Test edge case handling
|
|
20
|
+
|
|
21
|
+
menu:
|
|
22
|
+
- trigger: help
|
|
23
|
+
description: Show help
|
|
24
|
+
action: display_help
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Test: Valid module agent with correct module field
|
|
2
|
+
# Expected: PASS
|
|
3
|
+
# Path context: src/modules/bmm/agents/module-agent-correct.agent.yaml
|
|
4
|
+
|
|
5
|
+
agent:
|
|
6
|
+
metadata:
|
|
7
|
+
id: bmm-test
|
|
8
|
+
name: BMM Test Agent
|
|
9
|
+
title: BMM Test
|
|
10
|
+
icon: 🧪
|
|
11
|
+
module: bmm
|
|
12
|
+
hasSidecar: false
|
|
13
|
+
|
|
14
|
+
persona:
|
|
15
|
+
role: Test module agent
|
|
16
|
+
identity: I am a module-scoped test agent.
|
|
17
|
+
communication_style: Professional
|
|
18
|
+
principles:
|
|
19
|
+
- Test module validation
|
|
20
|
+
|
|
21
|
+
menu:
|
|
22
|
+
- trigger: help
|
|
23
|
+
description: Show help
|
|
24
|
+
action: display_help
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Test: Module agent can omit module field
|
|
2
|
+
# Expected: PASS
|
|
3
|
+
# Note: Module field is optional
|
|
4
|
+
|
|
5
|
+
agent:
|
|
6
|
+
metadata:
|
|
7
|
+
id: bmm-missing-module
|
|
8
|
+
name: No Module
|
|
9
|
+
title: Optional Module
|
|
10
|
+
icon: ✅
|
|
11
|
+
hasSidecar: false
|
|
12
|
+
|
|
13
|
+
persona:
|
|
14
|
+
role: Test agent
|
|
15
|
+
identity: Test identity
|
|
16
|
+
communication_style: Test style
|
|
17
|
+
principles:
|
|
18
|
+
- Test principle
|
|
19
|
+
|
|
20
|
+
menu:
|
|
21
|
+
- trigger: help
|
|
22
|
+
description: Show help
|
|
23
|
+
action: display_help
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Test: Module agent can have any module value
|
|
2
|
+
# Expected: PASS
|
|
3
|
+
# Note: Module validation removed - agents can declare any module
|
|
4
|
+
|
|
5
|
+
agent:
|
|
6
|
+
metadata:
|
|
7
|
+
id: wrong-module
|
|
8
|
+
name: Any Module
|
|
9
|
+
title: Any Module Value
|
|
10
|
+
icon: ✅
|
|
11
|
+
module: cis
|
|
12
|
+
hasSidecar: false
|
|
13
|
+
|
|
14
|
+
persona:
|
|
15
|
+
role: Test agent
|
|
16
|
+
identity: Test identity
|
|
17
|
+
communication_style: Test style
|
|
18
|
+
principles:
|
|
19
|
+
- Test principle
|
|
20
|
+
|
|
21
|
+
menu:
|
|
22
|
+
- trigger: help
|
|
23
|
+
description: Show help
|
|
24
|
+
action: display_help
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Test: All persona fields properly filled
|
|
2
|
+
# Expected: PASS
|
|
3
|
+
|
|
4
|
+
agent:
|
|
5
|
+
metadata:
|
|
6
|
+
id: complete-persona
|
|
7
|
+
name: Complete Persona Agent
|
|
8
|
+
title: Complete Persona
|
|
9
|
+
icon: 🧪
|
|
10
|
+
hasSidecar: false
|
|
11
|
+
|
|
12
|
+
persona:
|
|
13
|
+
role: Comprehensive test agent with all persona fields
|
|
14
|
+
identity: I am a test agent designed to validate complete persona structure with multiple characteristics and attributes.
|
|
15
|
+
communication_style: Professional, clear, and thorough with attention to detail
|
|
16
|
+
principles:
|
|
17
|
+
- Validate all persona fields are present
|
|
18
|
+
- Ensure array fields work correctly
|
|
19
|
+
- Test comprehensive documentation
|
|
20
|
+
|
|
21
|
+
menu:
|
|
22
|
+
- trigger: help
|
|
23
|
+
description: Show help
|
|
24
|
+
action: display_help
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Test: Empty prompts array
|
|
2
|
+
# Expected: PASS - empty array valid for optional field
|
|
3
|
+
|
|
4
|
+
agent:
|
|
5
|
+
metadata:
|
|
6
|
+
id: empty-prompts
|
|
7
|
+
name: Empty Prompts
|
|
8
|
+
title: Empty Prompts
|
|
9
|
+
icon: 🧪
|
|
10
|
+
hasSidecar: false
|
|
11
|
+
|
|
12
|
+
persona:
|
|
13
|
+
role: Test agent with empty prompts
|
|
14
|
+
identity: I am a test agent with empty prompts array.
|
|
15
|
+
communication_style: Clear
|
|
16
|
+
principles:
|
|
17
|
+
- Test empty arrays
|
|
18
|
+
|
|
19
|
+
prompts: []
|
|
20
|
+
|
|
21
|
+
menu:
|
|
22
|
+
- trigger: help
|
|
23
|
+
description: Show help
|
|
24
|
+
action: display_help
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Test: No prompts field (optional)
|
|
2
|
+
# Expected: PASS
|
|
3
|
+
|
|
4
|
+
agent:
|
|
5
|
+
metadata:
|
|
6
|
+
id: no-prompts
|
|
7
|
+
name: No Prompts
|
|
8
|
+
title: No Prompts
|
|
9
|
+
icon: 🧪
|
|
10
|
+
hasSidecar: false
|
|
11
|
+
|
|
12
|
+
persona:
|
|
13
|
+
role: Test agent without prompts
|
|
14
|
+
identity: I am a test agent without prompts field.
|
|
15
|
+
communication_style: Clear
|
|
16
|
+
principles:
|
|
17
|
+
- Test optional fields
|
|
18
|
+
|
|
19
|
+
menu:
|
|
20
|
+
- trigger: help
|
|
21
|
+
description: Show help
|
|
22
|
+
action: display_help
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Test: Prompts with required id and content only
|
|
2
|
+
# Expected: PASS
|
|
3
|
+
|
|
4
|
+
agent:
|
|
5
|
+
metadata:
|
|
6
|
+
id: valid-prompts-minimal
|
|
7
|
+
name: Valid Prompts Minimal
|
|
8
|
+
title: Valid Prompts
|
|
9
|
+
icon: 🧪
|
|
10
|
+
hasSidecar: false
|
|
11
|
+
|
|
12
|
+
persona:
|
|
13
|
+
role: Test agent with minimal prompts
|
|
14
|
+
identity: I am a test agent with minimal prompt structure.
|
|
15
|
+
communication_style: Clear
|
|
16
|
+
principles:
|
|
17
|
+
- Test minimal prompts
|
|
18
|
+
|
|
19
|
+
prompts:
|
|
20
|
+
- id: prompt1
|
|
21
|
+
content: This is a valid prompt content
|
|
22
|
+
- id: prompt2
|
|
23
|
+
content: Another valid prompt
|
|
24
|
+
|
|
25
|
+
menu:
|
|
26
|
+
- trigger: help
|
|
27
|
+
description: Show help
|
|
28
|
+
action: display_help
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Test: Prompts with optional description field
|
|
2
|
+
# Expected: PASS
|
|
3
|
+
|
|
4
|
+
agent:
|
|
5
|
+
metadata:
|
|
6
|
+
id: valid-prompts-description
|
|
7
|
+
name: Valid Prompts With Description
|
|
8
|
+
title: Valid Prompts Desc
|
|
9
|
+
icon: 🧪
|
|
10
|
+
hasSidecar: false
|
|
11
|
+
|
|
12
|
+
persona:
|
|
13
|
+
role: Test agent with prompts including descriptions
|
|
14
|
+
identity: I am a test agent with complete prompt structure.
|
|
15
|
+
communication_style: Clear
|
|
16
|
+
principles:
|
|
17
|
+
- Test complete prompts
|
|
18
|
+
|
|
19
|
+
prompts:
|
|
20
|
+
- id: prompt1
|
|
21
|
+
content: This is a valid prompt content
|
|
22
|
+
description: This prompt does something useful
|
|
23
|
+
- id: prompt2
|
|
24
|
+
content: Another valid prompt
|
|
25
|
+
description: This prompt does something else
|
|
26
|
+
|
|
27
|
+
menu:
|
|
28
|
+
- trigger: help
|
|
29
|
+
description: Show help
|
|
30
|
+
action: display_help
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Test: Valid core agent with only required fields
|
|
2
|
+
# Expected: PASS
|
|
3
|
+
# Path context: src/core/agents/minimal-core-agent.agent.yaml
|
|
4
|
+
|
|
5
|
+
agent:
|
|
6
|
+
metadata:
|
|
7
|
+
id: minimal-test
|
|
8
|
+
name: Minimal Test Agent
|
|
9
|
+
title: Minimal Test
|
|
10
|
+
icon: 🧪
|
|
11
|
+
hasSidecar: false
|
|
12
|
+
|
|
13
|
+
persona:
|
|
14
|
+
role: Test agent with minimal configuration
|
|
15
|
+
identity: I am a minimal test agent used for schema validation testing.
|
|
16
|
+
communication_style: Clear and concise
|
|
17
|
+
principles:
|
|
18
|
+
- Validate schema requirements
|
|
19
|
+
- Demonstrate minimal valid structure
|
|
20
|
+
|
|
21
|
+
menu:
|
|
22
|
+
- trigger: help
|
|
23
|
+
description: Show help
|
|
24
|
+
action: display_help
|