You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
#486's own fix is an unchecked write: if the seed fails, doctor.sh reports the hook as never having fired #503
stderr discarded, exit code unread, no ||. The mkdir -p ... 2>/dev/null before it is unchecked the same way.
If that one-line write fails -- read-only store, full disk, or the mkdir having already failed -- the file is absent or empty, scripts/save-session.sh:1053's -empty -delete sweep reclaims it, and #483 is silently back in place.
Why it is misreports rather than a lost log
What the operator sees is not neutral. scripts/doctor.sh:455 treats the presence of session-end-*.log as proof the hook ran, and :532 prints:
FAIL SessionEnd has never fired for this project
So a failed one-line write is rendered to the operator as a dead hook. They go looking for a hook registration problem that does not exist.
The general form, swept
This is the shape worth checking across a delta: stderr discarded and exit code unread, so a failure and a no-op are indistinguishable. The auditor grepped the whole v0.24.0..HEAD delta for it -- 4 added lines carry 2>/dev/null, and only 2 lack a same-line ||. The other of those two, save-session.sh:428, is the correct shape: its exit code is read by the if, and the else arm logs a WARNING naming the command and the session. Line 290 is the only genuine instance in the delta.
What would settle it
Whether $REMEMBER_DIR/logs/autonomous is writable at that moment -- which nothing on this path asks or records. A failed seed should say so, in the same voice save-session.sh:428 already uses for its own fall-through.
Note this interacts with #487 and PR #499: the seed exists specifically to survive the sweep, so a fix here should be read together with whatever retention lands there.
Ranked
misreports. Non-blocking, carried forward from the v0.25.0 release audit.
Platform
Not platform-specific -- an unchecked redirect. Read in the tree at 53bd09b on macOS/arm64 (Darwin 24.3.0).
Activity
fix: PR #499 Windows CI red -- portable retention sweep, unchecked wr…
fix: relocate #503 test off the blanket win32 skip; scrub stale find/…
fix: normalize backslash-separated REMEMBER_DIR before the retention …
fix: Windows CI red on PR #499 -- portable retention sweep, NDC/reten…