Problem
Pipeline fails silently. No error detection → reflection → retry loop. Competitors (Kiro, self-correcting agents) all have this. Our Link 11 (swe_fix) is a stub.
Solution
Agent MU — self-correcting pipeline agent:
- Detect: After Link 7 (code_generate), run `zig ast-check` on output
- Reflect: Parse error message, classify (type mapping, syntax, import, etc.)
- Retry: Apply fix rule from MU Learning DB, re-generate, re-check
- Max 3 retry iterations per spec
Architecture
```
Link 7 (gen) → zig ast-check → PASS → continue
→ FAIL → MU Detect
→ MU Reflect (classify error)
→ MU Retry (apply fix, re-gen)
→ Loop max 3x
```
Acceptance Criteria
Problem
Pipeline fails silently. No error detection → reflection → retry loop. Competitors (Kiro, self-correcting agents) all have this. Our Link 11 (swe_fix) is a stub.
Solution
Agent MU — self-correcting pipeline agent:
Architecture
```
Link 7 (gen) → zig ast-check → PASS → continue
→ FAIL → MU Detect
→ MU Reflect (classify error)
→ MU Retry (apply fix, re-gen)
→ Loop max 3x
```
Acceptance Criteria