Skip to content

sminos suite: pass from a symlinked checkout path (Arkho #82, 7.160.2) - #204

Merged
SSFSKIM merged 1 commit into
mainfrom
arkho-82-reading-chat-symlink
Oct 16, 2026
Merged

SSFSKIM merged 1 commit into
mainfrom
arkho-82-reading-chat-symlink

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Oct 16, 2026

Copy link
Copy Markdown
Owner

Closes #82

What

tests/sminos/run-sminos-tests.sh built REPO_ROOT with pwd, which keeps a symlink in the path. sminos.py renders the spawn preamble's {{SMINOS_CLI}} from os.path.realpath(__file__). From any checkout under a symlink (on macOS, anything in /tmp), "reading chat is the first sminos instruction" therefore compared /tmp/... with /private/tmp/... and failed every time. The CLI is right to render the resolved path, so the test now resolves REPO_ROOT with pwd -P.

TECH-DEBT's T3 entry on the sminos suites' timing assertions no longer says this test is a load flake that awaits a reproduction. It records the real cause and the fix. Version 7.160.1 -> 7.160.2.

Validation Evidence

git archive exports of origin/main (the base) and of this branch, each run as the full tests/sminos/run-sminos-tests.sh from /tmp/<dir> (symlinked) and /private/tmp/<dir> (resolved), one at a time inside with-slot.sh:

tree path result
main /tmp/... 1 of 1774 FAILED: "reading chat is the first sminos instruction"
main /private/tmp/... all 1774 passed
branch /tmp/... all 1774 passed
branch /private/tmp/... all 1774 passed

Nothing fails from one path that does not fail from the other. No other assertion depended on the unresolved path: the sub-suites build their roots with pwd too, but they only use them to locate scripts, and all 1774 assertions pass from the symlinked path.

Independent review (doperpowers:reviewer-low): correct, no findings.

…nked checkout path (Arkho #82, 7.160.2)

The CLI renders the spawn preamble's {{SMINOS_CLI}} from its resolved location; the suite kept the path as given, so 'reading chat is the first sminos instruction' failed deterministically under /tmp on macOS. TECH-DEBT listed it with the load flakes; it is not one.
@SSFSKIM
SSFSKIM merged commit 790d163 into main Oct 16, 2026
6 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