Skip to content

sminos 1.27.13: the record and guide hooks admit a cut-over machine (identity.json) (board #162) - #444

Merged
SSFSKIM merged 2 commits into
mainfrom
sminos-record-identity
Oct 29, 2026
Merged

SSFSKIM merged 2 commits into
mainfrom
sminos-record-identity

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Oct 29, 2026

Copy link
Copy Markdown
Owner

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 no daemon/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.sh recorded nothing for a session launched outside any .smns or .git, unless its sessions record already existed.
  • smns-guide.sh printed no SessionStart guidance at all.

Changes

  • Both hooks: a machine now counts as enrolled when daemon/hub.json or daemon/identity.json exists. Each file is still only looked for, never read. The comments name both files.
  • sminos/hooks/CLAUDE.md: the smns-guide line names both.
  • sminos 1.27.13 (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.sh is 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)

…(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)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-29T13:00:23.885189Z 75320c8 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@SSFSKIM
SSFSKIM merged commit 4be7312 into main Oct 29, 2026
10 checks passed
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.

1 participant