The code-review skills (bmad-code-review, gds-code-review) now independently
query Memtrace during reviews. Step 1 runs get_impact on modified symbols and
find_dead_code on modified files via memtrace-adapter.mjs with
--check-freshness --summarize. Step 2 Acceptance Auditor cross-references
structural data against the diff, raising decision_needed findings for
unhandled downstream dependencies and patch findings for dead code and high
blast radius.
FR12: Code Review Agent queries get_impact on PRs for downstream dependency audit
FR13: Code Review Agent executes find_dead_code to block orphaned code
9 files modified across source templates and installed copies.
- Create qa-memtrace.mjs - standalone Node.js script computing set
intersection of blast radius nodes vs test coverage, with 10s timeout
and MEMTRACE_MCP_ERROR_TIMEOUT token emission
- Create qa-memtrace.test.mjs with 10 automated test cases
- Integrate mathematical gate into bmad-dev-story step 5, bmad-quick-dev
step-03-implement and step-oneshot
- Expand bmad-code-review and gds-code-review Acceptance Auditors with
mathematical gate ground-truth checks
- Fix .gitignore to track .agents/skills/ and _bmad/scripts/memtrace/