Skip to content

v0.331.0

Choose a tag to compare

@ben-s-github-releaser ben-s-github-releaser released this 17 Nov 01:26
· 1065 commits to master since this release
  • fix: a park wake that resolves no session now says which fact holds — the session is dead, or the wake could not see it. Measured 2026-11-15 on Nine Sessions Sit Parked Past the Fifteen-Minute Bound and Nothing Exits Them: its sample-15-window-opens watch fired at 16:25, the wake resolved nothing, and the goal manager recorded session ebd76359 as dead — while session-liveness.py --check read LIVE — heartbeat age 27s and that same session had taken its own reading seven minutes earlier. The cause was not a bad verdict but the absence of one: scripts/park-event.py due carried no liveness dimension at all, so an absent store (all_watches returns [], [] when the directory is missing), a due watch with no members (resume: none recorded), and a due watch whose member was dead all printed the same line and exited 0 — and no park watches due was byte-identical for an unreadable store and an honest empty one. due now prints store=readable on a real negative, store=absent when the store directory does not exist, exits 4 with UNREADABLE store=<path> reason=… when the store is present but unlistable, tags every member live=yes|no|unknown from session-liveness.py --check (live=none for a watch carrying no member), and carries the same verdicts in --json. live=no is licensed only by a probe that positively reports the id absent; exit 2 (UNKNOWN) and 3 (AMBIGUOUS) are live=unknown, never no — folding a failed read into no is the defect the field exists to remove. The vocabulary is manager-wake.py's live= on purpose: one word for the same question everywhere. commands/steps/keepalive.md item 2 renders parked-due: unknown — store unreadable on exit 4 rather than 0, and takes no act on live=unknown; agents/fleet-keepalive-actor.md § 2 — the file whose agent actually runs due — carries the same rule, since the actor otherwise reduces the output to a line count and an unreadable store still renders as parked-due=0. --json emits {store, reason, due} rather than a bare list, so an unreadable store cannot render as []. Pinned by 10 tests in scripts/tests/test_park_event.py (absent store vs empty store, absent/live/unknown member, a memberless watch, the JSON store token on every branch), each of which fails on the previous code. Change set: scripts/park-event.py, scripts/tests/test_park_event.py, agents/fleet-keepalive-actor.md, commands/steps/keepalive.md, docs/fleet-surface.md, CHANGELOG.md.