Skip to content

docs: README's Diagnostics section now mentions the SessionEnd liveness check - #391

Merged
fdaviddpt merged 1 commit into
mainfrom
fix/390
Aug 28, 2026
Merged

fdaviddpt merged 1 commit into
mainfrom
fix/390

Conversation

@fdaviddpt

Copy link
Copy Markdown
Contributor

Closes #390.

/remember:doctor has reported two liveness checks since PR #387 merged (closing #370): the existing PostToolUse one, and a new SessionEnd one -- three states, not two (fired / never fired despite a prior session demonstrably ending / no session has had the chance to end yet). README.md's ## Diagnostics section still described only the PostToolUse check, because the #370 lane drafted the replacement text before #387 landed and while README.md was held by open PR #382; both have since merged.

Applied the drafted replacement text from #390 to README.md's Diagnostics paragraph, after checking it against scripts/doctor.sh as merged: SessionEnd's check does read logs/autonomous/session-end-*.log presence (a persistent log file, not a transcript count) with a 15-minute staleness threshold, so "has ever fired" is accurate, and the one-clause phrasing matches the paragraph's existing convention for PostToolUse (which also has more than two internal states in doctor.sh but is summarized the same way). Cross-checked against the four other places README.md already discusses SessionEnd (~lines 214, 241, 243, 267-273): no contradiction -- line 273's "only partially documented" is about undocumented firing conditions (crash, killed terminal, usage cap), a different claim from what the doctor check can detect after the fact.

Also added changelog.d/390.fixed.md, verified with python3 .oss/assemble_changelog.py --check.

Below-bar item noted during self-review, not filed: the new sentence uses a literal -- where README's dominant style elsewhere is an em dash (—, used ~209 times vs -- ~7 times pre-existing). This is a pre-existing minor inconsistency in the file rather than something this diff introduces, and it has no reachable caller beyond taste -- not filed.

Lane: README.md only, plus the changelog fragment. Did not touch scripts/doctor.sh, scripts/post-tool-hook.sh or pipeline/shell.py (held by open PR #389).

…ss check (#390)

PR #387 (closing #370) gave scripts/doctor.sh a second liveness check, for
SessionEnd, alongside the existing PostToolUse one. README.md's Diagnostics
section still described only the PostToolUse check, drafted before #387
landed and blocked at the time because #382 held README.md. Both PRs have
since merged; verified the wording against the merged doctor.sh (three
states, and "has ever fired" correctly describes the log-presence check
rather than a transcript count) before applying it unchanged.

Co-Authored-By: Max <noreply>
@fdaviddpt
fdaviddpt merged commit 5246056 into main Aug 28, 2026
13 checks passed
@fdaviddpt
fdaviddpt deleted the fix/390 branch August 28, 2026 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

README's Diagnostics section does not mention the SessionEnd liveness check doctor.sh gained in #370

1 participant