Repository navigation
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #390.
/remember:doctorhas reported two liveness checks since PR #387 merged (closing #370): the existingPostToolUseone, and a newSessionEndone -- 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## Diagnosticssection still described only thePostToolUsecheck, because the #370 lane drafted the replacement text before #387 landed and whileREADME.mdwas 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 againstscripts/doctor.shas merged:SessionEnd's check does readlogs/autonomous/session-end-*.logpresence (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 forPostToolUse(which also has more than two internal states indoctor.shbut is summarized the same way). Cross-checked against the four other places README.md already discussesSessionEnd(~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 withpython3 .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.shorpipeline/shell.py(held by open PR #389).