Skip to content

UX wave · U6, a landing of its own (U6e): a file outside the working folder is editable, and Open File… - #735

Merged
SSFSKIM merged 130 commits into
masterfrom
ux-wave/U6e
Nov 16, 2026
Merged

SSFSKIM merged 130 commits into
masterfrom
ux-wave/U6e

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Nov 16, 2026 •

Copy link
Copy Markdown
Owner

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 pin 2c7044231 · execution document docs/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.

  • An outside file can be edited and saved. A file outside the session's folders that MAWS opens on this Mac takes typing, and nothing is written until the person presses Save (the button, ⌘S, or Save in the close or quit question). That covers a file the transcript links, a file the agent sent with 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".
  • Open File… (File menu, ⌘O, and a row in the Files list's right-click menu) shows the system's file chooser and opens the chosen file beside the chat as a kept tab, editable. After a relaunch the tab is still there and still saves. Open File… is disabled when no session's chat is in front (the Overview, the floating Overview included, or a page such as Customize over the chat) and for a session on another machine, where the menu row names that machine.
  • The bar. A savable outside file looks like any file: the bar shows its full path, cut in the middle when narrow and never dropped, and the path's tooltip and accessible description read "Save writes to " (the owner's answer "No label if savable"). Every file tab in both strips now has the full path as its tooltip. A file that cannot be saved shows "Read-only" before the path; it is a button whose panel gives the reason, with an "Open File…" button where choosing the file would make it editable.
  • What stays read-only, each with its sentence: MAWS's own files (its profile folder and its app bundles), wherever they are, a session's own folders included ("Read-only: MAWS does not edit its own files"); a file only the person's "Add a file…" in the Library points at; a file only a tool's output names (a fetched page, a command's output, an MCP result). Before this landing, a file of MAWS's own inside a chat's folders could be saved from a tab, and a delivered file took typing and then failed at Save.
  • A save that can no longer be made says so. If the path now leads to a different file, Save shows "Could not save: the path no longer leads to the file that was opened". If MAWS no longer holds a reason to write the file for this session, Save shows "Could not save: MAWS may no longer write this file for this session. Choose it with File ▸ Open File… to save it". The sentence takes a line of its own and is never cut (this holds for every file tab), and the edit stays in the tab. A file changed on disk meanwhile opens the merge view, as inside the folders.
  • The agent's own opens. When the agent opens a file by itself (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.write takes 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 in sessions/file-grants.json under 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 (ownTexts and personClaim in src/shared/files/named.ts), for a user row 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.

  • By position. Only the content when it is a string, or its first text block, can be the person's own. Every later block, of any kind, names a path for a read only.
  • By content. That text counts for a save only when no reader of a form that MAWS, the engine host or a plugin writes claims any part of it: an artifact's read the host attaches, a paste's frame and body, an anchored comment's lead, passage and tag, a side question promoted to a thread, MAWS's answer envelope in either form, a grant sentence, the plan handed back at a clear, the bash echo, an owner question's answer line, a relay to an agent or a peer, and a typed slash command at the start of any line. Each reader shares its constant with the form's writer. A block that holds the person's words together with an envelope or a grant names a path for a read only, whole. The comments of an anchored message count only when the message is read whole (it has a destination and its comments, written back, reproduce the text exactly); otherwise the whole text reads only.
  • Bounds. A text counts only up to 65,536 characters (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.
  • Limits. Content assembled at run time is outside what the guard can see. Two edges a person can meet, both failing closed: a message with any line that starts with a slash and a name (a line "/health", a file at the root such as "/notes.md") is read as holding a typed command and names nothing for a save; and the length bound counts a paste's body, so a short typed request beside a pasted text longer than the bound names its paths for a read only.
  • By adoption. Text that an engine plugin fills or suggests into the composer's draft, and that the person then sends, counts as the person's, as pasted text does. Only the person's press sends it: a fill carries no submit, a suggestion enters the draft only by Tab, and a spawned session's first message, the one send MAWS makes by itself, refuses a fill or a suggestion until it has gone. Telling such text apart needs a mark per range of the draft; that is A positive mark of the text a person typed, so an outside save rests on an allowlist and not on recognising MAWS's own forms #724.
  • The guard. test/support/person-sends.test.ts reads every source file of src/ and apps/ (.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 f1852de3a does with it.

  • Stored. One new profile file, sessions/file-grants.json. Build f1852de3a and 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 main file tab. No version moves, and neither settings file changes (file.open takes 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, f1852de3a shows its refusal and 2c7044231 shows the file read-only), and leaves the grants file as it was; back on this build, the tab reads and saves again.
  • Sent. Wire minor 51 (master is at 50, U10b-2's). files.read and files.openExternal may carry agent; the read's answer may carry outside and own; machine.client may carry bundle. The new commands are files.writeOutside and the main-only files.grant. layout.openFile is main's own command and is not on the wire. A daemon of f1852de3a or 2c7044231 answers unknown_command to 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; its files.write is 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.writeOutside is 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 in docs/doperpowers/plans/2026-09-28-c8-right-panel.md, at G1 in docs/doperpowers/plans/2026-10-05-e5-editor.md, and in U6c's Decision Log 27.

Verification

  • The head and what it holds. The head is 9d8c5a9094dbe54ca0409828f4a8792ccf486b3a on ux-wave/U6e, the first link of the wave's second batch. Up to 2a6a2eba9 it is the landing as it first stood: its own work ending at a5fe86761, the merge fb1bcfbee of U10b-2's head as it then stood, a33936c0f (each conflict "both sides added", kept both with the chain head's lines first: rows of docs/tech-debt-tracker.md, three places in e2e/cross-build.spec.ts, and src/shared/ipc/wire.ts with wire-manifest.json, which took the chain head's minor 50), b32f10443 (wire minor 51 and the regenerated manifest, alone) and 2a6a2eba9 (one document line). Then two cascade merges of U10b-2's heads bring master's tree: 1b44c64fa merged 0cbec050c, 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 of docs/charter.md's Decision Log, kept both in date order), and d0534f5b5 merged 3b7493f44, 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) and 9d8c5a909 (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.
  • No pull request must be on master before this one. Master 9dab97a44 holds the first batch (U10b-1, U6b-1, U10b-4, U10b-2) and its tree equals U10b-2's head 3b7493f44, 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.
  • It lands as a master-first merge: the merge of master 9dab97a44 and this head, whose tree equals the head's tree (fbde42471: git merge-tree --write-tree 9dab97a44 9d8c5a909 prints it, and git rev-parse 9d8c5a909^{tree} prints the same), because the head already holds master's tree.
  • The gate. No run of GitHub's own gate exists for this head; the manual gate stands in for it. Class 1a runs on each link's own head; the Mac groups of the batch's four links (U6e, U8d, U2b, U5b-1) run once, as their union, on the batch's tip, U5b-1's head, which holds this head: 290d2716b when the union ran, 5d4a8d3a0 after U5b-1's fixes for what that run found.
  • Class 1a, on this head: manual gate run 9d8c5a9094db-20261116T203229Z: RED at one unit file, and so was the rerun of that shard, manual gate run 9d8c5a9094db-20261116T210920Z. plan; static (the script tests 588 of 588); probes 347 of 347; unit shards 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 is src/renderer/src/transcript/view/TranscriptSlot.test.tsx under the compiled project: its beforeAll hook, 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: commit ea848b845, 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 holds test/cross-build/files-schema.test.ts, which parses each older build's files.read and files.write inputs 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 of f1852de3a or of 2c7044231 on this build's daemon.
  • The Mac groups, on the batch's tip: the union of the batch's groups (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-web and unit:darwin), with this landing's mini copies: manual gate run 290d2716b9d4-20261116T194011Z, on 290d2716b, 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 in e2e:code and one in e2e:side. Every other group passed: unit:darwin 624 passed and 10 skipped; e2e:deliverables 14; e2e:library 12; e2e:tools 16; e2e:remote 16; e2e:settings 27 passed and 1 skipped; e2e:presentations 38 passed and 10 skipped; e2e:lane-a 17; e2e:agents 27; e2e:panel 31; e2e:transcript 43; e2e:to-human 2; e2e:design-systems 10; e2e:composer 33; e2e:c7 52; e2e:browser-comment 18; e2e:scm 8; e2e:supervisor-daemon 27; e2e:layout 25; e2e:default 131 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-web ran in the tip's Linux run, manual gate run 290d2716b9d4-20261116T194043Z: 199 passed and 1 skipped. U5b-1 then fixed the causes of its three scenes in 290d2716b..5d4a8d3a0 (files of Review, their tests, one e2e support file's failure message and one unit test's hook limit), which moved the tip to 5d4a8d3a0, and e2e:code and e2e:side ran again there with their mini copies: manual gate run 5d4a8d3a01f0-20261116T220525Z: GREEN. On the host e2e:code 40 passed, e2e:side 13 passed and e2e:scm 8 passed (e2e:scm joined 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 against f1852de3a, 11 passed and 19 skipped against 2c7044231, 8 passed and 22 skipped against b89d6d1d7. 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 in e2e/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).
    • The eight groups whose code this landing crosses: 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 are src/services/files/service.test.ts (a link swapped in on the path under O_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) and src/services/files/own.test.ts (MAWS's own folders answered in the disk's case).
  • The round trips with the older builds, on the tip, e2e:cross-build against master 9dab97a44, against f1852de3a and against 2c7044231: manual gate run 290d2716b9d4-20261116T194011Z, on 290d2716b: all three passed. Against master, 4 passed and 26 skipped; against f1852de3a, 22 passed, 7 skipped and 1 flaky; against 2c7044231, 11 passed and 19 skipped. The flaky scene is e2e/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 to e2e/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 is f1852de3a or 2c7044231.
  • Review.
    • The doperpowers:review-code xhigh panel on M1 and M2 (30e09139a..769171e23) returned two P2 findings, both fixed in ed345362a..58a54de6c (Decision Log 13): a bundle's .app suffix was compared case-sensitively, so MAWS.APP was not protected; and a queued prompt that MAWS composed counted as the person's words. The delta was reviewed by doperpowers:reviewer-medium: "correct", no findings.
    • The max panel on the branch (63c97b5c0..fa325e700) returned "incorrect" with three P2 findings, all fixed in df35db173..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-high on the daemon and shared halves (src/services/files, src/shared/files) returned "correct" with no findings. doperpowers:reviewer-medium on 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 by doperpowers:reviewer-medium returned "correct", no material findings.
    • The save rule's fix, 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, .mjs files and the resubmit seam's class; two residues in the composer; an edited promotion. All six were fixed, each red first, in c2fc5373d..fd146c286 (Decision Log 29).
    • The closing wave, 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 in docs/tech-debt-tracker.md (dated 2026-11-16, owner "UX wave U6e"; Residue).
    • The cross-model review rung this project uses for such a change then read the whole fix as one change (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.
    • The session that keeps master read the closing named.ts and accepted the head.
    • Deferred as minor: 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 answered internal rather than forbidden_sender; either way nothing is forwarded.
  • On the build VM (Linux), not the record. At 5c794e863 (its code equals fd146c286; 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 being viewer.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.
  • Owed after landing: class 1a and the Mac groups on GitHub's own gate, of which no run exists for this head; the manual gate stands in for it. The session that keeps master ruled on 2026-11-16 that paid and live runs are not part of this landing's gate while it runs as a manual gate; each is run first once the ordinary gate works again, and a red there is a regression fixed on master.
  • The live turn with a real engine (the document's Proof 7), run after landing on 2026-11-17 (UTC): all four steps passed. Master 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 with show_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 with send_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_usd 0.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.
  • Earlier runs, not the record (on older heads, before the cascade and the save rule's fix). On fa325e700: class 1a run 43730335034 and the cross-build runs 43730346438 (f1852de3a) and 43730372181 (2c7044231), success; e2e:default run 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 in 43edf5bd9) and three of master's e2e/side.spec.ts scenes that U6b-1 rewrites, not yet on the branch then (Decision Log 23). On a5fe86761: 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)

  • The owner's look on drawn cards (Decision Log 14) replaced the planned "outside" label: a savable outside file carries no label, "Read-only" is a button that opens a panel, and the full path is every file tab's tooltip in both strips. The architect's rulings K1 to K15 (Decision Log 15) set the bar's order, the failure line, and the menu's and panel's widths.
  • Card D was withdrawn (R9): a file the agent sent is editable by its delivery record; a file the person added to the Library opens read-only with a sentence (the fallback, one tracker row).
  • The architect narrowed what names a file for a save (Decision Log 7, 8, 22): a tool's result never counts, and a row counts only when it is positively the person's own. The read is not narrowed; a tracker row says the same narrowing is owed there.
  • Within the person's row, only the person's own text counts, by position and content (Decision Log 28, the architect's ruling), with the closing wave's bounds: the length bound, the linear readers and their budget, the anchored message read whole, the guard's wider reach (Decision Log 29). Each form's constant now has one copy, exported from its writer, which put edits in 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.ts and src/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 through sendFirstOnce (src/renderer/src/sessions/remote-spawn.ts), which releases its mark when the send is abandoned.
  • Decision 19 grew across the reviews (Decision Log 24 to 26): every act of the person's on a file's tab takes the agent's mark back (a click in either strip, the moves between the side and the main area by menu, View, button or drag, the side group's moves, Reopen closed tab), never a restore or a mount. This put insertions in src/renderer/src/shell/transfer.ts and src/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).
  • A locked tab's close question offers Don't save and Cancel only, with Cancel holding the keyboard (Decision Log 25).
  • Open File… is unregistered while the floating Overview is open (Decision Log 21).
  • The Files menu: the late keyboard hand-back after a close no longer closes a menu opened again at once, and a close with no reopen gives the keyboard back to the element that held it when the menu first opened (Decision Log 24, 26).
  • Edits in files other children own: src/main/ipc/router.ts (the architect's; one mechanism, guardCommand). The origin test moved unchanged into src/main/ipc/app-origin.ts, which isAppSender and the guard both call, so a frame whose URL cannot be read now answers forbidden_sender where 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.ts has one expectation gaining agent: true.
  • The wire minor was taken provisionally at 47, then at 49, and finally at 51 above the merged tree, each time in a commit of its own.

Residue

  • UX wave U6f: outside files and Open File… for a session on another machine #677 (U6f): the same on another machine, after the owner's answers "Open and edit there too" and "Pick a file on that machine"; it needs this landing on master and removes the temporary files.writeOutside entry.
  • Not in this landing: further link forms that open a file (a link inside a rendered Markdown file, a subagent's transcript, 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):
    1. a file added to the Library from outside the folders is read-only until chosen with Open File…;
    2. an app of an older build attached to this daemon tells it no bundle;
    3. files.upload still writes under a session's upload folder inside the profile;
    4. for a read, a row the person did not write still names a path;
    5. a presentation window and the repair window pass the router's sender check for every command the guard does not name;
    6. "Open File…" on a file's row can read as "open this file";
    7. the Files tree's menu and the Files icon's menu are two menu families;
    8. src/main/sessions/main-wiring.test.ts times out under load;
    9. the viewer's follow-the-file case runs close to its 5 s limit;
    10. a main file tab chosen by the keyboard is not yet the person's open;
    11. the renderer's other non-modal menus have the reopen race the Files menu fixed;
    12. a main file tab's moves between panes keep the agent's mark;
    13. the Files menu's hand-back state is one per menu, so a close, a reopen and a press elsewhere, all inside one browser task, return the keyboard to the tree row (faster than a person reaches).
    14. an edited promotion whose first line the person types exactly 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);
    15. a message with any line that starts with a slash and a name is read as holding a typed command and names nothing for a save (intended, failing closed);
    16. the length bound counts a paste's body, so a short typed request beside a long pasted text names its paths for a read only;
    17. the work pins assert the charges the code declares, not counted iterations, and the differential's generator does not reach some inputs (a code point that stays astral after folding, a lone surrogate, U+0130, a long input with a true answer);
    18. grant.ts assumes the folded opening is at most 31 ASCII letters, and nothing asserts it; sendFirstOnce leaves its mark set if the draft's restore never settles.
  • A positive mark of the text a person typed, so an outside save rests on an allowlist and not on recognising MAWS's own forms #724: a positive mark of the text the person typed, the follow-up that the save rule's stated limit and its bound by adoption point to.
  • The owner's look at the built surfaces (A1, A3, A4, A8, A9, A12, and a session on another machine with Open File… grey) is in the sitting's scene script; the look given on 2026-11-15 was on drawn cards.

Closes #675

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)

…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)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-16T21:56:46.385864Z 9d8c5a9 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@SSFSKIM
SSFSKIM merged commit a220955 into master Nov 16, 2026
@SSFSKIM
SSFSKIM deleted the ux-wave/U6e branch November 16, 2026 22:47
@SSFSKIM

SSFSKIM commented Nov 16, 2026

Copy link
Copy Markdown
Owner Author

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)

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.

UX wave U6e: a file from outside the session's folders is editable, and Open File

1 participant