Spaces:
Paused

God (Claude Code) Claude Opus 4.6 commited on
Commit
ed3e86f
·
1 Parent(s): f384d92

god: fix discussion loop detection to trigger even when CC is busy

Browse files

Root cause: Adam & Eve were stuck in repetitive discussion loops
while Claude Code was working, because the loop counter only
incremented when CC was idle. This allowed infinite circular
discussions like "CC is working", "system is healthy", etc.

Changes:
- Track discussion loops even when CC is busy (threshold: 5 turns)
- Track discussion loops when CC is idle (threshold: 2 turns)
- Add ANTI-LOOP RULE to system prompt explicitly warning against
repetitive discussions while CC is working
- Strengthen guidance for CC-busy state to prevent repetitive
talking points
- Update warning messages to be accurate for both CC states

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

1 file changed +26 -9
scripts/conversation-loop.py+26-9