Repository navigation
v0.331.0
·
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: itssample-15-window-openswatch fired at 16:25, the wake resolved nothing, and the goal manager recorded sessionebd76359as dead — whilesession-liveness.py --checkreadLIVE — heartbeat age 27sand 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 duecarried no liveness dimension at all, so an absent store (all_watchesreturns[], []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 — andno park watches duewas byte-identical for an unreadable store and an honest empty one.duenow printsstore=readableon a real negative,store=absentwhen the store directory does not exist, exits 4 withUNREADABLE store=<path> reason=…when the store is present but unlistable, tags every memberlive=yes|no|unknownfromsession-liveness.py --check(live=nonefor a watch carrying no member), and carries the same verdicts in--json.live=nois licensed only by a probe that positively reports the id absent; exit 2 (UNKNOWN) and 3 (AMBIGUOUS) arelive=unknown, neverno— folding a failed read intonois the defect the field exists to remove. The vocabulary ismanager-wake.py'slive=on purpose: one word for the same question everywhere.commands/steps/keepalive.mditem 2 rendersparked-due: unknown — store unreadableon exit 4 rather than0, and takes no act onlive=unknown;agents/fleet-keepalive-actor.md§ 2 — the file whose agent actually runsdue— carries the same rule, since the actor otherwise reduces the output to a line count and an unreadable store still renders asparked-due=0.--jsonemits{store, reason, due}rather than a bare list, so an unreadable store cannot render as[]. Pinned by 10 tests inscripts/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.