feat(agents): trigger multi-agent execution after task approval #246
MacroscopeApp / Macroscope - Correctness Check
succeeded
Jan 11, 2026 in 38s
No issues identified (2 code objects reviewed).
• Merge Base:
7b8257d
• Head:92cbe18
Details
| ✅ | File Path | Comments Posted |
|---|---|---|
| ✅ | codeframe/ui/routers/tasks.py |
0 |
Filtered Issues Details
codeframe/ui/routers/tasks.py
- line 98: If
lead_agent.start_multi_agent_execution()returnsNone, the subsequentsummary.get('completed', 0)calls will raiseAttributeError: 'NoneType' object has no attribute 'get'. While this is caught by the generic exception handler at line 119, it would incorrectly broadcast adevelopment_failedmessage with a confusing error like'NoneType' object has no attribute 'get'even though the execution may have completed successfully. The code should guard againstNonereturn values, e.g.,summary = summary or {}. [ Already posted ] - line 357: When
ANTHROPIC_API_KEYis not set, the function logs a warning but still returnsTaskApprovalResponsewithsuccess=Trueand messageSuccessfully approved {N} tasks. Development phase started.This is misleading because while the phase did transition to active and tasks were approved, no agents will actually be created or execute. Users may wait indefinitely for development progress that will never occur. [ Out of scope ]
Loading