Files
huskies/server/src
dave 3a8894ea8f obs: log warm/cold spawn mode at agent respawn decision point
Without this, the only way to tell whether a watchdog-respawn went warm
(--resume <session_id>) vs cold (fresh CLI invocation) was to read the
args list of the existing "Spawning claude with args:" log and check
whether --resume was present. That made it impossible to count
cold-paths or distinguish "supposed-to-be-warm but resume_failed
fallback" from "first session" without source-diving.

This adds one slog! per spawn, prefixed `[agent:{sid}:{name}] spawn
mode=warm|cold session_id=...`, so grep "spawn mode=" answers it.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-13 05:44:46 +00:00
..
2026-05-12 17:55:12 +00:00
2026-05-13 05:07:28 +00:00
2026-05-13 04:34:06 +00:00
2026-05-13 04:48:56 +00:00
2026-05-13 04:34:06 +00:00
2026-05-12 23:16:25 +00:00
2026-05-13 05:20:52 +00:00
2026-05-13 05:43:22 +00:00
2026-05-12 17:55:12 +00:00
2026-05-13 04:34:06 +00:00
2026-05-13 05:07:28 +00:00
2026-05-12 21:33:41 +00:00
2026-04-28 01:11:07 +00:00
2026-04-29 10:47:18 +00:00
2026-05-13 04:48:56 +00:00
2026-04-28 09:33:23 +00:00
2026-05-12 18:33:13 +00:00
2026-04-29 10:47:18 +00:00
2026-05-12 23:16:25 +00:00
2026-04-29 10:47:18 +00:00
2026-04-29 10:47:18 +00:00
2026-04-29 10:47:18 +00:00