Repository navigation
Conversation
…the shared op ledger, the context and an answer's digest rechecked at the claim; WIRE_MINOR 1 (O10 M7) Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…re authorization, lane B through host.op, lane A through RL10 with its launch, the endpoint's own under ops.jsonl; queries against the stored binding (O10 M7) Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…uches no directory at start); §B and §H as built (O10 M7) Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…s reopened Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…rade` Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…tion, ExitPlanMode) Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…ving it, and names why it is closed Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…very nonce its copies used Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…he engine host’s through its unavailable answers Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…a welcome the endpoint may pre-empt (tracker e780160) Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
… a first copy goes down Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…nswer while it is Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…nly; every copy meets the cap, again after sminos is asked Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
… alone, bound or not Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
…ner authority, fail-closed ledgers, the digest, the fresh lane B limit; M7 ticked Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook) # Conflicts: # docs/doperpowers/plans/2026-10-27-p5-o10-endpoint.md
Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook) # Conflicts: # docs/doperpowers/plans/2026-10-27-p5-o10-endpoint.md
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. |
SSFSKIM
added a commit
that referenced
this pull request
Oct 28, 2026
…rs); the hub-link replacement-window flake row closed Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
SSFSKIM
added a commit
that referenced
this pull request
Oct 28, 2026
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.
P5 O10 M7: remote actions (RL4) reach the side that runs them, and each side keeps its own once-only ledger (
docs/doperpowers/plans/2026-10-27-p5-o10-endpoint.md, Plan of Work M7).What it does
src/endpoint/freshness.ts). It refuses an action asstaleormalformed, asexpiredpast the op horizon, or asreplayedwhen the device has sent that nonce in the last 120 s. Authorization (M5) runs only after these checks.actions.ts,lane-a.ts) depends on which side runs the action:query). If another sender owns it, the endpoint refusesop-conflictand sends nothing. If sminos doesn't answer, the endpoint refusesunavailable. Results are routed by nonce. Inline failures carry only their code.host.op, which claims the op in<userData>/supervisor/ops.jsonland fsyncs it before running. It checks the context and the answer's digest again in the same turn as the claim.endpoint.grant,endpoint.state) run under<stateDir>/ops.jsonl.no-ledger.queries.ts) are answered only after M5's query check against the binding the executor stored. An answer with no binding is refusedgrade.not-receivedis sent only after a tombstone has taken.src/shared/host/op-ledger.ts):KEPT_Sat open.unavailableuntil its process restarts. It logs one line when that happens, andendpoint.detailshowsopLedgers.requestDigestOf(src/shared/host/request-digest.ts) gives lane B the same digest shape as lane A:AskUserQuestionhashes{questions}, andExitPlanModehashes itsinput.Wire and engine host
host.opandhost.opQuery, both main-only and gradedinternal.WIRE_MINORgoes from 0 to 1. M8 takes 2. Under P5 DL 44, whichever of M7 and O2 lands second re-bumps.src/engine-host/, so it rane2e:supervisoron a Mac, hosted, as well as class 1a.tsconfig.web.jsonandtsconfig.e2e.jsongainrewriteRelativeImportExtensions, as the node program already has, because shared host code now imports org-protocol.Tracker
test/endpoint/hub-link.local.test.tsnow waits for the twin's close instead of its welcome, every wait on the hub is bounded, and the fixed sleeps are gone. The test is test-only and deterministic: 5×10 runs green, plus 2×10 with a 200 ms slow client.Decision Log residue for P5 (under O10)
daemon.statusand the log. The architect agreed.grade, because sminos's binding names no RPC. If O13 needs the RPC name, it is an additive change in O12.Files outside
src/endpoint/andapps/org-protocol/src/engine-host/{ipc.ts, ipc.test.ts, ops.ts, ops.test.ts, supervisor-files.ts}src/shared/host/{op-ledger, request-digest}.tsand their testssrc/shared/ipc/{schema/host.ts, names/host.ts, grades/host.ts, wire.ts, wire-manifest.json, schema.test.ts}test/endpoint/{actions, lane-a, grades, hub-link.local}.test.tstsconfig.web.json,tsconfig.e2e.jsonValidation Evidence
Review. doperpowers:reviewer-high ran six rounds, and every finding was reproduced by a probe before it was fixed:
done.Gates:
48ace4f74(origin/master merged): class 1a GREEN, https://github.com/SSFSKIM/MAWS/actions/runs/40618804054. On4b7d49478, M7 reviewed clean before the docs andsrc/main/devicemerge: class 1a GREEN, run 40615433280, ande2e:supervisorGREEN (macos, hosted), https://github.com/SSFSKIM/MAWS/actions/runs/40617821026e2e:supervisor(with cross-build) GREEN on 542968c, 36b09a1 (40599143629 / 40602395828) and a12811c (e2e 40592064660).host.opkeys. Both were fixed in this PR.Focused tests, one file at a time:
test/endpoint/actions.test.tslane-a.test.tsop-ledger.test.tsops.test.tsrequest-digest.test.tsjson-wirewireschemaipcgradesstatusconversation.localhub-link.localAll six
pnpm typecheckprograms pass. eslint is clean on every touched file.Residue
host.oporhost.opQuery; there is no separate probe. A periodic health read could surface it sooner, but it isn't needed for correctness.rpc-resultwould have to carry the binding (an O12 change).Sminos-Session: p5-desk-track-owner#b4948247 (doperpowers on macbook)