BMAD-METHOD/bmm/testarch/knowledge
elsahafy fb3c623bae Fix XML/YAML schemas, add security validations, and standardize templates
Messenger System:
- Update YAML examples to use canonical field names (from/to for single-agent, to_agents: "all" for broadcasts)
- Add file locking and atomic writes to receive-message.xml for concurrent safety
- Implement per-agent archiving under archive_dir
- Return structured output {messages, count, status_message} from all code paths

Pipeline Orchestrator:
- Sanitize pipeline names to [a-z0-9-_] with uniqueness token (HHmmss)
- Add path traversal validation for pipeline_id in all commands
- Add deadlock detection for cyclic/unmet dependencies
- Fix error_handling default and conditional completion status

Token Isolation (spawn-agent.xml):
- Add explicit config keys (agent_manifest, output_dir)
- Fix prompt construction flow (base_prompt -> final_prompt)
- Add output_file path validation and allow_overwrite flag

Core Tools:
- code-metrics.xml: Add default include patterns and expanded exclude list
- context-extractor.xml: Add exclude param, focus validation, security redaction
- dependency-check.xml: Add outdated_command to all package managers
- schema-validator.xml: Fix versions format, add deterministic error handling, wrap output in CDATA

Session Manager:
- Add tokens.max field (default 150000) to schema
- Unify token field names (saved instead of saved_by_isolation)
- Add Token Deserialization section with fallback logic

Templates:
- openapi.template.yaml: Add missing Resources tag
- security-audit instructions: Convert to Handlebars {{}} syntax

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 14:23:46 +04:00
..
api-request.md Fix XML/YAML schemas, add security validations, and standardize templates 2026-01-09 14:23:46 +04:00
auth-session.md Fix XML/YAML schemas, add security validations, and standardize templates 2026-01-09 14:23:46 +04:00
burn-in.md Fix XML/YAML schemas, add security validations, and standardize templates 2026-01-09 14:23:46 +04:00
ci-burn-in.md Fix XML/YAML schemas, add security validations, and standardize templates 2026-01-09 14:23:46 +04:00
component-tdd.md Fix XML/YAML schemas, add security validations, and standardize templates 2026-01-09 14:23:46 +04:00
contract-testing.md Fix XML/YAML schemas, add security validations, and standardize templates 2026-01-09 14:23:46 +04:00
data-factories.md Fix XML/YAML schemas, add security validations, and standardize templates 2026-01-09 14:23:46 +04:00
email-auth.md Fix XML/YAML schemas, add security validations, and standardize templates 2026-01-09 14:23:46 +04:00
error-handling.md Fix XML/YAML schemas, add security validations, and standardize templates 2026-01-09 14:23:46 +04:00
feature-flags.md Fix XML/YAML schemas, add security validations, and standardize templates 2026-01-09 14:23:46 +04:00
file-utils.md Fix XML/YAML schemas, add security validations, and standardize templates 2026-01-09 14:23:46 +04:00
fixture-architecture.md Fix XML/YAML schemas, add security validations, and standardize templates 2026-01-09 14:23:46 +04:00
fixtures-composition.md Fix XML/YAML schemas, add security validations, and standardize templates 2026-01-09 14:23:46 +04:00
intercept-network-call.md Fix XML/YAML schemas, add security validations, and standardize templates 2026-01-09 14:23:46 +04:00
log.md Fix XML/YAML schemas, add security validations, and standardize templates 2026-01-09 14:23:46 +04:00
network-error-monitor.md Fix XML/YAML schemas, add security validations, and standardize templates 2026-01-09 14:23:46 +04:00
network-first.md Fix XML/YAML schemas, add security validations, and standardize templates 2026-01-09 14:23:46 +04:00
network-recorder.md Fix XML/YAML schemas, add security validations, and standardize templates 2026-01-09 14:23:46 +04:00
nfr-criteria.md Fix XML/YAML schemas, add security validations, and standardize templates 2026-01-09 14:23:46 +04:00
overview.md Fix XML/YAML schemas, add security validations, and standardize templates 2026-01-09 14:23:46 +04:00
playwright-config.md Fix XML/YAML schemas, add security validations, and standardize templates 2026-01-09 14:23:46 +04:00
probability-impact.md Fix XML/YAML schemas, add security validations, and standardize templates 2026-01-09 14:23:46 +04:00
recurse.md Fix XML/YAML schemas, add security validations, and standardize templates 2026-01-09 14:23:46 +04:00
risk-governance.md Fix XML/YAML schemas, add security validations, and standardize templates 2026-01-09 14:23:46 +04:00
selective-testing.md Fix XML/YAML schemas, add security validations, and standardize templates 2026-01-09 14:23:46 +04:00
selector-resilience.md Fix XML/YAML schemas, add security validations, and standardize templates 2026-01-09 14:23:46 +04:00
test-healing-patterns.md Fix XML/YAML schemas, add security validations, and standardize templates 2026-01-09 14:23:46 +04:00
test-levels-framework.md Fix XML/YAML schemas, add security validations, and standardize templates 2026-01-09 14:23:46 +04:00
test-priorities-matrix.md Fix XML/YAML schemas, add security validations, and standardize templates 2026-01-09 14:23:46 +04:00
test-quality.md Fix XML/YAML schemas, add security validations, and standardize templates 2026-01-09 14:23:46 +04:00
timing-debugging.md Fix XML/YAML schemas, add security validations, and standardize templates 2026-01-09 14:23:46 +04:00
visual-debugging.md Fix XML/YAML schemas, add security validations, and standardize templates 2026-01-09 14:23:46 +04:00