mirror of
https://github.com/instructkr/claw-code.git
synced 2026-04-16 21:14:50 +08:00
Adds typed worker.startup_no_evidence event with evidence bundle when worker startup times out. The classifier attempts to down-rank the vague bucket into specific failure classifications: - trust_required - prompt_misdelivery - prompt_acceptance_timeout - transport_dead - worker_crashed - unknown Evidence bundle includes: - Last known worker lifecycle state - Pane/command being executed - Prompt-send timestamp - Prompt-acceptance state - Trust-prompt detection result - Transport health summary - MCP health summary - Elapsed seconds since worker creation Includes 6 regression tests covering: - Evidence bundle serialization - Transport dead classification - Trust required classification - Prompt acceptance timeout - Worker crashed detection - Unknown fallback Closes Phase 1.6 from ROADMAP. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>