The Problem
AI code assistants generate code that compiles but silently violates your team's standards. Missing auth checks, unaudited state mutations, N+1 queries, tests that assert nothing, style drift from one end of the codebase to the other. In serious software — where code touches real money, real users, or regulated data — "it works" is not enough.
Most teams respond by writing a big CLAUDE.md or .cursor/rules. But instructions are advisory. AI assistants follow them about 80% of the time. The other 20% is where production incidents live — and it's exactly where the model cuts a corner under pressure: disables a test, swallows an error, skips the security check, claims "done" without proof.
MTK makes the rules non-negotiable and the evidence mandatory — and it does it without drowning your context window.
What You Get
MTK closes the 80% gap with four things working together:
- Workflow enforcement — a real spec → plan → TDD → review → evidence-gate pipeline, not a single hopeful prompt.
- Adversarial review agents — seven specialist agents (six reviewers plus a finding verifier) that hunt for real problems in isolated context, rewarded for finding issues, not for approving.
- Deterministic linters — 37 pattern rules that catch secrets, SQL injection, and LLM reward-hacking at confidence 100, before the AI review even starts.
- Evidence gates — no "done" claim survives without cited build output, test counts, and exit codes produced after the last edit.
| Without MTK | With MTK |
|---|
| AI generates code, you review it manually | AI plans, implements in batches, tests, reviews itself adversarially, then reports with evidence |
CLAUDE.md rules followed ~80% of the time | Critical rules enforced by hooks — 100% deterministic, every time |
| "Tests pass" with no proof | Build output, exit codes, and pass/fail counts cited in every completion — and re-armed the instant a new edit lands |
| Security checks happen if you remember to ask | security-and-hardening activates automatically on auth / secrets / audited-state changes |
| Review is one prompt: "review this code" | Two-stage pipeline: spec-compliance gate first, then test + architecture specialists in parallel |
| Findings are vague: "consider adding tests" | Structured JSON — severity, confidence score, rule citation, file:line — filtered below confidence 80 so there's no noise |
| Generated rules are trusted blindly | Every generated claim is grep-verified against your code; the ones it can't prove are downgraded in place |
| The toolkit inflates your context window | Only ~3,805 tokens load per session; ~129K tokens stay out of always-on context until relevant |
MTK is not a replacement for human review. It's a rigorous first pass that catches the mechanical stuff — so your senior engineers spend their attention on design, product, and the judgment calls an AI can't make.
Quick Start