Repository navigation
Conversation
Two paragraphs described pre-#379 behaviour of the handoff delivery counter and the consolidation trigger without mentioning that an auto-compaction refire (source=compact) no longer inflates the counter or re-spawns run-consolidation.sh. startup/resume/clear/fork are unaffected either way. (#384) 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.
Summary
PR #379 gated two behaviours in
scripts/session-start-hook.shonsource != compact: the handoff delivery counter (already delivered N times) no longer increments on an auto-compaction refire, and the consolidation trigger no longer re-spawnsrun-consolidation.shon acompactfire with pending past-day staging.README.mddescribed both behaviours without mentioning either gate -- the #341/#377 lanes could not close this becauseREADME.mdwas held by a concurrent lane at the time.## How it works) stating that the samesource=compactcheck also suppresses the delivery-counter increment and the consolidation re-spawn, withstartup/resume/clear/forkunaffected.## Handoff between sessions) with a concrete example: a handoff delivered once and refired by four compactions still reads "delivered 1 time", not 5.changelog.d/384.fixed.md.Both additions were verified against the actual guards in
scripts/session-start-hook.sh(theSESSION_START_SOURCEcase statement and the two!= "compact"checks), not just against the issue text, per the issue's own instruction to check what the code does rather than trust the issue's summary of somebody else's PR.Below-bar finding
None. Both spawned reviewers (Explore + oss:auditor) returned zero findings against this diff -- the addition matches the code exactly and no adjacent stale prose was found.
Test plan
python3 -m pytest tests/test_version_manifest.py tests/test_delivery_record_per_machine_285.py tests/test_handoff_delivery_count_source_341.py tests/test_consolidation_trigger_source_342.py -q-- 14 passedpython3 .oss/assemble_changelog.py --check-- ok, 13 fragments including384.fixed.mdscripts/session-start-hook.sh'ssource=compactguards (lines ~184, ~997, ~1205)tests/test_content_invariants.py, named in the issue's own "what would settle it", does not exist in this repo -- there is no machine-checkable invariant pinning this README content today; see PR description / report for detail.Closes #384