---
name: "Replace LLM-driven QA stage with deterministic Rust pipeline"
---

# Story 221: Replace LLM-driven QA stage with deterministic Rust pipeline

## User Story

As a Story Kit user, I want the QA stage to run deterministic quality checks in Rust (script/test, coverage comparison) instead of spawning an LLM agent, so that QA is fast, free, and reliable.

## Acceptance Criteria

- [ ] QA stage runs script/test and checks exit code in Rust, not via an LLM agent
- [ ] QA stage does not spawn a Claude process or consume API budget
- [ ] QA pass/fail result is reported to the frontend the same way acceptance gates are
- [ ] QA agent config in scaffolded project.toml is removed (only coder and mergemaster remain)
- [ ] request_qa MCP tool triggers the Rust pipeline, not an agent spawn

## Out of Scope

- TBD
