spawn, engine: end a seat whose first turn walls before the slot re-runs (spawn recovery, replay case e) #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "timeline-first-turn-wall"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A spawn whose startup gate exits 4 on a first turn answered with an API error
left that seat idle in its pane while the runner re-ran the slot on its
fallback (spawn-recovery replay pass 2, case e). The daemon names the seat
only on the --json envelope's error.agent_id, so the spawn now runs with
--json and reads the envelope: exit 4 with error.agent_id is a failed spawn
whose Agent is that seat; with error.daemon_recovers the daemon's recovery
owns it and the spawn is unverified. The engine ends a failed spawn's seat
(get, then kill or killme, as Watch does a mid-run wall) and records the
agent and how it ended on the error row before the retry fires the fallback.
spawn-walled.json is ccc-statusd's own spawn Result at main c237c755.