Repository navigation
UX wave · U6, a landing of its own (U6e): a file outside the working folder is editable, and Open File… - #735
Conversation
…s folders is editable, and Open File…) The write rule in five lines with who holds each piece of evidence; the grants as a profile file the daemon keeps, made by a main-only command after main's chooser; the real path bound at the read and compared at the write; MAWS's own folders read-only; main's guard on the sender; the bar's label; four milestones, the cards A, B and D, and twelve points reported with their built defaults. U6c's Decision Log gains entry 27: the read-only half of the choice of 2026-11-13 is reversed by the owner's answer of 2026-11-14. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…arial review, and the owner's answers on another machine MAWS's own folders refused at every write, the app's bundle told by main; the sender's guard in the router before every forwarding; the outside save a command of its own (files.writeOutside), files.write as on master; the pin apart from the latest admission; the grant asked again after the search; an open the agent asked for never admitted by a grant; a sent file editable by its record's maker, an added file read-only with a sentence (Card D withdrawn); both older builds named with the four pairings and their proofs; cards A and B recorded as U6f's (ticket 677). U6c's Decision Log 27 reworded to match. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…rrowing of "names" For an outside save the transcript names a path only by a counted form (a person's message, the agent's own text, a tool call's input); what a tool returned never counts. A file only a result form names still opens as on master, read-only with its sentence (decision 22; the search answers which kind it found; the read's answer says why). The schema proof reads committed snapshots of the two older builds and never skips; src/main/ipc/ is named as the MAWS architect's; the older app's bundle and the Library's fallback accepted as written. Decision Log 7. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…person did not write (Decision Log 8; Reported 17, decision 22, M1, §F, the tracker row) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ped only into an answer's free text) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…, stubs) The outside save (files.writeOutside), the grant (files.grant), the read's agent mark and its outside/own answer, machine.client's bundle; the grants store, MAWS's own folders and the Library's sent files as stubs, so each line of the rule is seen failing before it is built. The schema proof reads committed snapshots of the two peers' schemas (test/cross-build/peers). Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ox's rows are meta rows, which name nothing on master); files' names in the schema's order Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
files.read's and files.openExternal's agent, files.read's answer's outside and own (library.read's answer with it), machine.client's bundle, files.writeOutside and files.grant. The fingerprint is unchanged: the change is additive. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…files.writeOutside, files.grant) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ent files, the search's two kinds of form, the person's own rows (Decision Log 8), files.writeOutside and files.grant Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…nt connection ended by its runtime) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…h's pattern); the write paragraph of service.ts reflowed Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…onfirmed, 9; Surprises) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…-unavailable entry (Decision Log 10; §F) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…10), as offer-coverage asks Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…k or in another case, and for a client that ends after the search (S4) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…; an outside save whose client ended is admitted by no evidence after the search and refused before its section Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…andler (C1 to C4), the route from the page's client, the menu's row, the bundle told The red suite of M2's "What it proves", with the new exports naming nothing (a guard that guards nothing, a handler that throws): router.test.ts's guardCommand cases; src/main/files/open-file.test.ts, the handler's sequences and the guard's predicate over main's real page instances; src/main/files/open-file.route.test.ts, the sender's table through the real router and layout.openFile from the renderer's own client; file.open in the action table and the File menu; machine.client's bundle in the spine mirror. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ndler, the File menu's row, the app's bundle told - src/main/ipc/router.ts: one mechanism, `guardCommand` (R2): a guard runs after the input is validated and before the branch to another machine, the hooks, an interceptor and every owner, for a page's route, dispatchLocal and invokeOwn alike; its refusal is the answer and nothing is forwarded; a guard that throws answers internal. - src/main/files/open-file.ts: `isAppPage` (a live page of a window in appWindows()), `appPageOnly`, and `openChosenFile`: one chooser per page, the grant only while the asker is still an app page, every failure of the chooser or the grant `refused: unavailable`, a refused grant `refused: not-a-file`. - layout.openFile, main-owned and bridged; app.ts registers its handler (the grant by invokeOwn) and the guard for files.writeOutside and layout.openFile. - file.open, "Open File…" at ⌘O, the row before file.save, in SHELL_FOCUS_ACTIONS, not rebindable while build F may run. - machine.client carries bundleOf(process.execPath). Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ient command; its input's .appSessionId) Written on the build VM by MAWS_ROUTES_WRITE=1 and MAWS_ADDRESS_PATHS_WRITE=1 and brought back as their diff. wire-manifest.json is unchanged: layout.openFile is main's own command, outside the wire. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…penFile, files.grant); the guard spy's parameters typed Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…able, Settings › Keyboard's rows that take no rebinding, the startup wiring's router stand-in Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…mon-root holds that app.ts guards the outside save and the chooser before the router is installed Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… ends with its page, a guard's throw is always internal Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…an ask is released when its page ends; any guard throw answers internal - src/main/ipc/app-origin.ts (new): the router's origin test, moved out of isAppSender with its behaviour unchanged, so isAppPage reads the same test (a page an app window navigated elsewhere no longer passes dispatchLocal or invokeOwn). isAppPage takes the app's URL and appPageOnly is made for it; app.ts passes appUrl. - openChosenFile subscribes to the asker's onGone for the length of its ask, and unsubscribes when it completes. - A guard that throws answers internal and is logged, a CommandFailure or HostCommandError keeping no code. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…one copy each, exported from their writers The linked read's opening, the answer envelope's opening, the promotion's head and the anchor tag's opening, the engine's command tag and a typed command's form, the relay's words, and the plan and bash echo the engine host composes (now in src/shared/engine/host-prompts.ts, which session-clear.ts and bash-mode.ts call). No behaviour changes: the strings written are the same bytes. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…a path for a save One case for each form MAWS, the engine host or the window writes as the person's message, through its real writer: the linked read (the recorded fixture through withLinkedReads, as a user row and as a queued prompt, and through the files service's save), the plan after a clear, the bash echo, an owner question's answer line, the side question's promotion, a relay, the joined cases (an envelope beside the person's words in either order, two messages in one row, the earlier envelope form, a grant line inside other words), a block kind no reader lists, and the architect's rulings A (a paste), B (an anchored comment; the anchor form's earlier cases now read only) and C (a slash command). The readers' passes are charged to the step meter. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… at one place `ownTexts` in src/shared/files/named.ts answers which texts of a person's message are the person's own, for the `user` row and the queued prompt alike (`personClaim`). By position, at most the content's string or its first text block; by content, that text counts only when no reader of a form MAWS writes as the person's claims any part of it (the linked read, the answer envelope in either form, the grant, an owner answer line, the plan after a clear, the bash echo, the promotion, a relay, a slash command). A paste's frame and an anchored comment's lead and tag are read only, the words around them the person's (the architect's rulings A, B, C). Every other text that names the path names it for a read only. Each reader's pass is charged to the scan's meter, with a step between passes. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
test/support/person-sends.test.ts reads the source of src/ and apps/ for every site that hands content to a send, a steer or the queue as a person's message (the commands named, the window's seams, the controls port, steers, the queue, its preparation, frames of the person's origin) and fails on a site it does not classify or whose verbs moved. Each MAWS form is written by its writer and must read as a read only; a planted site shows the guard goes red. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…form (eslint) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…n sends nothing without the person's press A fill enters the draft and sends nothing; a suggestion Tab takes only enters the draft. And, red first, the one path that sends with no press: a spawned session's first send, which must never send a plugin's fill that landed before the handed document was restored. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…in's fill The first send of a session spawned on another machine goes with no press of the person's, once its handed document is restored. Until it has gone (`firstSendPending`, taken only as it goes), the composer refuses an engine plugin's fill and suggestion, so a fill can no longer supersede the restore and go out in the document's place. Nothing a person reads changes; the plugin is answered that its fill was not taken. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…kind, with the limit and the bound by adoption (Decision Log 28; ticket 675) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ving no submission in flight for the cases after it Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… differential, in work counted linear by its own counter Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…e; the own pass's readers are bounded by length, budget and linear work, with pauses inside the text Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… by construction: the opening's beginnings as one bitmask, each pair closed by its first >, nothing allocated per character; the answers unchanged Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ls, up to OWN_TEXT_MAX_CHARS, failing closed past the length or the budget; the paste frames found by a plain scan; an anchored message counts only when its comments written back are the text Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… (start, fork, spawn's brief, side thread) and apps/'s .mjs probes, holds each form alone and joined, and the resubmit seam as MAWS's; an anchored message joined to itself counts as read only Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…t read whole, so the same anchor's message joined to itself is read only Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…pped file; a spawned session's first send releases its mark when abandoned Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…p's conversion; a spawned session's first send goes through sendFirstOnce, which releases its mark when the send is abandoned Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… bound a call (the grant's test after compatibility folding); the grant's letter test reads only what the case folding leaves Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…gth bound is refused for length; one just within it after folding counts, within one stretch Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…y folding makes it, decided before any reader; the own pass's budget follows the longer of the two Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… ticket 675) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…cker; the two a person can meet in the limits Sminos-Session: ux-wave#10d85d03 (MAWS 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. |
|
Landed as master-first merge a220955 in batch 2 (#735 to #738, one sitting, chain order); merge tree equals this PR's head tree. Gate of record: the manual gate during the Actions billing lock, runs named in the body; final Mac run on the tip 5d4a8d3-20261116T220525Z GREEN, Linux class 1a on the tip 5d4a8d3-20261116T214517Z GREEN. Owed after the lock: the real class 1a on master, U6e's live turn, and U6e's two cross-build scenes against the installed build b89d6d1 before any swap (they skip it today by the spec's peer list). Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook) |
Root:
docs/doperpowers/specs/2026-11-12-ux-wave-design.md· child U6 (docs/doperpowers/specs/2026-11-12-ux-wave/U6-files-links-keyboard.md), a landing of its own (U6e) · parent pin2c7044231· execution documentdocs/doperpowers/plans/2026-11-14-ux-wave-U6e-outside-file-editable.md. Item: O-37, as the owner's answers of 2026-11-14 widen it. Board #675 (epic #573).What it does
Until now, a file outside the folders a session works in could be opened on this Mac only when the session's transcript linked it (U6c), and only to read: typing changed nothing and the editor's title said "Read-only". A file that no link named could not be opened at all.
send_file, and a file the person chose with Open File…. The owner's words: "I'd go even further to make it editable too", then "Every outside file" and, on Open File, "Yes, add it".show_pane), only the transcript or its own delivery lets the file in, never the person's choice. Any act of the person's on that tab (a click, a move between the side and the main area, Reopen closed tab) makes it the person's open.How the daemon decides a save. The save is a new command,
files.writeOutside;files.writetakes the session's folders alone, as on master. The daemon writes an outside file only when its own evidence admits the file for that session: the transcript names the path in the person's own text (below), in the agent's own text or in a tool call's input (never in a tool's result, and never in a row the person did not write: a peer session's message, a notification, a plugin's row, MAWS's composed answers); the person chose it (a grant, kept insessions/file-grants.jsonunder the profile and made only by main after the chooser answers); or the session's agent sent it (a Library record whose maker is that session, which no command of the page can create). Main lets the save and the chooser through only from the app window's own page, before any forwarding. The daemon resolves the path again at the save and refuses it when it no longer resolves to the real path that was shown, and the expected-content hash is checked as for every save. A caller from another machine is never admitted, and no write of the files service reaches MAWS's profile folder or an app bundle of MAWS, by either command. The execution document's "The write rule" has the five lines and the test for each.Whose words count in a person's message. No route marks the text the person typed as typed: the transcript row the daemon reads holds the same blocks as the frame the engine host sent, and its only mark is the row's
origin: {kind:'human'}, which the host writes on every user frame it composes. So the rule reads a row that is the person's by origin by position and by content, at one place (ownTextsandpersonClaiminsrc/shared/files/named.ts), for auserrow and a queued prompt alike. It is an allowlist by position and an exclusion list by content. The execution document's "The person's own text, kind by kind" (under "The write rule") has the table of every kind, who writes it and the test that pins it.OWN_TEXT_MAX_CHARS), also after its one compatibility fold (NFKC); a longer text names its paths for a read only. Each reader runs as one call, linear by construction, and is charged the work it reports to a meter; and work past the budget (48 units a character,OWN_WORK_PER_CHAR) fails the text closed.test/support/person-sends.test.tsreads every source file ofsrc/andapps/(.ts,.tsx,.js,.mjs,.cjs,.mts,.cts) and lists each site that hands content to a send, a steer, the queue or a conversation's first message as the person's message, each classified as the person's typed text, as composed by MAWS with the form that recognises it, or as a carrier. A site it cannot classify fails it.What is stored and sent, and what build
f1852de3adoes with it.sessions/file-grants.json. Buildf1852de3aand master at the pin (2c7044231) neither read it nor remove it. A Files tab's stored params gain one optional key,agent: true, on a tab the agent's open made; both builds keep it and write it back. The tab of a chosen file is an ordinary Files tab or mainfiletab. No version moves, and neither settings file changes (file.opentakes no rebinding). After this build has run, either older build opens the profile with the chosen file's tab in place and shows its refusal for that file, since neither knows a grant (for a file the transcript links,f1852de3ashows its refusal and2c7044231shows the file read-only), and leaves the grants file as it was; back on this build, the tab reads and saves again.files.readandfiles.openExternalmay carryagent; the read's answer may carryoutsideandown;machine.clientmay carrybundle. The new commands arefiles.writeOutsideand the main-onlyfiles.grant.layout.openFileis main's own command and is not on the wire. A daemon off1852de3aor2c7044231answersunknown_commandto the two new commands, so it writes nothing, and the page then says "MAWS’s service on this Mac is from an earlier version and cannot save a file from outside the session’s folders. Try again in a moment" (at Save) or "MAWS could not open the file just now. Try Open File again in a moment." (for Open File…). A page of either older build sends neither command, so it cannot save an outside file through this build's daemon; itsfiles.writeis answered as today, except that a file of MAWS's own inside a session's folders is now refused. Nothing new crosses the link to another machine:files.writeOutsideis declared unavailable there until U6f (UX wave U6f: outside files and Open File… for a session on another machine #677). The link minor is unchanged.The record. The read-only half of the owner's choice of 2026-11-13 is reversed by dated entries in
docs/charter.md§19, at K1 indocs/doperpowers/plans/2026-09-28-c8-right-panel.md, at G1 indocs/doperpowers/plans/2026-10-05-e5-editor.md, and in U6c's Decision Log 27.Verification
9d8c5a9094dbe54ca0409828f4a8792ccf486b3aonux-wave/U6e, the first link of the wave's second batch. Up to2a6a2eba9it is the landing as it first stood: its own work ending ata5fe86761, the mergefb1bcfbeeof U10b-2's head as it then stood,a33936c0f(each conflict "both sides added", kept both with the chain head's lines first: rows ofdocs/tech-debt-tracker.md, three places ine2e/cross-build.spec.ts, andsrc/shared/ipc/wire.tswithwire-manifest.json, which took the chain head's minor 50),b32f10443(wire minor 51 and the regenerated manifest, alone) and2a6a2eba9(one document line). Then two cascade merges of U10b-2's heads bring master's tree:1b44c64famerged0cbec050c, which brought master's two fixes, board ticket 711's answer envelope and grant refusal and the desk web app's depth scenes (19 files changed, 1049 insertions, 82 deletions; one conflict, the end ofdocs/charter.md's Decision Log, kept both in date order), andd0534f5b5merged3b7493f44, which brought one e2e file,e2e/to-human.spec.ts(5 insertions, 2 deletions); neither changes the wire or link numbers. On top of them:9384eb358, a test fix (three cases whose fixture put the link in a picked option's label, which the answer envelope no longer writes since ticket 711's fix; they now carry it in a typed answer, and a new case pins that a link only an option's label holds names nothing); the fix of the outside-save rule,9384eb358..c2fc5373d(eight commits; the person's own text by position and content, with a guard test of every send site); its closing wave,c2fc5373d..fd146c286(twelve commits, five of them red tests ahead of their fixes); and two document-only commits,5c794e863(the execution document) and9d8c5a909(the execution document and the five tracker rows of the closing review). Wire minor 51 at the head, master's 50; link minor 15, as on master.9dab97a44holds the first batch (U10b-1, U6b-1, U10b-4, U10b-2) and its tree equals U10b-2's head3b7493f44, which this head holds, so the diff against master is this landing's own:git diff --stat 9dab97a44 9d8c5a909 | tail -1: 121 files changed, 9238 insertions, 509 deletions, the execution document's lines among them. U8d (UX wave U8d: a terminal session's subagents on this Mac (the Subagents card and panel have no source there) #599) holds this head and comes after it.9dab97a44and this head, whose tree equals the head's tree (fbde42471:git merge-tree --write-tree 9dab97a44 9d8c5a909prints it, andgit rev-parse 9d8c5a909^{tree}prints the same), because the head already holds master's tree.290d2716bwhen the union ran,5d4a8d3a0after U5b-1's fixes for what that run found.9d8c5a9094db-20261116T203229Z: RED at one unit file, and so was the rerun of that shard, manual gate run9d8c5a9094db-20261116T210920Z. plan;static(the script tests 588 of 588);probes347 of 347;unitshards 1 to 3 of 4 passed (10,289, 10,951 and 9,578 tests passed); shard 4 of 4: 680 files passed and 1 failed, 11,382 tests passed, 38 skipped and none failed. The one file issrc/renderer/src/transcript/view/TranscriptSlot.test.tsxunder the compiled project: itsbeforeAllhook, which is the first load of the transcript's lazy chunk, reached the hook's 10-second default limit in both runs, so the file's 29 cases were skipped. That load has taken 6 to 10 seconds in this shard on every head recorded since before this batch (9.4 seconds, passing, on the tree master holds today), and the file passes alone at this head (five runs of five on the build VM, about 6.9 seconds). The session that keeps master ruled it a margin of the test and not of this landing: commitea848b845, on the batch's tip, gives the hook a limit of its own (60 seconds), and this head stays as it is. An earlier attempt of the first run failed at the jobs' checkout step, before their tests. Its unit lane holdstest/cross-build/files-schema.test.ts, which parses each older build'sfiles.readandfiles.writeinputs with this build's schemas from committed snapshots of both builds (test/cross-build/peers/) and is never skipped. It is the proof for the two pairings no scene reaches: a page off1852de3aor of2c7044231on this build's daemon.e2e:code,e2e:deliverables,e2e:library,e2e:tools,e2e:remote,e2e:layout,e2e:settings,e2e:presentations,e2e:lane-a,e2e:agents,e2e:panel,e2e:transcript,e2e:to-human,e2e:design-systems,e2e:composer,e2e:c7,e2e:side,e2e:browser-comment,e2e:scm,e2e:supervisor-daemon,e2e:default,e2e:desk-webandunit:darwin), with this landing's mini copies: manual gate run290d2716b9d4-20261116T194011Z, on290d2716b, the batch's tip when it ran: RED at three scenes, all three of the batch's last landing (U5b-1, UX wave U5b: Review and source control #590), two ine2e:codeand one ine2e:side. Every other group passed:unit:darwin624 passed and 10 skipped;e2e:deliverables14;e2e:library12;e2e:tools16;e2e:remote16;e2e:settings27 passed and 1 skipped;e2e:presentations38 passed and 10 skipped;e2e:lane-a17;e2e:agents27;e2e:panel31;e2e:transcript43;e2e:to-human2;e2e:design-systems10;e2e:composer33;e2e:c752;e2e:browser-comment18;e2e:scm8;e2e:supervisor-daemon27;e2e:layout25;e2e:default131 passed and 194 skipped; the mini copies of remote, lane-a, supervisor-daemon, transcript, to-human, design-systems, library, tools and scm passed;e2e:desk-webran in the tip's Linux run, manual gate run290d2716b9d4-20261116T194043Z: 199 passed and 1 skipped. U5b-1 then fixed the causes of its three scenes in290d2716b..5d4a8d3a0(files of Review, their tests, one e2e support file's failure message and one unit test's hook limit), which moved the tip to5d4a8d3a0, ande2e:codeande2e:sideran again there with their mini copies: manual gate run5d4a8d3a01f0-20261116T220525Z: GREEN. On the hoste2e:code40 passed,e2e:side13 passed ande2e:scm8 passed (e2e:scmjoined the rerun since it uses the e2e support file the delta touches); the mini copy (code, side, scm) passed with the same three counts; the cross-build group ran again there too: 4 passed and 26 skipped against master, 23 passed and 7 skipped againstf1852de3a, 11 passed and 19 skipped against2c7044231, 8 passed and 22 skipped againstb89d6d1d7. An earlier Mac run on this head (5d4a8d3a01f0-20261116T214602Z) ran no scene: each job failed at fetching the run's build, before any test started. The other groups stand from the first run: that delta changes no product code outside Review and no assertion of another group. This landing's part of it (the document's §G):e2e:default, which holds this landing's two scenes ine2e/sessions.spec.ts: changed (U6c's), "a file the transcript links opens from outside the session's folder, is edited, and is written only by Save; nothing else is" (typing with the bytes on disk unchanged, ⌘S, the merge view after a change on disk, and refusals through the page's bridge, each with the bytes read back); added, "Open File… opens a chosen file beside the chat, it saves, and a relaunch keeps it" (the menu and the Files list's row, a save, a relaunch, a file under the launch's profile read-only with its panel and its save refused, Open File… disabled on the Overview and behind a page, and the menu's and the panel's boxes measured inside a 360 px and a 320 px column).e2e:code,e2e:deliverables,e2e:library,e2e:tools,e2e:remote,e2e:layout,e2e:settings,e2e:presentations. The save rule's fix changed no e2e file; every group of the union runs on the tip, which holds it.unit:darwin: this landing's guarded files aresrc/services/files/service.test.ts(a link swapped in on the path underO_NOFOLLOW_ANY, at the read and at both writes; a profile and an app bundle named in another case than the disk's, refused by both writes) andsrc/services/files/own.test.ts(MAWS's own folders answered in the disk's case).e2e:cross-buildagainst master9dab97a44, againstf1852de3aand against2c7044231: manual gate run290d2716b9d4-20261116T194011Z, on290d2716b: all three passed. Against master, 4 passed and 26 skipped; againstf1852de3a, 22 passed, 7 skipped and 1 flaky; against2c7044231, 11 passed and 19 skipped. The flaky scene ise2e/cross-build.spec.ts:995, "(update) the older build’s app keeps a session; the newer build’s app attaches across the minor, is served, launches, meets what the older lacks, and moves to its own supervisor", which no landing of this batch adds or edits: its first attempt failed at "the host of this build hears each attachment" and its retry passed. U6e's two scenes passed against both older builds and skip against master. The tip's later delta (290d2716b..5d4a8d3a0) changes no wire form, no stored form and no scene of this group, so these runs stand. This landing adds two scenes toe2e/cross-build.spec.ts, which has 30 scenes on the tip: "(an outside file, both ways) two files this build chose with Open File…, one saved beside the chat and one a main tab, are shown by the peer only as it could before, its layout write keeping the grants file as it was; this build reads both again and saves" and "(outside file, on the peer’s daemon) this build’s app on the peer’s unit mawsd: a linked file outside the folders shows that daemon’s answer, Open File… says it could not open the file and opens nothing, and files.writeOutside answers unknown_command with the bytes unchanged". Each skips unless its peer isf1852de3aor2c7044231.doperpowers:review-codexhigh panel on M1 and M2 (30e09139a..769171e23) returned two P2 findings, both fixed ined345362a..58a54de6c(Decision Log 13): a bundle's.appsuffix was compared case-sensitively, soMAWS.APPwas not protected; and a queued prompt that MAWS composed counted as the person's words. The delta was reviewed bydoperpowers:reviewer-medium: "correct", no findings.63c97b5c0..fa325e700) returned "incorrect" with three P2 findings, all fixed indf35db173..43edf5bd9(Decision Log 22 and 24). First, the agent's mark was lost when a view was drawn from cold. Second, a row with no recognised delivery frame counted as the person's own text, so a plugin's row could admit a save; the architect ruled that this fails closed, and only a row positively classified as the person's counts. Third, a locked, dirty tab in the merge view had no way out; Reload, Keep mine and the close question's Don't save now stay, and Save stays locked. Two task-review rounds followed (Decision Log 25). After them,doperpowers:reviewer-highon the daemon and shared halves (src/services/files,src/shared/files) returned "correct" with no findings.doperpowers:reviewer-mediumon the renderer half returned two P2 findings: a person's move of a tab kept the agent's mark, and the Files menu, opened again while open, lost the element that held the keyboard. Both were ruled and fixed after the merge of U6b-1 (Decision Log 26). The re-review of that merge and the wave bydoperpowers:reviewer-mediumreturned "correct", no material findings.9384eb358..c2fc5373d: two independent reviews in fresh contexts on Claude models (one Opus, one Fable), both "incorrect", with six findings: the grant test's work was quadratic on text with many<; an anchored comment's texts counted when the message was not read whole; the readers' work was not bounded and the meter was not charged; the guard missed a conversation's first message,.mjsfiles and the resubmit seam's class; two residues in the composer; an edited promotion. All six were fixed, each red first, inc2fc5373d..fd146c286(Decision Log 29).c2fc5373d..fd146c286: one fresh review (Fable): "correct", all six closed. It ran the new grant test against the earlier implementation on 21.5 million exhaustive short strings and 400,000 seeded ones with no difference. Its five low items are rows indocs/tech-debt-tracker.md(dated 2026-11-16, owner "UX wave U6e"; Residue).9384eb358..9d8c5a909, the head of this pull request) on 2026-11-16: "correct", no findings. It marked each of the six findings closed, and ran the new grant test against the earlier implementation on 15,000 seeded inputs with no difference.named.tsand accepted the head.isAppPage(src/main/files/open-file.ts) reads the page's URL without a guard of its own, so a page whose URL getter throws is answeredinternalrather thanforbidden_sender; either way nothing is forwarded.5c794e863(its code equalsfd146c286; the commit changes the execution document alone): the three typechecks exit 0; vitest over the save rule's folders and their importers, 10,037 passed, 1 failed and 57 skipped, the one failure beingviewer.test.tsx"a follow-the-file re-read of a head keeps what Load more had reached", a case known to run at its 5 s default limit on that VM (a tracker row); the script tests 588 of 588; the desk web app's typecheck exits 0 and its tests pass, 794 of 794. Earlier, at the first merge (b32f10443): typecheck (node, web, e2e) and eslint on the files both sides changed exit 0, and the touched folders' suites pass apart from cases that fail on the chain head alone or time out under load and pass alone.f00848b85, engine 2.1.322, the smallest model, a scratch profile on the Mac mini, the window driven by a GUI-driving agent, 02:46Z to 03:01Z. (1) The agent wrote a text file outside the session's folder, linked it and opened it itself withshow_pane: a Files tab opened beside the chat, editable, with no read-only label. On disk: two lines. (2) The person added a line and pressed Save: it saved with no dialog. On disk: three lines. (3) The agent changed the first line with its own Edit tool; the open viewer did not refresh. The person added a line and pressed Save: the file on disk was not overwritten, and the viewer became the merge view (a bar "2 changes from disk" with Previous change, Next change, Reload, Keep mine and Save; "Keep mine" and "Take theirs" on each change). With "Take theirs" on the agent's change and "Keep mine" on the new line, then Save, the file on disk held the agent's line and the person's two added lines. (4) The agent sent a second file withsend_file. Its card reads "Delivered " with the file's name, "Open externally" and "Reveal in Finder"; "Open as file" is not on the card but in the viewer the file's name opens (labelled "Read-only"), under "More actions". Chosen there, the file opened in a Files tab, the person added a line and saved; on disk: two lines. What rests on what: the files' contents after steps 3 and 4, that nothing of the check was left running, and the cost records were read over ssh by the session that ran the check; what the window showed is the driving agent's written observation. No screenshot exists: the driving tool removed its working folder at the task's end before they were copied. Cost: the session's journal holds three result records for the four turns,total_cost_usd0.0051, 0.0063 and 0.0076. Two things came out of it. The document's sentence "'Open as file' on its card" was wrong about where the control is (ticket A sent file's card: editing it in MAWS takes four steps through a viewer labelled Read-only #744 asks whether it belongs on the card). And the reason "Changed on disk since you opened it" was present for assistive technology but was not seen drawn in the side panel's narrow bar; two scenes assert its text only, so a visibility assertion is added and run before anything is concluded.fa325e700: class 1a run 43730335034 and the cross-build runs 43730346438 (f1852de3a) and 43730372181 (2c7044231), success;e2e:defaultrun 43730328762, failure, 4 failed and 250 passed: the Open File… scene on a fault in the Files menu (its item mounted again while the menu was open, fixed in43edf5bd9) and three of master'se2e/side.spec.tsscenes that U6b-1 rewrites, not yet on the branch then (Decision Log 23). Ona5fe86761: class 1a with the desk web app, run 43750285802; seven Mac groups without mini copies, run 43750287519; the cross-build runs 43750318224 (f1852de3a) and 43750329887 (2c7044231); each success.As built, beyond or against the document's first text (its Decision Log has each)
src/engine-host/bash-mode.ts,src/engine-host/session-clear.ts,src/shared/anchor/message.ts,src/shared/engine/host-prompts.ts,src/shared/maws/ask.ts,src/shared/maws/linked-read.ts,src/shared/maws/relay-text.ts,src/shared/wire/local-command.tsandsrc/renderer/src/tools/agents/model/relay.ts.src/shared/engine/grant.ts's test of a grant sentence reads a string in one linear pass, its answers unchanged. In the window, the composer (Composer.tsx,editor/controller.ts) refuses a plugin's fill while a Send waits for a dropped file, and a spawned session's first send goes throughsendFirstOnce(src/renderer/src/sessions/remote-spawn.ts), which releases its mark when the send is abandoned.src/renderer/src/shell/transfer.tsandsrc/renderer/src/app/shell-actions.ts, which §F's list did not name. A tab chosen by the keyboard, and a main tab's moves between panes, do not take the mark back yet (tracker rows).src/main/ipc/router.ts(the architect's; one mechanism,guardCommand). The origin test moved unchanged intosrc/main/ipc/app-origin.ts, whichisAppSenderand the guard both call, so a frame whose URL cannot be read now answersforbidden_senderwhere the invoke used to reject.src/shared/ipc/remote-unavailable.ts(U9's) gains one temporary entry,files.writeOutside, until U6f.test/lane-b/renderer-guards.test.ts(U9's) gains two entries.src/renderer/src/main/Tab.tsx(U13's) gains the tooltip and the click's take-back.src/renderer/src/tools/code/editor/EditorControls.tsx(K1's named exception) no longer cuts the failure sentence.src/renderer/src/tools/maws/panes/connect.test.tshas one expectation gainingagent: true.Residue
files.writeOutsideentry.file://; U6b-4); PDF, HTML and media drawn in the tab (U6b-2).docs/tech-debt-tracker.md: U6c's row of 2026-11-13 on a delivered file that took typing and failed at Save is closed. Eighteen rows are added, thirteen of 2026-11-15 and five of 2026-11-16 from the save rule's closing review (they are the only rows in the diff against master):files.uploadstill writes under a session's upload folder inside the profile;src/main/sessions/main-wiring.test.tstimes out under load;Comment:reads whole with a destination, so a link in the model's answer below it counts for a save (classed with the bound by adoption);grant.tsassumes the folded opening is at most 31 ASCII letters, and nothing asserts it;sendFirstOnceleaves its mark set if the draft's restore never settles.Closes #675
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)