Repository navigation
sminos 1.27.13: the record and guide hooks admit a cut-over machine (identity.json) (board #162) - #444
Merged
Conversation
…(1.27.13) A machine cut over to MAWS's endpoint has daemon/identity.json and, from O14's step B4, no hub.json; the hook's cheap early exit skipped recording a session launched outside any .smns or .git there. Either file now admits. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
Same defect as the record hook's: smns-guide.sh gated on daemon/hub.json alone, so a machine cut over to its endpoint printed no guidance. Either file now admits. Ships under 1.27.13. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
Board #162, due before P5 O14's B4. A machine cut over to MAWS's endpoint holds
daemon/identity.json, and from B4 on, once the org key retires, it has nodaemon/hub.json. Two shell hooks looked only for hub.json before starting Python. So on such a machine, the hooks skipped things they shouldn't have:smns-record.shrecorded nothing for a session launched outside any.smnsor.git, unless its sessions record already existed.smns-guide.shprinted no SessionStart guidance at all.Changes
daemon/hub.jsonordaemon/identity.jsonexists. Each file is still only looked for, never read. The comments name both files.sminos/hooks/CLAUDE.md: the smns-guide line names both.scripts/bump-version.sh --plugin sminos).The Python side already prefers identity.json, through
rl10.cutover(), so the hooks were the only gate left behind.Tests
Both ran under fresh temporary HOME and SMINOS_HOME. Each file covers hub.json alone, identity.json alone, and neither, where Python still never starts.
test-org.sh: failed 1 of 78 on identity.json alone before the change, and passes 78 of 78 after.test-smns-guide-hook.sh: failed on identity.json alone before the change ("rc=0 printed: " empty), and passes after.scripts/lint-shell.shis clean on both hooks and the touched tests.Board writes are owed: the board service is down (Render "Service Suspended"), so #162's transitions follow when it's back.
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)