feat(conductor): Add retry loop for Tech Lead JSON parsing
This commit is contained in:
@@ -3,13 +3,13 @@
|
||||
> **TEST DEBT FIX:** Due to ongoing test architecture instability (documented in `test_architecture_integrity_audit_20260304`), do NOT write new `live_gui` integration tests for this track. Rely strictly on in-process `unittest.mock` for the `ai_client` to verify the retry logic.
|
||||
|
||||
## Phase 1: Implementation of Retry Logic
|
||||
- [ ] Task: Initialize MMA Environment `activate_skill mma-orchestrator`
|
||||
- [ ] Task: Implement Retry Loop in `generate_tickets`
|
||||
- [x] Task: Initialize MMA Environment `activate_skill mma-orchestrator`
|
||||
- [x] Task: Implement Retry Loop in `generate_tickets`
|
||||
- [ ] WHERE: `conductor_tech_lead.py:generate_tickets`
|
||||
- [ ] WHAT: Wrap the `send` and `json.loads` calls in a `for _ in range(max_retries)` loop.
|
||||
- [ ] HOW: If `JSONDecodeError` is caught, append an error message to the context and loop. If it succeeds, `break` and return.
|
||||
- [ ] SAFETY: Ensure token limits aren't massively breached by appending huge error states. Truncate raw output if necessary.
|
||||
- [ ] Task: Conductor - User Manual Verification 'Phase 1: Implementation' (Protocol in workflow.md)
|
||||
- [x] Task: Conductor - User Manual Verification 'Phase 1: Implementation' (Protocol in workflow.md)
|
||||
|
||||
## Phase 2: Unit Testing
|
||||
- [ ] Task: Write Simulation Tests for JSON Parsing
|
||||
|
||||
Reference in New Issue
Block a user