770 B
770 B
Error Handling Patterns
Agent-Level Error Handling
Agents follow the retry circuit breaker pattern defined in agents/lead.md:
- After 3 coder rejections on the same task: revisit design, simplify, or consult SME
- After 5 total failures: escalate to user (Tier-3 escalation)
Memory Write Errors
Agents with memory-only edit access should:
- Write to
.memory/*files for their recording duties - If write fails, report to lead for escalation
- Never attempt to modify non-memory files as a workaround
Quality Gate Failures
- Reviewer
CHANGES-REQUESTEDis a hard block — do not advance to tester - Reviewer
REJECTEDrequires redesign — do not retry same approach - Tester
PARTIALis not a pass — either fix blocker or escalate to user