summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAge
* Panes say they are Ghostty (TERM_PROGRAM=ghostty, ↵Gabriel Schneider6 hours
| | | | TERM_PROGRAM_VERSION=1.4.0, the pinned ghostty whose VT every pane runs), and a Look on a link (OSC 8) in a terminal takes its URI: the user's report of 2026-11-27 ("the terminal applications aren't detecting that we have kitty graphics support (codex for example)") and ruling ("Posing as ghostty is fine by me, it's a good measure for us to have feature parity with it anyways"); THE CAUSE: codex 0.172 decides on kitty images from the environment alone (a terminal-name list, TERM/TERM_PROGRAM substrings, KITTY_WINDOW_ID, WEZTERM_*; its kitty query only for TERM_PROGRAM=herdr; pets never ask), and panes said TERM_PROGRAM=pardes and inherited the launcher's TERM_PROGRAM_VERSION (rex's under rex); pardes answers codex's own probe (`\e_Gi=31;OK\e\\` before DA1) and draws its `a=T,f=100,c,r,C=1` image (.scratch/kp/run.py, run_img.py); WHY THE LINK: a program that knows it is in Ghostty shows a link's label alone (codex's web_link_display), and pardes kept OSC 8 only in the dump: the URL would be nowhere to Look at; THE CHANGE: config.child_term_program "ghostty", child_term_program_version "1.4.0" (host_io.ChildEnv writes it over the inherited one); Term op `link` (abi/term.zig, replicated as textRows is: READ, NOT COVERED, core/Term.zig's S1 row exec.zig:1): the URI of cell x of a row (from the top of the history) and its run's cells on that row, counted in the text with the prompt cut when out of tty mode; exec.operandAt (every entry point: B3, hover, Enter in normal mode, a bare Look): a look at a link takes its URI, a `file://` one its path (the host dropped, %XX decoded), expanded to the label's cells; an exec takes the label's word as before; docs/macos.md's identity paragraph; NOT DONE (Ghostty parity, listed for later): OSC 9/777 notifications, OSC 9;4 progress, OSC 22 pointer shapes, OSC 10/11 colour answers (the `dark` theme takes the host terminal's colours and views differ per client: a design first); RUN (TEST FIRST): exec.zig "a look at a link (OSC 8) in a terminal takes its URI, a file:// one its path, and expands to the label; out of tty mode too" (an https link and a file://box/tmp/a%20b.txt one, in tty and normal mode; off the link `see`, an exec `docs`): fails with the branch off (`the` for `https://ziglang.org`), passes now; REAL CHECK (.scratch/kp/link_e2e.py: this tree's Debug pardes --tty in a pty, TERM_PROGRAM=rex and TERM_PROGRAM_VERSION=9.9.9-outer outside): the shell pane printed `TP=ghostty TPV=1.4.0`; an SGR B3 on plain text beside the link opened nothing; on the label (file://somehost/…/target%20dir/linked.txt) it opened `target dir/linked.txt`; GATES (Debug tui): core-test 1165/1343 (178 skipped), shell-test 1392/1395 (3 skipped), term-test 17/17, kitty-test 45/45, process-test rc 0, behaviour-test 293/293
* Root, and the explicit root keys SPC f F, SPC f G and SPC :: Find, Grep and ↵Gabriel Schneider20 hours
| | | | | | | the `:` line run at the project's root, the nearest directory at or above the asking pane's holding a `.jj` or a `.git` (Pick.workTree, kept by zxsqtpol for this), the pane's own when none does, while SPC f f, SPC f g and `:` keep acme's directory (the user's ruling of 2026-11-26: "maybe some commands SHOULD run on the project root for convenience", explicit twins, nothing implicit); WHY A WORD: a leader leaf names a builtin (config.leader_path, leader_args) and `:` is a normal-mode role, so the three keys need one word that reaches the root: `Root <line>` runs the line as Exec does with the step's flag Pardes.exec_root set, bare (SPC :) it opens the `:` line marked to run there, and a script's `Root make` or `Root Grep x` falls out of it at a ctl for free; THE CHANGE: builtins.Root; Pardes.exec_root, a step's own (replica `.local`, root.zig's kept_out) like exec_column; execDir reads the root under it (a command pane's directory, Term's, and Query.create's, which now calls execDir in place of its copy of it); executeFrom sends Root's line to a command pane even from a shell at its prompt, and runCommand reuses only a finished command pane at the root for it (not the asking one); Pick.root: a picker Root asked lists from the root, its head `␣ f Find root`, `Grep root`, its list word `Find root …`, Exec on that word running at the root again, a Grep's leading directory read from the root (grepScope, unchanged); Command.root: SPC :'s line, its head `: root`, `= Root make` as its plain word, its Enter and its `:open ` run as Root; config: Root's leader path `:`, leader_args fF and fG run `Root Find` and `Root Grep`, which-key labels `Find root` and `Grep root` (bindings.zig); replica's may_wait gets back a kind row, `Root *` (the root's stat on the session's disk), walked as `Root Find` (walk_samples: bare Root, the `:` line, asks the disk nothing); docs: Root's own doc (the Help index row `SPC : Root`, builtins-tui.json from `zig build builtins-json`, the same line put in builtins-gui.json), the cheatsheet's leader list (three short rows), guide.typ's Find and Grep rows and its where-commands-run table; RUN (TEST FIRST): behaviour/find_grep.zig (the reference's Find and Grep chapter, new): a `.jj` project, `x.txt` two directories below it: SPC f f lists `x.txt` alone and no `Find root`, SPC f F `␣ f Find root` with `a/b/x.txt` and `top.txt` (`.jj` passed over); SPC f G `needle` `␣ f Grep root needle` with `a/b/x.txt:1 needle below` and `top.txt:1 … needle at the top`, `a needle` the first alone (a/ is the root's); look_and_exec.zig: `:pwd` makes a command pane named `<root>/a/b`, SPC : shows `: root` and its `pwd` a second command pane named `<root>` (a `.git` project), each body `% pwd`; the three fail on zxsqtpol 8d2a064eb69a (`not on the screen: ␣ f Find root`, `… ␣ f Grep root needle`, `… : root`), pass now; test/session.zig gains `advance`, the host's clock moved on, so a typed Grep's 80 ms pause comes due in a T1 test; REAL CHECK (a private detached session of this Debug build over 9P, CA's demo copied with a `.jj` at its top): from src/torque/types.cc SPC f f types.cc types.h, SPC f F `Find root` Makefile compile_commands.json src/torque/types.cc … 1/5, SPC f G ToString `Grep root` three hits from the root, `src ToString` narrowed, `:pwd` printed …/demo/src/torque, SPC : `: root`, `: root make = Root make`, its pwd printed …/demo, its make ran `clang++ … src/torque/types.cc` at the root (exit 2, the demo's error) and SPC e from types.cc walked to types.cc:7:11, `SPC :open Make` opened `Find root Make`; GOLDENS (process-test --update, read): leader.golden spc and unmapped (`: Root` after `/ All` in SPC's level), find.golden group (`F Find root`, `G Grep root` in SPC f's), nothing else moved; NO hot path (a stat per directory up to the root once per Root run; a flag and five bytes in the head); the dump and the digest gain two bools (Pick.root, Command.root): the 40,000-seed dump fuzz (40,000 + 40,000 join seeds, 1,779 image seeds) 11/11, core/fuzz.zig restored byte for byte; GATES: Debug core-test 1172/1349 (177 skipped), shell-test 1390/1393 (3 skipped; the walk with Root's row), addons 8/8, term-test 17/17, kitty-test 45/45, process-test 0 of 149 failed (3 skipped), pane-test 184/185, behaviour-test 293/293 and --replay 293/293 (+3), consumer-test, the soak twice (rtt 30/80/207: diverged 0, unequal 0, quiet checks 617/0 485/0 568/0 and 499/0 387/0 553/0, unlisted stops 0, the corpus 22 of 22 scenes the same, no leak), daemon.py plain x3, games, window-clients, clients x5, relink, launch, pair, gui, client-motion rc 0, far rc 1 (`no link of the far client ended under the flood`, as on the base), client-resize-real skipped (no compositor), the macOS x86_64 and arm64 and FreeBSD cross-builds; ReleaseSafe: the build (0 invalid options), the soak (diverged 0, unequal 0, quiet checks 514/0 381/0 543/0, unlisted stops 0), process-test 1 of 149 failed (root-ctl Restore, as on the base), upgrade from the installed ab9fa40a7bbb, upgrade-gui, upgrade-self (65 s) and upgrade-back (40 s) each nothing left behind, launch, clients x3, far, gui, client-motion, client-resize-real, client-idle, pair, plain x3 rc 0; load 1.2 to 3.6 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
* builtins, Pick, docs/typ: the help text that still put what a state shows in ↵Gabriel Schneider30 hours
| | | | | | | the tag says it hangs under the tag, as walkui UX DESIGN parts M and O have it (M1: a tag never leaves rest, everything a state shows hangs under it; O1: a picker hangs under the tag of the pane with the keyboard, only its preview goes to the pane its Enter lands in): Keys (describe-key: `the next keys typed are replayed under the tag`, `The row under the tag shows Keys and the keys as typed; ... unrolls its level below`), Messages (`a list under the pane's tag`), Resume (`Under this pane's tag, previewing where its Enter lands: this pane if it reads, else its reader`, where it said the picker unrolled in the tag of the pane its Enter lands in, a held pane's reader), CodeAction (`a picker under the pane's tag`), and the same words in docs/typ/builtins-tui.json and builtins-gui.json (the glossary the build writes from these docs; core/builtins_json.zig's test holds them to the registry), Pick.resumeAt's doc and two code comments in builtins.zig (Themes, Query's sources); WHAT WAS LOOKED AT: docs/typ (guide, reference, cheatsheet, running, setup, scripting, building, themes), core/tutor.txt, fs-help.txt, README.md and every builtin's documentation (the Help index): none of them names the act/source row, says a click ends a picker or a prompt, or puts a picker's head in a tag but these four; a question still takes the keyboard in its pane's tag (M1 leaves asking as it is), so Message's doc stays; Keys' doc is worded to keep its three rows in the Help index (process-test's builtins case middle-clicks Tutor's row by its number); TEXT ONLY, no behaviour; GOLDENS (the Help index's text rows only, no style row moved): builtins.golden docs-group and tutor-from-index (Keys' and Messages' rows), leader.golden help-group, tutor, deleted (Keys', Messages') and help-language (CodeAction's), ttyhelp.golden helped and leaderworks (Resume's); GATES (Debug tui): core-test 1165/1340 (175 skipped; the glossary's test with them), process-test 0 of 103 failed with --update (the three re-recorded, read above; a first wording of Keys' doc took a fourth row and failed builtins' `@Tutor` on row 31, reworded); load 1.4 to 2.1 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
* abi, Kind, pdf, fake: ABI 3.4, a kind's window holds the theme's search hit ↵Gabriel Schneider33 hours
| | | | | | | colours, `hit` and `hit_current` (Chrome's, read through p.chrome() as each pane of a kind is painted), and a PDF's search draws its hits in them, the current hit apart, where every hit was the literal amber #ffd54f (the colour line's leftover, themes DESIGN.md part F, L2e's row "PDF hits", B8's `PDF's ffd54f -> chrome.hit`: "current hit" had three colours, the body's, the rail's and the PDF's); THE ABI: pa_window gains `uint32_t hit, hit_current` at its end (24 to 32 bytes, the header's and Kind.zig's size checks), PA_ABI_MINOR 4; an addon reads them once `api->abi >= 0x30004`, so one built against 3.3 loads, opens and paints as before (the core refuses another major only, and reads nothing new of an addon), and one built against 3.4 under an older pardes is handed the amber its PDFs drew (abi/addon.zig's Window, filled by the glue); WHY THE WINDOW, NOT THE VIEW (pa_view, where fg, bg, sel and link are): a view's facts are a step's (`view` is on the tape, and a plain kind keeps them in its block: the pdf's Layout holds the whole pa_view), so two more colours there would grow the pdf's block, and an Upgrade's revival hands `load` the old block, whose size it would refuse, every open PDF a placeholder; the hits are drawn by paint alone, which writes nothing a step reads, and the window is made each paint; THE CORE: Kind.paint fills them, the theme colour's PA_RGB by Kind's one `rgb` (viewOf's, out of its function); THE PDF: paint hands its window to reconcile, and marksOf marks each hit of the page in `win.hit`, those of the current hit (`find.hit`, its quads) in `win.hit_current`, at the alpha they had; THE FAKE: paints `hits rrggbb rrggbb` on its fifth row (since 3.4), and is built once more with its head saying 3.3 (`fake_addon_old`, named fakeold); addons/fake/fake.out re-recorded (that row in each of its 11 frames, `hits 5e4923 917a53`, the addon test's theme; nothing else moved); docs/typ/reference.typ's paint says it; RUN (TEST FIRST): behaviour/addons.zig "addons: a kind's pane is painted with the theme's search hit colours, the current hit's apart (ABI 3.4), and a library whose head says 3.3 still loads, opens and paints": acme's `hits ffc790 a05200`, then neonotte84's `hits 4c301a e59d3c`, then fakeold listed `3.3 ... loaded` and its pane's `count 0`: with the header and the fake alone fails (the core's window `hits 000000 000000`), passes now; pdf.zig "a search's hits are marked in the theme's hit colours its window is painted with, the current hit in the current hit's (ABI 3.4)": a page's three quads, the second hit's two current: fails with the amber (expected 4c301a70, found ffd54f70), passes now; the ABI the addons say in /addons moves to 3.4 in five behaviour checks; a user saw every PDF hit amber in every theme and the current one no different; NEW HOT PATHS: per frame, per pane of a kind painted, two colours packed from the chrome (no allocation, no derivation: Chrome's resolved fields); none per key; GATES (the stack kysrwqpz, rqlxkzuq, this, Debug): core-test 1163/1338 (175 skipped: +1 skipped, the rerun test needs a terminal), shell-test 1379/1382 (3 skipped), pane-test 184/185, behaviour-test 288/288 (+1) and --replay 20 seeds of 70 steps, 0 failures, process-test 0 of 149 failed (3 skipped), term-test 17/17, kitty-test 45/45, addon-test 157/157 steps, 8/8 tests (fake.out, snake, pdf and their own tests); the soak with the pdf addon on this top found a second preview leak, pictures (the next change); the 40,000-seed dump fuzz crashed at join seed 8324 in draw.zig's Debug overlay (a General protection exception printing a string from a damaged dump), whose dumped session has no kind, no command pane and no window: these changes move none of its bytes (see the report); pdf-harness tui fails `KittyPdfBoundaryPageMissing` on M2 alike (8959b031dc33, run here), not this change's; no dump layout change (the window is made each paint); load 4.5 to 12.5 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
*---. merge (M2): W3+W3b lean chrome (krwnyllv 027c96360928) + L2cde/L2b/L3457 ↵Gabriel Schneider34 hours
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | colour and themes with W4 (ryuzknor 14723377a8d1) + W6 Symbols by kind (pnmuqkop 8393c24f7667) + W78/T1/T23 previews, root search, the shell's prompt, a server started on open, kbdin's path (xuwpnwno 849542a05f7b), resolved: THE CODE: core/Pick.zig and test/behaviour/language_servers.zig, each side's tests appended at the file's end (W6's Symbols tests and W78's W8 test; W6's server Symbols test and T2's start-on-open test); core/colors.zig, where L2b took `hit` and `hit_current` out of Roles and W6 put `kind` beside them: W6's mark ink moves onto the chrome, `Chrome.Inks.kind`, the keyword held to 4.5:1 on each ground and on that ground's selection (a list's cursor row), worked out by groundInks at a theme change as the key and match inks are (DESIGN.md B4, B1.3), and draw.zig's band draws a row's kind mark in the focused or the plain tag's `kind` (`p.chrome().on(...)`, the band's other inks still Roles' until L2a), Roles.kind and its floor check gone; the ring's per-ground check (ringFailures' `inks`) holds it to 4.5:1 on its ground and its selection where the keyword's hue reaches it there (a hue held to the end of light keeps a trace of itself: #000100 on solarized_dark's grey tag and its selection reads 4.49, papercolor_light's page under its dark selection 3.33; held to pure black's reach those two failed); Pick.zig's Symbols test asks the mark in `p.chrome().on(.focus).kind`; test/soak.py's safe_tags wrote the old window words to /tag, which since K'2 appends them after the computed `Find Grep Newcol Help Exit` (a doubled row, and Exit, computed, not taken away): it writes `Joincol Themes`, the old safe tag's words the row no longer computes; THE GOLDENS: the 40 in conflict (14 on L2b's tree, 40 once L3457's 37 came in) re-recorded once with `process-test -- --update` (the whole run before it failed on exactly those 40; no other golden moved) and each read against both sides and their common base (ymkwwwnn) by .scratch/walkui/M2/gcmp.py, g9p.py and galign.py: text rows, and every changed cell's style pair explained by the other side's base-to-side pairs (its ink and its ground each): lean's words and rows on every snap (`text == A` wherever the other side moved no text), every colour the other side's (L2b's hits, chip, secondary selection, diff grounds, guides, sweeps; L3's focused name tint #dfbce5 to #ecc8f2, resting grip #496656 to #465a43, column grip #887455 to #504733), 0 cells unexplained; the other sides' text at lean's rows: W4's `l Lists` in find's SPC f level and its `C-o back to ...` notes (find, fsearch), W78's preview spines (find), W6's marked, grouped symbols (lsp: `f helper`, `f main`, `c std`, the preview landing on helper's line 3), T1's `$` kept (ttyhelp's leaderworks, row 2) and W4's Resume doc at the +Help's foot (ttyhelp), L5's ring (theme: five new snaps, dark, light, mono, okabe, sepia; themesel: every step's rows and styles L3457's row for row, one row up under K'2, only the rail thumb's cells moved, the panes one row taller); tagnav's Themes list shows in neither lean's recording nor the merge's (the window row's click lands on Dump there); the 9P captures (collapse, mini, ninep) read the same way; no merge fault found; GATES: core-test 1155/1329 (174 skipped), the ring 245 of 245 themes with no expected failure; process-test 0 of 149 failed (3 skipped) after the re-record; load 0.8 to 7.1 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
| | | * ninep/ctl, Pick, Names: a key written to 9P's kbdin (and a mouse line to ↵Gabriel Schneider36 hours
| | | | | | | | | | | | | | | | | | | | | | | | | | | | mousein) takes the keyboard's path: the write is answered once its keys are handled, and what they start runs on a worker as the keyboard's does, its rows after (agent W78's find, rqouyxqp's description: a scripted `SPC f g` over V8's 18,441 files held the session until the 9P client timed out; and W6's: kbdin's Symbols picker over a text of more than 64 KB listed nothing); THE CAUSE: writeKbdin and writeMousein ran their keys inside serveFs with `p.fs.serving` set, which these places read as "a script's write, answered with its result": Pick.start and filter (Find's listing and Grep's search stepped on the loop, `.now`), Query (a query pane's), Stream.step (runHere, not the worker), Stream.parseFor (no worker: a text over 64 KB never parsed), paintAhead and paintRows, builtins' search (a miss said to the write), look (a tty pane's click searched), edit_cmd (the write held for an Edit's filters), panes (a Save's question to /log) and lsp/Ask (the write waits for the server's answer); `fs.typed` made Pick.asked alone take the keys as the user's; THE FIX: writeKbdin and writeMousein run their keys with `serving` off and put it back after, so every one of those places takes the keyboard's path for typed keys and keeps the script's for a script's write; `fs.typed` has no reader and goes (FsState, its replica list); A CRASH IT UNCOVERED: with the parse on a worker, Pick.declsArrived scored the declarations that came by typing the picker's own query again, `names.typed(gpa, names.queryText())`, and Names.typed copied the query onto itself with @memcpy, `@memcpy arguments alias`, a panic in a safe build (the installed ReleaseSafe's): a keyboard's `SPC s s` whose query was typed before its file's parse landed (a big file) killed the session; Names.typed copies with copyForwards; ACCEPTED (the coordinator): a kbdin `gd` no longer waits for the server's answer, nor a kbdin `SPC f f` for its rows: a script reads them after, as a keyboard user sees them a frame later (docs/typ/reference.typ's kbdin says so; a script that wants the answer in its write writes the word to a pane's ctl, `Def`, `Find x`, which still waits); RUN (TEST FIRST): process/other_files.zig "kbdin's SPC f f over a work tree of 20,000 files is answered before the listing, which a worker runs as the keyboard's, its rows after" (a detached session, a tree of 200 directories of 100 files with a `.git`, `SPC f f zzlast` in one kbdin write timed, then /screen read until zzlast.txt's row shows): on T2 the write took 46-47 ms and the row was there at 62-63 ms (the listing ran in the write), now the write takes 3 ms and the row comes at 58-60 ms (three runs); "kbdin's SPC s s lists the declarations of a file over 64 KB, parsed on a worker as the keyboard's are" (4,001 two-line functions, 80 KB, `SPC s s zzlast`): on T2 nothing in 20 s, with the fix alone the session died at Pick.declsArrived (the probe, .scratch/walkui/T23/symprobe.sh: `panic: @memcpy arguments alias` at Names.zig typed), now its row in under a second; Names.zig "Names takes its own query typed again: ..." types a query, adds two names and types its own query again: panics before (`@memcpy arguments alias`), one hit now; behaviour tests that read a picker's rows in the write that typed its keys read them a frame later (Session.tick): other_files.zig's SPC f f, and addons.zig's two `SPC f f ...` then Enter, now the query, a tick, then Enter (Enter typed before the rows came picks none, for a keyboard too); a user hit the stall with any script driving a session's keys over a big tree, and the crash with `SPC s s` typed ahead of a big file's parse; NEW HOT PATHS: none (a write of keys saves and puts back one flag); GATES: core-test 1131/1305 (174 skipped: +1), shell-test 1353/1356 (3 skipped: +1), pane-test 183/184, behaviour-test 286/286 and --replay 20 seeds of 70 steps, 0 failures, process-test 0 of 149 failed (3 skipped: +2), term-test 17/17, kitty-test 45/45, the gui unit-test (Debug, this change over T2's mlvruznk) 1962/1966 (4 skipped: T2's lsp_client test and this change's Names test among the new; its perf check's BaselineHarnessMismatch, every base's); no dump change (`typed` was a field of the server's own, out of the digest: fs.zig's authority list) and no wire change (FsState is not on the tape), so no fuzz or soak; Stream.parseFor keeps its `!p.fs.serving` for a script's write, whose answer holds its rows (a script's `Symbols` word over a text past 64 KB still lists nothing: not this change's); no frame or perf gate (the user's rule of 2026-11-26); load 1.2 to 2.6 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
| | | * Lsp, lsp_client, File, dump: a file of a language a server speaks, opened in ↵Gabriel Schneider37 hours
| | |/ | |/| | | | | | | | | | | | | | | | a pane (a Look, a landing, a walk step, the boot's file, a restored session's), starts that server and tells it of the file on a worker of its own, so the file's first question finds it ready (agent V4's find for the comparison video, VIDEO2/STORY.md §4.1 and §10.2: pardes's first `gd` cost about 2.5 s where Helix's, LazyVim's and Doom's cost 0.05 s; the user was asked, the default yes); THE CAUSE: dev/lsp/lsp_client.zig spawned a server on the first query that needed it (its header's lifecycle), and that query paid the spawn, the handshake and the server's first parse of the file; THE FIX: an effect `lsp_open`, emitted beside the file's watch by File.open (look.open, Trail's step, the boot document) and dump.revivePane (a restored or upgraded session), performed through a Host entry `lsp_open` (tui, gui and macOS: Inbox.openLsp; not held for `threads_ok`: the boot's file and a restored session's are opened before the loop's threads start); dev/Lsp.zig `open` asks nothing for a file no spec speaks for (lsp.speaks, on the loop), else copies the pane's file (`snapshot`) and hands it to a worker of its own (`Opener`, one at a time: a file opened while one is under way is let go and told at its first query, syncDoc; one done is awaited, at once, before the next), which calls lsp_client.open: a spec disabled asks nothing, a binary not found disables the spec without a word (its first query says `language server for .py not found`, not every file opened), else `ensure` (the server started as a query starts it, `starting` and `ready` narrated as before, one per spec) and `syncDoc` (didOpen); nothing in the query log; not through Lsp.start (its cancel and join of the query in flight waits out a protected handshake, up to init_ms = 8 s, on the loop) nor `work` (the queries' one fixed region, memory.takeLspQuery); a picker's preview (Pick.preview, no pane) and a 9P `ctl get` (ninep/ctl.zig getFile, no File.open) start none; Lspinfo says `not started yet (a file of its opened starts it)`; docs/typ/setup.typ and reference.typ say when a server starts; THE HARNESSES (the coordinator's ruling: no test starts a server of this machine's): PARDES_LSP_OPEN=off starts none and is the process harnesses' default (test/process.zig's child environment, test/tty.zig, and test/fs.py, selfmount.py and daemon.py's base_env), so the `lsp` tty cases' zls is started by their first query as before; a test binary (builtin.is_test) starts none unless it says `on`, as the behaviour harness's language sessions do (Session.initLanguage, every spec the mock or off, `.lsp_open` drained as a host performs it, awaited); RUN (TEST FIRST): behaviour/language_servers.zig "a file of a server's language opened in a pane starts that server and tells it of the file, with no query asked; a picker's preview of one starts none, a second file no second server, and a server not installed is found silently" previews a.zig in Find's picker (Lspinfo: zls `not started yet`), opens it (zls `ready`, `docs 1`, the query count unchanged), opens b.zig (`docs 2`: the same server), and opens c.py and d.py with PARDES_LSP_PY naming no binary (pyright `disabled`, no query, nothing on the screen): fails on the base at language_servers.zig:367 (zls not started by the open), passes now; lsp_client.zig "a file opened whose server is not installed disables it without a word ..." opens two .py files with a status sink set: the spec disabled, no word posted, a query then `not found`; MEASURED (.scratch/walkui/T23/measure-v8.sh: VIDEO's probe.py, the screen polled every 50 ms, this change's Debug tui, a reflink copy of VIDEO2's V8 tree with clangd and its 27-file compile database, torque-parser.cc opened, `743ggfI` then `gd` 4 s after the start, until utils.h's `bool IsUpperCamelCase` shows): with PARDES_LSP_OPEN=off (the base's way) 1.97, 1.98, 1.97 s; started at the open 0.05, 0.05, 0.05 s; on VIDEO's tally with zls (measure.sh) both ways 0.05-0.10 s (zls starts and answers within one poll there); a user hit it on the first question of every file of a session's languages, about 2 s with clangd over a real project; NEW HOT PATHS: none per key or frame; per file opened, one effect more and on the loop lsp.speaks (the spec table's extensions); for a file a spec speaks for, a copy of its text (the snapshot a query makes) and a worker started; GATES: core-test 1130/1304 (174 skipped: +1), shell-test 1352/1355 (3 skipped: +1), pane-test 183/184, behaviour-test 286/286 (+1) and --replay 20 seeds of 70 steps, 0 failures, process-test 0 of 147 failed (3 skipped), term-test 17/17, kitty-test 45/45; the wire's semantics move (a Host entry, tape.shape); no dump change (effects are local, not dumped); the soak `replicas -- --clients 5 --rtt 30,80,207` dies on the base too (5dab435d7262, run here: `allocator leaks detected` at seed 0 rtt 80, MuPDF's allocations of documents a picker previewed, Pick.showKind), so run without the pdf addon (its binary, `--addon` image and life): diverged 0, unequal 0, quiet checks 468/0 251/0 657/0, stops not on may_wait 0, the corpus 22 of 22 scenes the same, no leak (a first run had one key stop at `spawn` at seed 3 rtt 80, exec.zig's rerun of a command pane, which emits a spawn with no `open a terminal` stop; the base's run and a second run had none); the gui unit-test run once, on T3's change over this one (its description); no frame or perf gate (the user's rule of 2026-11-26); load 1.1 to 9.1 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
| | * lsp_client, Output, lspmock, syntax, Pick, Query, docs: the Symbols builtin ↵Gabriel Schneider39 hours
| |/ | | | | | | | | | | | | (a language server's documentSymbol) gives the Symbols picker's marks and order (UX DESIGN N, binding: "The builtin `Symbols` keeps reading the server but gets the same mark, order and qualified names, from `SymbolKind`"): walkSymbols keeps each symbol's SymbolKind, mapped onto N2's kinds (5 Class, 10 Enum, 11 Interface, 23 Struct, 26 TypeParameter a type; 6 Method, 9 Constructor, 12 Function, 25 Operator a function; 7 Property, 8 Field, 22 EnumMember a field; 14 Constant a const; 13 Variable, 15 to 21 and 24 a var; 1 File to 4 Package a module; any other the other), and names each in the ones it is in (a DocumentSymbol's nesting, a SymbolInformation's `containerName`): a row is `shapes.rs:5:5-8 m Shape.side`, the rows types, functions, fields, then the rest, each in the server's order; the +Search keeps that order: a file's symbols are neither sorted by their places (Output.sortResults) nor laid out as Locations, which put a file's rows in their lines' order (Output.usesLocationsConfig): a row each, as the picker lists them; the walk's list picker (`Jumps walk`, Ask's) takes them in that order (tty `lsp` with zls: `f helper`, `f main`, `c std`, was `std`, `helper`, `main`); an index's Symbols (SCIP, dev/lsp/Scip.zig) keep their rows unmarked, one row each now too; the mock answers documentSymbol with a nested list in no kind's order (a const, a function, a struct with a field and a method, an enum with a member, a module); docs/typ guide's `Symbols name` and the reference's Symbols say the marks and the order; and three faults of the change before's rows, which its pictures showed (each TEST FIRST: the syntax.zig and Pick.zig tests failed with them first; the pattern guard came with its JavaScript case, not before it): a test whose name is longer than 200 bytes was no symbol, so its body was no scope and its local structs and functions were listed as types and functions (Pick.zig's own tests: `t typeIn = struct`): a name that long is cut, on a character, and a test's body lists nothing (370 rows of core/Pick.zig to 247); a name field is taken whole when it is one line (C++'s `namespace v8::internal::torque` named `v8`, now whole; a value binding's must still be a name, never a pattern: `const { x, y } = a`, OCaml's `let () =`); the qualifier dimmed in a row ran to the name's last `.`, a test's sentence's (`(SPEC §6.3, §7.3)` dimmed most of it): it is the candidate's `base` now, the qualifier's length from the gather, which also gives the scorer its basename bonus on the name; core/root.zig's import of syntax.zig (the change before) says what it does: without it a -Dtest-filter run compiles none of syntax.zig's tests, while a whole run has them (core-test 1135/1308 with it or without it; the change before said they ran nowhere: wrong); RUN (TEST FIRST): test/behaviour/language_servers.zig "language-servers: a server's Symbols are the Symbols picker's rows ..." opens shapes.rs with no index (the server asked) and asks the +Search's rows in that order: with walkSymbols' marks alone they came in their lines' order (`c LIMIT`, `f main`, `t Shape`, ...: the sort and the Locations layout), passes now; the index's Symbols test asks one row each (`lib.rs:1:11-15 Shape`); test/snapshots/lsp.golden re-recorded: only its symbols snap's three rows (marked and grouped) and the preview landing on their first, `helper`'s line 3; GATES on this stack (the change before under it): core-test 1135/1308 (173 skipped; base 1127/1301 with the base's one failure, a CPU-time test under load: colors' "the whole ring resolves in 150 ms"), shell-test 1356/1359 (3 skipped), pane-test 183/184 (1 skipped), behaviour-test 281/281 and --replay 281/281, process-test 1 of 147 failed (tty editing: lsp, its golden: re-recorded, the ten `tty editing: lsp` cases 0 of 10 failed), term-test 17/17, kitty-test 45/45; the dump fuzz (Names.Cand.group, Stream.Batch.symbols) at 40,000 join seeds twice and 1,779 image seeds 13/13; the soak `replicas -- --clients 5 --rtt 30,80,207`: diverged 0, unequal 0, quiet checks 421/0 415/0 590/0, unlisted stops 0, the corpus 22 of 22 scenes the same, no leak; the gui unit-test 1960/1964 (4 skipped; its one failure the perf check's BaselineHarnessMismatch, every base's); core-test, shell-test, pane-test and behaviour-test again after the three faults: the same counts; the pictures (the S kit at 26 px, neonotte84, 100x30, typed through the pty; .scratch/walkui/W6/png): today's install (install74) beside this tree's Debug gui, SPC s s on core/Pick.zig (today 127 rows of declarations, `pub fn deinit(...` first; here 247, `t Pick = @This()` first, the types, then the functions ...) and on V8's torque-parser.cc (today 132, here 273 under `v8::internal::torque.`), and `count` typed (today the cursor on `count`, then `paneCount` and every row whose signature holds c-o-u-n-t, `[]const u8` among them; here `f count` current, `f paneCount`, `c counts_zig`, then the tests whose sentences match); no frame or perf gate (the user's rule of 2026-11-26); load 3.0 to 14.2 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
| * Pick, Prompt, keys: Ctrl-r in a picker unrolls its source's earlier queries ↵Gabriel Schneider41 hours
| | | | | | | | | | | | | | (UX DESIGN L2's last line, "Small, any of them: `C-r` in a picker recalls that source's earlier queries, as prompts do", in the L options the user liked; the coordinator's item 4): a history per source (Find, Grep, Recent, Panes, Symbols, All, ...; Lists keeps none), kept as the prompts' are, beside them (`Prompt.History.pick`, a `Ring` per source: the last 16 lines of a field's room, an older copy of a line gone, the same dump and digest walk, held to its count), a query kept as its picker rolls up with it typed, which a landing does too (Pick.rollUp); Ctrl-r in a picker is a band step like any other (the spine's `history`, beside the rows): its lines newest first, those holding the field, a cursor on one; Down and Up (C-n, C-p) move that cursor, Enter puts its line in the field and the picker filters again, Ctrl-r rolls it up and so does Esc, back to the picker (Pick.closeHistory, asked by keys.tagStateKey before its Esc rolls the tag to rest); anything else types in the field, which filters both; out of it Up and Down are the rows' cursor, no recall; Prompt's history step, its cursor and its rows take the ring, the field and the cursor as arguments now (historyStep, historyAt, historyRows, historyKey: Down and Up's walk, once in Prompt.key), one for the prompts and the pickers; the reference's "Back to a picker" says it; RUN (TEST FIRST): Pick.zig "Ctrl-r in a picker unrolls its source's earlier queries ..." types SPC f f `words` Enter, a Grep left with `in_w`, then SPC f f Ctrl-r and asks the band's history rows (`words` alone: Grep's is not Find's), Esc (the band rolled up, the picker live), Ctrl-r Enter (`words` in the field, the rows one), Grep's Ctrl-r (`in_w`), a Lists left typed (nothing kept), then seventeen Find queries (16 kept, q1 the oldest, q16 the newest) and Ctrl-r over the field `q1` (q16 .. q10, q1, no `words`): on L'3's tree the first Ctrl-r shows no history (Pick.zig:3196, expected `words`), passes now; a user hit it on every picker whose earlier query they wanted again; docs/typ/builtins-gui.json regenerated here for L'3's Lists and Resume's doc (the window build's list); with L'1 to L'3 under it: core-test 1128/1301 (173 skipped), shell-test 1349/1352 (3 skipped), pane-test 183/184, behaviour-test 280/280 and --replay 280/280, process-test 1 of 147 failed (ttyhelp, the merge's placeholder), term-test 17/17, kitty-test 45/45, the gui unit-test 1952/1956 (4 skipped; its perf check's BaselineHarnessMismatch, every base's); the dump fuzz (Prompt.History.pick) at 40,000 join seeds twice and 1,779 image seeds 13/13; the soak replicas --clients 5 --rtt 30,80,207: diverged 0, unequal 0, quiet checks 492/0 457/0 491/0, stops not on may_wait 0, the corpus 22 of 22 scenes the same, no leak; no frame or perf gate (the user's rule of 2026-11-26: at the programme's end); load 3.4 to 14.0 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
| * Pick, builtins, config, Core, docs: Lists, a picker of the kept pickers (UX ↵Gabriel Schneider41 hours
| | | | | | | | | | | | | | DESIGN L'3, binding; the user liked L-c): `SPC f l`, the word Lists, and `'` among a picker's sources (M-h) open it from the asking pane (Source.lists; from a live picker, one of its own where that one was asked: switchTo); its rows, newest first (Pick.nth), are the kept pickers' list words, the source word, the query (refinements joined by ` | `), `cursor/matches` and `•N` when marked (Pick.wordOf), each with where it last landed at its right, dim, `@p2 › words.zig:16` (Pick.landed, written by land); the body previews the picker's current row as any place (its row's target); the band's second step, a doc, shows that picker's rows around its cursor, which is marked `▶`, read only (Pick.listedStep); Enter (and B3 on a row) reopens that picker as it was left, where Lists was asked from, the newest now (Pick.reopenListed); Esc to rest; no acts and no sources in it (head `⏎ reopen it · esc`; execWord passes it by); Lists itself is never kept: Pardes.picks has one more slot, Lists takes the one Lists had or a free one, never drops a kept picker for its room, is never in Resume's order, in Lists' rows or the count of the kept (Pick.make, nth, nkept); Resume's doc says its walk; docs: the reference's "Back to a picker" (the three ways and what Ctrl-o, Resume and Lists do), the cheatsheet's Ctrl-o row and `SPC f l`, `SPC '`; builtins-tui.json regenerated (Lists, Resume); RUN (TEST FIRST): Pick.zig "Lists (UX L'3) ..." keeps eight lists (G left on its second row, H landed), opens Lists and asks that none was dropped and it is none of the kept, its rows `H 1/2` .. `A 1/2` newest first with H's `@pN › alpha.zig:2`, on G the body previewing beta.zig at line 2 and its rows beside with the second marked, Enter reopening G on its second row as the newest, a ninth picker dropping the oldest kept and never for Lists' room, and M-h `'` from a live J opening Lists with J first: does not build on L'2's tree (no Lists source), passes now; goldens: find (the SPC f level shows `l Lists`); with L'1 and L'2 under it: core-test 1127/1300 (173 skipped; the docs test caught `#key("Backspace")` and `#key("'")`, which name no binding: written as text, passing alone), shell-test 1348/1351 (3 skipped, the same), pane-test 183/184, behaviour-test 280/280 and --replay 280/280, process-test 2 of 147 failed before find moved (find; ttyhelp the placeholder), term-test 17/17, kitty-test 45/45; the dump fuzz (Step.search, Pick.used, landed, walking, Pardes.resume_at, picks one more) at 40,000 join seeds twice and 1,779 image seeds 13/13; the soak replicas --clients 5 --rtt 30,80,207: diverged 0, unequal 0, quiet checks 351/0 481/0 564/0, stops not on may_wait 0, the corpus 22 of 22 scenes the same, no leak; the frame and perf gate on the stack's top; load 2.4 to 13.7 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
* | Command, docs: every word that left a tag still runs from `:`, its rows ↵Gabriel Schneider38 hours
| | | | | | | | | | | | | | listing after the tag's words the words of the pane's kind the tag does not show now, marked `for this pane`, and the docs that show tags show the lean ones (UX DESIGN K'4, binding: "every one keeps a key, the `:` line, and a typed word"); THE OLD WAY: `:`'s rows were the tag's words (`in the tag`), then the commands; since K'1 and K'3 a clean file's tag holds `Del` alone, so `Save`, `Term`, `Collapse`, `Follow`, `Def`, `Refs`, `TreeContext`, `Mode`, `Filter` and a file's `Undo`/`Redo` were in no row a hand could find from `:`, and the cheatsheet, the guide, the docs' README and the tutor still drew the old tags (`Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Fonts Config History Debug Exit`, `Save Term Collapse Follow Del`, a terminal's `Term+bash Save Mode Filter Collapse Del`, a command pane's `Kill Save Collapse Del`) and told the hand to click `Collapse` in a tag; THE CHANGE: Command.Others, the words of tagline.kindTail (the tag a pane of its kind had before K', kept for this and for dropOldTags) the tag does not show now, then a file's `Undo` and `Redo` (not a query's: its text is its rows), each a row after the tag's words, said `for this pane` beside it and in its doc row, the last ruled off as the tag's last is; Command.others counts them beside Command.words (a view's state: the dump fuzz and the soak), the commands' rows after them, all of them bounded by max_words (32); Enter runs the line as B2 runs a word, as before, so any builtin, Joincol too, runs from `:`; the docs: docs/typ/cheatsheet.typ and guide.typ draw the window row `Find Grep Newcol Help Exit`, a column's tag `New Term Joincol Delcol`, a file's `Save Undo Del`, a terminal's `Del Term+bash`, a PDF's `PdfSections PdfTint PdfFit Del`, a command pane done `Del`, and say in a line each where the rest went (the words that act now; the others from `:` and typed; the lone column's `New Term` at the window row's left, a second column bringing the column row); docs/typ/README's tag() example `Save Undo Del`; core/tutor.txt's tag lines the same, its step 1 `: :` to the tag after its words and `i Help`, step 2 `Collapse` from `:` (`Coll`, Enter) instead of a click on a word that is gone; config.zig's docs check (doc_typ.tag) takes the window row's and the column tags' words and K'3's pane tags at rest (`Keep Del`, `Del`, `Save Undo Del`, `Undo Del`, `Kill Del`, `Get Del`, `Filter Del`, `Del Term`), a kind's its addon's words then `Del`; A FAULT OF THE CHANGE BEFORE THIS ONE, found by its shot of the comparison video's found moment (84x20 tty: `New Term Find Grep Newcol Help Exit` run together at the window row's left): tagline.windowRow made room for a server's progress after the window's words whether or not the row had it (zls's `lsp zls ready — <the session's directory>` stays live while the server runs), so a long one pushed the words left against the column's while draw.zig, finding no room, drew no progress; THE FIX: windowRow counts the progress only where the row holds it beside the column's words (the one rule draw reads too); a user hit it in any window narrower than its words, the column's and the progress; TESTS (FIRST): tagline.zig "a server's progress goes after the window's words where the row has room for it, and moves them by nothing where it has not (UX K'2)" (84 columns: a progress too long leaves the words at 56, a short one moves them left by its 9 cells and the 2 between; without the fix `expected 56, found 12`), Command.zig ": lists the words of the pane's kind its tag does not show now, `for this pane`: Save while the file is clean, Collapse, Undo; Enter runs any builtin as B2 does, Joincol too (UX K'4)" (a clean file reading: `Del` in the tag, ruled off; `Save Term Collapse Follow Undo Redo` for this pane, `Redo` ruled off; `write` after them; `Coll` filters to Collapse with its doc for this pane; `:Joincol` Enter from two columns leaves one); TESTS CHANGED: Command.zig's first `:` test (a typed-into file: 18 commands, its kind's `Term Collapse Follow Redo` for this pane between its tag's `Save Undo Del` and `write`); GOLDENS: none moved (process-test with --update re-recorded none; ttyhelp is the next change's: its `:` and tutor text are on no snap); GATES (after the fix): core-test 1132/1305 (173 skipped: +2), shell-test 1353/1356 (3 skipped: +2), pane-test 183/184 (1 skipped), behaviour-test 280/280 and --replay 20 seeds of 70 steps 0 failures, process-test 1 of 147 failed (ttyhelp, re-recorded by the next change; 3 skipped), term-test 17/17, kitty-test 45/45; the dump fuzz at 40,000 join seeds twice and 1,779 image seeds 11/11 (Command gained a field: a view's state is in the dump; run before the fix, which changes no field); the soak `replicas -- --clients 5 --rtt 30,80,207` (after the fix): diverged 0, unequal 0, agree/differ 531/0 392/0 680/0, unlisted stops 0, the corpus 22 of 22 scenes the same, no leak; the gui unit-test on the next change (its code is this one's: it changes one golden); no frame/perf gate (the coordinator's, at the programme's end); load 1.6 to 8.5 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
* | tagline, layout, draw, mouse, edit, dump: one column, one row: the window ↵Gabriel Schneider39 hours
|/ | | | | | | row holds the lone column's words at its left (`New Term`) and the window's at its right end (`Find Grep Newcol Help Exit`, then `Restore <dump>`, then the user's text), and the column-tag row comes only with a second column (`New Term Joincol Delcol` over each), or a column tag holding the user's text (UX DESIGN K'2, binding; the user: "I liked C and D for the tagline like we could show the column tagline only when we have multiple columns"); THE OLD WAY: the window's and every column's tag were a row each whatever the window held, 2 of 20 rows at the demo's 84x20 before a line of text, their words their own text (`global_tag.own`, `col_tags[c].own`, or until edited the defaults `Newcol Joincol Find Grep Help Changelog Tutor Dump Themes [Fonts] Config History Debug Exit` and `New Term Find Grep Joincol Delcol`), and Restore's word swapped inside the window's own text (Core.pointRestoreAt); THE CHANGE: a header reads as a pane tag does since K'1, computed words, a blank, then the user's text (tagline.headerWords, headerText; config.window_words_str, column_words_str, columns_words_str; the old lists kept for the dumps and for /tagexec's refusal of pane words, ninep/cols.zig paneWord), the words read-only (edit.setEditTextSpan refuses an edit that changes them and their blank, editText edits the text as shown, flatSurface shows it), the keyboard starting on the user's text (enterHeader, as enterTag), Restore computed (pointRestoreAt keeps only the path); layout.columnBarHeight is 0 with one column and no column tag holding text (and with a window row to take the lone column's words: a native shell's window with none keeps the column row), layout.columnInWindowRow says the lone column's tag is in the window row; tagline.windowRow is the one rule for the window row's two sides, in cells (the column's text and its caret's cell from the inset; the window's text right-aligned, its caret's cell at the right edge, a server's progress after its text while one runs, tagline.sessionProgress; cells from glyphs by layout.tagCapacity's inverse), read by draw.zig (addRegions: a `.column_tag` region for column 0 in the window row, no grip; paintHeaders: the window row on the tagline's ground end to end, column 0's layer at its left in the row's inks, the window's layer from its words), mouse.zig (headerPoint and the press: the column's side, the window's, the blank between no one's), workspaceBlank (the inset and the blank between are the pixel shell's drag area) and root.zig's pixel grid (taglineOriginCol, gridColAt, the macOS fallback); Core.sync lets a column tag keep the keyboard in the window row; revealHeader scrolls each by its own side's width; flattenHeaders keeps the caret on its character in the text as shown; a 9P header write appends to the user's text and a truncation clears it, the words staying (ninep/cols.zig); Help's `topbar` annotation names the window row's words (root.zig shortcuts; docs/typ/builtins-tui.json from `zig build builtins-json`, builtins-gui.json the same 9 lines by hand); RESTORE: dump.dropOldTags also drops a window tag's own text equal to the old row (either build's, with or without its `Restore <path>`) and a column's equal to the old column tag, any other kept as the user's text; A FAULT THE ROW FOUND (core-test, ninep/tree.zig "random placements ... leave no pane under its tag and two rows", seed 30, 8 rows: Newcol with two panes at their minimum left `pane 2 h 2 min 3`): layout.keepColumn's trial shares a column's rows out again for the new layout and, refused, dropped the column but kept the trial's shares, so the column's panes came back on the old height with the trial's weights, one under its minimum; a column row that comes with a second column now makes every refused Newcol in a full column take that path; THE FIX: keepColumn puts every pane's weight back when it refuses (a user could hit it before this change too, where a narrower column wrapped tags); TESTS (FIRST): layout.zig "the column row comes with a second column and goes with it, the panes giving it and taking it back; a column tag with the user's text keeps it (UX K'2)" (one column: no row, the pane at row 1; Newcol: the row, both columns' panes at row 2; Delcol of the second: the pane's rect back as it was; the user's text keeps the row alone, emptied it goes), mouse.zig "one column's words at the window row's left and the window's at its right each run their own; the blank between is no one's (UX K'2)" (windowRow's sides at 100 columns; B2 on New makes a pane in the column; B2 and B1 on the blank nothing; B1 on Term gives the column's tag the keyboard there, its caret on the cell; B2 on Newcol at the right a second column), tagline.zig "a header reads its computed words, then the user's text: typed there, kept through a change of its words (UX K'1, K'2)" (typed at the start, a Backspace into the words refused, Restore coming in before the user's text, Joincol Delcol into both columns' words with a second, Newcol's tag typed into), "a dump of a build before UX K' restores a header's old default own text as none, any other as the user's (UX K'1)" and "the window row is blank at its inset and between its two sides, and nowhere else (UX K'2)"; TESTS CHANGED, each for the row or a word that moved: Core.zig the Restore word (computed, the user's text after it, across a Restore), editable headers (a sweep over the window's words, `a` into them refused, typed after them; the column's tag typed into at the window row's left brings the column row, emptied it goes, the keyboard staying), topbar hover (each side's first word), the short screen (sync before presenting the user's text); tagline.zig flattening (the caret on `a` of Snarf in the text as shown); keys.zig (W4's file, the test only: `s` in the window tag finds `i` twice, Find and Exit); Handover.zig (a column carried by its grip: a second column first, the grip is in the column row); replica.zig (the kind's pane under one row of body: 4 rows, not 5); ninep/cols.zig (the column's and the window's tag read, cleared and appended to after their words); root.zig (the window row's blank on the body's grid, its words compact from their origin); dev/gui/gui.zig (L2cde's file, the test only: the window's text starts at windowRow's words); test/panes.zig (a header's click past its words), test/column_drag.zig (the tags compared by their own text: columnTag now builds in the step's scratch), test/hxdiff.zig (25 rows give helix's 22: one row of chrome less); BEHAVIOUR: columns_and_tags (the window's words at the row's right end; a lone column's tag `New Term `; a click past it on its caret's cell types the user's text and brings the column row, the pane's tag under it, and a wider run of 界 to scroll it; Help, not Tutor, for Tab from the window's tag; a column tag typed into after its words), keys (zz at 80x24 for a view of 21 rows), modes (`b` from the column tag's user text onto its words), tags (the user's text in a column tag brings the column row: the pane one row lower); addons/{fake,life,pdf,snake}.out re-recorded (each kind's window one row taller); PROCESS: 27 waits on `Newcol Joincol` now `Newcol Help Exit`; Dump (dump, load, restore, headersweep-restored), Debug (topbarexec, windowops) and Tutor (tutor), which left the window row, typed into its own text after its words (B1 on Find, A, the word, Esc) and run there by B2; headersweep types after the window's words with A (a click at a column now inside them) and sweeps the second column's `New Term`; tagnav enters the column tag on its user's text (`b`, not `w`) and types Dump into the window's own text, its five B from `$` having run Themes in the old golden, not the Dump its comment says, now one B and Dump, and three B onto Restore; and every click on a row under the column row of a one-column session one row up (the window row's own clicks unchanged), each checked against its old golden's screen, the lower pane's rows staying where the extra row went above them (diffview's last look); GOLDENS: 101 re-recorded (ttyhelp left as it was: the change after this re-records it), every snap checked by a script against its old screen (each text row the same or one row up, the caret the same or one row up), every move one of: the window row's new words (the lone column's `New Term` at the left, the window's at the right end), the column row gone with one column (every row under it up one, one more text row at a foot), the column tags' words, Help's `topbar` annotations gone from the words that left, a header's caret on its user's text (emptycol, layout-close, tagnav), a nested session two rows (nested-optout), the typed Dump, Debug and Tutor in the window row; GATES: core-test 1130/1303 (173 skipped: +4, ssonuoyn 1126/1299), shell-test 1351/1354 (3 skipped: +1), pane-test 183/184 (1 skipped), behaviour-test 280/280 and --replay 20 seeds of 70 steps 0 failures, process-test 1 of 147 failed (ttyhelp: this change moves it too; the change after this re-records it; 3 skipped), term-test 17/17, kitty-test 45/45, the gui unit-test 1954/1958 (4 skipped, none failed; ssonuoyn 1949/1954; its one failed step the perf check's known BaselineHarnessMismatch); the two tagline.zig tests on the base (ssonuoyn, the tests alone): both fail, the header's at its first question (`Newcol Joincol Find Grep Help ...` where `Find Grep Newcol Help Exit ` is asked), the dump's at the window's old row restored as its own text (the layout and mouse tests ask for windowRow and columnInWindowRow, which the base has not); the dump fuzz at 40,000 join seeds twice and 1,779 image seeds 11/11 (no field changed; the header rows change the layout); the soak `replicas -- --clients 5 --rtt 30,80,207`: diverged 0, unequal 0, agree/differ 491/0 338/0 522/0, unlisted stops 0, the corpus 22 of 22 scenes the same, no leak; no frame/perf gate (the coordinator's, at the programme's end); load 2.0 to 14.8 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
* layout, Trail, Pick, look: a new pane goes into free space before it splits ↵Gabriel Schneider43 hours
| | | | | | | a pane: an untouched `+New` is taken, an empty column filled (UX DESIGN J, binding; the user: "the New panes that are empty should be taken over by the previews since doesn't make sense to keep them, this should also apply to empty colums"; p1-02: SPC f f from an empty +New made its landing pane under it and squeezed main.zig from 8 body rows to 3, p1-03: after Enter the +New kept 6 empty rows and the file got 4; at 150x45 a Look from a held main.zig split it and left an empty column empty); THE RULE: free space is an untouched pane (Trail.untouched: a +New never typed into, no undo history, its body empty, still so named, not kept, not folded, and no 9P open holding it: a look or exec open answered with it, exec.leased, or an open of one of its own files, so a script's pane/new and its `look` stay its own) or an empty column; every opening that makes a pane but New and 9P's pane/new looks for it first (layout.placeNew → freeSpace): the asking pane when it is untouched, else the nearest, in its column below it then above, then the columns to its right, nearest first, then to its left; asked from a column's tag, that column alone; an untouched pane is taken (takePane: its place, rows and weight, layout.replacePane; it closes at the step's end, Pardes.unplaced) where its rows hold the new pane's tag and two rows, as every placement leaves; a file taken into it keeps its number (@pN and its 9P state, as Trail.show's step does, the file a revision on), a terminal, kind, listing, output or Zerox twin its own (a shell's spawn and a kind's jobs went to the host by their serial as they were made; a twin's revision is its text's); a jump from an untouched pane opens its reader in its place with no owner word, its trail starting at the file (Trail.reader with no owner); a picker from one previews in it (Pick.hostIn: no pane made), Esc gives it back empty, Enter lands in it, a reading pane whose trail starts with the list word, and S-Enter and C-v there are Enter; a picker from a held pane with no reader previews in the nearest untouched pane, given back on Esc, and Enter makes it the held pane's reader by that number, or makes its landing pane in an empty column; C-v makes a column only with no free space; `Jumps new-pane`, S-Enter, C-s, a command's output, Term, +Help, +Search, a directory, the pager's +Diff go the same way; look.runSearch's 16 MB of room is the gpa's, freed, not the step's arena (core/fuzz.zig's 9P seed 610 under the new placement looked a word twice in one burst of requests, which come between steps, and asked that arena for a 75 MB node); RUN (TEST FIRST): layout.zig "free space first (UX J1)": a held pane's reader takes the +New below, above, right and left of it in that order, each by its number and in its rows, then splits as before, then takes an empty column whole; a jump from a +New, and one under Jumps new-pane, opens in it by its number; a +New typed into and emptied, kept, leased or with a file open over 9P is no free space; a command's output and a Term take a +New (shell-test); Pick.zig: a picker in a +New previews there, Esc, Enter and S-Enter; one from a held pane previews in a +New, Enter makes it the reader, C-v lands in an empty column with no column made; all four fail on the base's placement (the +New left, the landing made) and pass now; ninep/tree.zig's random placements kept every pane its tag and two rows only once a +New too short for the new pane's tag was passed by; ninep/cols.zig's column-tag command and behaviour/placement's look from a pane/new pane kept by the column-tag and 9P-open rules; two older Pick tests count panes after the step's end (the +New the Look took closes then); six tty goldens re-recorded, each the boot layout's +New taken by the pane made (nested's reader of the shell, diffstack's and pagercolor's +Diff, ttyhelp's +Help, look-fd-deep's reader, psearch's +Search, each now in the +New's rows under a shell that keeps all of its own); docs/typ/reference.typ's Placement says it; a user hit the old placement on every opening from or beside an empty +New or column; with the next change on it: core-test 1117/1290 (173 skipped; this change +4 and +1 skipped, the next +1), shell-test 1338/1341 (3 skipped; +5 and +1), pane-test 183/184, behaviour-test 280/280 and --replay 280/280 (the monkey's 20 seeds, 0 failures), process-test 0 of 147 failed (3 skipped, the six goldens moved), term-test 17/17, kitty-test 45/45, load 2.4 to 5.6; the frame and perf gate against a baseline recorded from the installed tree 1e8787e0b2eb (gpu/w2base, then gpu/walkui-W2): 76 of 77 frames byte-identical, frame 63 (a translucent addon picture over its pane) moved by this change: the veil pane takes the empty middle column whole instead of going under the third column's +New, which was typed into; the gui unit-test 1941/1945 (base 1935, no failure the base has not); perfops 121 of 121 within 0.1% (largest open on small per-op +0.0154%); perfab not measured (its pictures differ at frame 63); timedemos INFO text +2.26%, snake -1.46%, pdf +0.23% (spreads 2-3%); no dump layout change, so no fuzz or soak; load 2.9 to 4.8 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
* Messages, body_layer, normal, mouse, Core: a message's detail unrolls only ↵Gabriel Schneider2 days
| | | | | | | on request (UX D13, E5 fix 3): K with one selection on a line a message with a detail names, SPC e there, or a Look (B3) on its words after the line unrolls it under that line, and the caret leaving the line (or the keyboard another pane) rolls it up; the caret passing a line never inserts or removes rows; THE CAUSE: Messages.detailUnder showed the detail of the message naming the caret's line whenever the caret was on it (C's rule, spec §10.2), so j over a build error pushed the text below down and k pulled it back (UX A16, E2 "detail still unrolls under the caret"); THE FIX: Said.open (the question's Diff's flag, already in the dump and the digest; its doc said "whatever the caret" and nothing read it) is the request: detailUnder shows the message whose words the caret's line shows (the first naming it, firstAt, as messageGhosts draws them) only while it is open, and a question's Diff under its place whatever the caret; Messages.detailAt finds it (not a question's: its Diff is `d`); normal.zig's K takes it with one selection, else keep's prompt as before; Messages.act (SPC e) unrolls it first when the caret's line has one not shown, the walk as before when asked again; mouse.zig: a Look on its words after the line (body_layer.messageAt: from their glyph two blanks after the line, read from the frame drawn last, as wordAt reads a detail's word; wordAt and it share drawnRow) toggles it; Core.update: around a key and a click, Messages.unrolledAt/rollUp roll every unrolled detail (not a question's Diff) up when the keyboard's pane or its caret's line changed (a motion along the line, or a click on the detail, which puts the caret on the line it explains, keeps it: C's G-fixed rule holds, the detail's rows are read-only text for the mouse); nothing read with no detail unrolled; the Message builtin's doc says it (docs/typ/builtins-tui.json and -gui.json the same text); TEST FIRST: body_layer.zig "a message's detail unrolls only on request (UX D13): the caret passing its line inserts no rows; K there unrolls it ...; K with two selections is keep's" (fails on the base at body_layer.zig:1346: the caret on line 3 put its detail under it); C's two tests ask for the detail (err.open, and K after k k) where they set the caret; core-test 1084/1255 (171 skipped), process-test 0 of 147 failed (no golden moved); a user hit it: every build error and diagnostic with detail lines pushed the text below down as the caret passed Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
* lsp_client, Ask, Pick, body_layer: code actions as a picker (walk UI P3 item ↵Gabriel Schneider3 days
| | | | | | | 1, SPEC §5.1 "actions", §14.1, POLISH 17): the client sent each action's title alone (lsp_client run `.code_action`), so `SPC l a` could only list them in a +Lsp, nothing to preview or apply; NOW the client writes each action's row and after it its edit of this file as `@put` records (actionEdits, sorted, sharing renameEdits' WorkspaceEdit reading as editFiles), `@elsewhere` for an edit that reaches another file or makes one (never a part of it applied), none for a command's; an action the server sent without its edit but with `data` is asked for it with codeAction/resolve when the server says resolveProvider (Caps.resolve_actions); typed where jumps walk (Ask's `ghost`, recorded at ask time as the hover's) the answer is Pick's new source `actions` in the asking pane's own tag (`␣ l a Actions`, its host the edited pane as the themes picker's), each row its digit in the key ink then the title (the query matches the title), the body moved to the edit's first line while it is under the cursor and showing its edit as ghost rows (Pick.ghosts, drawn after Prompt.ghosts by the body layer: the lines it changes on the Changes layer's deleted ground, what they become after them on the added ground, the rows below pushed down; R3, DESIGN D4 add/del; bounded by the rows shown), Enter or `1`-`9` with the field empty applies it as one undo step through Ask.applyAction (applyLspEdits, of the revision it was asked of: Pick.revision), the tag at rest first; a command's or an elsewhere edit is said, not applied; anyone else's (a 9P script) keeps the +Lsp of titles; the mock (test/lspmock.zig) answers three actions: a title alone, one with its edit (a line put in at the top), one resolved (main.rs's two `add` calls to `sum`); CodeAction's doc and the builtins json say so; TESTS: core/Pick.zig "code actions: a picker in the asking pane's tag ..." (ghost rows and grounds rendered, `3` applies, `u` undoes, a command's said), test/behaviour/language_servers.zig "SPC l a lists the server's code actions in the pane's tag by their digits ..." (through the mock end to end, resolve included; on the base `SPC l a` makes a +Lsp); core-test 1063/1233 (170 skipped), behaviour-test 279/279, shell-test's edit tests 89/89 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
* Messages, Pick, Output: where jumps walk, SPC e lands an error's places as a ↵Gabriel Schneider3 days
| | | | | | list in the pane's walk through D's picker, and SPC h m is a picker over the history in the pane's tag (walk UI G item 2c, SPEC §10.4, §5.1's messages source), C's stopgaps replaced: SPC e (Messages.act) made a +Search under the pane and walked it with the Look walk; now, when Pick.asked (jumps walk, not a 9P script), it opens Pick's `list` with the places as rows, its word `✗ <cause>` (cut at a character's start to the word's 24 bytes), and lands its first row at once as the prototype's actOnMessage does (openPicker then accept): the pane steps (or its reader, the pane being held), the list word goes into its trail before the place, n and N walk the places through Pick.walkList; the history (Messages.history, from SPC e with nothing to act on and from the Messages word, SPC h m) is Pick's new source `messages`, its rows Output.messagesText (openMessages' text, split out), the newest first, a place indented under its error; Enter on a message row gives the keyboard to its cause's pane while it is open, on a place row Looks the place; C-q keeps it as the +Messages (Pick.keep); the source is not offered among the picker's other sources (its second row), as `list` is not; where jumps open panes, and for a 9P script, both are as C made them; the Message and Messages docs say so (builtins-{tui,gui}.json regenerated); TEST FIRST: Messages.zig 'where jumps walk, SPC e lands an error's places as a list in the pane's walk, n walking them; SPC h m is a picker over the history…' (no pane made, the caret on the first place and then the second, the word `✗ @p9 zig build 1/2` then `2/2` in the tag, the history's rows newest first, Enter on a message, C-q the +Messages); C's own SPC e test keeps the +Search way (jumps open panes there); GOLDENS: builtins (SPC h m's doc two rows longer: the rows under it, Tutor's among them, two lower; the +Look's line 237 for 236; tty_boot.zig's click on Tutor's row 32 for 30) and leader (the same doc rows in help-group), nothing else; tui core-test 1035/1204 (169 skipped), process-test 0 of 146 failed after those two updates (2 before them: those two) Co-Authored-By: Claude Opus 5.5 <[email protected]>
*-. walk UI M2: M1 (lines A to moosvmpn, B to ozlumvqo, D to uxrmlvno) + line C ↵Gabriel Schneider3 days
|\ \ | | | | | | | | | | | | | | | (vxmpyyst, on main) + A2's fixes (to mzmzklqu) merged, each conflict resolved by what both sides meant: Layer.Kind gets both new kinds (A's band, C's notice_row); root.zig's layers are C's order (the notice row's layer after the workspace tag's, NOTICE_LAYER_BASE one on) with A2's single BAND_LAYER after the notice bands (draw.joinBand takes it, A2's vlkqpnxq); draw.zig's header arms list both kinds; config.zig's leader paths keep A's Keys (SPC h k) and C's Message (SPC e), its settings B's Jumps and C's MessageLinger doc; panes.zig's replica keeps A's derived band_rows and drops C's removed msg/msg_older lengths; keys.zig handleKey answers C's question given the keyboard by SPC e first, then A's tag states; Messages.zig pushes the leader chip only with a last-used leaf (A's rule) in C's bands, C's notice-row test replacing the removed chips' stack test; core/Core.zig's TreeContext test sets a last-used leaf for its leader chip and no longer expects the body's rows kept under the leader (A's rolled level wraps the tag: TagState); test/behaviour/keys.zig's PDF case looks for A's key cell ` ␣ ` in the panes only (C's panesShown: the notice row says SPC h m); docs/typ/builtins-gui.json regenerated (A's Keys was missing; tui's unchanged); the four conflicting goldens regenerated (process-test --update) and every changed row read against both sides (.scratch/walkui/G/gdiff.py): find (A2's rolled SPC f level over two tag rows, C's notice row and the panes of the bottom column a row up, the Find chip gone), leader (the rolled levels with D's Resume and C's Message among SPC's leaves, the Help chip gone, the notice row, C's longer Messages doc), builtins (A2's Help-word rows, A's Keys in SPC h's help, the +Look line 236 for 224 under the longer +Help, the notice row), ttyhelp (D's Resume in the help list, Help's count 136 for 133: Resume, Message, Keep), nothing else; tui core-test 1031/1200 (169 skipped, 0 failed), process-test 0 of 146 failed after the four updates (4 before them: those four) Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * | messages: SPC e acts on the message the notice row leads with, SPC h m is ↵Gabriel Schneider3 days
| | | | | | | | | | | | | | | | | | the history newest first, and Esc at rest takes a thing at a time (pick-ui SPEC §10.4, walk UI line C item 5): the Message word (SPC e, quiet: what it does shows) lists an error's places in a +Search under the pane and lands on the first (today's list, walked by the Look walk until agent D's picker lands lists in the pane), the error gone; a question gets the keyboard in its tag (View.answering, item 4); anything else, or nothing, opens the history; the history (Messages, SPC h m) is the log ring newest first, each line its kind's glyph, a live error's places under it, a question's answer logged after it; Esc in normal mode at rest takes a search's tints first (Places.clear), then the warnings and errors, then the extra selections (the primary kept), and only then goes back to the previous pane; tests: Messages.zig 'SPC e on an error that names places lists them under the pane and lands on the first, on a question gives its tag the keyboard, and on anything else opens the history, the newest first', 'Esc at rest takes a search's tints first, then the warnings and errors, and only then goes back'; docs/typ/builtins-tui.json from the registry; tui: core-test, shell-test, pane-test, behaviour-test pass; process-test 0 of 146 failed after the builtins and leader goldens took the Messages word's longer doc line Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * | messages: one session-wide list of live messages replaces each pane's stack ↵Gabriel Schneider3 days
| | | | | | | | | | | | | | | | | | of chips (pick-ui SPEC §10.1, walk UI line C item 1): Messages.Said is a kind (echo, notice, warn, error, question, progress), its cause first as a word a Look understands (a file's path, @pN and its command), its text, the places it names and the lines that explain it, the pane it is about, the question it asks, ×n and the core's clock, in a fixed list of 16 (Messages.live); a new message retires every echo and notice, a new error the error before it, the same message right after itself is counted, progress from the same cause runs in place and is never the notice row's; an echo or a notice dims after MessageLinger (now 4000 ms, a warning twice as long: test configs' MessageLinger 0 keep their meaning, nothing dims and nothing wakes), and the core sleeps to that dim (Messages.dimDue in nextWake) instead of a frame-counted linger; no key or click dismisses a message any more: Esc in normal mode takes the warnings and errors first, then goes back as before; every call site says what it said, mapped by its entry: setMessage a notice, setStatus progress, reportError and reportFailure an error, a builtin's announcement an echo (exec.zig), the sent-to-a-REPL arrow an echo; the log ring stays the history and 9P /log (each line now with its kind); gone: Pane.msg, msg_older and their lives, slots, announcement, status and sent flags, dismissMessage, advanceMessages, holdMessages, messageWake, expireUnattended and the detached shells' 100 ms message waits; until the notice row (item 2) a pane's one message chip shows the newest message said of it (Messages.saidBy); an Upgrade's outcome is said once and is every view's; tests: Messages.zig 'an echo or a notice retires those before it, an error the error before it, a repeat counts and progress runs in place', 'Msg says a notice by hand ... and the next message retires it', 'an idle core wants no wake, and a message wakes it once, when it dims', runtime/upgrade.zig 'an upgrade's outcome stays on every view's notice row until something else is said'; core-test 862 pass 162 skip, pane-test and shell-test pass; behaviour-test: the pdf addon's script golden and one PDF Restore test move with the chip over a PDF's body, which item 2 takes away Co-Authored-By: Claude Opus 5.5 <[email protected]>
| | |
| \ \
*-. \ \ walk UI M1: line A (to moosvmpn), line B (to ozlumvqo) and line D (to ↵Gabriel Schneider3 days
|\ \ \ \ | |_|_|/ |/| | | | | | | uxrmlvno) merged, the base of line F
| | * | docs: builtins-gui.json regenerated (zig build builtins-json ↵Gabriel Schneider3 days
| | | | | | | | | | | | | | | | | | | | | | | | -Dplatform=gui): Jumps and Keep (line B's, only in builtins-tui.json) and Resume (line D's, item 4); the gate walkD-g1's one gui unit-test failure the base has not, 'docs/typ/builtins-<platform>.json is what the registry says now' Co-Authored-By: Claude Opus 5.5 <[email protected]>
| | * | Pick: after Enter, the list word (walk UI, pick-ui SPEC.md §5.6, ↵Gabriel Schneider3 days
| | | | | | | | | | | | | | | | | | | | | | | | §6.1-§6.3 list words and n/N, item 4 of line D): Enter rolls the list into the trail of the reading pane it landed in as one word before the place, `Find pick 3/6 •2` (its word, refinements and query, where its cursor is among its rows, its marks; Trail.through, B's Trail.zig: the list a step came through), the list keeping its rows, marks, cursor and query in the session's ring; n and N in that pane walk its rows, the newest list or search word's (normal.zig, after the text's own places: a search made since is n's), in place of the current step (Trail.replaceStep: no step pushed, a file of its own a pane in its place as a step's), its word saying where it is now; a Look on the word (Trail.lookStep's list arm) unrolls the list again in that pane's tag as it was, an Exec (execStep's) runs its source again with its query from there; Resume (`SPC '`, a new builtin, docs/typ/builtins-tui.json regenerated) reopens the last picker from the pane the keyboard is in, in the tag of the pane its Enter lands in; Enter lands from the landing pane when it reads (the owner's reader or the asker itself) and from the owner otherwise; THE FAULT IT MET (B's Trail.zig, never reached before a list word existed): Trail.wordOf returned a list's, a search's or a recipe's text out of a copy of the step made by its switch, gone at the return, so a list word drew as freed bytes; the switch takes the step's own now; TEST FIRST: Pick.zig "after Enter the list is a word in the reader's trail: n and N walk its rows in place, a Look on it reopens it with its cursor and marks, Exec runs it again, Resume reopens the last" (failed on the freed bytes first); core-test 1018/1184 (166 skipped), 0 failed Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * | | walk (pick-ui SPEC §6.6, item 6 of the Walk UI line B): `Jumps new-pane`, ↵Gabriel Schneider3 days
| |/ / | | | | | | | | | | | | | | | the default (item 1 made the setting: a Settings choice, `Jumps walk` in a tag or an init line, reported by DumpConfig), jumps exactly as before the walk: look.open runs the new-pane code it always ran, nothing reads (no Keep, no tint) and no trail is made; TEST FIRST: Trail.zig "Jumps new-pane jumps as before the walk: a new pane for a file no pane shows, under the asking one, the one showing it focused, nothing stepped"; docs/typ/builtins-gui.json refreshed for Keep and Jumps, and the builtins process golden (its Look row 4 lines down); on the stack: shell-test 1214/1217, term-test 17/17, kitty-test 45/45, behaviour-test --replay 277/277, process-test 146 less the builtins golden refreshed here, the soak (5 clients) diverged 0 unequal 0 quiet checks 595/0 corpus 22/22, the gate against tree7: unit-test 1809/1813 (no failure the base has not), frame 76 and the 8 deep-sel counts differ as main's own gate merge70-g does (load 5-9) Co-Authored-By: Claude Opus 5.5 <[email protected]>
| * / walk (pick-ui SPEC §2, §6.1, §6.5, item 1 of the Walk UI line B): a pane ↵Gabriel Schneider3 days
| |/ | | | | | | | | | | is held or reading: Pane.trail (core/Trail.zig: a fixed walk, max_steps 16 of max_text 256 bytes, its steps a union of place, owner, list, search and recipe, `cur` held by walk.zig, in the digest and the dumps) and `held`, set by Keep (a new builtin, `SPC j k`) and by any edit of the file (File.edit, Trail.edited, twins too); a reading pane (a file not held: no output, listing, pager, query or kind) shows Keep after its path in its tag and its tag in the reading tint (a new theme role tag_reading_bg, derived from the page and the search ground, acme the spec's #f3f0cc), under the new setting `Jumps walk|new-pane`, whose default is new-pane until the walk's pickers are in, so every tag, frame and golden is as before (a walk default changes 74 of 102 process goldens and 21 behaviour tests by the Keep word alone); TEST FIRST: Trail.zig "a file's pane is reading ..." and "Keep holds a reading pane ..."; draw.zig's three-row tag test reads its band through tagGround; docs/typ/builtins-tui.json refreshed; core-test 993/1159 (166 skipped), pane-test 183/184, behaviour-test 277/277 Co-Authored-By: Claude Opus 5.5 <[email protected]>
* / TagState, builtins: describe-key (walk UI, pick-ui SPEC.md §4.5, item 5 of ↵Gabriel Schneider3 days
|/ | | | | | line A): SPC h k runs a new builtin, Keys (its word anywhere does the same), and the next keys typed are replayed in the tag of the pane it ran in (TagState.kind describe, its sequence in the view's scope_root and scope): the head says ` Keys` and the keys as key cells; a sequence that reaches a leaf shows ` Keys g ▸ d Def` and unrolls its level in the band with the leaf on the cursor and its doc beside it, for every root (g d, ] f, SPC l r, C-w h); Enter runs it, typed as its keys; a sequence nothing is bound to is struck, `runs nothing` (a first key that is no root's, `starts no sequence`); Backspace takes a key back, Esc goes to rest, any key after a sequence ended starts the next; docs/typ/builtins-tui.json and -gui.json have Keys (the tui's made by `zig build builtins-json`, the gui's line the same); TESTS: TagState.zig's describe-key (g d replayed with its level and doc in the band, ] f, SPC l r, g q struck, g e run by Enter) and window mode's level (C-w: its cell at once, its level after the delay, kept while h j k l move the outline, gone at Enter); core-test 1005 pass, 166 skip, 0 fail Co-Authored-By: Claude Opus 5.5 <[email protected]>
* docs: loose-ends.md at the stop of 2026-11-24 (the user: "wrap up everything ↵Gabriel Schneider3 days
| | | | | | | ... don't leave anything mid work and document whats left"): the work on bookmarks and not merged (the client connections, pardes-links-4 and its ungated merge; the pair as default, pardes-pair-14), the two rulings of the day decided and not built (a pane opens in the view that asked; a terminal's size is the smallest of the views showing it), what four more views cost by measure, the tables' cache without the tab's width, the price of the tab in the geometry's key, and what the frame gate says against tree7 now Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
* docs: loose-ends.md: what is known wrong, unfinished, or decided and not ↵Gabriel Schneider3 days
| | | | | | | built, as of 2026-11-24 (the user: "those little bugs and things should be documented, but no need to do those now"): the faults known and not fixed (Restore on a release build, the database reader on a damaged image, the overflow of a client replaying after a divergence, a detached session's lost Upgrade words, the pointer state after an Upgrade, a client leaving across a wire number, a terminal client's column drag), what is decided and not built (an addon's panic closes only its pane: ruled today; back-pressure; the flush as a wait; more than four views; Help's wrap; a pane's rectangle inside its column), the prices accepted, the structural queue, and three test loose ends; an entry leaves the file in the change that settles it Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
*---. integration: the tree to install (2026-11-23 evening): the Changes layer's ↵Gabriel Schneider4 days
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | second step, a window's size across an Upgrade, the boundaries' first no-panic fixes, and the builtins' documentation with Help: pardes-layers-9 (`rqvtuyou` on `rtmzywzn`, `xkvoyzwu`, `snmnxyqo`, its merge `yvzwukkn` of `main` = pardes-merge64, on rounds 8's two changes: the layer's lines are lines of the pane's text, read-only, nothing cut; the view from the middle; every way into a patch view; `Compare`'s pair ahead; the node keys and the indent on the file's text; a file with no layer paying nothing: 120 of 121 counts, the terminal's cell ruled (P81); the wire 34), pardes-upgrade-size (`xmowzmto`: the record's `size WxH`), pardes-no-panic-1 (`zwquloxl` and six under it: the fuzzes, `rows`' style, a client's row metrics, the tape's reader, a top-down BMP, a Grep row's numbers, vaxis's mouse bytes) and pardes-help-1 (`kvnnqktq` and twelve under it: a builtin's `///` is its documentation, a comptime table, `Help`, `Help <name>`, `Help <keys>`); RESOLVED HERE: core/builtins.zig, the `///` of `Changes` (help's text saying what the layer's second step made true: shown in every view of the pane; what the file no longer has stands as read-only lines of its text; a long description wraps) and of `Compare` (help's), and the two generated lists (docs/typ/builtins-tui.json, builtins-gui.json: `zig build builtins-json` for each platform); NOT in it: pardes-link-state (its wire history and `told_from` meet the layer's 34: link-3's merge), the jump list's equality and an Upgrade's outcome kept for each client (in their gate); its gate: .scratch/sketch/reorg/merge65, the numbers in PARDES.md Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
| | | * help: the process cases that show the Help pane read it as it is now, their ↵Gabriel Schneider4 days
| | | | | | | | | | | | | | | | | | | | | | | | | | | | goldens with them, builtins-gui.json regenerated, and Compare's row said in words: test/process/tty_boot.zig's `builtins` case reached the full index's words with no SPC path by `g e` and forty wheel ticks up (a count every builtin added moved); with each word's documentation under its row they are some 220 lines down, so the case searches for Look's row, `/^ +Look ` and Enter (the one line that starts with blanks and `Look `: the documentation's lines start with a letter), and B2 on Tutor in the SPC h group at its row now (24); the `leader` case waits for the SPC t group's first two rows (`SPC t a Ascii`, `SPC t c Changes`), the rest being below its 41 rows now; tty_terminals.zig's `ttyhelp` waits for `SPC ? Help`; the three goldens (test/snapshots/builtins.golden, leader.golden, ttyhelp.golden) updated a case at a time (`-- --update <case>`) and read: each Help capture now shows the rows with their documentation under them, the builtins case's query pane `/^ +Look` and its row `@p2:220:1`, Tutor opened by B2 from the index; docs/typ/builtins-gui.json regenerated (`text` in it, every doc the table's); Compare's second paragraph says its pair's row in words (the two points, how many changes lie between them, their first and last days) where the format `from..to N changes dates` lost a blank where the `///` wrapped; docs/typ/builtins-tui.json with it; the tui suites on the tree before this change's Compare edit: core-test 942/1108 (166 skipped), shell-test 1150/1153 (3 skipped), pane-test 182/183 (1 skipped), behaviour-test 277/277 and `-- --replay` 20 seeds of 70 steps 0 failures, term-test 17/17, kitty-test 45/45, process-test 0 of 146 failed (2 skipped), Debug, load 3.6-10; `zig build book` builds (128/128), its glossary each word's whole documentation; on this change: the frame and perf gate vs tree6 (`gpu/help1-g`, 1,648 s): 77 frames, 0 differ, gui unit-test 1748/1752 (no failure the base has not), perfab PASS (pictures identical in 10 runs, corpus2x -0.002%), perfops 120 of 121 within 0.1%, the one over the base's own (`open on small` +0.171%, the base's table +0.167%); the cross-builds (macOS, macOS aarch64, FreeBSD) build; the base's own counts here: core-test 941/1107, shell-test 1149/1152 Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
| | | * help: the addons' words documented as the builtins are (item 5's last group: ↵Gabriel Schneider4 days
| | | | | | | | | | | | | | | | | | | | | | | | | | | | the pdf addon's `PdfSections`, `PdfTint`, `PdfFit`; the image addon has none), each checked against its run (addons/pdf/pdf.zig `ctl`: PdfFit bare flips between width and height, PdfTint bare steps disabled, filtered, full; `sections` fills +PdfSections): a word's documentation is its registration's `.doc` (a Kind.Word's doc is 96 bytes: one sentence), which Help, `Help <Word>`, /commands and the JSON show; was lower-case fragments with the forms in parentheses ("tint the PDF to the theme or show it as printed (disabled|filtered|full)"); now sentences with what bare does: "Tint the pages to the theme: full, filtered (hues kept) or disabled; bare, the next.", "Fit the PDF's pages to the pane's width or its height; bare, the other.", "List the PDF's sections in a +PdfSections, each a place to go."; docs/typ/builtins-tui.json regenerated Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
| | | * help: the rest of the builtins documented for a user (item 5's eighth group: ↵Gabriel Schneider4 days
| | | | | | | | | | | | | | | | | | | | | | | | | | | | `NextColor`, `Themes`, `ThemeFile`, `DumpThemes`, `Fonts`, `TreeContext`, `Palette`, `Ascii`, the five clipboard words, `Tutor`, `DumpConfig`, `LocationsConfig`, `Messages`, `Mini`, `Back`, `Forward`, `Last`, `Jumplist`, `Edit`, `Undo`, `Redo`; `Help`, `Config`, `Build`, `Changelog`, `Addon`, `Petscii`, `Incl` and `Plumb` as the earlier changes wrote them), each sentence checked against its run (core/builtins.zig; core/Output.zig `openThemes`, `fontsListed`; core/locations.zig `Config.parse`; core/mini.zig `open`; core/edit.zig `clipYank`; core/sam_edit.zig's list of what is left out of sam): Themes and Fonts (each a `Theme <name>`, `Font <name>` line to run), ThemeFile and DumpThemes (each names the other), TreeContext, Palette and Ascii (`on`/`off`, `commodore`/`terminal`, bare flips; was lower-case fragments, "the C64 palette or the terminal's own 16"), ClipYank (every cursor's selection, joined; an image's or a PDF's selection), DumpConfig, LocationsConfig (its four fields as typed; bare, +LocationsConfig), Mini (`Mini notes.txt`; drawn once, again at the next Mini), Back (a closed file's place opens it again), Last (with none, the pane beside), Jumplist (+Jumps), Edit (`Edit ,s/old/new/g`; what of sam's is left out), Undo and Redo; docs/typ/builtins-tui.json regenerated Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
| | | * help: the settings' documentation read against what each takes (item 5's ↵Gabriel Schneider4 days
| | | | | | | | | | | | | | | | | | | | | | | | | | | | seventh group: core/config.zig `Settings.settings`, a setting's `.doc`, which the table reads and the compiler holds as a builtin's): the seventeen were already a user's sentences, each what the setting is and, in `Help <Setting>`, what it takes (`Settings.takes`: `on, off`, `0-100 (a percentage)`, `1-16 (cells)` ...); three gain their example and the word that lists or steps them: Theme ("Switch to the theme named: `Theme atelier`. Themes lists them, NextColor steps through them."), Shell (`Shell /bin/zsh`), Font (`Font Mono:14`; Fonts lists them); DumpDir's was split in the table's change; docs/typ/builtins-tui.json regenerated Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
| | | * help: the language words documented for a user (item 5's sixth group: `Def`, ↵Gabriel Schneider4 days
| | | | | | | | | | | | | | | | | | | | | | | | | | | | `Refs`, `Hover`, `CodeAction`, `SelectRefs`, `Symbols`, `Diagnostics`, `WsDiagnostics`, `Index`, `Callstack`, `Callers`, `Callees`, `Supertypes`, `Subtypes`, `Rename`, `WsSymbols`, `Lspinfo`, `Lspwhy`), each sentence checked against its run (core/builtins.zig: each is `lspRequest` of a kind; core/Output.zig `traits`: where each kind's answer goes, +Search, +Hover, +Lsp, +Callstack, and which kinds jump on one answer) and the reference's paragraph on the language server's words and the guide's "Call hierarchy": Def and Refs (with a 2-1 chord's selection, at its occurrence nearest the cursor; one answer a jump; `g d`, `g r`), Hover, CodeAction, Symbols, Diagnostics (`] d`, `[ d`, `] D`, `[ D`), WsDiagnostics and WsSymbols (in a +Search; bare asks), Index (what it writes, and that the language words ask the nearest index.scip first), Callstack (the tree, outermost first, its places and signatures, tests last, `↻`, CallstackDepth, `g c`: the Help pane's paragraph "Callstack: static caller chains, with signatures and clickable call sites. Callers / Callees: one direction at a time." deleted in item 3 is said here and in Callers' and Callees' "one level up/down"), Supertypes and Subtypes (one answer a jump), Rename (bare asks; in this file at once, saying how many; across files a +Search of its edits, nothing changed), Lspinfo, Lspwhy; docs/typ/builtins-tui.json regenerated Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
| | | * help: the words of terminals and commands documented for a user (item 5's ↵Gabriel Schneider4 days
| | | | | | | | | | | | | | | | | | | | | | | | | | | | fifth group: `Term`, `Kill`, `Filter`, `Repl`, `Mount`, `Unmount`, `Msg`), each sentence checked against its run (core/builtins.zig, core/exec.zig `spawnTty`): Term (below this pane, in its directory, raw at once; `Term fish` as the tag word `Term+fish`; a shell or a directory that is not there said; was: two blocks, "A shell in the calling pane's directory ... On every pane's tagline: the fast path ..." then "A terminal below the caller ..."), Kill (the lines pardes typed and its command panes; a command pane's whole command, a terminal's foreground job, never its shell), Filter, Repl (`Repl python`, `Repl -`, bare; the language as a code fence names it; what is typed into it and what stays a command), Mount (`Mount <name> <dial>`, the dial's four forms; one that cannot be reached is said and not kept), Unmount, Msg; docs/typ/builtins-tui.json regenerated Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
| | | * help: the session words documented for a user (item 5's fourth group: ↵Gabriel Schneider4 days
| | | | | | | | | | | | | | | | | | | | | | | | | | | | `Exit`, `Restore`, `Dump`, `Detach`, `Adopt`, `Upgrade`, `History`), each sentence checked against its run (core/builtins.zig `warnModifiedIn`, `Restore`, `Dump`; core/Core.zig `endSession`; core/dump.zig `dumpTo`, `restoreFile`, `dumpExit`; core/Output.zig `openHistory`): Exit (+Unsaved lists what it would lose and the notice counts it; again, nothing edited since, it quits; on the way out the panes go to the state file, for History and Restore), Restore (a label, History's; a file, a path or a name in the DumpDir or the directory pardes runs in; bare, the last this session made, else the newest; a file that is no dump said before the unsaved-text question), Dump (`Dump export <path>`, `~`; the workspace tag's `Restore <path>` word after it), Detach, Adopt and Upgrade (and what each says when it cannot), History (+History: a `Restore <label>` line a dump, its date, size and pane count, the panes' names under it; B2 on the Restore, or a Look at its line); docs/typ/builtins-tui.json regenerated Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
| | | * help: the words of panes and columns documented for a user (item 5's third ↵Gabriel Schneider4 days
| | | | | | | | | | | | | | | | | | | | | | | | | | | | group: `New`, `Newcol`, `Del`, `DelAbove`, `DelBelow`, `Delcol`, `Joincol`, `Collapse`, `Zerox`, `Get`, `Save`, `Mode`, `Togglettymode`, `Left`, `Down`, `Up`, `Right`; `Follow`, `Unfollow`, `Undock`, `Window` and `Putall` as the table's change wrote them), each sentence checked against its run (core/builtins.zig, core/layout.zig `newColumn` and `placeNew`, core/keys.zig `cycleMode` and `toggleTty`, core/exec.zig `saveTo`): New (it takes the keyboard; Save asks it for a path; past 100 bytes Exit, Del and Restore ask about it), Newcol (the next pane made there goes in it; refused, saying why), Del (`Del k`, `Del j`, the question on the notice band from the keyboard between two panes, a docked pane's rows to the pane it answers for, the refusal once over unsaved text), DelAbove and DelBelow (as `Del k`, `Del j`), Delcol (the tag's column, else the pane's; refused once), Joincol (when it is refused), Collapse, Zerox (only a file's pane), Get (`Get <file>`; a directory's pane read again), Save (`Save <path>`; a pane with no file of its own asks; a revision is written only to a path; the warning once over a file changed on disk), Mode (normal, insert, and in a terminal raw, then normal), Togglettymode, the four moves; was: Get and Zerox opening on "acme's"; docs/typ/builtins-tui.json regenerated Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
| | | * help: the words of looking and finding documented for a user (item 5's ↵Gabriel Schneider4 days
| | | | | | | | | | | | | | | | | | | | | | | | | | | | second group: `Look`, `Exec`, `Find`, `Grep`, `Search`, `More`, `Panes`, `Recent`, `LookNext`, `LookPrev`), each sentence checked against its run (core/look.zig `lookAt` and `lookWalk`, core/exec.zig `executeFrom`, core/builtins.zig `search`, core/Query.zig `open`, core/Stream.zig `moreFor`) and the guide's chapters "Look" and "Search": Look (its argument's address forms, where a relative path is found, bare: the selection, else what is under the cursor), Exec (a builtin, else the line: typed into the terminal it runs from at an idle, empty prompt, else a command pane, `$SHELL -c`, `exit N`, Kill; run by name never a REPL's), Find and Grep (a query pane under the pane, line 1 the word and the argument; with a word listed, the keyboard left where it was, bare typed into; Find fuzzy over names, Grep the text as it is; 2000 lines and More; a script's search that finds nothing fails, `not found`), Search (line 1's first word names the source, `/` when none does; `SPC b b`, `SPC s s`, `SPC /`), More, Panes (open, then closed this session; Enter brings one back), Recent, LookNext and LookPrev (what a Look would open, walked through the panes, the keyboard with it); was: Grep "Find's sibling ... on the disk engine's worker", Exec with no word of where a command's output goes; docs/typ/builtins-tui.json regenerated Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
| | | * help: the change layers' words and the patches' documented for a user (item ↵Gabriel Schneider4 days
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 5's first group: `Changes`, `Compare`, `At`, `Churn`, `Diff`, `Syntax`), each sentence checked against its run (core/jj.zig `pinWord`, `word`, `churnWord`, core/hunks.zig `word`) and the guide's chapter "Changes on the source view": the five were written whole in the table's change (their first sentences were over the bound: Changes' was 332 bytes), and are as they read there: Changes (its revset's changes on a file's pane or a revision's, one set a pane, bare hidden or shown, `@` with none pinned; lanes, the rows of what was taken away, a description after a change's last line ending its lane's arrow; `] g` `[ g`; B3 on a description's id is `Diff <id> <path>:<line>`), Compare (two points or more in order, each one revision, a pair one change however many lie between, its row `from..to N changes dates`), At (`path@rev` beside the file; in such a pane another revision in its place, bare the file), Churn (a revset or a span of time back from now; a heat cell and a strip; bare hidden or shown, the whole history with none counted), Diff (bare on a diff or a +Diff; a file, a commit hash, a jj change with a place, two points with `..`; what a hunk stands under; `SPC j n`/`p`); here Syntax: "Turn this text's syntax colours off in this view, or on again.", its code note (the ink layer) a `//` line in the struct; these words are being changed NOW by the change layers' line (ws-tilde: the layer's lines as the pane's read-only text, the view from the middle right): their documentation says what they do today and is to be brought up to date at that line's merge; docs/typ/builtins-tui.json regenerated Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
| | | * help: `pardes help <Word>` prints what `Help <Word>` shows (one function ↵Gabriel Schneider4 days
| | | | | | | | | | | | | | | | | | | | | | | | | | | | writes both, core/Output.zig `writeWordHelp`: the builtin's row, its whole documentation, its keys, argument, what it acts on and its `pardes do` line), and the manual's glossary prints each word's whole documentation under it (the sinks of the one table, `registry.doc`: the user's "the CLI as living documentation, like 9P, maybe sharing the source with different sinks"): `pardes help <Word>` read the word's line of /commands, a session's or a core made here, and printed its first sentence; now a builtin of this build is answered from the table with no tree asked (runtime/main.zig `help`), the name as the registry takes it (`pardes help index` stays the tree's file), and an addon's word, which only a session knows, as before from /commands; `pardes help`, `pardes words` and /commands keep one line a word, the summary; docs/typ/style.typ's `builtin-entry` prints `text`, a paragraph a line, where it printed `doc` (the summary); tests: test/process/cli.zig's help case (`pardes help Newcol`: its row and `acts on: the session (over 9P, the root ctl)`; `pardes help Save`: `from a shell: pardes do Save [ARG]`; `pardes help Diff`: its second paragraph's `Diff <hash>`); process-test (cli: help) 1/1, core-test (docs/typ) 9/9, Debug tui; the book builds in the change that regenerates builtins-gui.json (its words need `text` too) Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
| | | * help: bare `Help` lists every builtin of this view as before, a row each ↵Gabriel Schneider4 days
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (its keys, its name, its other shortcuts), now with its whole documentation under it, a line a paragraph, and a blank line after; `Help <name>` shows that one alone, and `Help <keys>` the builtins under SPC and those keys (the user's words of 2026-11-23: "the Help command wiht no arguments should list all builtins like now but with their larger-ish documentation, and the Help builtin with arguments should show the documentation specific for that builtin only"): Help took no argument, so `Help l` ran as a shell command and only `SPC l ?` opened a group; now `Help` takes one (core/builtins.zig `Help`): a builtin's name as the registry takes it, or an addon's word, opens its row, its documentation and what the list does not say, a line each (core/Output.zig `writeWordHelp`: its keys spelled out, its argument, a setting's values (`Settings.takes`), what it acts on and so which ctl takes it, a window's word in a terminal, and `pardes do <Word> [ARG]`); SPC keys open that group (`openHelp`, as `SPC <keys> ?` does); a word that is neither fails, `Help: <word>: no such builtin, nor SPC keys`, the +Help left as it was; every Help fills the one +Help (openRead, as before: a second replaces its text); the header is one paragraph, wrapped by the pane, not three lines broken for a 40-column pane; an addon's word's row puts its name in the builtins' name column, `(addon <kind>)` after it and its doc under it; the paragraph "Callstack: static caller chains, ..." is gone, Callstack's and Callers' documentation say it; tests: test/behaviour/builtins.zig "builtins: Help holds every builtin with its whole documentation, `Help <name>` that one's alone, and B2 on a builtin's name in it runs it" (through 9P alone: for every word of /commands, `Help <word>`'s documentation is in bare Help's text whole under its row, begins with its /commands summary and holds no other word's; `Help diff` refused; `Help c` the column group; B2 on `Newcol` in `Help Newcol`'s row adds a column), core/Output.zig's full-Help test (rows, each one's paragraphs, the language keys), test/behaviour/addons.zig's addon row, test/panes.zig's Tutor click finds its row by the pane's wrap map (the documentation above it wraps), test/process/tty_boot.zig's waits for the new header; docs/typ/builtins-tui.json regenerated (Help takes an argument); core-test (Help) 12/12, behaviour-test (Help) 4/4, pane-test (Help) 4/4, Debug tui; the whole suites run on item 4's change, and the process-test goldens the Help pane shows change in the last change (the full index's scroll is set once the documentation is written) Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
| | | * help: a builtin's documentation is the `///` block right above its `pub ↵Gabriel Schneider4 days
| | | | | | | | | | | | | | | | | | | | | | | | | | | | const <Word> = struct`, read at compile time into one table, `registry.doc` (its summary, the first sentence, and all of it, a line a paragraph), and every reader takes the table (the user's words of 2026-11-23: "the builtins should have their documentation in code somewhere (you may use comptime to extract that) near their definitions"): the summary was found at run time, each word's by a scan of the embedded source for `\npub const <Word> = struct` (core/ninep/ctl.zig `summaryOf`), `stripCitations` cutting `(exec.c:892)` and the like out of it: both are deleted; THE CONVENTION is written at the top of core/builtins.zig (the `///` above a builtin is what a user reads in Help, `pardes help`, /commands, `pardes words` and the glossary; no file names, no "registration", no history; notes for the code's reader are `//` lines inside the struct) and the compiler holds what it can read of it: a builtin with no `///` block, a first sentence over `summary_max` (100 bytes) or a `///` naming a .zig file fails the build, naming the builtin (one pass over the source, `registry.docs`; a setting's documentation is its `Setting.doc`, held the same); 35 builtins' docs cut to it (a first sentence over 100 bytes split at a sentence, acme and source citations into `//` notes in the struct), and DumpDir's setting doc (core/config.zig) the same; /commands prints each word's summary whole (no clip: the bound holds it); the docs' JSON (core/builtins_json.zig) takes `doc` from the table and gains `text`, the whole documentation, beside it (an addon's word: its one `.doc` in both); docs/typ/builtins-tui.json regenerated (`zig build builtins-json -Dplatform=tui`; builtins-gui.json in the change that runs the window's gates); tests: builtins.zig "a builtin's documentation is the whole `///` block above it, a line a paragraph, its summary first", ctl.zig "every word's /commands description is its documentation's summary, a line" (replacing the source-scanning one); core-test 942/1108 (166 skipped; the base measures 941/1107 here, see the report), Debug, tui, load 2-7 Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
| | * | vaxis: a mouse report's bytes are checked, not subtracted and cast: its X10 ↵Gabriel Schneider4 days
| | |/ | | | | | | | | | | | | | | | | | | branch took `full_input[3] - 32` as a u8 (`integer overflow` at Parser.zig:792 on main: a legacy terminal's `ESC [ M` then a control byte, Alt+[ Shift+M Enter), and a button by `@fromBackingInt` (192..195 are none); two Edits in build/patches.zig `vaxis_parser` (a byte under 32: no event, its six bytes taken; a button none of Mouse.Button's: no event), upstream main unfixed (checked 2026-11-23), its report docs/vaxis-mouse-bytes.md; the test: dev/tui/tui.zig (the tests change); a user could hit it with an ordinary terminal in its legacy mouse encoding Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
* | | changes layer: a pinned change that is neither behind nor ahead of the ↵Gabriel Schneider4 days
| | | | | | | | | | | | | | | | | | | | | revision shown (a sibling) draws nothing and the notice line says so in words, `Changes: wlrmpstu is not on @'s line` (the coordinator's ruling of round 8's question (b), said to the user): round 8 left a sibling out of jj's query, so a revset of siblings alone said "no change of `...` touches a.zig" and one beside others went unsaid; now the query takes the whole revset (with the unpinned changes between, as before) and `logTemplate` marks a change neither behind nor ahead `s` (`entryOf`'s `aside`); `parse` keeps its step (its diff's bounds) but reads none of its hunks (it moves no place on the shown line), Churn counts it as a change ahead (none of the shown lines), and `pinAnswer` says the siblings' ids (`asideSaid`, from jj's answer: no new state, nothing replicated) as the notice with what is drawn, or as the refusal when nothing else is pinned; the guide's *From the middle* says so; THE FAILING TEST FIRST (core/jj.zig "a pinned change neither behind nor ahead of the shown revision (a sibling) draws nothing ..."): `two` and `sib` children of `one`, the working copy on `sib`: `Changes ~::@` (two alone) said "no change of `~::@` touches a.zig" on the round's base; now `Changes: <id> is not on @'s line`, nothing pinned, no lanes; `Changes ~::@ | @-`: `sib` drawn, `two` named; core-test filtered on jj (Debug tui) 56/56 Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
* | | merge: the Changes layer as the pane's read-only text (pardes-m64-base: ↵Gabriel Schneider4 days
|\ \ \ | | |/ | |/| | | | | | | | | | | | | round 8's two changes on pardes-merge63c) and Compare (pardes-merge64: `ntlsszul`, `qkksrtsn`), resolved by function: `pinWord` (Compare's road for both words) keeps round 8's `setLanes` (the layer the pane's: shown or hidden in every view of it), `pinAnswer` parses the file's text (`File.fileText`) and names its kind's word in every notice, `describe` gives a pair its row whole (no author; `fitted` gone with round 8's cut) and returns where an author would start, `isPair` kept beside it, `lookGhost` reads a description line as round 8 does (a buffer line, `readOnlyRow`) and opens a pair's patch by its row's first word (`from..to`), hunks.zig `word` tries a pair then a change (`diffChange(.., false)`) and keeps round 8's revset word at no such file, its doc saying both; round 8's rule made Compare's (the coordinator's 15:10: "a pair is ahead when its FROM point's text is the shown one"): `pairRuns` finds where the revision shown stands among the points (an empty `jj diff --from POINT --to REV`: the last point first, the one diff already run; then from the first), marks every pair from there on `a` (pinned, ahead) or `d`, and adds the step from the last point to the revision shown only when no point's text is the shown one; `pairOwners` skips a step ahead (it wrote none of the shown lines); the test marked ROUND 8 ("Compare in a revision's pane at its middle point ...") now wants the second pair ahead (`d();` the text's, going; `d2();` and `e();` read-only lines after it; its row after them) and passes; the first Compare test's `]g` wants each run's first line, a layer's line among them (rows 2 and 6, where ghost rows were no lines: 2 and 3); the guide's *Points.* paragraph says a middle point's pairs as built, the cheatsheet's and the guide's table rows both sides', `pinWord`'s and Compare's docs (builtins.zig, both JSON lists) "in every view of it"; core-test filtered on jj (Debug tui): 54/54 with the next changes' tests left out Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
| * | docs: `Compare` in the guide's chapter "Changes on the source view" and the ↵Gabriel Schneider4 days
| | | | | | | | | | | | | | | | | | | | | cheatsheet: the word's row in the chapter's table (two points or more, each one revision, the pairs in their order, bare as bare `Changes`, one set a pane), `Diff from..to path:line`'s row (the pair's patch, the changes between on top, `+` brought in, `-` undone; a Look on a pair's row's first word), and a paragraph *Points.*: the user's three-way case (`Compare 9ef6312813 ea63317630 master@origin`: two changes where `Changes` draws a lane a commit), a pair's row as the user's case reads it (`ozlwptts..pyquzokk 4 changes, 1 undone 2026-09-25..2026-11-03`), what `undone` is, that the points need not be ancestors (ancestry only names the changes between), a pair with no difference not drawn, where the pairs stand against the text shown (behind when the last point's text is shown; the step to the shown revision carries their places) and what a middle point draws on this base (the second pair as a change ahead is drawn today, as if behind); the cheatsheet's row under "Reviewing diffs"; docs check in core-test: every `#word` named exists; `.scratch/sketch/TRY.md`'s usage notes (outside the tree) rewrite the three-way case with the word; core-test's docs check passes (943/1109 Debug and ReleaseSafe), the gui unit-test's too (1748/1752) Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
| * | changes layer: `Compare <rev> <rev> [<rev> ...]`, the user's three-way view ↵Gabriel Schneider4 days
| |/ | | | | | | | | | | | | compressed: between each two consecutive points of the history ONE change, the file's whole difference between them however many commits lie between (the user, 2026-11-23, of `Changes (9ef..ea6) | (ea6..master@origin)`'s six lanes on cpi.rs: "they should be compressed so its only two changes"), each a pin of the layer as a commit is, so every part of the layer and what round 8 does to pins serves it with no second implementation: TESTS FIRST (core/jj.zig, a throwaway jj repository, the pane's surface, terminal and window): three points on one line of history (`Compare @----- @--- @-` over five commits) are two pins, each pair's row `from..to 2 changes day` after its last line, who wrote each line (b2 the first pair, d2 and e the second), the rows as the view shows them with the lines each took away where they stood and no number on the layer's, each pair's lane its own colour, `]g`, bare `Compare` hiding and showing the set without asking jj, `Changes` after it replacing it and it `Changes`'; two points neither the other's ancestor (two branches: `1 change, 1 undone`, each changed line's old text above it, the patch's `+` and `-` lines); a revision's pane at the middle point (`At @---`: the first pair behind, as at the last; the second drawn as round 7 draws a change ahead, as behind it: the test's want is marked for round 8's merge); one point, bare with nothing pinned, a point naming two commits (jj's words, `more than one revision`) and an unknown one refused, nothing pinned; a B3 on a pair's row's first word opening its patch (`Compare from..to`, the changes between newest first each signed, the hunks, the cursor on the pair's last line, typed the same); a client replaying it equal and its pairs crossing a join whole (`loadsAsSession`); on a worker, the word returning at once and the answer landing as one input; each failing on the base (no word `Compare`); THE CHANGE: the struct `Ask` (its `Kind` gains `compare`, and `word`, each kind's name in its notices: a rename is that line and the builtin's) and two functions, `answer` (one line: a Compare's runs are `pairsAnswer`'s) and `parse` (one line: who wrote each line from the pairs' hunks, `pairOwners`, where a Changes reads jj's annotation); `pairsAnswer`/`pairRuns` answer in the shape a `Changes` gets: the clock, for each pair an entry line as `logTemplate` writes one (its id the first point's change, its title the pair's row from one `jj log` a pair: `f`/`t` the points, `+` a change in the second not the first, `-` the other way, the author's day) then `jj diff --from --to --git --context=0 -- FILE` (an empty difference: an entry not pinned), then from the last point to the revision shown an entry not pinned whose hunks carry the places (`carried`, unchanged), and jj's text of the revision shown (`jj file show`, lined up with the pane's as the annotation's text is); `pairOwners` walks that text back through the steps' hunks, the newest step a line's (a carrier's nobody's), and `provenance`'s last lines are `linedUp`, shared; `describe` gives a pair its row (`isPair`: a title starting with its id and `..`), `lookGhost` passes a pair row's first word whole (`Diff from..to path:line`), `diffPair` (hunks.zig's `Diff` before `diffChange`) is that patch: `jj diff --from --to --git [-- path]` under `Compare from..to` and the changes between (no plumbing rule for `x..y`: a `matches` rule compiles its regexp at every plumb, and an open plumbs: it cost every open about 9,100 instructions in the perf gate, so a Look on `from..to` in running text searches), `standAt` is `diffChange`'s cursor placing, shared; `changesWord`'s body is `pinWord(kind)` for both words (bare as bare Changes; fewer than two points refused in words), `ask`/`receive`/`pinAnswer` name the kind's word; config.zig `Compare` has no leader path (it needs its points); builtins.zig, both builtins lists; NOT TOUCHED: `File.fillBody`, the ghosts' geometry, `ghostsOf`, `carried`, `nest`, `hunksOf`, the paint; nothing new in any replicated struct (a pair is a `Pin`, its row in `ghost_text`, its points in `Changes.revset`, all made by `parse` in every process from the one input): wire 31; THE GATE (ws-svc, loads 2-8): tui core-test 943/1109 (166 skipped) and shell-test 1151/1154 (3 skipped) in Debug and in ReleaseSafe (the base, my first run: 936/1102 and 1144/1147; ReleaseSafe run under bin/sig: from a background chain without it the four host_io Ctrl-C tests fail, as the rules say), behaviour-test and --replay 276/276 (20 seeds, 0 failures), test/daemon.py plain and --clients on the Debug install, the user's case run (agave's cpi.rs, `Compare 9ef6312813 ea63317630 master@origin`: two lanes, rows `ozlwptts..pyquzokk 4 changes, 1 undone 2026-09-25..2026-11-03` and `pyquzokk..rmrksrzs 2 changes 2026-11-05..2026-11-09`, jj's answer on the worker in 1.5 s, agave's operation log untouched); the frame and perf gate against tree6 (gpu/cmp1-g2): 77/77 frames, gui unit-test 1748/1752 (no failure the base has not), perfab corpus2x +0.022% (noise 0.044%), perfops 33 of 121 over against tree6, exactly the base line's own 33 (the coordinator's gpu/merge63-g: body-appends +12.026%/+8.068%), and against that gate's candidate all 121 within 0.1% (largest client-key-down small +0.037%) Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
* / the Changes layer from the middle, and every way into a patch view: in a ↵Gabriel Schneider4 days
|/ | | | | | | file at a revision a pinned change behind it (the revision or an ancestor) shows what it took away where it stood, and one ahead of it (a descendant) shows the lines it will write as read-only lines, green, where they will stand, the lines it will take away the revision's own text, red across, going; a change that is neither (a sibling) is left out (round 7's evidence, `layer-gone/mid2.py`: a deleted line's ghost a line late there, a change ahead drawn as behind); the causes: `carried` moved a pin's place through every later change's hunks, those ahead of the shown revision too, so jj's log now marks each change behind (`::REV`) or ahead (`logTemplate`: `p`/`c` behind, `a`/`d` ahead; the query takes the revset's changes behind or ahead and the unpinned ones between) and `carried` passes only the changes behind (`Hunk.ahead`); a pin ahead's places are carried back from its parent through the changes ahead before it (`carriedBack`), the lines it takes away marked (`Line.going`, its lane beside them: `going`), the lines it writes the layer's (`Ghost.Kind.added`), its description after them; and "a changed line's old text below the new where the guide says above": a replaced line the patch view's alignment does not pair was a line taken away standing after what was written in its place: now a diff's order, what went right above what came (lines taken away after a run's last changed line right after its new text; with none changed, before the lines written in their place), in the file's own pane and from the middle alike; Churn counts no change ahead; `Diff` with a word that names no file, in a jj repository, takes it for a revision (`Diff @-`, a bookmark): its patch with jj show's header (`jj.diffChange(..., any)`), the one way in that had none (round 7's table; `jj diff` prints no header, so its paged text has none to keep; a header was never dropped on purpose in core/hunks.zig's and core/diff.zig's history); the guide's chapter (the layer the pane's, its lines text and read-only, what an edit there says, what reads the file without them, from the middle, `Diff @-`), the cheatsheet's line, the `Changes` builtin's doc and both JSON lists; tests (core/jj.zig): "from the middle: in a revision's pane a pin behind it ... a pin ahead of it ..." (terminal and window), "a line replaced by one too unlike it ... a diff's order ...", "Diff with a revision jj takes (`@-`, a bookmark) ..."; not gated yet: jj's 44 tests pass (core-test filtered), the book builds Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
*-. integration: the tree to install (2026-11-23, the user's "as quickly as ↵Gabriel Schneider4 days
|\ \ | | | | | | | | | | | | | | | | | | possible"): the pdf kind's abort, the Changes layer's first step, a link rejoined over its own connection, a terminal's first run, the pair's fixes for both paths: pardes-rejoin (`rnllpvzw`), pardes-first-run (`qvzzotyn`), `ulqsysrv` on `vwzmwwpw` (the release-soak line's FIRST fix only: `addon.cSlice` at every C pointer with a count: a search with no hit on a PDF's page and an outline that is none no longer end the session), pardes-pair-13 (`ttvpvmlo`: the start path less " (deleted)", a stub's abort at kill -9) and pardes-layers-7a (`lupmqzxl`: one pinned change's lane green and red, the arrow, the looks, a change's patch with its header), with the terminal's arrow as the bend the user chose (`╰─→`, as `nmwnvrow`); LEFT OUT on purpose, for the next install: the release-soak line's `walk.eql` in the jump list (it hashes two entries a cursor move: body-appends +8 to +12% an op in merge63b's gate) and `tellEveryView` with its test (a client back after the outcome's message had gone failed every upgrade row there); no conflict; its gate: .scratch/sketch/reorg/merge63c, the numbers in PARDES.md Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
| | * docs: the Changes chapter and the cheatsheet say what round 7 changed: a ↵Gabriel Schneider4 days
| |/ |/| | | | | | | | | | | lane's colour is the kind of the row it stands beside (the theme's cool accent beside what a change wrote, its warm one beside what it took away, how the two are picked), a change's lane ends in an arrow at its description, whose id is in the keyword's colour; a B3 on a ghost row looks at its word as anywhere and on a description's id opens that change's patch at the row for its last line there (`Diff id path:line`); the words' table gains `Diff change path:line` and the Look on a change id (eight letters k to z, as `jj log` writes them) with the patch's header first; the cheatsheet's Changes row says the same in a line; the book builds (the gate's `book` step) Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
| * pty/run at a terminal's start answers the line it ran: a window session's ↵Gabriel Schneider4 days
|/ | | | | | | first run (test/daemon.py `gui_upgrades`' `echo $$`, twice this week a ValueError on its second line, `b''`) answered `error not run` while its command ran, and a run written just after a new terminal's greeting is typed answered `exit 0` with the greeting's `ls` output; (a) every window session's first terminal is sized twice, its shell forked at 78x14 and sized 78x13 by the window's first frame about 20 ms later, at its first prompt, where readline draws the prompt again (`\r\e[K\r` and PS1, marks and all): a run's line sent into the first prompt shows on the redrawn one, `noteMarks` takes that newer prompt with no C for the line fish refuses and keeps (Ctrl-U, `.kept_line`), and the read after it, the line's newline before PS0's C (bash writes them apart), leaves the cursor on a fresh row in the input which `prompt()` called an empty prompt: `error not run`, the command's C a read later (the ponytail at pty.zig's refused branch named it; the same under an adoption's two sizes, which test/daemon.py `adopted_pid` waited around since ymvuluxr, then ruled a run "told plainly that it did not run": it had run); now a row begun by a newline in the input, with no prompt on it, under a typed line, is not an empty prompt (core/term/terminal.zig `prompt()`, abi/term.zig's `input_empty`): the line was taken and the run waits for its C; (b) the greeting `ls\r` is typed at a new terminal's first prompt (Core.zig's layout), and until its echo the prompt looks empty: a run sent then is typed behind it and its want (started+1) is the `ls`'s C; now the pane keeps that its greeting was typed (`Pane.greeted`, cleared at a shell's start) and until the prompt after it a run waits for that prompt (pty.zig `greeting`: writeRun, noteMarks, pty/status's busy), as for the first, bounded since `ls` always starts (the reference says so); the failing tests first (core/ninep/pty.zig, shell-test): "a prompt redrawn under a run's line, the line taken, is the line run: never `error not run`" (the bytes pty/data read off a failing ReleaseSafe window start; on the base `error not run`) and "a run written just after a new terminal's greeting is typed is not answered with the greeting's output" (on the base `exit 0\nnotes.txt\n`); a user could hit both: a script that starts pardes-gui and runs at once in its shell (a retry on `error not run` runs its command twice), and one that opens a Term and runs in it at once (another command's output for its own, exit 0); the rates (.scratch/sketch/reorg/pardes-first-run, 200 runs a row pinned to CPU 6 and to CPUs 6,7, no made load, loads 1.5-10): every one of 24 rows 200/200, the base and this, Debug and ReleaseSafe, a window session and a terminal's, plain and with a WINCH trap in the shell's .bashrc: the fault is rare on its own (2 of 108 diagnostic ReleaseSafe window starts with that trap; the coordinator's checks twice under load), Debug never reaches it (its first frame comes before bash's first prompt), and its adopted twin comes more often: test/daemon.py `--relink` with adopted_pid's wait taken out, the installed build 18 of 20 (two `error not run` on the adopted shell), this tree's ReleaseSafe 20 of 20; the gates (with the harness change after it): tui Debug core-test 924/1090 (166 skipped: the two new tests need a terminal), shell-test 1132/1135 (3 skipped), process-test 0 of 146 (loads 3.0-6.2); test/daemon.py on ReleaseSafe: plain 1/1, `--upgrade` from the installed build (wire 31) 1/1, `--upgrade --gui` from the installed build 5/5 (loads 1.1-5.8); left: the Ctrl-U a redraw that shows the line still sends (it reaches bash after the line's Enter: a bell at the next prompt), `busy` for a run written into a prompt being drawn (its A read, its B not yet), and a line a user types, or `Term CMD`'s queued line, in the instant before its echo Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T