Commit Graph

2 Commits

Author SHA1 Message Date
Magal afde2efcf6 feat(story-6.2): implement code reviewer deep audit with independent get_impact and find_dead_code queries
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.
2026-05-21 11:33:31 -03:00
Magal 79b3f7d9dc feat(quality-gate): implement mathematical blocking quality gate (Phase 2)
- 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/
2026-05-19 14:00:56 -03:00