BMAD-METHOD/tools
Michael Pursifull 8a91b32315
feat: add cross-file reference validator for CI
Add tools/validate-file-refs.js that validates cross-file references
in BMAD source files (agents, workflows, tasks, steps). Catches broken
file paths, missing referenced files, wrong extensions, and absolute
path leaks before they reach users.

Addresses broken-file-ref and path-handling bug classes which account
for 25% of all historical bugs (59 closed issues, 129+ comments).

- Scans src/ for YAML, markdown, and XML files
- Validates {project-root}/_bmad/ references against source tree
- Checks relative path references, exec attributes, invoke-task tags
- Detects absolute path leaks (/Users/, /home/, C:\)
- Adds validate:refs npm script and CI step in quality.yaml
2026-01-31 15:02:42 -06:00
..
cli fix: resolve npm install peer dependency issues 2026-01-30 15:37:42 +00:00
docs docs: radical reduction of documentation scope for v6 beta (#1406) 2026-01-25 14:00:26 -06:00
flattener feat: add documentation website with Docusaurus build pipeline (#1177) 2025-12-23 23:01:36 +08:00
lib feat: add documentation website with Docusaurus build pipeline (#1177) 2025-12-23 23:01:36 +08:00
maintainer feat: add Raven's Verdict PR review tool (#1054) 2025-12-07 14:13:33 -06:00
schema Project Cleanup of Agents Menus, BMB module removal to other repo 2026-01-19 02:04:14 -06:00
bmad-npx-wrapper.js fix: preserve user's cwd when running via npx 2025-10-29 09:31:38 -05:00
build-docs.js docs: named TEA links consistently (#1337) 2026-01-15 18:01:37 -06:00
fix-doc-links.js Add link auditor, reorganize documentation, and README update (#1277) 2026-01-10 02:55:33 +08:00
format-workflow-md.js check alignment 2025-10-22 12:36:39 -05:00
migrate-custom-module-paths.js _cfg -> _config 2025-12-13 19:41:09 +08:00
platform-codes.yaml docs: radical reduction of documentation scope for v6 beta (#1406) 2026-01-25 14:00:26 -06:00
validate-agent-schema.js we only need one yaml lib 2025-12-13 18:35:07 +08:00
validate-doc-links.js docs: radical reduction of documentation scope for v6 beta (#1406) 2026-01-25 14:00:26 -06:00
validate-file-refs.js feat: add cross-file reference validator for CI 2026-01-31 15:02:42 -06:00
validate-svg-changes.sh Project Cleanup of Agents Menus, BMB module removal to other repo 2026-01-19 02:04:14 -06:00