Repository navigation
Conversation
…side attention-feed.ts, the per-row filter on calls.ts' each-session shape, an omitted event a lost feed, WIRE 19 with O16 next) and M5a's execution in five tasks Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…m target, tagged bytes through the services' ledger, library.read's export form, copyAsset by effect)
- machine.op's claim takes an optional `target` (`artifact:<id>`, `artifact:` for the orphan form; host.ts'
OpTargetSchema), kept beside the claim and answered by machine.opQuery as the binding's target; pty.op keeps the
claim it had (ClaimedOpInputSchema).
- json-bytes exports toWire and fromWire; machine.op validates and runs a decoded copy of its input, the claim and the
sealed action kept as sent.
- library.read {export: {revision, format, exportId?}} reads an export under <profile>/artifacts/<id>/exports/ by the
export grammar's name, through the files service's readResolved under `linkFree` (the path its own real path, opened
with no link on the way).
- artifacts.copyAsset is graded {floor: 'manage', byEffect: true}; the endpoint's BY_EFFECT rule is M5a2's.
- WIRE_MINOR 20 (master's 19 plus one, re-taken at landing).
host.op's context-less form is held: OX1 classes a required property made optional as breaking.
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
… context made optional (OX1 classes that breaking; the architect's ruling), in M5's paragraph, §L's row, §O and the Decision Log Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…st's op ledger; host.op decodes tagged input
- host.artifactOp {opId, opCreated, member, device, fingerprint, target, name, input} (engine-host, internal,
main-only, bounded): runs only a command whose input schema declares no appSessionId (else `unavailable`), its
input a decoded copy of json-bytes' tagged form validated against the command's schema, with no context and no
status check; `target` (OpTargetSchema, `artifact:<id>` or `artifact:`) is the claim's, answered by host.opQuery.
A command of its own because OX1 classes host.op's context made optional as breaking (the architect's ruling).
- host.op validates and runs a decoded copy of its input as well; its schema is master's.
- WIRE_MINOR 20 re-recorded from master's manifest (host.artifactOp, machine.op's claim target, library.read's export);
routes snapshot, address coverage, the host namespace's and deadline pins.
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…get rule and ArtifactRanks, M5a's offer rows, host.artifactOp for artifact writes, the artifact binding in queries, library.list's per-row cut, the bytes codec behind rl2.bytes, the artifacts feed, session.capabilitiesChanged on checkout; RL2 1.4) Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…e; the op ledger keeps an answer's bytes - host.artifactOp fails closed on an explicit list, ARTIFACT_OP_COMMANDS (src/shared/ipc/schema/host.ts): the thirteen artifact writes of §L's M5a act row. The schema-key heuristic is gone; it let session.launch (its session nested in spec) and fs.sessionText (a session under `sessionId`) run with no context. Both, a session command, testWrite and versionState are refused `unavailable` with well-formed production inputs. - test/endpoint/artifact-rows.test.ts holds the endpoint's artifact act rows equal to the list. - OpLedger writes a result in json-bytes' tagged form and reads it back decoded (claims and actions as sent), so a reseal and a query after a reopen answer the bytes the run gave, in every ledger that uses it. Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ces' COMMAND_BUDGETS_MS injected through MachinesDeps.budgets into the RL2 link's dispatchOverLink and the socket link, plus a one-second round trip; every other name keeps the 10 s default), closing the tracker row of 2026-10-31 Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…efore its decision, so an artifact, machine or pty act reaches its ledger in its decision's step, and a lane B act whose decision moved under its status read is decided again; a decision's records keep their first reading (copyAsset's from read after to); a delete or create drops the artifact's placement; every placement drop rechecks the artifacts feeds' queued output in its step Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…M5a1 as built in the Decision Log Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…c behind rl2.bytes (calls and acts tagged with toWire, answers read back with fromWire, refused locally not-offered by a peer without it), ArtifactMachines (the id-to-machine table, written by the adapter alone), remote-artifacts.ts (reads as calls, writes as engine-host acts on no session needing rl2.artifacts, the local refusals, the session.capabilities substitute), the machine's artifacts feed (every opening a re-read: artifacts.resync from the machine), session.capabilitiesChanged on the checkout feed, remote.openCopy (A10: a copy paged into <temp>/maws-remote-copies, 64 MiB at most) and Save As of a remote artifact (library.saveAs answered here for any machine) Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…they can't view in any artifact answer: one projection (session-safe.ts) at send time over the artifact reads, library.list's rows, an artifact act's result and its query, a hidden actor written as org-protocol's reserved WITHHELD_SESSION and a hidden session left out of every list with its title; a listing filtered by a hidden session lists nothing; an id is pinned as no capability Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ckout source (an address the boundary lowers); acts.ts's #offered says what an act needs Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ber's private session either (the projection and the filtered listing hold them to their session visibility; they still hold every artifact and keep every row); a prepared projection is always taken, so an act whose channel closed leaves no tracker on the spine's events Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
… Text the service sends as lenient utf8 is written only when proven its bytes (no replacement character, or the hashed strict read saying UTF-8 with a matching SHA-256); a text file that isn't UTF-8 (or past the hashed read's cap) is refused invalid_input, since no read input asks for raw bytes. A short write goes on from bytesWritten, a write with no progress fails, and the staging file is removed on any failure. bytes.ts's own traversal gives way to json-bytes' needsCodec, now exported Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…e: artifacts/machines.ts holds which machine each artifact of another machine is on, filled from the rows and records a machine answers (and from a tab's or a remote session's machine), and the renderer's client sends every artifact-keyed command naming no machine to it; the library store reads each list, row and Spaces on its machine, re-read per machine at its library.changed and its artifacts.resync; the Artifacts tab's machine menu (this Mac or an up RL2 machine; Make something new, New Space and a Space's management are this Mac's); a remote session's Artifacts tool lists from its machine and opens there Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ere (A10): lane-b/open-copy.ts sends a remote lane B session's file and a remote artifact's stored file through remote.openCopy, used by the viewer's ExternalRow, the delivery row and the File/HTML viewer's header; Reveal in Finder stays greyed naming the machine; another machine's artifact exports without an own file (ownFileFor, every editor's export) and its Save As is answered here Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…e withheld session: a dataset hold and the house design system follow their own machine's artifacts.resync alone; an artifacts.open main refuses for another machine's artifact ends the replica's attempts, so the editor shows "editing an artifact on <machine> arrives with the next landing"; WITHHELD_SESSION is no session on the page (actorSessionOnPage: no title, no session context, shown as Claude); the Browser tool's notice pinned drawing a remote session's capability reasons, the substitute's included Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
… tests (an id two machines share no longer leaks from one test into the next), and the Side pane's Show in artifact opens the record with its machine Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…kes a File artifact of a text file it wrote in B's checkout and an HTML page through its maws tools (artifact_create, served by B's engine host, so both are linked to the session); in A's second launch the session's Artifacts tool lists them and reads the text from B, a rename in A's Library on B shows in B's own library.list over machine.sock, Export > PDF of the page renders on B and Save As lands it in A's folder (MAWS_E2E_SAVE_PATH), Open externally on an HTML file of B's checkout logs a copy paged to A (MAWS_E2E_OPEN_LOG) holding the file's bytes, and the Browser tool's notice reads B's own session.capabilities reason Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…'s machine. openArtifactTab takes the machine a link's source is on and tells the table before opening, so an artifact the page has not listed yet opens there: the transcript's and an engine surface's ⌘-click pass the row session's machine, a Markdown file passes the machine of the artifact it is read by (else its session's) Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ne's: switching machines shows that machine's list or its refusal, never the previous machine's rows under the new machine's name Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…g is asked again when the session's machine link goes down, where main answers its offline reading (it sends no event of it), as well as at each new generation Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…he page's transcript row (its Open, which B's host registered with maws.delivery.artifact), not the surface menu: the Artifacts tool is no longer a surface of its own to launch (first hosted run 41378650299, both attempts: no "Artifacts" or "Open saved artifact" item in More surfaces) Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…t offers that machine's projects (a remote session's project was missing from the picker, which fell back to this Mac's first project), and opens its rows, Retry and All in Library there Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ers, wherever it registers them The hosted e2e:remote (run 41379854926, both attempts) found every remote artifact write refused `unavailable`: host.artifactOp looked its command up in registerEngineIpc's own table, which the artifacts surface never registers into (index.ts registers it on the host's `on`, before the engine ipc). - ops.ts: keepArtifactWrites(on), an `on` that keeps the handlers of ARTIFACT_OP_COMMANDS as it registers them; OpsDeps.artifactWrite, host.artifactOp's lookup. host.op's lookup stays the engine ipc's own table. - index.ts registers everything through that `on` and hands its lookup to the engine ipc (EngineIpcDeps.artifactWrite). - ops.test.ts: over the real artifacts surface and a real store, with the engine ipc, every listed write resolves and a real artifacts.update runs once through host.artifactOp (the reseal the ledger's). With index.ts's former wiring the same test answers `refused`. Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ate's static) Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…on takes the session's own path (placed, ranked at view as for anyone: a member's private session, the withheld id and a random one refused alike); an artifact act asks its decision whether it stands in the step it is accepted and sent, decided again once when it moved Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
… entry file. library.read's stored form reads either byte kind's stored file (BYTE_KINDS), an HTML artifact's being the entry file openExternally opens; another kind is refused as having no stored file to read. The copy is the entry alone: an html page is one stored file and no read the renderer or main makes names its assets (known limit) Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…s before any executor branch (one check in Actions' #execute, after the shared preamble: the sminos, endpoint, machine and pty-host branches), taken again once through the gate when it moved; the lane B and artifact branches keep their own check after their work. This hunk is O10's code (the desk track's), for its review Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…eview and its fix wave, the known limits; §L's library.list on the each-session target; three Surprises Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…tands once its own waits are over (its turn, sminos's admission query), in the step its rpc goes; a moved decision comes back from LaneA.hand as DECISION_MOVED, which Actions takes again through the gate (#again), nothing sent and no copy kept. lane-a.ts and this actions.ts hunk are O10's code (the desk track's), for its review Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
…ction, Progress, and the lane A fix in the milestone review's Decision Log entry Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS 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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
SSFSKIM
added a commit
that referenced
this pull request
Nov 2, 2026
…ifactOp over relaxing host.op, the session-safe projection with owners on the session path, the known limits, the standing check across every executor branch carried for O10); O7 rows; the wave 2 ledger gains M5a's names; tracker: the link request-budget row closes, the source.test.ts watcher flake and O5's browser socket path rows Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
SSFSKIM
added a commit
that referenced
this pull request
Nov 2, 2026
WIRE retaken: WIRE_MINOR 21 (master 20). The comment keeps master's entries
through (20), O7 M5a's host.artifactOp among them; O16's entries move from
(20) to (21). WIRE_CAPABILITIES is master's list plus host.holder. The wire
manifest is master's, regenerated at 21 with pnpm wire:manifest (adds
host.handover, daemon.restartEngineHost, daemon.engineHandover and O16's
additive fields; nothing removed against either parent). address-paths.json
regenerated with MAWS_ADDRESS_PATHS_WRITE=1: master's 312 rows, with
remote.openCopy's paths.
Conflicts, both sides kept in each:
- src/engine-host/ops.ts: master's admit/run split with host.artifactOp; O16
M3c's settle tracking moves into the shared run, so host.op and
host.artifactOp runs alike keep their results before the host exits.
registerOps returns { settled } and registers host.artifactOp.
- src/engine-host/ops.test.ts: O16's in-flight-runs block and M5a's
host.artifactOp and tagged-input blocks, side by side.
- src/engine-host/index.ts: O16's Gate import beside M5a's keepArtifactWrites.
- src/engine-host/ipc.ts, ipc.test.ts: HOST_DEADLINE_SHAPES holds
host.artifactOp (bounded) and host.handover (bounded).
- src/shared/ipc/names/host.ts: mainOnlyCommands holds both.
- src/shared/ipc/schema.test.ts: the host namespace's order and owners hold
host.handover and host.artifactOp; MAIN_ONLY_COMMANDS both.
- src/shared/ipc/wire.ts, wire-manifest.json: as above.
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
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 O7 M5a: artifacts across machines, the rule and the reads. In a remote session's pane, the Artifacts tool lists the session's artifacts and opens one: its title, versions and metadata come from its machine. A rename or a pin lands there, a text artifact's content reads, Save As exports on the machine and saves the file here, and Open externally on a remote file, library item or export opens a byte-exact copy on this Mac. The Library lists another machine's library from a machine menu. The Browser tool's notice and the pane's capability-drawn affordances read the machine's
session.capabilities. A member never learns of a session they can't view.Execution document:
docs/doperpowers/plans/2026-10-28-p5-o7-remote-lane-b.md(M5, M5a; every departure is a dated Decision Log entry). Report:docs/doperpowers/plans/2026-10-31-p5-o7-report.md, section M5a.What changes
The machine's services
host.artifactOp, a new engine-host command for an artifact write with no session. Its input is the claim withoutcontext; it runs onlyARTIFACT_OP_COMMANDS(the 13 writes) underhost.op's ledger, andhost.opQueryanswers either. An older host answersunknown_command, which the endpoint maps torefused unavailable. This is the architect's ruling over makinghost.op'scontextoptional, which OX1 counts as breaking.keepArtifactWritesgives the command its own lookup of the artifact writes wherever the engine host registers them. The first hosted run found that the real host registers them where a lookup throughregisterEngineIpcnever saw them.OpLedgerkeeps byte results injson-bytes' tagged form, so a reseal or a query after a restart answers the same bytes.library.readgains its export form and reads either byte kind's stored file.The endpoint (
src/endpoint)artifacttarget rule (artifacts.ts,ArtifactRanks) and §L's M5a rows. An artifact names no session; its standing comes from the sessions it links to, read through the store.session-safe.ts) is applied at send time on every answer that can name a session: artifact reads,library.listrows (now on M6'seach-sessiontarget), act results, query outcomes and theartifactsfeed.WITHHELD_SESSION.artifactsfeed, machine-wide, behindrl2.artifacts. Bytes cross behindrl2.bytes.unavailable.Main
COMMAND_BUDGETS_MSplus one second), so a cold machine's 120 s export no longer times out here at 10 s.ArtifactMachinesrecords which machine each artifact is on.remote.openCopyand Save As write a file's exact bytes or refuse. A text page read leniently is read again hashed and copied only when it proves UTF-8 with the file's SHA-256.artifacts.resyncis sent on each feed opening.The renderer
e2e:remotelibrary.listovermachine.sock.WIRE_MINORis 20, master's 19 plus one, forhost.artifactOp,machine.op's claimtarget,library.read'sexportandartifacts.copyAsset's grade.RL2_PROTOCOLis 1.4, forrl2.artifactsandrl2.bytes.For the desk track's review (O10's code). Two hunks are theirs, carried here at their choice and in their shape:
src/endpoint/actions.ts,Actions.#execute: the one standing check before the executor branches (254e54a41), with a red test per executor (machine, pty-host, endpoint, sminos).src/endpoint/lane-a.ts,LaneA.hand: it takesstandsand asks it immediately beforerl10.rpc, answeringDECISION_MOVED, whichActionsroutes to#again(9bb455f93). Its red test asserts that norpcframe reached sminos.Known limits
Accepted by the architect and recorded in the execution document's Decision Log:
WITHHELD_SESSIONsentinel says that a session was withheld.linkedevent's timing can show that a session the member doesn't view touched an artifact.Validation Evidence
Gates ran through
scripts/ci-gate.shon GitHub Actions. Each run's commit tree was checked against its head's.PR head
7d5430461(masterbd84478e7merged in), tree919cc621a, the gate commit's tree too. It ran--gates all --class1a pool --runner macos --lane hosted, on the hosted lane because CI-opt held the mini until 06:30Z, with the default peer (the merge basebd84478e), at wire 3.19 against this tree's 3.20, soe2e:cross-buildran.flaky:line.29904d897ande5758965f, which the gate's static job covered.29904d897, green, with no flaky lines. The lane A fix9bb455f93and the docs commit are covered by the landing gate above.Claims of done, and what backs each
0fc08497a(treeb785b946) was green with no flaky lines.e2e:remotepassed on its first attempt with every M5a scene above;e2e:library,e2e:artifacts,e2e:codeande2e:machineswere green too. The landing gate's e2e groups above repeat it on the PR head.test/endpoint/artifact-rule.test.ts: an owner, a member withviewon one of two linked sessions, a member with none, an orphan, an unknown id,copyAsset's two sides.artifact-projection.test.ts: every answer that names a session, the owner included; a private, withheld and random id refused alike; a session becoming viewable mid-feed and the reverse.artifact-rows.test.tsandfeeds.test.ts.src/main/lane-b/remote-copy.test.ts, including a copy through the real library service.OpLedgerround trips through reopen.src/engine-host/ops.test.tsregisters the artifact writes assrc/engine-host/index.tsdoes.e2e:cross-buildagainst the default peer, wire 3.19 against 3.20, in every class 1a run and in the landing gate.Residue
host.artifactOprather than an optionalcontext. Worth a contracts entry so the next landing doesn't meet the same refusal.files.readandlibrary.readsend text as UTF-8 decoded leniently, so a non-UTF-8 text file can't be copied byte for byte from another machine; M5a refuses it. Abytesencoding (behindrl2.bytes) would lift known limit 4. It is a wire change./var/foldersTMPDIR. A real Mac with a long profile path could meet it. The check isbrowserCapabilityinsrc/mawsd/session-capabilities.ts; the architect will make it a tracker row in O5's area.Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)