Repository navigation
v0.293.0
-
feat: restart a stuck headless worker from the fleet round.
scripts/stuck-idle.pyreads the three conjuncts — transcript unchanged for two rounds, no tool call in flight, no declared wait — andscripts/stuck-heal.pygains--kind idle-no-waiton its existing ladder, so the remedy stays one fresh process on the SAME session id and never becomes a second resume mechanism.agents/fleet-drive.mdstep 5c assigns the newstuckverdict to a headlessreviverow and renders aRESUMESline carryingstuck-heal.py's action;commands/steps/drive.mdexecutes it throughspawn_agent(resume=…).⚠️ The gap this closes:reap-idle-headless.pycloses an idle headless worker's process at 15 minutes, and nothing resumed it —close-idle-tab.pyrefuses a headless rownot-tab, so step 5b could only mark itunverifiable, and the task kept open boxes with no live owner. The two-round count is carried in from the drive ledger'stranscript_mtime, never re-derived in prose.⚠️ An unreadable task file readsunknown, neverno wait, and a pending tool call is cleared only by its owntool_use_id. -
feat: recover a dead spawner's parked prompt (E13).
adopt-orphans.pyalready gives an exited manager's live workers an owner, but a claim routes only their NEXT gate — the prompt a worker is parked on right now was held by the spawner's own server process, so it has no responder at all and the worker waits out the 15-minute auto-deny before continuing on a denial nobody was asked about. The script now reads each adopted worker's registrystatusand printsparked: <sid8> -- its prompt died with the spawner; resume it;commands/steps/adopt.mdacts on that line withspawn_agent(resume=…), the same resume path the stuck ladder uses.⚠️ Headless only (entrypoint: sdk-cli) — a TAB worker parked on its own tab is waiting on a person looking at that tab, so its transport outlived the spawner and a resume would put a second process on a live conversation.⚠️ The records are read throughread_registry_entries, notread_registry's normalised{pid, status, name, alive}view, which dropsentrypointand would make the population read empty while looking correct.waitingis the registry's own word for parked (manager-attention-watch.py'sregistry:waiting);busyis mid-turn andidleis between turns, so neither is reported.