Skip to content

UX wave · U6, a landing of its own (U6c): a file the transcript names opens, read-only, from outside the session's folders - #642

Merged
SSFSKIM merged 82 commits into
masterfrom
ux-wave/U6c
Nov 13, 2026
Merged

SSFSKIM merged 82 commits into
masterfrom
ux-wave/U6c

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Nov 13, 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 cut from item O-37 by the owner's answer of 2026-11-13 · parent pin 4d13880be · execution document docs/doperpowers/plans/2026-11-12-ux-wave-U6c-linked-file.md (task reports and progress in .doperpowers/sde/2026-11-12-ux-wave-U6c-linked-file/). Item: O-37, the part the owner answered. Board #622, under epic #573.

What it does

Until now a click on a link to a file outside a session's folders (another repository, a downloads folder, a temporary folder) opened a tab that read "Refused: path outside the session's directories", on every machine, because the files service reads only a session's own folders. The landing started from that refusal shown for a PDF in the Downloads folder, and from the owner's answer on the question card: "Files the transcript names", built as "Own small landing, now".

  • A file the transcript links opens, read-only. On the machine that holds the session, a file outside its folders opens when that session's own transcript writes its path whole, in a form the window makes a file click from. Text, code and images are drawn as a file inside the folders is drawn (the same viewer, kinds and caps). Typing changes nothing, no Save appears, and the editor's title reads "Read-only: the file is outside the folders this session works in" (the one new string). Wrap, Source, the image's zoom, Load more, "Open externally" and a comment on a line are kept; the file's folder is not watched.
  • A kind MAWS does not draw. A PDF outside the folders shows today's row, "PDF files open outside MAWS" with its size, and "Open externally" hands that file to the system (as inside the folders: a regular file with no execute bit and a name on the existing list).
  • Who checks. mawsd, the process that reads the file, searches the session's transcript before it reads (src/services/files/named.ts), in precheck after the roots and the delivered files. The window only says that it knows the rule, with named: true on files.read and files.openExternal, and only for a session on this Mac. Every guarantee of the read boundary holds for the admitted file by the same code (the open with no link on its way, the descriptor confirmed under the roots, the type judged after); the admitted real path is a root of one file, never of a folder.
  • What names a path (decision 3, Interfaces §A). The strings that count: the agent's text and every string of its tool calls' inputs; the person's message, also one the engine took into a running turn; of a tool's result only two things, an MCP call's result text (for the link form) and an edit's toolUseResult.filePath. The forms: an inline Markdown link, [t](/abs/path) or [t](</abs/path with spaces>), with or without a title, a :12 or #L12 suffix, percent escapes and . or .. segments read as the click reads them; a Read's or an edit's file chip, its whole value; an anchored comment's path. The path is compared whole, byte for byte, case-sensitive.
  • What names nothing. A path in prose, in inline code or a code fence, in an autolink, an image or a reference-style link; a path inside a longer name (/vault/.env from a link to </vault/.env backup>, /vault/key from /vault/key,backup or /vault/key:backup); a destination with a scheme (host:/…, file://…, a written maws-path:); a relative link; ~; a path typed in a message that was never delivered; a link only another session's transcript writes, or only a subagent's own rows; a shell's, a search's or any other tool's output.
  • What a refusal shows, unchanged. Every path that is not named answers "Refused: path outside the session's directories", whatever is or is not on disk; so do a request without the key, a request from another machine (for which the transcript is not opened at all) and a named path whose last component is a link. A named directory answers "Refused: not a regular file: ", and a named path that is gone (ENOENT, ENOTDIR) "Refused: not found: ". With the file open, a listing or a watch of its folder, a read of a neighbour the transcript does not link, a reveal and a write of the file itself are refused. No file is withheld by name: a .env or key file the transcript links opens read-only (the owner's choice, decision 18).
  • The routes. The same for a session MAWS runs, a terminal session and an ended or archived session whose transcript is still on disk. A session whose folders no longer resolve (a worktree removed after its merge) still opens a file its transcript names, and nothing else (Decision Log 14 b). A session on another machine shows what it shows today, and its request is today's to the byte. A session with no engine session id yet, or in launch mode scenario, has no transcript and so no named file.
  • Asked again, read again. A refused or named file is read again when its tab is shown again or its link is clicked again, so a link clicked before its row is written opens at the next click. Two consequences inside the folders too: a file tab whose last read failed is read again when shown again or reopened (Decision Log 17), and a change event that changed no byte no longer flashes "Updated" on an image (Decision Log 16; a PDF still shows it after a change event, Decision Log 18).

The limits a person can meet. Each fails towards the refusal (Interfaces §A and §B):

  • The naming record must be among the newest 1 GiB of the transcript; a row longer than 4 MiB is passed over; a path longer than 4,096 bytes is not named, before the transcript is looked for.
  • A link's destination and title are read for 16 KiB after its (; a longer one is not recognised and refuses the rest of its paragraph.
  • Pending opens: one search at a time per daemon; requests for the same session and path share one search; at most eight distinct searches wait behind it, and a ninth is answered the refusal at once; a request waits eight seconds at most, then gets the refusal; a search no request waits for any more stops and remembers nothing. At most 256 results wait for their call in one search (an older one is not waited for), and 256 answers are remembered, each proven again from its record's bytes at every use.
  • The work meter (Decision Log 24 to 26). Every loop of the link scan over one text, helpers included, charges one meter. The scan gives the daemon's event loop back every 64 KiB of work, and a text whose work would pass 64 visits per character plus 4,096 names nothing from that point on: a link later in such a text opens nothing outside the folders. Each helper has its own cap, past which the rest is refused: a block-level test reads at most 16 KiB of a line, at most 32 container markers on a line, at most 1,024 brackets open, an autolink candidate of at most 16 KiB, a tool name of at most 1,024 characters. Three native calls over a whole row stay outside the meter, bounded by the 4 MiB row cap: the row's JSON.parse, the ]( pre-filter and the anchor's split.
  • Markdown fidelity is bounded by one test, by decision (Decision Log 21 and 23). The rule mirrors the window's Markdown parser by hand. One seeded differential test (named-links.test.tsx, seed 0x6c696e6b, 2,000 strings of link-shaped fragments) asserts one direction only: every path the rule names is a chip the window draws. The other direction, a chip the window draws that the rule refuses, is counted (71 window-only chips at the head) and not asserted; such a link keeps the refusal, and the known forms are a tracker row. No further review round looks at Markdown fidelity.
  • A link to an unqualified absolute path that its writer meant for another machine opens this Mac's file of that path, if there is one; the tab's title shows the path (ruling A.6).
  • A file system call of a search that never returns (a mount that stopped answering) keeps the one search slot until the daemon restarts, and every named file reads as not openable until then (Decision Log 20, ruled).
  • A named PDF rewritten in place to the same size and type shows the same row on a revisit (Decision Log 18); a transcript rewritten in place so that its length and its fingerprinted bytes stay the same is not seen until it changes there (S12); between a transcript's move and the index's news the answer is the refusal until the next ask.

What the check stops, and what it does not (decision 5). It stops a direct request for a path the session's transcript does not write as a link or a chip: from a fault in the window, from a mod's surface, from a caller on another machine. It does not stop a caller that can also put a message into that session, which could write the link first; that message then stays in the transcript, where the person can see it. A read under this rule uses the daemon's access to the file system.

What is sent, and what build f1852de3a does with it. Nothing is stored: no layout key, no field of a stored tab, no settings key. The wire's minor is 41 (master's is 39; U8b takes 40): files.read's input and answer and files.openExternal's input gain an optional named: true; files.readResolved leaves it out. The manifest also records the optional key on the outputs of files.readResolved and library.read, which share the read's output schema and never set it. The fingerprint is unchanged, 7e1dca2c808bbffe.

  • This build's window served by build F's mawsd on this Mac: F's front drops the key it does not know and serves the plain read, so a file outside the folders shows today's refusal; once this build's mawsd serves, the tab reads again.
  • Build F's window served by this build's mawsd: it never sends the key, so nothing is admitted by name.
  • A window on another machine reading a session of this Mac: the endpoint's schema takes the key, and the service sets it aside for a remote caller before it opens anything: today's refusal. This build's window never sends the key to another machine, whose endpoint of build F would answer malformed.
  • A run of this build, then F, then this build: a tab of a named file is a file tab with today's fields; F restores it and shows its own refusal, this build reads it by the rule again.

By ruling there is no cross-build scene for the key (Interfaces §D): the unit cases hold both call sites against a reader that does not know it, and the key's absence on every request to another machine.

The record. docs/charter.md §19 gains the dated entry of 2026-11-13 for O-37, and docs/doperpowers/plans/2026-09-28-c8-right-panel.md a dated line under K1: files.read and files.openExternal also admit, for a caller on the session's own machine that asks with named: true, one regular file whose path the session's transcript writes; files.write, files.list, files.watch and files.reveal do not. docs/tech-debt-tracker.md gains four rows (Residue).

Verification

  • The head and what it is made of. The pull request's head is 04619f0aeb5eac17613275dd6772dbc63c0737c2. code, deliverables, remote and the round trip with build f1852de3a are of record on the merged head c19c348cd7c6ce9138f09be00abea7808a25bc5e; default, class 1a and the macOS-only unit tests are of record on the head itself. The merged head is made of:

    • 4811f148a, the branch's own last commit before the chain merge (the work meter's round ticked in the document);
    • b394cdcce, the merge of the chain head 76408bb9c (branch ux-wave/U8b: master 82a795fdb with the side column landing U8b);
    • 6d0ebbdcf, the wire manifest made again at minor 41 by pnpm wire:manifest on the build VM; the fingerprint is unchanged;
    • c19c348cd, the merge of U8b's last two commits, 09fc1c35e and c21b21042, which change only e2e/panel.spec.ts and U8b's execution document (git diff --stat 6d0ebbdcf c19c348cd: 2 files changed, 21 insertions, 2 deletions).
  • This pull request is read against master only after U8b (UX wave · U8, second landing (U8b): the side column and its tabs #637, board UX wave U8b: the card column, the two panels and the side column's tabs (UC-9, O-36) #580) is there; it is (UX wave · U8, second landing (U8b): the side column and its tabs #637 landed as 0436cb51c; master is now 8887113a6, which the head holds). U8b is its predecessor in the chain. Against U8b's head the diff is this landing's change alone: git diff --stat c21b21042 c19c348cd | tail -1: 32 files changed, 5194 insertions, 129 deletions.

  • The chain merge: b394cdcce. Three files conflicted: docs/charter.md §19, where both sides added dated entries at the log's end (both kept, the chain head's three first); src/shared/ipc/wire.ts, 37 here and 40 on the chain head, now 41 with the chain head's history note kept whole and this landing's keys named as (41); wire-manifest.json, taken from the chain head and made again in 6d0ebbdcf. docs/tech-debt-tracker.md, e2e/sessions.spec.ts, src/services/spine-root.ts and its test merged with no conflict (in spine-root.ts the chain head edits the lane A attention digest, this landing the transcript locator given to the checkouts service).

    • What it brought in (git diff --stat 4811f148a b394cdcce | tail -1): 581 files changed, 34493 insertions, 4050 deletions; to the merged head (git diff --stat 4811f148a c19c348cd | tail -1): 581 files changed, 34508 insertions, 4046 deletions (483 under src/, 339 of them under src/renderer/src). The branch's own change (git diff --stat 76408bb9c...4811f148a | tail -1, from the merge base 7cf82560b): 32 files changed, 5194 insertions, 129 deletions.
    • The landing rule's three tests all fail:
      • (a) The incoming change and the branch's own change share seven files: docs/charter.md, docs/tech-debt-tracker.md, e2e/sessions.spec.ts, src/services/spine-root.ts, src/services/spine-root.test.ts, src/shared/ipc/wire.ts and src/shared/ipc/wire-manifest.json.
      • (b) The incoming change touches e2e/ (50 spec files and nine support files), test/support/ (five files) and two config files, tsconfig.e2e.json and tsconfig.web.json. None of the three refinements applies.
      • (c) Two directories two levels under src/ hold changes from both: src/renderer/src (different files: the chain head's under tools/code/review, transcript/ and elsewhere, this landing's under tools/code/viewer, open-file.ts, copy.ts, named-links.test.tsx and test-support/code-disk.ts) and src/shared/ipc; the folder src/services itself also shares spine-root.ts and its test.
    • So this landing's whole set ran again on the merged code, group by group, and none stands from an earlier head. On c19c348cd: class 1a; the macOS-only unit tests; code, deliverables and remote; and the round trip with build f1852de3a. default, which holds the new scene, ran on the head 04619f0ae (below). panel, whose spec file the second merge brings, is not among this landing's groups; it ran green on U8b's head c21b21042 (run 43479899050).
    • Proof on the build VM after the merge: the node, web and e2e typechecks exit 0 at 6d0ebbdcf, and the e2e typecheck again at c19c348cd; eslint on the files both sides changed exits 0; the whole unit suite at 6d0ebbdcf: 2,554 files passed and 6 failed, the six that fail on master on that VM too (38,057 tests passed, 42 failed in those six); the gate's script tests 560 of 560 at c19c348cd. Five scenes where one side asserts on a surface the other changed (sessions, code-editor, code-tools, deliverables, remote) were read against the merged code; none needed an edit.
  • Runs on the merged head c19c348cd:

    • Class 1a: run 43481229284 (static,unit,probes): green (static, static-local, unit 1/4 to 4/4, probes, and its own two-build job with master 82a795fdb as the peer, wire 3.39 against this tree's 3.41). In that two-build job one scene passed only on its retry: e2e/cross-build.spec.ts:2204, "(side column, from the peer)", U8b's scene (Residue).
    • macOS-only unit tests: run 43481433303 (--gates unit:darwin --affected, 196 paths from the merge base 82a795fdb): green.
    • Electron e2e, code, deliverables and remote on the hosted Macs: run 43481264849: green; from each group's report, code 37 of 37, deliverables 12 of 12, remote 9 of 9, none flaky.
    • The round trip with build f1852de3a: run 43481334721 (--gates e2e:cross-build --peer-exact f1852de3a, wire 3.33 against 3.41): green, 16 scenes, 9 passed, 7 skipped, none failed, none flaky. Passed: update, downgrade, update with the mawsd restart, the two layout scenes, settings both ways, the sidebar both ways and the two side column scenes. The seven skipped (update and downgrade on the daemon shape, the embedded profile, the pre-O3 and pre-O4 apps, render, the pre-O17 app) need another peer shape. It holds no scene of this landing's (ruled, above); it shows that nothing stored changed for that build.
  • The head over the merged head. 8767ddda1 merges master 0436cb51c, with U8b (UX wave · U8, second landing (U8b): the side column and its tabs #637) landed, into c19c348cd. It changes no file: git diff c19c348cd 8767ddda1 prints nothing, and both commits have the tree 5cdeca1e000fce220901f82e06a8d6cd6b5d69d5. Master's tree at 0436cb51c is U8b's head's (d7c40a118fa7b1fd0f8def18ee965ee59ec1c9ca), which this branch already held. c8251e70b is one commit over it that changes the execution document only (git diff --stat 8767ddda1 c8251e70b: 1 file changed, 8 insertions, 6 deletions). f446a7c85 merges master 871b463d8 (e2e document.spec: caretAtEndOf places the caret again when it misses, and reports each miss #638), which changes one file, e2e/document.spec.ts (46 insertions, 30 deletions: its caret helper places the caret again when it did not hold). This is the spec-only reading: nothing imports that spec (git grep -n "document\.spec" f446a7c85 -- e2e src test scripts package.json finds the e2e:document-app script and comments), and of this landing's groups only default runs it. So the runs on c19c348cd stood for f446a7c85, and default, class 1a and the macOS-only unit tests ran on it all the same. default failed there in two scenes that are not this landing's (below), and e2e: two scenes that failed inside e2e:default on the Mac mini now settle on what the app states #641 repaired them. 04619f0ae merges master 8887113a6 (e2e: two scenes that failed inside e2e:default on the Mac mini now settle on what the app states #641) into f446a7c85, with no conflict: four files, e2e/lane-a.spec.ts, e2e/agent-tools.spec.ts, e2e/settings.spec.ts and one row of docs/tech-debt-tracker.md (git diff --stat f446a7c85 04619f0ae | tail -1: 4 files changed, 50 insertions, 25 deletions). The spec-only reading again: the three specs belong to lane-a, agents and settings, and of this landing's groups only default runs any of them. So code, deliverables, remote and the round trip stand from c19c348cd, and default, class 1a and the macOS-only unit tests ran again on 04619f0ae. The diff against master is this landing's change alone (32 files changed, 5196 insertions, 129 deletions).

  • Runs on the head 04619f0ae:

  • Runs on f446a7c85, the head before e2e: two scenes that failed inside e2e:default on the Mac mini now settle on what the app states #641's merge:

    • Class 1a: run 43488324665 (static,unit,probes): green (static, static-local, unit 1/4 to 4/4, probes, and its own two-build job with master 871b463d8 as the peer, wire 3.40 against this tree's 3.41, with no scene on a retry).
    • macOS-only unit tests: run 43488359049 (--gates unit:darwin --affected, 32 paths from the merge base 871b463d8): green.
    • Electron e2e, default beside code, deliverables and remote, on the Mac mini's host: run 43488253458: failed, 548 scenes, 243 passed, 303 skipped, 2 failed, no retry. The two are e2e/lane-a.spec.ts:570 (the side column landing's, UX wave · U8, second landing (U8b): the side column and its tabs #637) and e2e/settings.spec.ts:387 (the settings landing's, UX wave · U11, first landing (U11a): Settings, connectors and the Org pages #635); this landing changes neither file nor what they test. Both settled by time or read too early and had never run on the Mac mini; a control run of their own groups there on this head failed the settings scene the same way (run 43507479208: settings 26 passed, 1 failed; lane-a 17 passed). e2e: two scenes that failed inside e2e:default on the Mac mini now settle on what the app states #641 holds the causes and the repairs. This landing's own new scene passed in that run.
    • On the Mac mini, by the rule the P5 architect set after those two failures (a landing whose diff adds or edits a spec runs each group that lists it once on the Mac mini as well as where the group usually runs): code 37 passed and deliverables 12 passed in the guest lane (run 43518539992); remote on the host with --lane no-hosted (run 43520200425): 9 passed. default runs on the Mac mini in any case. By the spec-only reading these stand for 04619f0ae.
  • Runs on the heads between (8767ddda1, the merge of master 0436cb51c; c8251e70b, the document commit):

    • On c8251e70b: the macOS-only unit tests, run 43486565306 (--gates unit:darwin --affected, 32 paths from the merge base 0436cb51c): green; class 1a, run 43486525641: green (static, static-local, unit 1/4 to 4/4, probes, and its own two-build job, with no scene on a retry).
    • On 8767ddda1, before the document commit: the macOS-only unit tests, run 43485556223 (--gates unit:darwin --affected, 32 paths from the merge base 0436cb51c): green; class 1a, run 43485507854: green (static, static-local, unit 1/4 to 4/4, probes, and its own two-build job, with no scene on a retry).
  • Review. The doperpowers:review-code xhigh panel (run wf_8d0b844c-c63) on b865c90e7..0282e6585, five lenses (the admission rule, read-only, the "Updated" and reload changes, the search's bounds and crossing between sessions, the wire both ways): verdict "incorrect", six distinct findings (one P1, five P2), each confirmed by the panel's verifier; a seventh was a duplicate of finding 4. All six were fixed in one wave, 0282e6585..2763c80d2, a failing test before each fix (Decision Log 19):

    1. (P1) A path inside a link's destination or title was admitted: [r](</vault/[x](/secret).txt>) and a title holding [x](/secret) named /secret. The scan now goes on after the resource it read.
    2. One row could hold the event loop: the rule ran every candidate of a row in one step. It now runs in steps (NAMED_CLAIM_STEPS, 64) and stops at the first link that names the path.
    3. A later chunk's named was ignored. Any read of a load that answers named makes the entry named.
    4. A failed tab read again had no watch, so a recovered file inside the folders showed no later change. The retry takes a new watch first.
    5. A request could join a search of the transcript its session had before /clear. Each request resolves its own transcript before it looks for a job, and the job's key holds that transcript.
    6. A transcript that is not a regular file (a FIFO) could block the search's open. The search opens without blocking and checks the type on the descriptor. Fixed in part: freeing the slot for a call that never returns was ruled out (Decision Log 20; above).

    The wave's task review found three Important (a text shaped like a reference definition hid links the window draws; the 16 KiB skip ran past a quote's blank line; the transcript lookup ran outside the request's deadline and cancellation) and two Minor (a test of the read's yield that passed without it; the tool input walk's step count). They were fixed in 27642fa93..0415baa64, with the differential test of Decision Log 21; that round also stopped naming a path the window draws no chip for (Decision Log 22 and 23, below). The architect's delta review, doperpowers:reviewer-medium on 0282e6585..99b3de9cd (lenses: the deadline, job sharing, the watch retry, the yield, the non-blocking open; not Markdown), found nothing in those and four P2 of one class: the new block and inline passes of src/shared/files/named.ts did work that grows with the square of the input outside the step budget (a tower of list markers each testing the rest of the line for a thematic break; a delimiter row's backtracking pattern; a delimiter run's lookahead; the bracket stack walked at every link), so one text under the row cap could hold the daemon past a request's deadline. Ruled as one rule, the work meter (Decision Log 24), built in 7f8847cf6..c369ea8ad with its tests first at b6868d080. Its task review found two Important (the loop that hands each context to the inline pass was not metered: a text of 1.2 million empty table cells ran 1,239,915 steps between two pauses; the path's needles ran on a path of any length on the missing-file route) and one Minor (refusal exits that did not charge their work), fixed in 068790e6a..ac6887089 (Decision Log 26). The architect read both diffs; by ruling that was the scanner's last round.

    Before the branch review: the document's adversarial review found four (two P1: the first rule, "occurs with a boundary on both sides", admitted other files; a remembered answer outlived its evidence; two P2: no bound on all searches together; the document claimed more than the check gives), all accepted and ruled (Decision Log 4 to 10, revision 6424e46b4). M1's task review found the results waiting for their call unbounded and quadratic (now 256, Decision Log 13); M2's approved, with one test the architect asked for (6274a787a, the session with no folder that resolves); M3's found two Important (a save's conflict read dropped named; a PDF's change to the same size was silenced), fixed in 54bbb934f (Decision Log 18).

  • Class 1a, first passes: run 43437156924 on 0282e6585, run 43455294628 on 99b3de9cd and run 43469503403 on 4811f148a: each green (static, static-local, unit 1/4 to 4/4, probes, and its own two-build job).

  • Electron e2e, first passes, code, deliverables and remote on the hosted Macs: run 43437147102 on 0282e6585, run 43455291525 on 99b3de9cd (code 37 of 37, deliverables 12 of 12, remote 8 of 8) and run 43469464521 on 4811f148a: each green. The new scene first ran on a Mac in default on f446a7c85 (run 43488253458), where it passed.

  • On the build VM (Linux): each milestone's typechecks, eslint and vitest over its folders and their importers (counts in each task report). The measurement of A9 (a search that finds nothing over a transcript of the full 1 GiB while fifty files.list calls run one after another; bounds: worst 100 ms, search 4,000 ms), at each round: named: search 1904 ms; list median 5.4 ms, worst 21.7 ms at M1; 2314 ms; 6.5 ms, 20.0 ms after the panel's wave, with a newest row of 100,000 candidates; 2372 ms; 5.1 ms, 19.5 ms after the work meter's fix pass, with named scan work: … 300 hostile texts, 7535841 characters, most work per character 36.4 (bound 64), longest stretch 101406 (bound 1048576) and the differential at 1,245 named paths checked and 71 window-only chips. The whole pnpm test at M3 (0f766d5f8): 2,500 files passed and 7 failed, the VM's known six and src/main/org/rows.test.ts, which passes alone.

As built, beyond the document's first text (its Decision Log has each)

  • The window parses a path chip's href as a URL before the click reads it (rehype-harden's transformUrl), a step the rule did not have; six strings disagreed. A link destination is now named only when the URL reading gives the same path as the plain reading, so the parser can take a name away and never add one; Chromium's parser is not tested against Node's, by design (Decision Log 12).
  • A written maws-path: destination is drawn as a path chip by the window and refused by the rule; an open point for U6b (Decision Log 13).
  • The service's Purpose gains admitNamed, so reveal, write, list and watch cannot reach a named file by construction; a session with no folder that resolves still opens a named file (Decision Log 14).
  • A second counted result form, an edit's toolUseResult.filePath, found in the window's code; a link in the mixed result of a tool the window does not know is not counted ("Reported at the revision" 1 and 2).
  • Reversed by the differential (Decision Log 22 and 23): a link written inside a code fence, inline code, $$ math, another link's or an image's text, an autolink, after a literal web address or in a footnote's definition is no longer admitted, since the window draws no chip there. The record forms of decision 2 stay (an MCP result past 64 KB, a tool input drawn as JSON or plain text, a person's text drawn without links).
  • The two changes inside the folders (Decision Logs 16 and 17), the second narrowed for PDFs (Decision Log 18); a save's conflict read carries named.
  • NAMED_PATH_MAX, 4,096 bytes, checked in names() before the locator (Decision Log 26 b).
  • normalizeLexically moved from tools/code/open-file.ts to src/shared/files/named.ts, unchanged, and is exported again from its old place.
  • docs/tech-debt-tracker.md gains four rows where the document's "The pull request" names three: the fourth is the row of the window-only chips, from Decision Log 21.

For the owner

  • The card's sentence "so the window cannot ask for other files" said more than the check gives; decision 5 above is what it gives.
  • A .env or key file the transcript links opens read-only; nothing is withheld by name.
  • The one new string: "Read-only: the file is outside the folders this session works in".
  • Inside the folders too: no "Updated" flash on an image whose bytes did not change, and a failed file tab is read again when shown again or reopened.
  • A session whose folders no longer resolve still opens a file its transcript names.

Residue

  • Not done yet:
    • The live turn (the document's proof 6): a session MAWS runs, with a real engine; the agent writes a file outside the session's folder and links it; after the turn the click opens it read-only, and a click while that message is still streaming shows the refusal and a second click opens it. It is the one route the suites cannot show, and it rides in the owner's next sitting.
    • The owner's look (the document's proof 7): A1, A2 and a session on another machine showing what it shows today, and the one new string, in the same sitting.
    • The document's proof 1 asks for the new scene alone and then its group; only the group runs (default above).
  • Four rows in docs/tech-debt-tracker.md, 2026-11-13: owner U6c, a file send_file delivered from outside the folders takes typing in a file tab and then fails its save; owner U6c, the link rule refuses some path chips the window draws (the forms known, the meter's refusals, and the exits: parse with the window's own parser, or run the search off the event loop with a hard stop at the deadline); owner U6b, a link inside a subagent's drill-in opens a file outside the folders only when the session's own transcript writes it; owner U6b, a link in the mixed result of a tool the window does not know keeps the refusal.
  • For U6b (UX wave U6b: files beside the chat, links, and the rest of the keyboard #592), by name (Interfaces §F): the written maws-path: chip (the window stops drawing it, or the rule admits it); file:// and relative links, each added to "The click sources" and to the rule in the same change; the refusal in plain words (this landing changes no word of a notice); PDF, HTML and media drawn inside MAWS, and its route that serves a file to a frame, which asks with the same key; the instruction sentence to the agent; show_pane for a file outside the folders and links in a rendered Markdown file or a side question's answer, which keep the refusal here.
  • The spec's records that state the old rule follow in the architect's next spec batch ("Reported at the revision" 7): the root still says "so the window cannot ask for other files" in two places; the section's A5 does not say the path must be written as a link or a chip; "charter §12 C8" as the rule's place; the UC-8 rows for wire.ts, src/services/files/ and src/shared/files/; and U6's section gains this landing's limits (the session with no folder that resolves, the bound of 256 waiting results, no admission inside code). The register's row for O-37 changes at landing.
  • Class 1a's two-build job on c19c348cd (run 43481229284): "(side column, from the peer)", e2e/cross-build.spec.ts:2204, passed only on its retry; it is U8b's scene and this landing does not change e2e/cross-build.spec.ts. The first sighting in this wave's gate logs; its cause is not known.
  • For the test-hygiene ticket Unit suites print unasserted output (act warnings, a stray comment mark, a changed Yjs client id) #612, all older than this landing: unasserted output in passing unit runs ([settings] engine.configure failed in M2's, a TranscriptSlot bridge's stderr in M3's, an importer's stderr in the fix wave's); src/main/org/rows.test.ts failing under the whole suite's load on the build VM and passing alone.
  • src/shared/files/named.ts is 1,140 lines, the mirror of the window's Markdown with its meter; splitting it is optional tidying (the tracker row's exit removes the mirror).
  • Not verified: Chromium's URL parser against Node's (safe by Decision Log 12); build F's handling of the key, read in its code and pinned by unit cases, not run in a scene (ruled).

Closes #622

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

…e the session's folders

The execution document for the landing cut from O-37 by the owner's answer of 2026-11-13 (ticket 622): the click's
path grounded at master c0e7b2a and against build F, fifteen decisions settled with the alternative each beat,
twelve points reported for the architect's ruling, three milestones, and the owner's words as the Decision Log's
first entries. No product code.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…the architect's rulings folded in

"Names" is now whole-path forms the window makes a file click from, enumerated from the renderer's code (a Markdown
link's destination, a read's and an edit's chip, an anchored comment's path), not "occurs between two boundaries";
a tool's result counts only in the two forms the window draws a file click from; a remembered answer is proven
again from its record; every use of a transcript goes through one queue, measured in M1; the document says what
the check stops and what it does not. Parent pin 4d13880. Decision Log 4 to 10 record the rulings. No product code.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…s scene asserts a file tab of)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…that name nothing

The tables of Interfaces §A (src/shared/files/named.test.ts), the search's cases and sequences S4 to S15
(src/services/files/named.test.ts), and the test that holds the window's own Markdown, chip and anchor readers to
the rule (src/renderer/src/tools/code/named-links.test.tsx). The two modules export stubs, so every "names" case is
red and every "does not name" case green before the rule exists. normalizeLexically moves to the shared module
unchanged and is exported again from open-file.ts.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…its memory and its queue

src/shared/files/named.ts: the three forms (an inline link's destination read as the click reads it, a chip's whole
value, an anchored comment's path), rowClaim over the counted records, callClass, and the needles a naming line must
hold. src/services/files/named.ts: the transcript read backwards in 1 MiB steps through a read-only handle, a line
parsed only when it holds every needle or a waited call's id, request records skipped unparsed; a hit proven again from
its record's bytes at every use, a miss resumed from a fingerprinted checkpoint; one job at a time for the daemon, eight
waiting at most, a waiter's eight seconds, the event loop given back after every read and parse. The measurement
(named.measure.test.ts) runs on request alone.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…t is proven by

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… line; the window's URL step, brought to the architect)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…kPath step 7 and six listed refusals)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…' bound; a written maws-path: destination refused and left to U6b; the pre-filter as the second reason for 12)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…re the code

The rule's suite and the holding test gain §A clickPath step 7 (Decision Log 12): five destinations that serialise to
other strings and still name their path, and the six ruled refusals with the review's two user-field strings and a
destination that already carries the chip's scheme, each with what the window's click asks for. The search's suite
gains the waiting calls' bound (NAMED_PENDING_MAX, declared here with no effect yet): a cost case over a thousand
results whose calls are never found, the cap at 256 and the cap the suite sets, and the fixtures' `"id":"<id>"`
shape the one-pass check will rest on.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ed and checked in one pass

src/shared/files/named.ts: clickPath step 7 (Decision Log 12). The rule's reading of the href stands, and it is the
answer only when the same reading of new URL('maws-path:' + href) less its scheme gives the same path; null when the
parse throws or the paths differ. src/services/files/named.ts (Decision Log 13): a line's check against the results
waiting for their calls reads each "id":"…" the line holds and looks it up, one pass however many wait, and at most
NAMED_PENDING_MAX (256) results wait; an older one past the cap is not waited for, which fails towards the refusal.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…of the path, so each runs clickPath's URL step

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… measurement with the URL step)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…tches 7 and 8)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…nd files.openExternal, the client's signal, the key on the wire, the locator)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…files.openExternal with named, for this machine's callers), the client's end as the wait's signal, the locator, the wire's minor 37

precheck asks the transcript after the roots and the delivered files, never for a remote caller, at most once; the
admitted real path stands as a root of one. files.read answers named: true for such a file. The checkouts build one
search for the daemon; the spine's root passes the locator (the index's path when it is the record's engine
session's file, else where the engine writes it; none while the index is not read).

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

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… folder that resolves reads a named file and nothing else

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…s), red before the store changes

The fake disk gains folders outside the session's and the paths its transcript names, answered as the service does.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…again when asked again; the scene; the record

The viewer store asks files.read with named for a session on this Mac and sets the entry's named from every load's
answer; a named entry is never editable, its reason the editor's title, and save sends nothing. revisit reads a failed
or named entry again at its next showing or when openFile opens it again. Open externally asks with named on this Mac.
e2e/sessions.spec.ts gains the scene of Interfaces §E. The charter's §19, K1 in the C8 document and three tracker rows
carry the record.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ichever pane opens it

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…hanges folded in (Decision Log 15 to 17)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… kind's unchanged-bytes shortcut on a revisit alone

The conflict read's answer sets the entry's named, and with it editability, the unsaved document standing (Decision
Log 15 e), so no later save sends a write the service would refuse. An external kind is read for its size and type
alone, so after an event it lands with Updated as before; only a revisit takes it as unchanged. Regressions for both.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…Log 18; ruling 16 narrowed for external kinds)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…revision point 4 and M1 decision 7 revised; the tracker row's exit removes the mirror

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… its tests, one index test, one tracker row; the tracker's two row blocks kept, ours then master's)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…unded by construction (one meter, a cap per helper, no unbounded quantifier)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…'s four inputs and a seeded generator of hostile shapes, each held to two counts (work within a multiple of the length, the longest stretch between pauses within a constant) and to an independent count of visits and of any regular expression's input; a pause of the scan is a turn of the loop at once

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…d the pause test counts turns from the open, not while the file is read

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…loop of both passes charges, a pause every 64 KiB of work honoured by the daemon at once, a budget of 64 visits per character; the thematic-break test once per line, at most 32 container markers per line, block-level tests capped at 16 KiB of a line, the delimiter row a linear scan, backtick and dollar runs indexed once per context, the opener stack tracked by counts with at most 1,024 open, the autolink pattern run on its one candidate, no pattern on unbounded input

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…isection charges its own steps

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…s test charge what their last try reads; the tracker row names the meter's refusals and the stronger exit (the search off the event loop, stopped at the deadline)

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

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…h the list of regular expressions and their bounds)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…on empty cells, its array iteration counted between pauses; a refusal at a cap counts the work spent; a path past NAMED_PATH_MAX is not named and its locator never asked

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…st the line end's own charge

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…d for is charged and a point to pause at, empty ones too; a refusal at a cap counts the work spent reaching it; an asked path past NAMED_PATH_MAX (4,096 bytes) is not named, before its transcript is looked for, so the needles' pattern meets a bounded path

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…AMED_PATH_MAX; the needles' pattern's bound corrected)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ter 82a795f with U1a, U7, the gate's 629/630/633, U12a, U11a; and U8b)

The chain: U6c's whole Mac set and class 1a run on the tree that holds the landings before it.

Conflicts and their resolutions:
- docs/charter.md, §19: both sides added dated entries at the log's end; both kept, the chain head's three first, then U6c's.
- src/shared/ipc/wire.ts: WIRE_MINOR was 37 here and 40 on the chain head; it is 41, the chain head's note kept whole and U6c's change named as (41).
- src/shared/ipc/wire-manifest.json: generated; taken from the chain head here, and made again at minor 41 by pnpm wire:manifest in the next commit.

Auto-merged with no conflict: docs/tech-debt-tracker.md, e2e/sessions.spec.ts, src/services/spine-root.ts and its test.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…anifest); the fingerprint unchanged

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…08bb, already merged, plus two commits: e2e/panel.spec.ts's keyboard walk and U8b's plan document)

No conflict; U6c does not edit e2e/panel.spec.ts. The wire minor stays 41, the manifest as made after the first merge.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…s landed; no file changes: the branch already holds its tree)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…Progress; Outcomes at the chain merge (wire 41 on master's 40, the runs green on c19c348); the pull request section names the four tracker rows

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…aret helper only)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…639) into ux-wave/U6c

Three spec files (lane-a, agent-tools, settings) and one tech-debt tracker row, ahead of their landing on master, so that this branch's long e2e run holds the repaired scenes. No conflict.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 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-13T23:36:27.433491Z 04619f0 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 7797dd3 into master Nov 13, 2026
@SSFSKIM
SSFSKIM deleted the ux-wave/U6c branch November 13, 2026 23:35
SSFSKIM added a commit that referenced this pull request Nov 28, 2026
…Stop's hold in the tool is a time

doperpowers main f89c328d9, sminos 1.64.0, the published set unchanged. The
wire sitting (M2) is done on the merged head.

Section 5.2 said the idle route stays closed after a stopped turn "until a
prompt enters or a new answer arrives", closed by C5's milestone. As built: the
tool notes when a main turn ended aborted and opens the idle route only for an
answer the step accepted later; the note goes when the next main turn starts.
The first form (the keys pending at the Stop) was replaced at the branch
review, by the composite's writer, after five orderings got it wrong. C5's
Status, Progress and the Tracking Map follow.

Sminos-Session: question-sheet-design#23738737 (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 U6c: on this Mac, a file the transcript names opens read-only from outside the session's folders

1 participant