Repository navigation
Conversation
…ow 15's VM scripts - endpoint item 9: a permission answered under an altered digest is refused digest-mismatch, and nothing runs (row 9b). The stub model raises a Bash permission on a running lane B session (`o15-digest <tag>`); the scene's one lane B session is shared by items 9 and 2, started by whichever asks first. - reach m6b-visibility: the member's own session U, in full over b1's channel (row 12b), with its unit test. - reach item 2: the owner label matched as ", owned by <B's email>"; S's stored line for U's message carries `verified`, its owners naming B (row 11c); scene.sh's events keep `verified`. - vm/o15-tools.mjs (row 10) and vm/o15-sockets.sh (row 15), with the README's staging-runs section naming each. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…the scene has no lane B session The local proof's scene has none, and a skip there turned item 9 NOT SHOWN (test/endpoint/acceptance-local.test.ts); item 2 names lane B's absence the same way. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…ecoded, the session ended or named, nothing trusted - o15-sockets.sh: every inventory command's status is checked (find, which fails for a subtree it cannot enter, systemctl, ps, ss, the cgroup read, the X11 and Xvfb reads); a failed one prints `FAIL unread: <what>`, and the run ends FAIL. - o15-tools.mjs: the screenshot decoded (PNG signature, IHDR width and height, a size past a stub's) and the export read (%PDF-, %%EOF, a size), an error result refused; session.stop's refusal or exited:false a FAIL naming the session's id; SIGINT and SIGTERM end the session the same bounded way; no trust decision sent (needs_trust is a FAIL naming the trust key and config), and --list-trusted prints the trusted project paths alone. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…ad, and sminos.rows must answer a rows array
b1 sends U a marker of the run's and waits for it in U's transcript; the full
subscription's snapshot must carry rows, sminos.rows' page must carry a rows
array (a missing or malformed one fails, never an empty page), and the marker
must come through one of them. Unit cases: a metadata-only snapshot with a
`{kind: 'rows', body: {}}` page fails; so do a malformed page and a marker in
neither; a marker in the page alone passes. README follows the fix wave.
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…ine's own config file for --list-trusted - The end is registered as soon as session.create answers. However the run ends (a signal while the start is pending, a start that failed, timed out or lost the link), it awaits a pending start (at most 30 s), stops the session, and watches it for a late launch (30 s, or 4 s once the run saw it ready), stopping again while it shows a live process. An error mawsd answers counts as not running; a failed link is not shown ended, a FAIL. - --list-trusted reads the file src/shared/engine/config-dir.ts's configFilePath selects (the legacy .config.json first, -custom-oauth under CLAUDE_CODE_CUSTOM_OAUTH_URL) and names it. - test/deploy/o15-tools.test.ts: a signal during a pending start whose launch lands after the first stop; a running and a never-launched session; a dead link; the config file against the engine's reader. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
… launch leaves the end unconfirmed - Ended is a stop answered exited, a status of an exited process, or the engine host's own `unknown session`; host_unavailable, a timeout or any other error is unread: FAIL "not shown ended, stop it by hand <id>". - A start still pending when its wait expires, or answered `starting` with no live process ever seen, is FAIL "end unconfirmed: …, stop it by hand <id>". The bounds are as they were. - Tests: host_unavailable, a start still pending, a start with no launch seen. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
endSession raced the start against a 30 s sleep that was never cleared, which held the process open after the verdicts printed (the VM dry run of 15:35Z sat until a SIGTERM). The waits that can lose a race are now called off, and main exits with 0 on all-PASS, 1 on any FAIL, once stdout has taken its lines. A signal after the run finished exits with the run's own code and prints nothing again. Test: an endSession whose start answered early leaves no timer behind. Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
Codex Review Summary: ✅ CompletedThis 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 39efc31adc
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| echo "NOTE outside the profile: s $mode $(owner "$user") \$TMPDIR/$dir/$name (a long-path fallback)" | ||
| [[ $user == "$ME" && $mode == 600 ]] || flag "\$TMPDIR/$dir/$name is $(owner "$user")'s, mode 0$mode" |
There was a problem hiding this comment.
Check parent permissions for fallback sockets
When a long profile path puts rl10.sock under $TMPDIR/mawsd-*, this loop checks the socket's owner and mode but never checks its parent directory's mode, unlike the checks for sockets inside the profile. A self-owned 0600 socket inside a world-writable 0777 fallback directory therefore produces PASS no flags; I reproduced this with a temporary Unix socket and mocked process/listener inventory commands. Other users can unlink or replace that socket despite its 0600 mode, so the boundary check can pass an insecure configuration. Apply the same 0700 parent-directory check to fallback sockets and fail if that metadata cannot be read.
Useful? React with 👍 / 👎.
Part of P5 O15 (M4's table: the desk track's rows). Deploy tooling only: no src/ change, nothing the app or mawsd runs.
endpoint-items.tsitem 9): a permission answered under an alteredinput_sha256is refuseddigest-mismatch, and the request is still pending 5 s later. It is then denied under the card's own digest. The stub model gains ano15-digest <tag>step. Items 9 and 2 share one lane B session.reach-items.tsm6b-visibility): the member's own session U in full over b1's channel. A marker sent to U has to come back through the full subscription's snapshot or a validatedsminos.rowspage., owned by <B>; S's stored line for U's message has to carryverified, signer kind machine, with B among its owners.vm/scene.sh's events keep list gainsverified.vm/o15-tools.mjs): a lane B session on the real model over machine.sock with no app. It makes artifact_screenshot and artifact_export calls, and the PNG and PDF bytes are validated. It reads session.capabilities after create and after the turn, and records the model and numTurns. It never accepts workspace trust (--list-trustedreads the engine's own config file). The stop is registered from session.create and also runs on a signal; only an explicit end counts. The script exits by itself.vm/o15-sockets.sh): the profile's sockets with owner and mode, the unit's TCP listeners by class, and, outside the profile, the X sockets and each Xvfb's -auth file (owner and mode). Any failed read is FAIL, never PASS.Reviews: reviewer-medium, three rounds (P1/P2 false-PASS and cleanup findings), all fixed with tests. Rows 10 and 15 dry-ran on the Linux VM at cf30daf: both PASS. Gate:
static,unit,probeshosted, success on 39efc31.Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)