Skip to content

UX wave U6b-4c: Markdown links open files, editable, in and outside the session's folder (wire 60) - #798

Merged
SSFSKIM merged 83 commits into
masterfrom
ux-wave/U6b-4c
Nov 20, 2026
Merged

SSFSKIM merged 83 commits into
masterfrom
ux-wave/U6b-4c

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Nov 20, 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), landing U6b-4c, the two links U6b-4b left to a landing of their own (its P1) · execution document docs/doperpowers/plans/2026-11-18-ux-wave-U6b-4c-markdown-links.md (report docs/doperpowers/plans/2026-11-18-ux-wave-U6b-4c-report.md). Items: in O-37, "a linked file opens in MAWS, and a refusal says why", the child's paragraphs "What became of U6c's list for U6b's design" and "The two links of a shown Markdown file and of a subagent's transcript" (the owner's answers of 2026-11-18); acceptance K1 to K14. Board #673 (U6b-4), which this landing completes. This body is the short form the owner chose on 2026-11-17: what it does, the proof, what differs from the plan, and what is left over. The history of milestones, merges and review rounds is in the document's Decision Log, Surprises & Discoveries and Outcomes & Retrospective, and in the report.

What it does

  • A link in a shown Markdown file opens the file it names, wherever it is, for a session on this Mac: editable, written only when the person presses Save. A relative link in a Markdown file that itself stands outside the folders opens the file beside it. A file that a read-only Markdown file links opens read-only, with a sentence that says so (the owner's answer to Q2).
  • A link or a file chip in a subagent's transcript, clicked in its drill-in, opens by the rule the session's own transcript has.
  • The tab comes back after a relaunch and still saves.
  • The daemon alone decides. The window says where a link stands (files.follow, before the tab's first read); the daemon reads that Markdown file or that subagent's transcript itself, through the read's own boundary, finds the link, and records it, or opens nothing. Every later read, open outside MAWS, frame and save of that file asks the record where it asks a grant, for this machine's own caller alone. A read sent before the click that came back refused is read once more after the follow finds the link.
  • Sent: wire minor 60, files.follow (with from.agent's optional engineSessionId, the conversation the drill-in was drawn for) and outside.linked on the read's answer and every output sharing its schema (files.readOutside, files.readResolved, library.read). files.follow is a main-only command (APP_PAGE_ONLY), never one of the acts offered to another machine; the link's minor stays 1.18. An older daemon answers unknown_command, and the tab reads U6b-4b's notice.
  • Stored: the daemon's link record, sessions/file-links.json (version 1, mode 0600, written whole and atomically), with where each link stood; the daemon logs each record it writes, and draws no confirmation before a follow (the owner's answer to Q3: "record and log only"). The window holds a link's source in memory alone.

Proof

  • Head c5c14b90ec12c3870240f88af226f424e014aec0 on ux-wave/U6b-4c, tree 260448058. Master 3f8fd97f8 (batch 6) is merged at 3d06e4cab, so the landing is a merge commit with no conflict. Its change is git diff --stat 3f8fd97f8 c5c14b90e | tail -1: 60 files changed, 6041 insertions(+), 275 deletions(-).
  • Class 1a, on this head's tree (GitHub Actions; the gate commit faf06aebe has the tree 260448058): run 44677127167, plan, static-local, static, probes, unit 1/4 to 4/4 and e2e:cross-build, all success. The desk's web app: run 44677122140 (gate commit 29d64549d, the same tree), e2e:desk-web and e2e:cross-build, success.
  • The Mac (the manual gate's Mac lane on the Mac mini stands in for GitHub's Mac groups; runs are named by their record's folder). The runs below are at 0a4cabca1, which differs from this head only by docs, one assertion of the subagent scene and one type-only line (LinkSource names the optional engineSessionId it already stored; Decision Log 20).
    • e2e:code whole: 58 passed on the host and 58 in the guest's copy (0a4cabca1705-20261120T042957Z).
    • e2e:panel 37 passed, among them e2e/panel.spec.ts:1168 "Open in, in the title bar and in a session row's menu, …", and e2e:discover 13 passed, 1 skipped, among them e2e/discover.spec.ts:903 "skills: a skill's Open in hands its listed file…" (0a4cabca1705-20261120T044454Z): both read the guard list the chain merge rewrote.
    • The two link scenes of e2e/sessions.spec.ts: at 0a4cabca1 (0a4cabca1705-20261120T044123Z), :1369 "a link in a shown Markdown file opens a file from outside the session's folder, editable, and the tab comes back" passed, and :1495 "a link in a subagent's transcript, clicked in its drill-in, opens a file from outside the session's folder, editable, and saves" failed: the record's from carried the drill-in's engineSessionId, as the panel's fix intends, and the scene still expected { agent } exactly → 009afe3e0 (the scene expects { agent, engineSessionId } exactly, which checks the binding; Decision Log 20).
    • At this head c5c14b90e (c5c14b90ec12-20261120T050950Z): e2e/sessions.spec.ts :1369, a link in a shown Markdown file, and :1495, a link in a subagent's transcript clicked in its drill-in, both passed, :1552's record check included. At 0a4cabca1, :1495 had failed only at that check: the record now carries the engine session the panel fix added on purpose, and the assertion expected the old form (Decision Log 20).
    • e2e:cross-build in the guest at 0a4cabca1 (0a4cabca1705-20261120T045130Z), against the rollback b89d6d1d7: 24 passed, 20 skipped, 0 failed. "(a followed link, both ways)" ran and passed, and so did "(outside file, on the peer's daemon)", which ran its body and did not take its unit skip. U2b's "(to-human, to the peer)" scene ran and passed, since that peer predates U2b.
    • Against the installed 5e8534042: 6 passed, 38 skipped, 0 failed. U2b's scene skips there under the new guard (Decision Log 19). The two link scenes skip there too, as do the other scenes that need an older peer, so the link evidence comes from the b89d6d1d7 job.
    • unit:darwin at 0a4cabca1 on the host: 23 files, 755 passed and 10 skipped. This covers the macOS-guarded cases of src/services/files/service.test.ts, watch.test.ts, allowlist.test.ts and own.test.ts.
  • Review. The document had an adversarial review (fifteen findings), a delta review (nine) and a narrow last read (five), all accepted (Decision Log 2, 5, 7). Each of the five milestones was reviewed clean at its frontier. The branch's xhigh panel (wf_895d2975-161, on 8cd4a7479..6ee5cae21) returned "incorrect": two P1 and seven P2, all fixed red first in one wave and reviewed clean after two rounds; its two P3 are tracker rows (Decision Log 17).
  • On the build VM (Linux): each milestone's proof set, pnpm typecheck whole, eslint, the gate's script tests (588/588), the secret scan, desk-web (801/801), and the whole unit suite once at 1eb58113a, whose failing files each fail the same way at the branch's base or are load time-outs that pass alone.

What differs from the plan

Numbers are Decision Log entries of the document.

  • files.follow joins APP_PAGE_ONLY, never OUTSIDE_ACTS (8): read against U6f's names at the build's start, the plan's place for it would have offered the act to another machine; src/main/app.ts is not edited.
  • The follow's 8 s bounds its answer, not only its record (10), and a follow keeps its place in the count of nine until its own work settles. A subagent search whose last waiter left starts no further stage (12).
  • X5.14 is read at the daemon's admission (14): a Save pressed after the record is written and before the window hears linked is admitted and writes; the window adds no gate of its own while a follow is under way. The coordinator accepted it on a condition a test holds.
  • The older-daemon scene proves its two halves apart (16): the notice by the click, unknown_command by a direct call. The subagent scene is staged as X-168's background agent is, with no terminal holder.
  • U6b-4b's fail-closed scanner stands (11): where this landing's tests relied on the scanner naming something that now names nothing, the tests follow it.
  • The branch panel's fix wave (17): a subagent's search reads only the asked conversation's rows of the asked agent (P1); from.agent gains the optional engineSessionId, and without it the daemon answers not-linked; a Markdown proof holds its turn and its place until its transcript lookup settles (P1); the stop check runs before every file-system stage; both root lookups settle before a place is released (one insertion in U8c-2's allowlist.ts); in the window, a link's reopen waits only for a load that can still land, a Save that wrote reissues a newer live load, and a read-only continuation whose hash changed reaches the read again.
  • The chain merge onto U6b-5 (18): the minor becomes 60, over U6b-4a's 58 and the skill actions' 59; files.follow and files.admit stand side by side; a save-admitting link record admits Open in as a grant does, and a read-only one admits none.
  • U2b's "(to-human, to the peer)" cross-build scene is guarded, not removed (19): it assumes a peer before U2b and failed against the default peer, master 5e8534042; it now skips, with its reason, for a peer that names drawnBy, and still runs against b89d6d1d7.

Left over

  • Rows in docs/tech-debt-tracker.md: two rows close in place (a link in a subagent's drill-in, of 2026-11-13; a link in a shown Markdown file, of 2026-11-18). Nine new rows, owner "UX wave U6 (U6b-4c, …)": a heading's fragment opens nothing (Q5); a linked file that does not exist reads as outside the folders, not "No file at this path." (Q7); a session on another machine follows no link (Q6); a relative link reached through a linked folder whose two spellings share no parent opens nothing (Q17); a follow the window gave up on can still record (Q18); the differential's direction for a Markdown file; one wide folder in a subagent's walk can hold the event loop past the deadline (the panel's sweep#2, P3); an owed read again drops a queued Load more (scalpel-4#2, P3); a drill-in remounted after /clear while old rows still show labels them with the new conversation (the fix review's remainder of scalpel-2#3). Q12's case is appended to U6c's row on the search's deadline.
  • Tickets registered at landing: Links: a heading fragment (#usage) or a line suffix (notes.md:7) opens nothing #795, heading fragment links (Q5: [x](#usage), [x](guide.md#usage) and [n](notes.md:7) open nothing, and a README's table of contents is made of the first kind); Links: a session on another machine follows no link #796, a session on another machine follows links (Q6: files.follow there needs U6f's grade, and the machine test lifted in follow.ts); Links: a follow the window gave up on can still record #797, a follow's expiry carried to the daemon (Q18, the host's work).
  • To watch on the first Mac run at this head: the subagent scene's drill-in, for an agent known only from disk in a session nobody holds, which no real-app scene had opened before.
  • Not in this landing: links for a session on another machine (Q6), and a heading's fragment (Q5).

Closes #673

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

…and in a subagent's transcript)

The daemon records a followed link: one new command, files.follow, tells it where a link
stands; it reads that file itself, and a record of its own (sessions/file-links.json)
admits the file afterwards, so no tab stores anything new (root UC-14).

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…fifteen findings absorbed)

A relative link is proven against the folder the daemon confirmed; the target is resolved
after the proof; a subagent's file is opened with no link on its way; the wire gains an
optional property, not an enum value; every cost waits for its slot; R1 says what a faulty
page can do (Q3). ux-wave/U6b-4b merged at f3568e3.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…is owed before M4

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

The session's own folder is inside the no-link check; a link record answers this machine's
own caller alone, also on a head that holds U6f; a subagent's search is joined only under
the same transcript; every follow is counted before its first file system call; the
deadline and the target's proof say what they do not promise (Q18, Q19); the window reads
again by a count of follows.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…n Log 6)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ndings absorbed; the last round)

A subagent's file is a source only where an open can be confirmed to have followed no link;
a refused read that lands under a running follow waits for it; the window shares a
subagent's follow only under one engine session; a follow keeps its place until its locator
has answered; X5.10 names the subagent's hook and outcome.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…lestones, U6f and the batch 5 union)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ed at 796895f; U6f's caller, the guard's list, the minor)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…e shared Markdown test, as tests

fileLinkSteps and fileLinkTargets (X3.1's and X3.2's rule halves, X3.7), agentRowClaimSteps (X4.3's rule half),
isMarkdownName and MARKDOWN_RENDER_CAP in src/shared/files/markdown.ts, and the differential's file direction (X3.4's
M1 half: relative rows, the seeded alphabet's relative fragments, and the X3.7 texts drawn by MarkdownView).

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

resolveRelative moves into src/shared/files/named.ts (open-file.ts exports it on); fileLinkSteps and fileLinkTargets
hand on each path linkSteps names as written and as resolved against the file's folder; agentRowClaimSteps reads a
subagent's record as rowClaimSteps does but counts only an assistant record. The Markdown test and its cap move to
src/shared/files/markdown.ts, which viewer/kinds.ts reads; kindOf answers as before.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…he rule and the window alike

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

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…s bridge restored

The notes.md:7 case gains its ./notes.md:7 control in one test; a subagent's record that names nothing is a test of
its own with an assistant record's count as control; the MarkdownView suite puts window.maws back after it.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… Markdown file as the source

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…le as the source

The daemon answers files.follow for this machine's own caller: it reads a Markdown
source through the read's boundary, proves the link by the window's reading and again
from the folder it confirmed, resolves the target once more, and records its real path
in sessions/file-links.json; every later request that asks by name finds the record in
firstEvidence. A subagent source answers not-linked until M3 hands the search.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…d VM (routes, address paths, the manifest at minor 58)

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

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…beside the endpoint's unoffered

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… dirty checkout (Surprises)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ch's place goes with located alone

A follow now answers not-linked as soon as its deadline passes or its client ends,
whatever step is under way; its work starts no further step and keeps its place in
the count, and in the proofs' line, until it settles. A rejected or throwing
agentNames links nothing and no longer gives the place back itself: only located
does. X5.12 holds a proof and a search open past the deadline; the line test waits
for the follows' registration instead of a delay.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…the answer; the place goes with located alone)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…llow waits for its subagent's search no longer

The patience (timer or client end) now latches the follow ended before it answers
not-linked, and every over() check, the record's synchronous step included, reads that
latch, so held work resuming in the deadline's own millisecond cannot record. A follow
whose patience ran out stops waiting for agentNames (raced against the latch) and keeps
only its locator's place until `located` (decision 7).

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…review fix waves: the scanner fails closed, the ']:' guard, the notice and Retry)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…11, U6b-4b merged at 4d49051

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
namesInAgent over one subagent's file (X2.6 to X2.9, X2.11, X4.3, K13, the
located contract, the engine host's reading held together), its file where an
open cannot be confirmed, and the follow over the daemon's own search (K5,
X2.7, X2.8, X4.4, X5.10, X5.12, K13).

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

namesInAgent (Interfaces §E): the locator asked first and the job keyed with
the transcript it answered and the agent; the agent's one file found under the
session's transcript folder by reading directories alone (three levels, 4,096
folders at most), opened with no link on its way, only where an open can be
confirmed; each record read by agentRowClaimSteps; the slot, queue, patience
and memory shared with names. located is called once, when the locator's call
settles or at once when none is made. checkouts-root hands it to the service.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ads, and a service case for the swapped agent file

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…nversation and holds a follow's bounds until its work settles

- scalpel-2 #1: only records that carry the conversation's and the agent's ids count, so a file
  put in the found file's place between the walk and the open names nothing.
- scalpel-2 #3 (the daemon's half): namesInAgent takes the conversation that drew the link and
  answers not named unless it is the transcript the session is bound to; a follow naming none
  links nothing.
- scalpel-3 #1: a Markdown source's admission asks the search with a located callback; the
  follow's place and the proof's turn are kept until the locator's call settles.
- scalpel-3 #2: the search waits with the follow's own end, aborted at its patience.
- scalpel-3 #3: the proof's open and whole-file read stop at the first file system call after
  the follow has ended.
- scalpel-3 #4: admittedFolder answers only once both git discoveries (and every work tree's
  resolution) have settled.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
… suites' agent mocks take the conversation

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…hose subagent drew the link (scalpel-2 #3, the window and the wire)

files.follow's from.agent gains an optional engineSessionId (within minor 58). A child's mount
reads the session's engine session once per source and adds it to every open as conversation;
codeTranscriptActions.openFile sends it as from.engineSessionId; the window's follow key takes
it from the follow rather than from the record at the click.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…t's engineSessionId, written on the build VM from the base's 57; the schema's cases

routes.json and address-paths.json are unchanged (their switches wrote no difference).

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…the manifest unchanged); the register case's search ends with its client; the viewer's red cases for scalpel-4 #1, #3 and #4

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…'s view through the store alone

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…#3, #4)

- #1: only a load that can still land holds a revisit back; a superseded one in flight does not,
  so the link's click reads after its follow.
- #3: a Save that answers while a load issued since it began is out (the tab moved to another
  session, its read waiting on a follow) issues that load again after the write, so the tab
  shows the new session's answer.
- #4: a continuation that found an outside file changed, answered read-only, is compared with
  the follows; once a follow found the link the file is read again, whole.

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ry; an owed follow read drops a Load more)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…urce on purpose (the lint's note)

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…n's realpath (scalpel-3 #3)

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

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ts confirmation, no call of the leak rule's walk, no step of the ancestors' walk and no descriptor confirmation (scalpel-3 #3); the tracker's sweep#2 row says what the deadline answers, and the scalpel-2 #3 remainder's row

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…, §G gains allowlist.ts, the report and Outcomes say the wave

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…in the subagents case's exact expectation

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…5340: U6b-4a's files.admit, U11's skill actions at minor 59); both sides kept in the fourteen conflicts, files.follow beside files.admit and after customization.skillFile in APP_PAGE_ONLY (outside OUTSIDE_ACTS), WIRE_MINOR 60 as a stand-in at 58; a case pins files.admit's link-record evidence; the manifest regenerated next

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…he skill actions' 59 (files.follow with from.agent's engineSessionId, and the read answer's outside.linked); routes.json and address-paths.json unchanged by their switches

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ourteen conflicts, the minor at 60, files.admit through the link record's save evidence); Progress, Outcomes and the report say it

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…a peer of U2b (it names drawnBy, so its own launch advertises 9 with the summaries' value); its premise went stale once master carried U2b, and a pre-U2b peer still runs it

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…for a peer of U2b, not removed); the report says it

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…a4cabc the tree changes only docs/tech-debt-tracker.md (ce5e489's sightings on three existing rows), no conflicts

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…e drill-in's conversation (engineSessionId, the panel fix of Decision Log 17), exactly; the service's LinkSource type names it

Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…nt scene's record check follows Decision Log 17)

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

chatgpt-codex-connector Bot commented Nov 20, 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-20T05:16:57.674408Z c5c14b9 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 b9b6ee0 into master Nov 20, 2026
@SSFSKIM

SSFSKIM commented Nov 20, 2026

Copy link
Copy Markdown
Owner Author

Landed on master as b9b6ee0 (merge commit on 3f8fd97; its tree 260448058 equals the head's, so class 1a 44677127167 and desk-web 44677122140 are the evidence, both read through the API). Mac evidence as in the body (CI-opt's lines at 0a4cabc and the two link scenes at c5c14b9).

Sminos-Session: master-landing-architect#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 U6b-4: every form of link, a refusal that says why, Open in

1 participant