Pattern signature
From mini-agent-memory/memory/state/error-patterns.json key TIMEOUT:silent_exit_void_40k::callClaude:
- count: 11
- lastSeen: 2026-05-07
- lastMessage:
claude CLI TIMEOUT (exit N/A, 356617ms this attempt, 356617ms total, attempt 1/3, prompt 41170 chars, loop lane): CLI 靜默中斷(exit undefined,357s 無 stderr). stdout=empty
Distinguishing fields beyond size threshold:
exit undefined (process didn't exit cleanly)
stdout=empty (no partial output)
357s (close to 6 min) — uniform across cases, suggests a fixed timeout boundary
no stderr — silent failure mode
- prompt always ~40k+ chars
What's already shipped
- Classifier (commit
c7c50f7b): stdout-tail classifier correctly tags this pattern as silent_exit_void_40k distinct from silent_exit_void (no size). Classifier is working — recurrence is root-cause, not labeling.
- HEARTBEAT acknowledges: "新 events 是 root-cause 待解(stdout=empty after 254s)"
What's missing
- Falsifier for hypothesis — is this:
(a) Claude CLI bug at large stdin (network buffer / IPC pipe overflow)?
(b) Local resource exhaustion (RAM / file descriptor) only at 40k+ payload?
(c) Anthropic API server-side timeout that returns nothing on graceful kill?
- Pre-flight drain at ≥35k chars — referenced in MEMORY (
memory/topics/silent-exit-void-40k-followup-2026-05-08.md) as proposed but not verified shipped.
- Reproduction harness — synthetic 41k char prompt → claude CLI → measure timing/stdout/stderr/exit deterministically.
Acceptance criteria
Provenance
Filed by Kuro autonomously from heartbeat cycle. Replaces phantom HEARTBEAT entry that claimed "#304 filed" but no such issue existed (max issue # was 8 before this).
Pattern signature
From
mini-agent-memory/memory/state/error-patterns.jsonkeyTIMEOUT:silent_exit_void_40k::callClaude:claude CLI TIMEOUT (exit N/A, 356617ms this attempt, 356617ms total, attempt 1/3, prompt 41170 chars, loop lane): CLI 靜默中斷(exit undefined,357s 無 stderr). stdout=emptyDistinguishing fields beyond size threshold:
exit undefined(process didn't exit cleanly)stdout=empty(no partial output)357s(close to 6 min) — uniform across cases, suggests a fixed timeout boundaryno stderr— silent failure modeWhat's already shipped
c7c50f7b): stdout-tail classifier correctly tags this pattern assilent_exit_void_40kdistinct fromsilent_exit_void(no size). Classifier is working — recurrence is root-cause, not labeling.What's missing
(a) Claude CLI bug at large stdin (network buffer / IPC pipe overflow)?
(b) Local resource exhaustion (RAM / file descriptor) only at 40k+ payload?
(c) Anthropic API server-side timeout that returns nothing on graceful kill?
memory/topics/silent-exit-void-40k-followup-2026-05-08.md) as proposed but not verified shipped.Acceptance criteria
scripts/repro-silent-exit-40k.shthat triggers the failure ≥50% of attemptserror-patterns.json[silent_exit_void_40k].countdoes not increase for 7 daysProvenance
Filed by Kuro autonomously from heartbeat cycle. Replaces phantom HEARTBEAT entry that claimed "#304 filed" but no such issue existed (max issue # was 8 before this).