mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-04 14:39:42 +02:00
- Add 300-char rolling window to catch working patterns split across PTY chunks - Check completion message BEFORE working patterns (priority fix) - Clear rolling window on completion message (transition point) - Increase working pattern absence threshold from 3s to 8s - Add Session.isWorking safety check before confirming idle - Add 20+ more working patterns (Compiling, Building, Processing, etc.) - Make AI idle checker prompt more conservative (err toward WORKING) - Update documentation Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
82 lines
8.3 KiB
Markdown
82 lines
8.3 KiB
Markdown
# Respawn Controller Issues - w3-reddit-analyse
|
|
|
|
Monitoring started: Sun Jan 25 10:21:10 PM CET 2026
|
|
Session ID: 5ecdf859-3605-42d8-b0a2-f8f0a1b5ff98
|
|
|
|
## Issues Detected
|
|
|
|
|
|
### Issue #1 [WARNING] - 2026-01-25 22:38:27
|
|
**State stuck: waiting_update for 10+ minutes**
|
|
|
|
The respawn controller has been in 'waiting_update' state for over 10 minutes.
|
|
Time since activity: 13ms
|
|
Detection status: {"stopHookReceived":false,"stopHookTime":null,"idlePromptReceived":false,"idlePromptTime":null,"completionMessageDetected":false,"completionMessageTime":null,"outputSilent":false,"msSinceLastOutput":13,"tokensStable":false,"lastTokenCount":5500,"msSinceTokenChange":4246,"workingPatternsAbsent":true,"msSinceLastWorking":7578,"aiCheck":{"status":"ready","lastVerdict":"IDLE","lastReasoning":"The terminal output is completely empty/blank, which indicates the session has no active output being generated. An empty terminal with no spinner characters, no \"Thinking\"/\"Writing\" indicators, and no partial output suggests the session is idle and waiting for input.","lastCheckDurationMs":23354,"cooldownEndsAt":null,"consecutiveErrors":0,"totalChecks":1,"disabledReason":null},"confidenceLevel":15,"statusText":"Respawn step: waiting_update","waitingFor":"Step completion","activeTimers":[{"name":"step-confirm","remainingMs":2422,"totalMs":10000},{"name":"no-output-fallback","remainingMs":29987,"totalMs":30000},{"name":"pre-filter","remainingMs":9987,"totalMs":10000},{"name":"auto-accept","remainingMs":7987,"totalMs":8000}],"recentActions":[{"type":"timer","detail":"Started auto-accept: 8s (plan mode detection)","timestamp":1769377107305},{"type":"timer-cancel","detail":"auto-accept: restarting","timestamp":1769377107305},{"type":"timer","detail":"Started pre-filter: 10s (checking idle conditions)","timestamp":1769377107305},{"type":"timer-cancel","detail":"pre-filter: restarting","timestamp":1769377107305},{"type":"timer","detail":"Started no-output-fallback: 30s (fallback if no output at all)","timestamp":1769377107305},{"type":"timer-cancel","detail":"no-output-fallback: restarting","timestamp":1769377107305},{"type":"timer","detail":"Started auto-accept: 8s (plan mode detection)","timestamp":1769377107234},{"type":"timer-cancel","detail":"auto-accept: restarting","timestamp":1769377107234},{"type":"timer","detail":"Started pre-filter: 10s (checking idle conditions)","timestamp":1769377107234},{"type":"timer-cancel","detail":"pre-filter: restarting","timestamp":1769377107234}],"currentPhase":"Waiting for update to complete","nextAction":"Will send /clear when done"}
|
|
|
|
|
|
### Issue #2 [WARNING] - 2026-01-25 22:47:03
|
|
**Tokens not increasing while busy**
|
|
|
|
Session status is 'busy' but token count hasn't changed in 5+ minutes.
|
|
Current: 101458, Previous: 101458
|
|
This could indicate a hung Claude process.
|
|
|
|
|
|
### Issue #3 [WARNING] - 2026-01-25 22:52:09
|
|
**Tokens not increasing while busy**
|
|
|
|
Session status is 'busy' but token count hasn't changed in 5+ minutes.
|
|
Current: 101458, Previous: 101458
|
|
This could indicate a hung Claude process.
|
|
|
|
|
|
### Issue #4 [WARNING] - 2026-01-25 22:55:13
|
|
**State stuck: watching for 10+ minutes**
|
|
|
|
The respawn controller has been in 'watching' state for over 10 minutes.
|
|
Time since activity: 80ms
|
|
Detection status: {"stopHookReceived":false,"stopHookTime":null,"idlePromptReceived":false,"idlePromptTime":null,"completionMessageDetected":false,"completionMessageTime":null,"outputSilent":false,"msSinceLastOutput":80,"tokensStable":true,"lastTokenCount":53764,"msSinceTokenChange":24105,"workingPatternsAbsent":true,"msSinceLastWorking":24108,"aiCheck":{"status":"ready","lastVerdict":null,"lastReasoning":null,"lastCheckDurationMs":null,"cooldownEndsAt":null,"consecutiveErrors":0,"totalChecks":0,"disabledReason":null},"confidenceLevel":35,"statusText":"Watching for idle signals","waitingFor":"Silence + no working patterns + tokens stable","activeTimers":[{"name":"no-output-fallback","remainingMs":29920,"totalMs":30000},{"name":"pre-filter","remainingMs":9920,"totalMs":10000},{"name":"auto-accept","remainingMs":7920,"totalMs":8000}],"recentActions":[{"type":"timer","detail":"Started auto-accept: 8s (plan mode detection)","timestamp":1769378113225},{"type":"timer-cancel","detail":"auto-accept: restarting","timestamp":1769378113225},{"type":"timer","detail":"Started pre-filter: 10s (checking idle conditions)","timestamp":1769378113225},{"type":"timer-cancel","detail":"pre-filter: restarting","timestamp":1769378113225},{"type":"timer","detail":"Started no-output-fallback: 30s (fallback if no output at all)","timestamp":1769378113225},{"type":"timer-cancel","detail":"no-output-fallback: restarting","timestamp":1769378113225},{"type":"timer","detail":"Started auto-accept: 8s (plan mode detection)","timestamp":1769378113142},{"type":"timer-cancel","detail":"auto-accept: restarting","timestamp":1769378113142},{"type":"timer","detail":"Started pre-filter: 10s (checking idle conditions)","timestamp":1769378113142},{"type":"timer-cancel","detail":"pre-filter: restarting","timestamp":1769378113142}],"currentPhase":"Monitoring for idle","nextAction":"Waiting for silence + no working patterns"}
|
|
|
|
|
|
### Issue #5 [WARNING] - 2026-01-25 22:57:15
|
|
**Tokens not increasing while busy**
|
|
|
|
Session status is 'busy' but token count hasn't changed in 5+ minutes.
|
|
Current: 101458, Previous: 101458
|
|
This could indicate a hung Claude process.
|
|
|
|
|
|
### Issue #6 [WARNING] - 2026-01-25 23:36:35
|
|
**Tokens not increasing while busy**
|
|
|
|
Session status is 'busy' but token count hasn't changed in 5+ minutes.
|
|
Current: 101458, Previous: 101458
|
|
This could indicate a hung Claude process.
|
|
|
|
|
|
### Issue #7 [INFO] - 2026-01-26 00:01:02
|
|
**Respawn controller not enabled**
|
|
|
|
Respawn is currently disabled for this session. State: false
|
|
|
|
|
|
### Issue #8 [INFO] - 2026-01-26 00:05:33
|
|
**Respawn controller not enabled**
|
|
|
|
Respawn is currently disabled for this session. State: false
|
|
|
|
|
|
### Issue #9 [WARNING] - 2026-01-26 00:31:05
|
|
**State stuck: waiting_update for 10+ minutes**
|
|
|
|
The respawn controller has been in 'waiting_update' state for over 10 minutes.
|
|
Time since activity: 98ms
|
|
Detection status: {"stopHookReceived":false,"stopHookTime":null,"idlePromptReceived":false,"idlePromptTime":null,"completionMessageDetected":false,"completionMessageTime":null,"outputSilent":false,"msSinceLastOutput":98,"tokensStable":true,"lastTokenCount":6400,"msSinceTokenChange":332384,"workingPatternsAbsent":true,"msSinceLastWorking":340635,"aiCheck":{"status":"ready","lastVerdict":"IDLE","lastReasoning":"The terminal output is empty, which indicates the session is at rest with no active processing occurring. There are no spinner characters, \"Thinking\"/\"Writing\" indicators, or any signs of active work. An empty terminal buffer typically means the session is waiting for input.","lastCheckDurationMs":24908,"cooldownEndsAt":null,"consecutiveErrors":0,"totalChecks":1,"disabledReason":null},"confidenceLevel":35,"statusText":"Respawn step: waiting_update","waitingFor":"Step completion","activeTimers":[{"name":"step-confirm","remainingMs":9372,"totalMs":10000},{"name":"no-output-fallback","remainingMs":29902,"totalMs":30000},{"name":"pre-filter","remainingMs":9902,"totalMs":10000},{"name":"auto-accept","remainingMs":7902,"totalMs":8000}],"recentActions":[{"type":"timer","detail":"Started auto-accept: 8s (plan mode detection)","timestamp":1769383865244},{"type":"timer-cancel","detail":"auto-accept: restarting","timestamp":1769383865244},{"type":"timer","detail":"Started pre-filter: 10s (checking idle conditions)","timestamp":1769383865244},{"type":"timer-cancel","detail":"pre-filter: restarting","timestamp":1769383865244},{"type":"timer","detail":"Started no-output-fallback: 30s (fallback if no output at all)","timestamp":1769383865244},{"type":"timer-cancel","detail":"no-output-fallback: restarting","timestamp":1769383865244},{"type":"timer","detail":"Started auto-accept: 8s (plan mode detection)","timestamp":1769383865102},{"type":"timer-cancel","detail":"auto-accept: restarting","timestamp":1769383865102},{"type":"timer","detail":"Started pre-filter: 10s (checking idle conditions)","timestamp":1769383865102},{"type":"timer-cancel","detail":"pre-filter: restarting","timestamp":1769383865102}],"currentPhase":"Waiting for update to complete","nextAction":"Will send /clear when done"}
|
|
|
|
|
|
### Issue #10 [INFO] - 2026-01-26 00:41:17
|
|
**Respawn controller not enabled**
|
|
|
|
Respawn is currently disabled for this session. State: false
|
|
|