| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
command runs in its window's directory in acme, taking back W8's work-tree root (rqouyxqp 89f51118eb24): the user's ruling of 2026-11-26 ("File folder, i didn't like the other rules btw that changed acme semantic for this"); the leading directory that narrows a Grep (SPEC §5.1, "scoped to a directory if the query starts with one") is kept, read against the pane's directory (`sub needle` from the top of a tree searches sub/); THE CHANGE: Pick.open sets every source's directory to the asking pane's (Pardes.paneDir), as before W8; Pick.workTree, no longer called, is kept for the explicit root keys the user chose next (the coordinator's item 5: SPC f F, SPC f G, a `:` twin); grepScope's and take's words say the picker's directory, not the root; replica.zig's may_wait loses W8's `Find *` and `Grep *` rows (the root's stat; a Grep's leading directory still stats, but shell-test's far-client walk, replica.zig's may_wait check, calls the Grep row stale: no walked word stops there, as before W8); the `.git` the tests made "a work tree of its own: Find searches it, not the one the test runs in" goes (Pick.testFile, Jump.zig, TagState.walkedReader, replica.zig's plain-kind test, behaviour/addons.zig x4, addons_pdf.zig, other_files.zig, language_servers.zig): Find and Grep there list the test's own directory again; the docs (guide.typ's Find and Grep rows, builtins-*.json, the Help index) said "below this pane's directory" all along: no text to bring back; no dump, digest, frame or hot path touched (a picker's open: a stat per directory up to / fewer); RUN (TEST FIRST): Pick.zig's W8 test re-pinned, "Find and Grep search from the asking pane's directory ...": a tree with `.git` at its top, Find from src/deep/x.txt lists src/deep alone (one row, its directory the pane's), from the top three rows and `sub/name` one, Grep `needle` two hits and `sub needle` one, `sub/name.txt:1 needle one`, its place the top's sub/name.txt: fails on yuwytntu a88ea865f116 at Pick.zig:3768 (the directory the root), passes now; GOLDENS: process-test's find (test/snapshots/find.golden) re-recorded with --update: from sub/ZQMARK-beta.txt `SPC f f` lists sub/'s files, not the root's five, so the band is two rows shorter in its three picker snaps (`bod`, cancel, topbar), nothing else moved; GATES (Debug tui): core-test 1165/1342 (177 skipped; the importer's 7 cached), process-test find (PASS after --update; before it the GoldenMismatch above), behaviour-test 290/290 (its T1 runner 800 clean quits), shell-test 1390/1393 (3 skipped; the base's 1388/1391 and this line's two new tests); load 1.3 to 3.5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
hit ground, UX D7) is drawn where Enter lands, the row's own place, never at the preview's caret, which a click in the preview moves while the picker waits (W9's small fault, found in its S-kit shoot: after B1 in the preview pane the mark followed the clicked line while ⏎ landed on the row's place); THE CAUSE: Pick.landingLine answered `pane.body.cur_row`, the caret's line, which `preview` puts on the row's place and which nothing else moved while a picker held the keyboard; since UX DESIGN O2 (W9's olkkpllo) B1 in the preview gives that pane the keyboard and leaves the picker up and waiting, so the caret goes where the click is, and the mark with it, while `land` opens the row's place (look.open with the row's `at`); paintLandingSpan read the caret's column the same way (the Grep match it lights on the landing line); THE FIX: landingLine answers the row's place as `preview` and look.focusPaneLine put the caret there, its line (past the `Changes` layer's lines, a place past the file's end its first line) and its byte in the line, and paintLandingSpan takes that byte; RUN (TEST FIRST): Pick.zig "the landing line's mark shows where Enter lands, the row's own place, not the preview's caret: ..." opens a list from a held pane, its row long.zig:40:6 previewed in the made reader, B1 on line 43 of the preview (the caret there, the picker waiting) and asks `▸` and the hit ground on line 40's row and neither on the clicked one, then B1 on the head and Enter landing on line 40: fails on the merge at Pick.zig:3998 (the mark on the caret's row), passes now; the three tests that read landingLine read its `.line`; a user hit it with every click in a picker's preview pane since part O; GATES (Debug tui): core-test 1171/1346 (175 skipped: the merge's 1163/1338 + this test + the importer's 7 counted again after a cache wipe); load 1.9 to 2.2
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| |\
| |
| |
| |
| |
| |
| | |
drawn from the chrome, the old ChromeTheme, Roles and Grounds views deleted, part H's inks, the path dim while a pane previews another file; M2's wxvzvomn, dump.load resolves the chrome; FP's PDF preview leak, the exec rerun's spawn stop, ABI 3.4's PDF hits) with rppqvrqx d7b01dfc1872 (W9, walkui UX DESIGN part O on W5's part M: the tag stays at rest and the head hangs under it as the band's first row, a picker hangs under the tag of the pane with the keyboard, the mouse never ends it, TagState.waits, Pick.tall, the act/source row gone), resolved: THE CODE: core/draw.zig joinBand draws W5/W9's layout with L2a's inks: the head (TagState.head) and the band from `p.chrome().on(focus or plain)` (its keys `inks.key`, its error `inks.severity[0]`, its dim and rule the ground's), the band's rows' keys, chords, `pre` (the name tint `chrome.name[g]`), dim, kind and matched letters as L2a drew them, W9's loop variable `i` kept; paintPaneTag keeps W9's question in the tag (TagState.asking) and L2a's single tag ink (W9's out-of-rest `text_style` gone with L2a's: a question's text and the tag's own were the same ink once Roles went), and draws the computed words in the words' ink whenever the tag does not ask (L2a's `head == null and !asks`: out of rest the tag is the rest tag now, so its words are the rest words); render's head-and-band gutter (W9's `at.tag`) on L2a's ground; draw's key-ink test reads `p.chrome().on(.focus)` and W9's `? help`; core/TagState.zig's W5 test "out of rest a tag is drawn as at rest ..." (renamed: "... but the box and its path's ink, the path its own and dim ...") lets the path's cells differ in their ink alone, the dim ink, the dimmed text ending `/far.txt`: L2a's zrxurkop dims a tag's path while its body previews another file (the coordinator's ruling, UX DESIGN M7.2), which the test, written before it on W5's tree, read as a moved cell (core-test failed it at TagState.zig:1741 on the merge as jj made it); THE GOLDENS: process-test -- --update re-recorded all 103 golden cases, the 102 golden files (every one with a frame out of rest among them), and moved exactly the two in conflict, fsearch and selregex, each now W9's text rows byte for byte (gdiff.py: no snap row differs from W9's) and L2a's inks on them; read cell by cell (.scratch/walkui/M3/gpairs.py: each cell where the merge differs from W9's recording, and whether L2a made that same move base -> L2a): selregex's four style blocks and fsearch's one move only by L2a's classes: the window and column rows to the page (#b2c3b8 on #1d2824 -> #788079 on #0d1410, the active column's #becfc4 on #314738 too), the reading pane's tint #2c2c0f gone to the focus ground #394440 under the rest tag (full ink #becfc4 -> #cadbd0, the name tint #ecc8f2 kept, its computed words and the blanks after them #becfc4 -> #a1b1a8, the word ink) and under the head on the row below it (text #cadbd0, keys #bada9d -> #add38a bold, dim #79836f -> #8e9d94), a focused reading grip's glyph #000000 -> mode_glyph #06779d, the rail's current tick to the current hit #917a53, a command pane's computed words #b2c3b8 -> #819188; the only pairs L2a's own recordings never made are the same ink moves on cells W9 newly drew there: the head row's gutter cells on the tag's ground (`d` and the body's #e5eee5 on #2c2c0f -> #394440: render's gutter fill on L2a's ground), and fsearch's rest tag on the reading pane W9 moved to row 16 (name tint and words as selregex's); no row neither side explains; the 100 other golden files re-recorded byte for byte as the merge had them (L2a's 36 as L2a recorded them, W9's six text-only goldens as W9 did); GATES (Debug tui, on this change): core-test 1163/1338 (175 skipped; L2a's tree 1160/1335, W9's three new tests), shell-test 1386/1389 (3 skipped), process-test 0 of 103 failed with --update (2 moved, read above); the rest of the gates on the stack's top; load 1.2 to 2.5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |
| |
| |
| |
| |
| |
| | |
head row ends with its count and at most one dim hint, the one key to what the head and the band do not show; a list known at open is exactly its rows tall (UX DESIGN O4, binding; the user, on W5's field under the tag: "why so many builtins are shown below still? most of them don't make much sence in the picker context right? also why other pickers names are there? that's wayyyyy to crowded, we only want to keep the absolute necessary there"); THE WAY IT WAS: Pick.head put a second row under every picker's head, under the spines, `Walk Look Split Newcol Grep Edit Copy Keep Drop | Grep Recent Panes Symbols All Jumplist …` (the acts, then the other sources' words, cut with `…`), the head row's right block carried up to 43 cells of hints (`⏎ land · M-⏎ as a list · C-r history · esc`, `↑ roll up · ? field · esc`, `⏎ wear it · esc`, `⏎ or 1-9 apply it · esc`, `⏎ rename · esc`, `⏎ run · esc`), and Pick.bandRows held 4 rows at least (D6's 4 counted the act row), a Grep's and All's 11 from the first frame whatever they found; THE CHANGE: Pick.head is one row, the count and `M-l acts` (dim, dropped first when the row is narrow; none for Themes, code actions and Lists, which have no acts); the acts stay on their keys and in the act step (M-l, M-Enter), each source on its own leader key, M-h's spine switching with the query kept, and any word typed into a tag still runs (Pick.execWord: `Grep`, `Split`); every text prompt and `:` hints `C-r history` (Prompt's table loses its `hint` column: one const), a rolled or unrolled level and the registers `? help`, describe-key keeps its question `press a key or a sequence` (its `· esc` and a found key's `⏎ run · esc` go), rename none; Pick.bandRows: a list known at open (Panes, Recent, Jumplist, a list, Messages, Themes, code actions, Lists) exactly its rows (1 at least, 11 and the cap at most), one whose rows come later (Find, Grep, All, Symbols) 3 at least and growing as they come, never shrinking while it is up: `tall`, a picker's most rows since it unrolled (a new field, reset by unroll, raised in produceAll a step at a time: in the dump and the digest), so typing a Grep's query never moves the body; RUN (TEST FIRST): Pick "a picker's head is one row: the count and one dim hint at its right end, `M-l acts`; no row of acts and sources, the list's rows right under it; Themes hints nothing" (replaces the act-row test; fails on the change before at Pick.zig:3979, the head two rows) and Pick "a picker's band is its list's rows (UX DESIGN O4, D6): a list whose rows come later (Find) holds 3 at open, never moved by typing; a list known at open exactly its rows: SPC b b with two panes covers its head and 2 rows" (was "… 4 rows at least …"; fails on the change before, 4 rows for 3), pass now; the tests that read the old hints read the new ones (TagState's right block, at 14 columns now where `? help` no longer fits, its rolled-level and wrapping tests, Band's SPC Down, draw's dim-hint ink, Prompt's `/ ? s K |` heads, Command's `:`), Pick's 40 % test lets the Grep's lines come (the clock to the pause's end: 40 lines, the band from 3 to its cap), and views' short-column test runs at 40x14 (at 40x15 the band, a row shorter, now fits whole); a user saw the crowded row under every picker and the long hints on every head; the process cases that wait for a rolled level wait for its `? help` (tty_boot leader twice, tty_editing find; they waited for `↓ unroll`); GATES (Debug tui): core-test 1172/1346 (174 skipped; one program's 7 cached), shell-test 1387/1390 (3 skipped); process-test 7 of 149 failed (3 skipped): pipe, msg, selregex, fsearch, lsp on their goldens, leader and find on the old wait, the goldens re-recorded by the next change; the dump changes (Pick.tall, and the change before's TagState.waits): the dump fuzz and the soak with the next change; load 1.4 to 4.7
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |
| |
| |
| |
| |
| |
| | |
a picker or a prompt as a side effect: a click elsewhere leaves a state with a field waiting for the keyboard, the wheel scrolls the results, B1 on a row moves the cursor and B3 lands it, and only an act on the panes the picker lives in ends it first (UX DESIGN O2, O3, binding; the user: "Using the mouse just closes the picker? That is extremely bad the mouse shoudn't do implicit actions like this and I should be able to at least scroll on the resuls (doing a right click Look should also work though)"); THE WAY IT WAS: handleMouse's deferred check ended any state whose host was not `v.active` after any event (motion and the wheel too: from a held pane, whose picker the made pane hosted, a bare pointer motion ended it, UX7's t5), and W5's hostTagAt ended a state on any press on its tag; bandPress returned for the wheel, and its B3 landed through TagState.point and landHere whatever step the row was in (an act's row set the list's cursor; a theme's row rolled the picker up and wore nothing); THE CHANGE: TagState.waits, one bool (in the view, so in the dump and the digest), cleared by toRest: an event that moves the keyboard off the host, or B1 anywhere off the head and the band (the host's own tag, its body under the band, a header, a grip), leaves a state with a field (Help, a picker, a text prompt, `:`, rename) up and waiting, and ends a level, the registers or describe-key first, as Esc does (they hold no typed text; W5's hostTagAt branch deleted); while it waits, keys go where the keyboard is (keys.handleKey) and Esc ends it first, the pane's own Esc ladder from the next; B1 on its head or band, or a key that moves the keyboard to its pane (`C-w … ⏎`, `SPC w k`), gives it back; the waiting box shows its pane's mode and the field no caret (draw.zig: `typing` and the head's caret, behaviour only); TagState.pending echoes keys typed meanwhile on the notice row; bandPress: the wheel moves a picker's cursor by `wheel_rows` (Pick.wheel; the band's eleven and the preview follow as for a key) and Help's; B1 on a row is Pick.press (the list's cursor, or the act step's), B3 Enter there (a row landed, Shift-B3 below as S-Enter, an act applied, a source switched, a theme worn, an action applied); B2 and B3 on the head's words and B2 on a row's run with a picker or prompt up; B2 or B3 on the text a picker previews lands it first (Pick.previewsAt, landHere), then acts in the landed file; O3's guard, Pick.yieldFor: the live picker, waiting or not, ends as Esc does when Get, Undo, Redo, Save (acme's Put), Del or Keep is run on the pane it asks from or previews in (exec.runBuiltinFrom), when that pane is removed (panes.removePane) or a walk step replaces its file (Trail.show: a trail word, a Look landing there); anything else (Wrap, Snarf, a Look opening elsewhere) leaves it up; RUN (TEST FIRST): four mouse.zig tests, each failing on the change before (its `waits` checks taken out to compile there) and passing now: "the mouse never ends a picker as a side effect ..." (motion and the wheel over the preview and the window row, the wheel over the rows ±1 and the preview following, B1 on the third row and Up/Down in the field, B3 on the preview's text landing three.zig in the held pane's reader, Shift-B3 on a row opening a pane below: fails at mouse.zig:2121, the wheel moved no cursor, 0 for 1), "B1 in another pane: a picker waits ..." (B1 on the preview: waiting, the held box its mode, no caret in the head, `j` the reader's; B1 on the head back, `w` in the field; `C-w k ⏎` back; B1 under the band, `i`, Esc ends the picker with insert mode kept, the next Esc normal: fails at mouse.zig:2179, the picker ended), "B1 on the asking pane's own tag: the picker waits ...; B2 Del ends it first ... and closes the pane" (B2 Wrap leaves it up; B2 Del closes the held pane and the reader made for it: fails at mouse.zig:2238, the picker ended), "the act step and the rows under the mouse ..." (B2 Wrap in a row's text, B1 on `y Copy` sets the act step's cursor to 6, B2 on it copies `…one.zig:2`, the picker up: fails at mouse.zig:2286, act_at 0 for 6); TagState's W5 test, renamed, now asks Help to stay up after B2 Wrap in its tag and to wait after a click in the other pane, and an `s` prompt to wait the same; a user hit it with every click while a picker was up, and with any pointer motion from a held pane; GATES (Debug tui): core-test 1172/1346 (174 skipped: + 4; one program's 7 cached), shell-test 1387/1390 (3 skipped: + 4); the dump changes (TagState.waits): the dump fuzz and the soak run on the last change of this line; load 1.8 to 4.2
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |
| |
| |
| |
| |
| |
| | |
you are in, which keeps the keyboard, and only its preview goes to the pane its Enter lands in (UX DESIGN O1, binding; the user, about install74: "Why does the picker show in the middle on a pane? like I press spc b b and in the middle of the pane the picker is shown, shouldn't it be on the tagline?"); THE WAY IT WAS: Pick.unroll hosted the head and the band in the landing pane's tag (`s.host = pk.landing`), so from a held pane with no reader and no free space Pick.hostIn made an empty pane in the middle of it (landingFor, placeNew(.reader)) and hung the picker there while the keyboard stayed in the held pane, squeezed to 3 rows; Panes, which has no place to preview, still made that pane, left it empty and listed it (`@p3 +Preview`); THE CHANGE: Pick.unroll hosts under the asker (`s.host = pk.owner`); hostIn finds where the preview goes in O1's order (the asker when it reads or is untouched, else its reader, else free space, else a pane made under it as the reader would be) and makes no pane and sets nothing aside for Panes, Themes and code actions (landing = the asker; the notice row's `⏎ lands …` sentence not for Panes); `cap` is 40 % of the asker's rows at open; a pane made for the preview is an ordinary pane whose tag is `‹@pN ›` (W5's tagline, unchanged), with no head; Pick.previewPane names the pane the preview shows in, and the layout keeps it a body of 60 %, 6 rows at least, under its tag (layout.floorRows: its tag and, when it is the asker too, its head and band above that body, as before), while an asker that previews elsewhere covers its top rows as a level does (Band.covered keeps no body under its band; I1); the Panes list skips a picker's preview (Query.gather, `o.from == .preview`); M-h from Panes to a source that previews finds its preview pane as an opened one would (switchTo); a list word Looked at reopens under the reading pane whose trail holds it, which asks and previews it (reopen: owner = landing = that pane, the keyboard there); RUN (TEST FIRST): Pick "SPC b b from a held pane hangs under that pane's own tag (UX DESIGN O1): no pane made, nothing set aside, the keyboard in its field; a Panes list never names a picker's preview" (two panes, a held one and an untouched +New: the pane count as it was, landing the held pane, hostOf the held pane, its rest tag byte-equal, the head `␣ b Panes …` under it, no sentence, 2 rows; then a list from the held pane previews in the +New and M-h b lists the held pane alone: fails on the base at Pick.zig:3797, the landing the +New, serial 3 for 2) and Pick "a picker from a held pane with a reader hangs under the held pane's tag and previews in the reader, whose tag names its own file; Esc gives the reader its text back; switched from Panes, it previews where it would have" (fails on the base at Pick.zig:3860, hostOf the reader, 1 for 0), pass now; the tests that read the head on the landing pane read it on the asker (Pick's made-reader test, renamed: the head under the asker, the reader below it with no band, `^` in the asker's box; the 40 % test, renamed: the band from the asker's rows at open, the reader's body ≥ 8 rows and 60 % at 100x30; the act-row and band-height tests; the `‹@pN ›` test, renamed: its tag row, its body's `1▸const alpha` under it, the head under the asker's tag, W5's click part dropped for the next change; Trail's G 2e test: the host the held pane, the landing its reader); a user hit it with every picker started from a held pane; GATES (Debug tui): core-test 1168/1342 (174 skipped; the base's 1166/1340 + 2; one program's 7 cached on a rerun), shell-test 1383/1386 (3 skipped); the dump does not change (no pane, view or picker field); no frame or perf gate (the user's rule of 2026-11-26); load 1.7 to 10.3
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |
| |
| |
| |
| |
| |
| | |
a pane's tag stays exactly as at rest and what the keyboard drives hangs under it, the head on the row under the tag's rows, then the band (UX DESIGN M, binding; the user, looking at a picker started in an empty pane whose tag had become `^ ␣ f Find ascii 1/1`: "doesn't it make sense to the search just show below the tagline instead of being search tagline then results?", then "Keep consistent, idk, yes"): for every state the keyboard drives (rolled and unrolled levels, `"`, Help, describe-key, every picker, every text prompt, `:`, rename, code actions) the tag keeps its mark, owner, trail, path, Keep, computed words and own text, its rows and its wrapping, the box alone saying `^` while typing; THE WAY IT WAS: the head (TagState.head) was the tag's text after a cut-down prefix (D1's owner and newest step, tagline.pathPrefix's out-of-rest branch, Trail's `.newest` part), so the path, Keep and the user's text left the screen while you typed, the key cells sat on the tag's row for a level and jumped with it, and a picker's preview in a reading pane would have named the previewed file had the path stayed; THE CHANGE: TagState.head is the head alone, laid out from the tag's text column on rows of its own (Builder's `lead` gone), and TagState.asking the question a tag says, which stays in the tag (UX D13, M1: questions unchanged); tagline.shownTail is the question or the own text in every state, pathPrefix the path in every state (the out-of-rest branch and Trail's `.newest` part, `newest_cells` and the `cut` buffers deleted); a pane a picker previews in names its own file, the one Pick.showText set aside (tagline.named, tagWords, and Trail.reading asking the same file, so its tint, Keep and words are the rest ones); a pane made for the picker (it has no rest) shows its owner's word alone, `‹@pN ›` (M3; P1's reading 2 reversed); Band.covered is the tag's rows at rest, then the head's rows, then the band's, `over` = head + band (no rows the head reused: M4), layout.headRows the head's own rows and floorRows the tag's rows plus the head's and the band's (a head that does not fit borrows from its column as a band does); draw.zig joinBand paints the head's rows as the band layer's first rows (its spans' inks moved there from paintPaneTag, its caret the band layer's cursor), the band's under them, the spines from the head's key cells on its own row; render draws the host's tag with its rest rows; mouse: a press on a tag out of rest ends its state as Esc does and then does what it does at rest (M3; a pane made for a picker goes with it and the press with it), bandPoint reads the head's rows as the band layer's first, and B1 in the head's field puts the field's caret there; edit.zig refuses an edit of a tag only while it asks; RUN (TEST FIRST): five new tests, each failing on the base (M2, 8959b031dc33) and passing now: TagState "out of rest a tag is drawn as at rest, the head hanging under it ..." (a `.list` picker in a reading pane that walked near.txt -> far.txt: the tag's rows cell for cell as at rest but the box, its path far.txt while the body previews near.txt, the head `␣ l Refs ... 1/1` on the next row, its count the row's last cells, the band under it; Esc, the rows as before: failed on the base at the tag text, `near.txt:2 › ␣ l Refs ...`), TagState "the key cells are one thing growing on the row under the tag ..." (`␣`, `␣ f`, `␣ f Find` in the same cells of the row under a two-row tag: failed on the base, `␣` on the tag's row), TagState "a click that gives the keyboard to another pane ends a level ...; one in the level's own tag ends it too, then does what it does there at rest ..." (was "... one in the level's own tag keeps it"; B1 on the tag's own word ends SPC's level and gives the tag the keyboard, B2 on `Wrap` ends Help and toggles wrap: failed on the base, the level kept), Pick "a pane made for a picker has no rest: its tag is its owner's word alone, `‹@pN ›` ..." (B3 on it: the picker ends, the made pane goes, nothing under the press looked at: failed on the base, its tag `␣ f Find ...`), Command ": hangs its field under the tag, which stays as at rest; `:` on the empty field gives the keyboard to that tag's own text right above it ..." (failed on the base, the tag text `: ...`); the expectations that read the head through the tag's text read it from TagState.head now (TagState's testTag, Prompt's and Command's headOf, Pick's headOf; bindings, Messages, lsp/Ask, Trail, Band, draw, views: ~40), and the ones that read a body's first row while a prompt is up read the rows under the head's (Prompt's `/`, `s`, `|` tests, body_layer's current-place test, Ask's rename); views' short-column picker test runs at 15 rows (the head's row is one more covered row: at 12 the band had none left); the process test msg waits for the second reload by the notice row's `×2` (the pane's one line is under the `s` prompt's head now); AND A FAULT THIS MADE VISIBLE: code actions drew their edit's ghost lines from the body's top under a band drawn over it (Pick.previewing was a place's preview alone), so an edit on the first rows of a file was under the band; with the head's row one more covered row, test/behaviour/language_servers.zig's "SPC l a lists the server's code actions ..." failed (`let x = sum(1, 2);` at line 4 under the head and a 4-row band, not on the screen); THE FIX: code actions' body is their preview from the first (UX DESIGN I1: "a picker and code actions (whose body is the preview) keep D6"): Pick.previewing is true for them, so the body starts under the head and the band as a picker's preview does; the behaviour test passes now; GATES (Debug tui, this change): core-test 1166/1340 (174 skipped; M2's gate 1155/1329), shell-test 1381/1384 (3 skipped), behaviour-test 287/287 and --replay 287/287, pane-test 184/185 (1 skipped), term-test 17/17, kitty-test 45/45 (these three before the code-actions fix and two renames), process-test 8 of 149 failed (3 skipped): exactly the goldens with a frame out of rest (find, fsearch, leader, lsp, msg, pipe, selregex, ttyhelp), re-recorded and explained by the next change; the dump does not change (no pane or view field); no frame or perf gate (the user's rule of 2026-11-26); load 4.2 to 14.3
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| |/
|
|
|
|
|
| |
registers) drawn from the chrome on its tag's ground, focused or not, whatever its mode (DESIGN.md B6, G1'), and its cursor row on that ground's selection, a ground of its own (B1.3): its text, dim, rule, kind mark and name tint the tag ground's (`chrome.on(g)`, `name[g]`), the cursor row's text and dim the selection's, its keys, `▶` and matched letters the selection's own key and match inks (`Selection.key`, `Selection.match`, new, the accent and the hits' hue held 4.5:1 on that selection at a theme change; the ground's key and match stay held on the ground alone, D4's goldens for neonotte84 and acme unmoved); THE CAUSE where it was wrong: the band read the old view's Roles, whose key and match were pushed toward white or black over all seven tag and selection grounds at once (A5.7's joint floor: one ink for every ground) and whose reading grounds were the reading tint, so after the tag above it moved to the chrome's focus ground the band under a reading pane sat on the old tint; THE FIX: joinBand reads `p.chrome()` alone, and `Roles`, `RoleInks`, `TagGround`, `inksOn`, `toward`, `pushAway`, `matchHue` and `selectionOf` are deleted (nothing reads them: the tags, the grips, the notice row and the message inks moved in the change before), with ChromeTheme's `roles`; the ring test checks each ground's selection key and match (4.5:1 where its ground reaches it) and every grip fill's message marks (4.5:1 where the hue reaches it on the fill and, at rest and reading, the plain tag); its old copy of those checks, "every theme's walk UI roles meet their floors ...", goes with Roles (the ring's per-ground `inks` check holds the same floors on the chrome); RUN (TEST FIRST): Band.zig "a band is drawn in the theme's roles ..." re-pinned (the cursor row's `▶`, chord and matched letters in the selection's key and match, the spines in the focused tag's rule: on the base its reading pane's band was on the reading tint's Roles), Band.zig's register dim, Pick.zig's two band tests and bindings.zig's registers on the focused tag's inks; GOLDENS: none moved (no process golden captures a band's style); GATES (tui): core-test 1154/1328 (174 skipped: the Roles test gone), process-test 0 of 103 failed with --update (0 re-recorded); the ring 245 of 245; load 5.9 to 6.5; OUTSIDE draw.zig: core/colors.zig (Selection.key/match, groundInks, Roles deleted, the ring's two checks), core/Band.zig, core/Pick.zig, core/bindings.zig (tests)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
burst of inputs, at the size the layout settles on, never once a key: a level that borrows a shell's rows and gives them back in one burst resizes neither, and the shell keeps its prompt line (agent M1's find, ymkwwwnn 94f00e966c90: ttyhelp's row 3, the shell's `$`, blank after `SPC ? tutor`); THE CAUSE: Pardes.sync, at the end of every `update` (a key), resized each terminal whose rect changed (Pane.resizeGrid, Term.resize) and queued its pty's resize; `?`'s level takes 3 of the shell's rows (layout.floorRows), `tutor` in the same read gives them back, so the emulator was reflowed twice, and each reflow cleared the prompt line under its cursor for the shell to draw again (ghostty's Screen.resize, clearPromptForRedraw under Terminal.flags.shell_redraws_prompt); bash, told twice with no gap, reads its size once, finds the one it had and draws nothing (the pty probe, .scratch/walkui/T123/bashprobe.py, bash 5.3.20 with pardes's mark: resized 17 -> 14 -> 17 with no gap it writes no byte; 0.3 s apart it writes `\r\e[K\r` and its prompt twice); THE FIX: `sync` is `layOut` (the geometry, every pane's cols and rows, the bands, the greetings) and `sizeTerminals`, which gives each terminal its pane's size when its emulator has another (Term.grid's cols and len: no new state, nothing in the dump), resizes the grid and queues the pty's resize; `update` lays out only, and `settle` (a pump's, a replica's step) sizes the terminals after its queued inputs and before the effects; a 9P request's step (serveFs, a kbdin write of many keys among them), a view's open and close and a watched file's reload keep the whole `sync`; `toView` sizes them before the live view parks (a terminal is sized by one view, `sizes`); a step's own layouts in its middle (a picker's first preview, Pick's showText, showKind and putBack, Query.displayPreview, Store.reopen, jj.open, layout.givePaneRows) call `layOut`; RUN (TEST FIRST): Core.zig "a level that borrows a shell's rows and gives them back in one burst of keys resizes neither its emulator nor its pty ..." boots ttyhelp's layout in the core (100x31, a shell over the +New), gives the shell pardes's bash prompt, focuses the +New and types SPC ? t u t o r with one settle after: fails on the base (two resize_pty effects queued, the shell's first row blank after the settle), passes now; three tests that fed a new shell before any step's end sized it get a `sync` (two in Core.zig) or a `settle` (ninep/pty.zig, pty/ctl's winsize read back after a resize), Term.zig's S1 table counts Core.zig's third Term.grid; the ttyhelp golden re-recorded: row 3 is the shell's `$` again (its leaderworks snap lists 6 rows, not 7); THE MARK (the ruling's second part): ghostty's own bash integration (the genizah's, and the pinned 1.4.0's) marks bash's prompt `133;A;redraw=last;cl=line`: `last` clears only the cursor's line on a resize (bash redraws only a prompt's last line), so it would not have kept M1's one-line `$` either, and ghostty never says `redraw=0` for bash (a narrower reflow would leave the old wrapped rows under bash's redraw): the mark is unchanged (`redraw=last` would keep a multi-line PS1's first lines through a real resize: a separate change, not made); a user hit it whenever a pane beside a shell at its prompt borrowed its rows and gave them back faster than the shell read its size; NEW HOT PATHS: settle and toView walk the panes once (a terminal: Term.grid, its two sizes compared), where sync did per step before; GATES: core-test 1129/1303 (174 skipped: +1, the new test needs a terminal), shell-test 1351/1354 (3 skipped: +1), pane-test 183/184, behaviour-test 285/285 and --replay 20 seeds of 70 steps, 0 failures, process-test 1 of 147 failed (3 skipped): ttyhelp, the golden re-recorded, then 5 of 5 runs alone pass, term-test 17/17, kitty-test 45/45, the gui unit-test 1959/1963 (4 skipped: +1; its perf check's BaselineHarnessMismatch, every base's); no dump change (no new state; effects are local); no frame or perf gate (the user's rule of 2026-11-26); the shots (S kit, 26 px, .scratch/walkui/T123/png): after-0..3, this change's Debug gui: ttyhelp's bare boot, the +New clicked, `SPC ? tutor` in one pty write: the prompt stays on row 3 and the level ends on the +New's tag row as in the golden; before-0..3, the installed stage's (install74): that build's level keeps 7 of the shell's rows after `tutor` (it predates W1's floor), one shrink that bash redraws, so it does not show the fault; load 4.5 to 9.0
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
directory at or above the asking pane's that holds a `.jj` or a `.git`, or the pane's directory outside one, and a leading directory narrows a Grep (the comparison video's finding, VIDEO2/STORY.md §3.1 and §9: from src/torque in V8 `SPC f f` listed its 67 files where Helix, LazyVim and Doom list 18,441, and `SPC f g` found 11 hits in src/torque alone; SPEC §5.1's "scoped to a directory if the query starts with one" found nothing; the coordinator's W8, the user asked, the default yes); THE CAUSE: Pick.open set every source's directory to the asking pane's (Pardes.paneDir), and Pick.filter sent a Grep's whole query to the disk engine as its pattern; THE FIX: Pick.workTree (Find and Grep only: Recent, Panes and Symbols as they were), a stat of `.jj` and `.git` per directory up from the pane's through the tape's kind site, once per picker opened; the rows' paths are from the root (Find's `src/torque/torque-parser.cc`), so Names' subsequence match over the whole path makes `torque/pars` narrow Find with no more code; Pick.grepScope: a query whose first word, then a blank, is a directory under the root (or absolute) searches that directory for the rest (`src/torque "UpperCamelCase"`); its rows' paths stay from the root (Query.take's `under`, the narrowed directory before each path; the query pane passes none), and the preview lights the pattern alone; no directory added to the head (the coordinator's rule: none was shown); RUN (TEST FIRST): Pick.zig "Find and Grep search the work tree (W8) ..." makes a tree with `.git` at its root and opens Find from src/deep/x.txt: its directory the root (on W7's tree src/deep), three rows, `sub/name` one, `sub/name.txt`; Grep `needle` two hits, `sub needle` one, `sub/name.txt:1 needle one`, its place the root's sub/name.txt; from `/held.txt` (no repository above /) the directory `/`; the tests whose Find or Grep pickers list a temporary directory make it a work tree of its own (Pick.testFile, and four tests in behaviour/addons.zig, addons_pdf.zig and other_files.zig): under the repository's .zig-cache it is in the pardes tree; MEASURED on a reflink copy of VIDEO2's V8 (18,441 files) with this change's Debug gui at 26 px, from src/torque/torque.cc, after the last key (V4's probe in brackets, the installed build): SPC f f 18,414 rows, the first at 0.10-0.11 s and all at 0.14-0.16 s [0.02 s, 67 files: src/torque alone]; `torque/pars` 7 rows at 0.09 s, torque-parser.cc among them [0 rows]; Grep `"UpperCamelCase"` 11 hits from the root at 0.26 s, its typing pause included [0.11 s, 11 hits, src/torque alone]; `src/torque "UpperCamelCase"` the same 11 at 0.15 s [nothing]; this harness on the installed build: 67 files at 0.05 s, the grep 0.11-0.13 s; keys typed through the frontend (the S kit's pty): a key written to 9P's kbdin runs the listing and the search on the loop for its write's answer (Pick.start and filter's `p.fs.serving` step), so a script's `SPC f g` over V8 holds the session for seconds (seen: the 9P client timed out), as before this change over a smaller directory; the find golden (test/snapshots/find.golden) re-recorded: from sub/ZQMARK-beta.txt `SPC f f` lists the root's five files, a band row more; replica.zig's may_wait lists `Find *` and `Grep *` stopping at `kind` (the root asked of the session's disk, as their listing and search are); gates: core-test 1129/1302 (173 skipped: +1), shell-test 1350/1353 (3 skipped: +1), pane-test 183/184, behaviour-test 285/285 and --replay 285/285, process-test 0 of 147 failed (3 skipped; find re-recorded), term-test 17/17, kitty-test 45/45, the gui unit-test 1958/1962 (4 skipped; its perf check's BaselineHarnessMismatch, every base's) on this change, W7 under it; no dump change; shots .scratch/walkui/W78/png v1-v3; no frame or perf gate (the user's rule of 2026-11-26); load 3.7 to 15.9
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
takes through that kind in the pane it lands in, a binary no kind takes as one line naming it, and Enter on such a row lands as a Look does, never the file's bytes as text (the user: "the file preview wasn't working for images (maybe pdfs too? Didn't test)", "It should be a generic logic for addons btw, and I saw the bytes rendered as ascii"; the coordinator's W7 under SPEC principle 2); REPRODUCED with the installed build (install74, the S kit, 26 px): SPC f f from a reading main.zig, the cursor on photo.png left main.zig in the body (the previous row's file), on paper.pdf showed `%PDF-1.7 %âãÏÓ 1 0 obj …` as text (a PDF has no NUL in its first 8000 bytes, so Pick.preview's binary guard let it through), and Enter on photo.png put `�PNG … IHDR …` in the reading pane: THE BYTES-AS-TEXT PATH the user saw: Pick.land → look.open → walk → Trail.step → Trail.show → File.open, which reads any path as a text (look.resolve sends a typed or clicked `photo.png` to Kind.openFile, but look.open, every jump's way, had no kind route); THE FIX: look.open routes a path a kind takes (`kinds.forPath`, the routing resolve uses) to openKind, lookAt's kind branch made a function (the pane of it focused, else opened and placed as a Look places it), so a picker's Enter, the Walk queue and a held pane's step land as a Look; Find's row of a kind's file is the file whole (a place in it is its kind's address: line 1 made the image refuse it); Pick.preview: a file a kind takes is shown by a slot of that kind over the landing pane's text (Kind.newSlot, split from Kind.open; Pick.showKind), which stays under it unseen until the next row or the roll-up closes the slot (putBack, restore: Esc exact, nothing left), no per-kind code; any other file with a NUL is one read-only line, `blob.bin · binary · 3.0 kB` (Pick.nameLine); until the kind draws (its paint places nothing yet) the body shows `photo.png · image · 24.8 kB` (draw.zig; Kind.draw says whether it painted); a refused one is that line with its kind's why; the kind does its own work as for its pane (the image decoded on a worker); only the row the cursor rests on at a frame opens (the preview's existing tick rule), and a draw of a row passed by is dropped when it lands (Kind.Slot.drawn_from: this process's draw count when the slot was made; Kind.deliver drops older answers, which went to the next slot of the same kind on the same pane); a previewed kind says, looks at, runs and lists nothing (Kind.Call.end returns before them while Pick.previewing) and takes no mouse (mouse.kindMouse); RUN (TEST FIRST): test/behaviour/addons.zig, four tests through 9P with the fake addon (addons/fake: no kind code in Pick) and the image addon, and addons_pdf.zig one with the pdf addon: a `.fake` file previews as the fake's paint (`count 7`) and not its bytes, Esc puts the screen and /index back, Enter opens the fake's pane with the reading pane's text kept; blob.bin's one line, never other.txt's text after it, a kind's paint after the binary's; three pictures, two rows down with no frame between: one draw held per rested row (2, not 3), and the rested picture shown after the passed one's answer came last; Enter on a picture opens the image pane, the reading pane `the notes`; a PDF's pages as pictures in the landing pane, none after Esc; Session.tick (a host frame) added, as previews wait for the frame after the key; on the base they fail (the bytes `1234567` shown, no line, no image pane, `%PDF` on the screen): core-test 1128/1301 (173 skipped; the kept_out list names Kind.Slot's drawn_from and size), shell-test 1349/1352 (3 skipped), pane-test 183/184, behaviour-test 285/285 (+5) and --replay 285/285, process-test 0 of 147 failed (3 skipped), term-test 17/17, kitty-test 45/45; the gui unit-test on the stack's top (W8); no dump change (the two Slot fields are local, out of the digest and the dump); the S kit with this change's Debug gui at 26 px: the PNG and 9p.pdf previewing in the landing pane, blob.bin's line, Enter on photo.png an `img` pane with main.zig kept (.scratch/walkui/W78/png a02-a05, before r03 r05); no frame or perf gate (the user's rule of 2026-11-26); load 3.7 to 10
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
(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
|
| | | |/
| | |
| | |
| | |
| | |
| | |
| | | |
grouped by kind, a kind mark on each row (UX DESIGN N, binding; the user: "The lsp symbols should be more organized: types first then functions then fields and the rest (and some indicator to tell the kind)", "For the symbols picker"): the rows are the file's own parse's, as before, now from a symbol walk of their own (syntax.zig `SymbolWalk`, in the same walk of the tree as the sticky headers' declarations, which keep theirs: contextFromTree), by one kind table a grammar (`symbol_rules`: Zig, C, C++, Rust, Go, Python, JavaScript, Java, C#, Kotlin, Scala, Ruby, PHP, bash, Haskell, OCaml, Erlang, Elixir, Clojure, Fortran, Ada, Pascal, PowerShell; JSON, CSS, HTML, Markdown and Typst have no declarations to list), each node's kind as given or found where its grammar cannot say it (Zig's `const S = struct`, `error{...}`, `@This()`, `@Type(...)` a type and `@import(...)` a module, JavaScript's `const f = () => ...` a function, C's declaration a function where a declarator is one's and a const where `const` says so, a Python class's or Kotlin's binding a field in a type); fields and consts are listed now (the sticky headers' declarations had neither), a function's consts and vars never (its locals), each named in the types, functions and modules it is in (`Counts.lines`, `torque.Parser.Parse`; an anonymous struct's members in its owner's, a Rust `impl S`'s in `S`, no row of its own); a row is `t Counts = struct`: its kind's mark (t type, f function, m field, c const, v var, n module, · other), its qualified name, two blanks and what its name's line says after the name (its body's `{`, a trailing `,` or `;` dropped), its line the dim meta at the right end (Band's); the mark in the keyword's ink (colors.Roles.kind, the theme's keyword pushed to 4.5:1 on every tag ground and the selection, as the key ink is), the qualifier and the words after the name dim; with the field empty the rows are types, functions, fields, then the rest (consts, vars, modules, other as one group), each in the text's order; typed, they stay grouped and are scored within each group (Names: `Cand.group`, `before` orders by it, then by `better`), the cursor starts on the best match wherever its group puts it (Names.bestRow, Pick.toBest: after a key, when the parse lands, and following the best while the rest are scored), and the count says where it is; the name alone is matched (`u8` in a signature matches nothing); no header rows: every row is a symbol, ordinary text, and C-q keeps them in a +Search with the mark a word; the query pane's `Symbols` rows the same (Query.gather), its current the best; the parse's answer carries the symbols beside the declarations (Stream.Batch.symbols, an input every replica takes), ContextCache keeps both for the revision (derived, made again at a load), and every producer makes both (the worker, a sticky header's refresh, a load), so a text at a revision has the same symbols everywhere; syntax.zig's tests ran in no test program (core-test's filter `syntax context nested` matched nothing on the base): core/root.zig imports it now, and its 34 pass; RUN (TEST FIRST): syntax.zig "syntax symbols: a Zig file's types, functions, fields and the rest ...", "... C, C++, Rust, Go, Python and JavaScript by their kind tables ...", "... every kind table names nodes of its grammar ..." (23 tables), Pick.zig "Symbols (UX DESIGN N): a Zig file's rows types, functions, fields, then the rest ... the mark in the keyword's ink, the qualifier and the rest dim", "Symbols (UX DESIGN N3): typed, the rows stay grouped ... the cursor starts on the best match ...; the name alone is matched, never the signature", "Symbols (UX DESIGN N): a C++ file's rows ...", "Symbols: every row is ordinary text ..."; on the base the rows were ` 2 pub const Counts = struct {` in the text's order, no mark, no field, the cursor on the first row; core-test -Dtest-filter=ymbols 18/18, core-test 1135/1308 (173 skipped); the stack's suites, the dump fuzz, the soak and the pictures are on the change after this one
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |/
| |
| |
| |
| |
| |
| | |
body draws every colour from the chrome (the themes programme's L2b; DESIGN.md R7-R12, B5, B6, G7), worked out once a theme change by Chrome.of and read by `p.chrome()`, never by a theme's own fields or the old views: ONE SELECTION FAMILY (R7): the primary range, a `gw` label and a target with no number on `page.selection` in its ink, a multi-cursor head that selection reversed; every other range, a hover, a look preview, `m a`/`m i`'s region, a selecting prompt's dimmed preview and a query pane's current row on `selection_secondary` (the page halfway toward the selection in OKLab) in the text's own ink, where they were four sRGB mixes (25 % and 50 % toward a page that was `dark`'s tag) and a secondary drew `sel_fg`; the B1, B2 and B3 sweeps the chrome's `sweeps` (select, exec on the error hue, look on the added hue; acme its own), the body's and the tags' alike, where body_layer.buttonTints tinted the selection toward the keyword, string and number; HITS (R8, G7 as the designer's position): every place, a picker's landing line, a query pane's and a results pane's match on `hit` in the text's ink (was the theme's search ink), the current place and a landing line's matched span solid in the hue with the page's ink (`hit_current`, `hit_current_text`), where Roles drew a third tone step (1.9:1) that 68 themes could not show and a query pane its search ground; a search whose field is no regex dims its last places, the current on `hit` and the rest on `hit_faint` (new: the page halfway toward the hit, R7's secondary for hits; DESIGN.md is silent); SEVERITIES (R9): a message's words and detail after its line (Messages.inkOn, new: an error, a warning and a question their severity's ink on that ground, an echo, a notice and progress its dim ink), a diagnostics list's labels, a rename's struck name and its new one, each `page.severity`, where they were the theme's raw diagnostic inks or Roles' pushed ones; DIFF GROUNDS (R10): a patch's rows, changed words and faint lines (File.recolorSyntax), a pipe prompt's and a code action's ghost rows, `add` and `del` with the page's text, where colors.Grounds mixed the page 18 %, 28 % and 7 % toward the palette's green and red once a frame; THE REST: line numbers `line_number` and the caret's `line_number_current` (R12: derived where a theme has none, it was the plain number), the wrap marker the line numbers', a tree's guides (a call stack's) and their wrap pads the page's dim ink (were the info ink: a guide is meta, B5's dim row), a location the line numbers' ink, keys, `▸` and the sam fence `page.key`, context rows, a table's header and a hover's ghost lines on the plain tag's ground (its ink for the hover), a table's rules the page's rule ink (were `border orelse lineno`), the rail and thumb the chrome's, the body's page and text `page` (a theme that leaves its page to the host leaves it its text, as before), syntax `syntax`; DELETED: Core.bodyChrome and its cache (`body_chrome`: a whole Theme compared with meta.eql for every decorated row and every wrap-pad cell, C1's A7), body_layer.buttonTints and buttonInks, the Grounds recipe (colors.Grounds is the library's view on the chrome now: lib_syntax exports it, test/consumer pins its relations), Roles.hit and hit_current with hitOf and their floors, ChromeTheme's search_fg, diagnostic_info, diagnostic_hint and lineno (nothing reads them now); every value is Chrome.of's, worked out at a theme change (finishThemeInitialization, setThemeIndex, previewTheme, loadThemeFile), never a frame, a row or a cell: the one new one, `hit_faint`, is one OKLab mix there; RUN (TEST FIRST): Places.zig "places: each on the hit ground in its text's own ink, the current one solid ... the selection over it; a search whose field is no regex dims them, the rest faint" (orchard: after `/alpha`, Enter and `j`, the current place `hit_current` in `hit_current_text`, the other `hit` in the page's text; searched again, its current under the selection; with `(` the others `hit_faint`): fails on the base at its current place (Roles' 1.9:1 step under the text's ink, where the hue in the page's ink is asked; its first version, asked during the live prompt, failed there on #3c614a: the body's selection is the current place then, drawn over it as before); Query.zig "a query pane's hits are the body's ..." (a `/alpha` query pane: the row's match `hit` in the text's ink, the owner's current place solid, the current row `selection_secondary` between its places and to its end, none below): fails on the base at Query.zig (expected #917a53, found #5e4923, the search ground); body_layer.zig "the body's selections are one family (R7) ..." (`eC` in orchard: the primary on `page.selection` in its ink, the other range on `selection_secondary` in the text's ink, its head reversed, a B2 sweep held over beta on `sweeps[1]`): fails on the base at body_layer.zig (expected #24382c, found #243a2d); body_layer.zig "the body's surfaces take every colour from the chrome: none reads a theme's own fields or the old views (DESIGN.md B6)" (the source test: body_layer, Places, Query, Output, Tables, File, Prompt, Pick, jj and ansi, their code before their tests: `theme()` read for its name alone, no chromeTheme(), bodyChrome, .roles, Grounds or LegacyTheme); re-pinned to the chrome and failing on the base: Prompt.zig's pipe ghosts (del.row #331a12, was Grounds' #302b25) and `/`'s `▸` (page.key #add38a, was Roles' #bada9d), Pick.zig's code action ghosts and its landing line, body_layer's motion targets, the build error's `✗` in `page.severity[0]`; colors.zig "line numbers stay quiet ..." (a ThemeFile with no current number: R12's derived one, 4.5:1), look.zig's hover preview on `selection_secondary`, test/output.zig and test/panes.zig's results colours (hit, page text, line numbers, the warning severity); GOLDENS re-recorded (13, orchard unless said), each class read: (1) R8 hit ink: a match on #5e4923 (orchard's own search ground, kept as its `hit`) in the text #e5eee5 where its search ink #f7e4a5 was: callstack 6 cells, psearch 15, stepgrain 26, lsprelpath 11; (2) G7 current hit: lsprelpath row 20, the owner's current place in a query row, #0d1410 on #917a53 (the hue held 4.5:1) where it was #f7e4a5 on #5e4923, 9 cells; (3) R7 secondary: #243a2d (sRGB half) to #24382c (OKLab half), the text's own ink where `sel_fg` #f5f7ee was: multicursor 2 cells and selregex 24 (secondary ranges), stepgrain 285 and lsprelpath 185 (a query pane's current row); (4) R10 diff grounds: diffview rows 12-19 (the diff pane's own rows: added #263025 to #132503, deleted #302b25 to #331a12, 558 cells; the same values the command pane's diff took in L2c), diffstack rows 26-29 (a faint added line #171f18 to #101c0b, changed words #364131 to #203900 and #453832 to #53251b), pagercolor rows 36-37 (a +Pager's faint lines: #1a1d18 to #211812, #171f18 to #101c0b); markers and syntax inks unchanged; (5) a tree's guides: callstack rows 11-21, #92d1de (the info ink) to #666f68 (the page's dim ink), 35 cells; (6) key ink: fsearch's `▸`, #bada9d (pushed over seven tag grounds) to #add38a (the accent held on the page); (7) R7 exec sweep: headersweep and headersweep-restored, a B2 sweep on the header, #f5f7ee on #5b7e5a (the selection tinted toward the string) to #e5eee5 on #4c251b (the error hue a selection step off the page), 8 and 16 cells (draw.zig's sweeps, moved with buttonTints); (8) R12: themesel row 26, the caret line's number in solarized_dark (#586e75 to #7f9193) and acme (#999980 to #74746a), themes with no current-line number of their own; no text moved, no other golden; GATES: core-test 1132/1305 (173 skipped; the merge's 1128/1301 + 4), shell-test 1353/1356 (3 skipped), pane-test 184/185 (1 skipped), behaviour-test 280/280 and --replay 20 seeds of 70 steps, 0 failures, process-test 0 of 147 failed (3 skipped; 13 re-recorded above, ttyhelp unmoved), term-test 17/17, kitty-test 45/45; gui unit-test 1957/1961 (4 skipped; its one failure the known BaselineHarnessMismatch; test/consumer's Grounds relations pass on the chrome's rows); PICTURES (the S kit, 26 px, 100x30, `Jumps walk`; before = install74's pardes-gui, after = this tree's Debug gui): .scratch/themes/L2b/png/, `<state>-<theme>-before|after.png` and `pair-<state>-<theme>.png` side by side, in dark, neonotte84, orchard and acme: `search` (a live `/words`: the current place is the body's selection, as before), `landed` (Enter, then `j`: the current place the solid chip), `selhit` (`x` over a hit), `grep` (SPC f g count: the preview's landing line and matched span), `error` (`:zig build`'s error words after report.zig's line 11: dark's were its grey text, red now), `diff` (a .diff file's rows); the dump and the digest unchanged (`body_chrome` was derived, `theme_chrome` local), so no fuzz or soak; load 3.2 to 9.7
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |
| |
| |
| |
| |
| |
| | |
(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
|
| | |
| |
| |
| |
| |
| |
| | |
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
|
| | |
| |
| |
| |
| |
| |
| | |
binding; the user liked L-b): Resume reopens the newest kept picker as before, and again as the next leader sequence after an Esc from the one it opened, nothing typed between, the one before it; Ctrl-o in a picker Resume opened steps to the next older kept one (its field, cursor and marks its own, where Resume opens them: Pick.resumeAt), Ctrl-i the next newer, each end said (`Resume: no picker before it: the last 8 are kept`, `Resume: the newest picker`); the head reads `Resume 2/5` before the picker's own word (`Resume 2/5 Find words`); the walk is `Pardes.resume_at` beside `picks` (0 for none, the newest 1): any other picker opened, reopened or landed ends it, and so does any key at rest but the leader and Resume's after it (Pick.keyAtRest, called beside Prompt.keyAtRest in keys.handleKey); the order is a picker's `used` (L': made, landed, or reopened by a walk, the newest the highest, Pick.touch), not its serial, and the picker the ring drops for a new one is the least used of them (Pick.rank: `used`, then the serial, for pickers a dump made before `used`); a list word naming a dropped picker says `walk: that list is gone: the last 8 are kept` (item L'1's walk passes it by); RUN (TEST FIRST): Pick.zig "SPC ' steps back through the kept pickers (UX L'2) ..." keeps three lists A, B, C and asks after each of SPC ', Esc SPC ', Ctrl-o, Ctrl-o (said: no picker before it), Ctrl-i, Ctrl-i, Esc j SPC ' (a key between: the newest again), Esc SPC ' the live picker and its head's `Resume k/3`, then Enter on B (the walk over, B the newest: SPC ' opens it as `1/3 B`), then Ctrl-o onto a list word whose picker is gone (said, passed by, the walk on to the first place): fails on L'1's tree at Pick.zig:2915 on the first SPC ' (expected `1/3 C`, the head has no Resume word), passes now; a user hit it whenever the picker wanted was not the last one; core-test 1126/1299 (173 skipped), shell-test 1347/1350 (3 skipped); load 3.9 to 4.6
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| |/
|
|
|
|
|
| |
DESIGN L'1, binding; the user: "I did spc f f then did /something but I didn't know how to get back to the previous one", "the pickers are kinda shown as a stack right? I felt like I could pop the current one"): the trail's words, left to right, are the stack, and Ctrl-o steps one word left of where the pane is, Ctrl-i one right; onto a place as before (Trail.go); onto a list's word, that kept picker unrolls again in this pane's tag as it was left (query, cursor, marks), previewing here (Pick.reopen with `walking`, its step): Esc gives rest exactly as before the Ctrl-o, Enter lands as that word's (a step from it, the steps after it dropped, its word saying where it is now), Ctrl-o, Ctrl-i and Backspace on its empty field (after its refinements) roll it up unlanded and walk on (Pick.walkOn; past the last word the jump list's step alone, Jump.listBy); Ctrl-i in it is Tab, a mark, where the terminal cannot tell them apart; onto a search's word, the caret back where the search started and its places lit (Prompt.light, Look's without the select): `Step.search` is a `Search` that holds its start, path, line and column, recorded as `/` commits (Prompt.word from Places.origin) and by `*`; the pane is then at that word (`cur` on it: Trail.backs writes it before the path, n and N walk it, keep keeps it, a step from it keeps it, go and replaceStep never write a place over it); a held pane walks its own words, a search's and a recipe's; a list no longer kept is said (`walk: that list is gone: the last 8 are kept`) and passed by; the owner is no word to walk; Jumps new-pane walks nothing, as before; D8's fold takes places only: each run of places older than the newest `whole` back steps (or past the first two forward) is one `+N` where it starts, a list's word folds only where the tag keeps its newest step alone and never the newest list's, a search's or a recipe's never (Trail.folds; draw.zig dims every run's `+N`); after a landing (Pick.listed) and a search's Enter (Prompt.land) the notice row says, as an echo never logged, what the next Ctrl-o reaches, `C-o back to Find words 1/1` (Trail.sayBack); THE CAUSE of the user's trouble (UX L1): Trail.walkBy skipped every word but a place (`if (t.steps[i] != .place) continue;`), so Ctrl-o after the search went to main.zig:1, past both the search and the list, and nothing said which key would pop; RUN (TEST FIRST): Jump.zig "Ctrl-o pops the walk one word at a time (UX L'1) ..." (W2's test extended) types the user's keys in an 84x20 session of main.zig (SPC f f words, Enter, /in_word, Enter, then Ctrl-o x3 and Ctrl-i x3) and asks after each key the file, the trail's four steps and where the pane is among them, the caret's line, Find words unrolled or not and the search lit or not, then Esc from a reopened list (as before the Ctrl-o), its Enter (the search's word and the place after it dropped, `Find words 1/1` kept) and Backspace on its empty field (walks on to main.zig): fails on the base at Jump.zig:565 on the first Ctrl-o (expected words.zig, found main.zig), passes now; Trail.zig "the fold takes places alone (UX L'1) ..." (runs of places each a `+N`, a click on each its newest, two lists with the newest step alone, a search's word never) and "a held pane walks its own words (UX L'1) ..." (Ctrl-o puts the caret at 20:3 where `/line 9` began, its places lit; past it the jump list's); the notice-row test of walk UI G 2e now reads the echo, then the caret's place once it is retired; a user hit it on every Ctrl-o after a picker's Enter or a search; goldens re-recorded: find and fsearch (the notice row after a picker's Enter and a search's Enter reads the echo); ttyhelp is the merge's placeholder (M1 re-records it); the perf cell walk-pop (test/perf.zig, run only when named: Ctrl-o onto a list word reopening it in the key's own frame, then Esc), 326 us a pair on small in ReleaseFast; core-test 1124/1298 (173 skipped; the G 2e notice-row test, failing on the echo, updated and passing alone), shell-test 1346/1349 (3 skipped), behaviour-test 280/280, pane-test 183/184, process-test 3 of 147 failed before the two goldens moved (find, fsearch: the echo; ttyhelp the placeholder); load 2.2 to 7.2
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| |\ \
| | |
| | |
| | |
| | | |
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |/
| |
| |
| |
| |
| |
| | |
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
|
| |/
|
|
|
|
|
| |
out of rest a tag keeps exactly its rows at rest, and its head's rows past them and the band under it are drawn over the top rows of its body, which never moves, wraps or resizes for them (UX DESIGN I1, on the user's "the other editors when there's new ui on top of the text it doesn't scroll ... I think we should do that, no?"); THE OLD WAY: the band pushed the body down (Pardes.sync grew `tag_rows` by `band_rows` and the head's rows), so every row of the text jumped by the band's height on SPC Down, Help, `:`, the registers, a rolled level of three rows, and back on Esc, while a terminal's and a kind's band was a second path drawn over its body (Band.over, Band.shownRows); THE CHANGE: Band.covered (from the state alone, as takes is) says where a tag out of rest is drawn: its head's rows, the band under them (as many as the pane has; a picker's keeping D6's body under it), and `over`, those past the tag's own rows; sync keeps the tag's rows at rest (the terminal special case is every pane's now) and puts `over` in the pane's view (SessionView.covered) for File.show; draw.render draws the host's tag and band after every body, one path for every pane, the grip's column beside the covered rows on the tag's ground, a caret under them hidden until rest; layout.floorRows borrows for a level, Help, `:` or the registers only the rows its head and band need (a picker and code actions keep D6's 60 % / 6 rows; a terminal's and a kind's size stay their user's); mouse.bandPoint gives a covered row to the band (a head's row over the body: B2/B3 on its word as on the tag's first row, B1 nothing); File.show counts the covered rows like the context rows, so what a state shows (a prompt's current hit, C-r's) is put in the rows left visible, a target already there not moved; TagState's rolled level of a terminal takes its three rows too (over the pty, which keeps its size); `band_rows` goes from Pane and PaneView (the dump: SessionView.covered and Pick.previewed come); W1'S READING (I1 is silent on a landing near a file's top): a picker's preview starts under its band (Pick.previewing: from the first place it shows in its landing pane, the band takes its rows from that body, as before), since Find lands on line 1 and a band over the body's top hid the file's first eleven lines and the landing line; before its first row, and after Esc, the pane's own text is where it was; the GUI's tag rule goes under the head's rows as under the band's (gui.zig paneDecor); TESTS (FIRST, where the old behaviour was asserted, inverted): Band.zig "SPC Down unrolls ... drawn over the top rows of the body, which stays where it was" (was "the body pushed down and never drawn over"), "out of rest the body stays where it was ..." (a rolled level, SPC Down, Help, `:`, the registers and a picker before it previews: every row of text under the rows drawn over it on its screen row at rest, the same first row, size and scroll; Esc leaves the body's rows as at rest), "a level's band covers what it needs ..." (no borrow where head and band fit, exactly head + band where they do not), "a covered row belongs to the band ..." (B1 on a band row over the body moves the level's cursor, on a head's row over it touches no body); Pick.zig "a picker's preview starts under its band ..." (in a reading pane: its text stays before the first row; line 60 at ⌈visible/3⌉ under the band, line 1 on the row right under it; Esc: its own text where it was); Prompt.zig "a search's current hit under C-r's band is put in the rows the band leaves the body ..."; the tests that read `band_rows` read Band.covered; body_layer's D10 test: `g`'s first-line target is under the rolled level's rows now (I2's named cost); GOLDENS re-recorded, every moved row: leader (spc, unmapped: the one line of cmds.txt stays on row 3 under the level's second row instead of row 5, the caret on it hidden), find (nomatch, topbar: a picker with nothing to preview leaves here.txt's line 1 on row 3 under the band instead of row 8; cancel: row 8 no longer listed as changed), ttyhelp (leaderworks: Help's band over the +Help pane's text, whose rows 10-20 keep the previous snap's text instead of moving down seven rows); a user saw the text jump on every SPC Down, Help, `:` with rows, registers Down and a rolled level wider than its tag; core-test 1115/1287 (172 skipped: +3), shell-test 1335/1338 (3 skipped: +3), pane-test 183/184, behaviour-test 280/280 and --replay 20 seeds 0 failures, process-test 0 of 147 failed (3 skipped; 3 goldens re-recorded), term-test 17/17, kitty-test 45/45; the dump fuzz at 40,000 join seeds and 40,000 + 1,779 image seeds 11/11; the soak `replicas -- --clients 5 --rtt 30,80,207`: diverged 0, unequal 0, quiet checks 580/0 480/0 675/0, unlisted stops 0, the corpus 22 of 22 scenes the same, no leak; load 1.2 to 10.9
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| |\
| |
| |
| |
| |
| |
| | |
state to what its own state reads, the dump fuzz seeding describe-key's state too; rllrtrxu R's two nits; xxmkroru ed518c211808 a Messages picker's keys are SPC h's, so Backspace on its empty field no longer kills the session) merged onto M10 (lkswuzxk), resolved by meaning: two text conflicts, both the tests the two lines put at the end of the same file (core/Pick.zig: F1's "a picker previews the row under its cursor from the frame its rows come ..." and Z1's "Backspace on a Messages picker's empty field ..."; core/TagState.zig: F1's "a rolled level that wraps has its hints on its last row ..." and Z1's two load tests), each kept whole, F1's first; the rest sits apart (F1's TagState.head and Pick.preview against Z1's TagState.loaded and Pick.words; F1 adds no field to a dump, so loaded's checks read the same state); the tree after the merge is M10's with exactly Z1's diff from M9 (5 files, +274 -20); core-test 1105/1276 (171 skipped: M10's 1102 + Z1's three), load 3 to 5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |
| |
| |
| |
| |
| |
| | |
picker's are its level's (Find's `f`, Themes' `t`), so Backspace on its empty field goes back to SPC h unrolled instead of killing the session: found while item 1 held a loaded view's SPC keys to a group; THE CAUSE: Pick.words gave `.messages` the keys `hm`, its builtin's whole chord (SPC h m, a leaf), where the others name the group their builtin is in; `back` (Backspace on an empty field, no refinement to undo) puts those keys in the view's SPC path and unrolls their level, so the level of a leaf, which has no children: Band.takes still gives a band of doc_rows and Band.of indexes `level[at]` (Band.zig:216) on the empty level; RUN (TEST FIRST): Pick.zig "Backspace on a Messages picker's empty field goes back to the level it was run from, SPC h, unrolled and drawn: ..." fails on the base at its SPC path (`hm` for `h`), and a probe on the base that draws after the Backspace panics: `index out of bounds: index 0, len 0` at Band.zig:216 (Band.of, from draw.zig joinBand, renderPane, render); passes now; THE FIX: `.messages`' keys `h` (its head `␣ h Messages`, as Find's is `␣ f Find`); Actions keep `la` (a code actions picker's Backspace edits its field: it never goes back), as Themes' Backspace does; a user could hit it with three keys and a Backspace: SPC h m, then Backspace; core-test 1100/1271 (171 skipped; one failure in the whole run, dev/host_io.zig "the walk reaches the leaf: bash -c 'sleep 30' takes the tty" (its pid walk found no child, expected 1, at load 6 to 8), passes run alone: a process-tree probe's timing, nothing of this change), shell-test 1319/1322 (3 skipped), process-test 0 of 147 failed (3 skipped); load 5 to 8
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| |/
|
|
|
|
|
| |
come, not only after the cursor moves: S2's sign-off shots (02a, 02d, 03b, both sizes) showed Find opened with its field empty leaving the body blank (the reader made for it) or its own file (a reading pane), no landing line and no `▸`, still so after 4.5 s, until ↓ then ↑; THE CAUSE (core/Pick.zig preview): the row a preview showed was kept as the cursor's index (`shown`) and set on the first tick even when the list had no row yet, so a Find's listing and a Grep's lines, which come frames after the field asked (a host's worker sends them by an input of their own; a Grep's after the typing's pause), arrived under a cursor already marked shown at row 0, and busy() owed no frame for them; THE FIX: `shown` is what the row is (idOf: a name's candidate, a line's index), set only when a row is under the cursor; busy() owes a frame while the row under the cursor is not the one shown and none while the list is empty (no wake every frame for a picker that matches nothing); landingLine reads it the same way; so the first row is previewed on the tick its rows come (the frame after the input that brought them), and again when another row comes under the cursor without a key (a better name scored in a later frame); TEST FIRST: Pick.zig "a picker previews the row under its cursor from the frame its rows come, when a frame with none came first ..." (Find from a held pane, a frame before its listing; Grep's lines after their pause, ticks with none before; no frame owed while empty): fails on the base at Pick.zig:2584, the reader's file still the empty one made for it; a user hit it at every Find and every Grep (S2's Grep shot moved the cursor first, which hid it); core-test filtered 1/1
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| |\
| |
| |
| |
| |
| |
| | |
dumps and the digest (the soak's `views[0].rects` class), a picker's band capped at 40 % of its host pane at open E5.1, the band under the head E5.2, the notice row cut with `…` E5.4, a blank each side of a step's rule E5.5, Help's chord and word with its group as right-aligned meta E5.6, a doc with no room on the notice row E5.10, full-height `│` in the window E5.9, the tag rule under a band over a terminal E5.11) merged with X2 (suvlqwul ae138cd257f8: the soak typist's q guard, a message's detail only on request E5.3/D13, the err role's fallback E5.7, ` · N lines` kept dim after a search's count (E7's reversal of E5.8), a list of places in one column with its places dim E7 2b, the landing line at 1.5:1 and its span at 1.9:1 E7 7b, code actions Enter cannot apply dim with meta `command`/`other files` E5.12), both on G4's lurxouvq, resolved by meaning: the only text conflict was test/snapshots/fsearch.golden; Messages.noticeRow (X1's left-text cut and doc line, its `*Pardes` signature) and X2's D13 (detailUnder, detailAt, act, rollUp) touch different functions and merged clean, as did Core.zig (X1's sync, X2's updateInner arms) and Pick.zig (X1's `cap` and bandRows, X2's rowAt actions arm and steps' place column); BY MEANING: X1's E3 rule gives the band's last list step the remaining width, so X2's place column (padded to the widest place shown, Pick.steps) is no longer cut at 52 cells and still lines up (a row with a place is cut from the right by Band.cutRow, its `pre` set, so the column never shifts), and the actions picker's one step is the band's width, so its meta `command`/`other files` stands at the band's right end (X2's reading 8 asked for exactly that); TESTS (the merge's checks): Pick "a list of places ..." also asks the band's drawn rows (Band.of, band.line): the last step ends at the band's edge and the two rows' code in one column; Pick "code actions: a row that cannot be applied ..." also asks the band's first row to end ` command` at the band's width; GOLDEN: fsearch regenerated and every changed row read: against X1 only X2's rows (`g.txt:2:1: MARK a` and `6:1: MARK b` padded to `10:1: MARK c`'s column in list and ctrln, row 16's ` · N lines` cells in the dim ink); against X2 only X1's (the band from the row under the head, the reader borrowing a row so its body shows line 9 / 11, the stray `│` under the `/` prompt gone); no other golden moved; core-test 1095/1266 (171 skipped; X1 1090/1261 + X2 1088/1259 over the base's 1083/1254), the two extended tests filtered 11/11 each; process-test 1 of 147 failed before the update (fsearch, the conflicted golden) and fsearch 0 of 1 after it
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |
| |
| |
| |
| |
| |
| | |
(no edit) and one whose edit reaches other files are dim rows with the meta `command` or `other files` at their right end (UX E5 12, D4/D5), where they looked like every other row and Enter on them said it after the fact (P3's apply refusals, UX E4 P3.2); THE FIX: rowAt's actions arm reads the action first and marks those two with Band.Row.dim and Band.Row.meta (P2's right-aligned dim meta, given way before the title), the rest as before; the edit's first line already sits ⌈rows/3⌉ down the body (the merge's look.focusPaneLine .third, D7/E3): the test asks it; TEST FIRST: Pick.zig "code actions: a row that cannot be applied (a command's, an edit reaching other files) is dim, its meta `command` or `other files`; the edit under the cursor a third of the way down the body (UX E5 12, D7)" (fails on the base at Pick.zig:2480: the command's row not dim), passes now with P3's code actions test; core-test 1088/1259 (171 skipped)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |
| |
| |
| |
| |
| |
| | |
errors, a server's symbols) shows each row's place in the dim ink and its text after it in one column, the widest place shown before it (UX E7 2b, D4/D5): THE CAUSE: Pick.rowAt wrote `path:line code` with one blank between them and the band drew its `pre` (the place) in the tag's name tint, so every row repeated `Jump.zig:76` as loud as the code (8.4:1 against the code's 8.8:1) and the code started at a ragged column (UX2/before: the old +Search grouped hits under a file line with the code in one column, `path:line:col` dim); THE FIX: Pick.steps, for those sources, gives each row whose place has text after it Band.Row.quiet over the place up to its blank (a column `:3:1` and the `:` of a compiler's `path:line:col: words` are the place's), which the band draws in the dim ink of its ground over the name tint, and pads the place to the widest one shown, the matched letters moved with the text; bounded by the rows shown (the band's window), nothing at rest or for any other picker; TEST FIRST: Pick.zig "a list of places (a Grep's, a list's) shows each row's `path:line` in the dim ink and its text after it in one column, the widest place shown before it (UX E7 2b)" (fails on the base: Row.quiet 0..0); GOLDENS: fsearch's list and ctrln snaps (rows 18 and 19: `g.txt:2:1: MARK a`, `g.txt:6:1: MARK b` padded to `g.txt:10:1: MARK c`'s column) and lsp's symbols snap (rows 4 and 5: `a.zig:1:7-9 std`, `a.zig:3:4-9 helper` padded to `a.zig:7:8-11 main`'s), regenerated with process-test -- --update fsearch / lsp and read, no other row moved (these snaps keep no style rows for the band); core-test 1087/1258 (171 skipped), process-test 2 of 147 failed before the goldens (fsearch, lsp), 0 after
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| |/
|
|
|
|
|
| |
rows (UX D6 as E3 amends it, DESIGN.md E5.1), so the layout that borrows the host's body from its column sees the band the pane will have: a Grep from a held pane at 100x30 previews 11 rows (the old +Preview's 8 is E7's pass mark; P1's tree showed 6 at 26 px); TEST FIRST: Pick.zig "a picker's band is capped once at open at 40 % of its host pane's rows; the host borrows from its column for a body of 60 % before the band gives way: a Grep from a held pane at 100x30 previews 8 rows at least" (a held pane, Grep `pub fn` over a file of 40 such lines, Down: on the base the reader made for it, 14 rows at open, kept 14 (2 tag rows, a band of 6, a body of 6, under 60 %) while the held pane kept its 13: `expected 5, found 6`); THE CAUSE: Pick.bandRows took 40 % of the host's COLUMN from `v.rects`, and layout.compute zeroes every rect before it lays the columns out (`v.rects = @splat(.{})`), so the floor it asked while borrowing (layout.floorRows -> Band.takes -> bandRows) was a band of 1 row: nothing was borrowed, and the sync after it (rects laid out) held the band to what the pane had left over a body of 6; P1's reading 5 (the column) is E4's ruling 5 reversed: the host PANE's rows; THE FIX: `Pick.cap`, set in `open` from the host's rect (laid out: landingFor lays a reader made for the picker out), read by bandRows in place of the column (in the dump and the digest with the picker: the layout's term is the state's); the band may still grow with the list (Find's names) up to the cap, never past 11; GOLDEN: fsearch (list, ctrln): the reader borrows one row from the pane above (rows 15-29 where 16-29: 2 tag rows, the band of 4, a body of 9 = 60 %, where it kept 8), so the head is on row 15 and the body shows one more line (9, 11); landed: row 15 goes back to the pane above, blank, as leaving the state gives every pane its rows back; no other golden moved; core-test 1085/1256 (171 skipped), process-test 1 of 147 failed before the golden (fsearch, regenerated with `-- --update fsearch`)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| |\
| |
| |
| |
| |
| |
| | |
rest D1, no dim D9, the delays D12, the right block D3, wrapping D2, a band over a terminal or a kind's pane drawn over its body, the band's height D6, drawing the band D5 in part, the trail at rest D8 in part, asking D13 in part, a load's band rows made again and the tag's rows held to MAX_TAG_ROWS) merged onto M5 (zqwxonrs 59e1178acaab), both on G3's kytxrnnk, resolved by meaning: P1's `// P2:` markers go to P2's roles: the spines a head's rows hang (TagState.Builder.row) and the spines in the rows a tag keeps from rest (draw.zig paintPaneTag) in the rule ink, where P1 drew them in the box's, and the word n walks in the roles' key ink, underlined (draw.zig, D8), where P1 drew it in the box's; one mechanism for dim text: P1's hints go through Builder.right as dim spans, P2's painter draws every dim span in the dim ink of the tag's ground (never the faint attribute), so P2's own dim hint spans in TagState (run, a sequence, rename, roll up, unroll) are P1's lines, and the forward steps, the fold `+N` and an unlit search word are drawn in that dim ink (where P1 kept the line numbers' ink); the spines still hang from the key cells: Builder.keyCells puts them first in every head (TagState, Pick, Prompt's key cell), right() moves spans without reordering them and row() puts its rule spans after, so M5's span-order fix holds under the right block (D3) and the act row (D2); Pick.head is P1's builder with the actions picker's branch (P3) beside the themes picker's, its hint `⏎ or 1-9 apply it · esc` a dim right-block hint, and P2's `|` and other sources' words dim in P1's one-row act row (the acts in the text ink; `.actions` never offered as a source); Prompt.head is P1's right block with P2's D14: an invalid pattern's reason in the err ink and what is shown meanwhile dim stand in the count's place (D3: the count never drops, so the reason is never dropped as a hint would be) and no hints; TagState's rolled level is P1's row-breaking (D2) over P2's registers (D11): the level's children are the registers holding something before it lays them out, so `+N ↓` counts registers not shown, each child its shown value, `⏎` dim; Band.zig: a list step's width is P1's (52 cells at most) with P2's meta counted in it, a row is P1's cutRow with P2's meta after it, only when the whole text and the meta fit (D5: the meta gives way before the text is cut); draw.zig's band cursor row: P1's tint across the `▶ ` lead (D5) on P2's selection ground, the lead's ground only so `▶` keeps the key ink (D4); P2's D7 with P1's D6: the preview's landing line sits ⌈rows/3⌉ down the body the band leaves (fsearch's ctrln: line 6 at body row 3 of 8 under a 5-row band); TESTS (the merge's choices): TagState "a rolled level breaks between its children only ..." asks its spines in the rule role, Trail "... the word n walks is underlined" asks it in the key ink, Band "a band is drawn in the theme's roles ..." asks the cursor's `▶` in the key ink on the selection ground; P1's Trail fold test asks the fold in the dim ink of the reading ground (it asked the line numbers' ink); goldens: the five that conflicted (find, fsearch, lookrange, lsp, selregex) regenerated and every changed row read against P1's: P2's D7 `▸` on a picker's landing line and its sentence on the notice row (find, fsearch, lsp), the message coming back on the notice row when the picker closes (find promoted and cancel, fsearch landed, lsp), P3's `1 message` for the walked pane's one entry (find), P2's D14 (fsearch: the `▪` marks gone, the hits on the hit ground #5e4923, `▸` in the key ink #bada9d), the third-of-the-body placement (fsearch ctrln), P2's inks (the reading tint #2c2c0f, the key ink #bada9d for key cells and the n word, the dim ink #79836f for the plain word and the hints where the faint attribute was, the notice row's dim #6f7d75: fsearch, lookrange, selregex); no other golden moved; core-test 1083/1254 (171 skipped), process-test 0 of 147 failed (3 skipped, gui-only)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |
| |
| |
| |
| |
| |
| | |
open, four rows at least, 40 % of its column at most, never moved by typing; the body keeps 60 % of its pane and six rows, borrowed from its column, and the band gives way before the body drops under six (walk UI polish P1, UX DESIGN.md D6, C8): a picker's band was as tall as its list (three hits, three rows; no cap), so a short list's band was a sliver and a long one took a short pane's body down to four rows (shot 04-L: four body rows of 18); now Pick.bandRows is min(11, max(4, what the source has), 40 % of the rows of the host's column: its panes' rows, which a borrow only moves between them, so the height never changes while typing), the rows fewer than it leaving the band's ground (and its spines) under them; layout.floorRows keeps a band's pane its band and a body of one and a half times what is above it (60 % of the pane) and six rows at least (Band.body_rows), borrowed from the column's other panes as before; Core.sync's band takes what leaves the body six rows, so a column too short for 60 % shrinks the band, never the body under six; TEST FIRST: Pick.zig "a picker's band is sized from its list at open, 4 rows at least, and typing never moves it" (two files: four rows, the same after `zzq` with nothing matching; on the parent two rows), Band.zig "a band keeps its pane's body 60 % of the pane, borrowed from its column; where the column has not the rows, the band gives way before the body drops under 6" (three panes in 40 rows: the body 60 % of the pane; in 12 rows the band shorter than it wants, the body six), the borrow test's body six rows (was four); core-test 1068/1239 (171 skipped); process-test: find, fsearch, lsp regenerated and read: each picker band four rows where its list has two or three (find's two files, fsearch's three places, lsp's three symbols), the rows under the list the band's ground with the spines on through it, the body that much lower; a user saw a picker's band change size with its source, and a short pane's body crushed
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |
| |
| |
| |
| |
| |
| | |
indent under the spines, a rolled level three rows at most ending `+N ↓`, the picker's act row one row, a row too long cut with `…` (a path from the left) (walk UI polish P1, UX DESIGN.md D2): the rolled level was one long line wrapped by the tag's grapheme wrap, so a key fell apart from its label (`P`/`ClipPasteBefore`, `l ls`/`p…`, `D d`/`iagnostic end`) and its continuation rows started at the tag's first column under the box; the act row wrapped onto two (`Grep Rec`/`ent`); a band row was clipped at its step's edge; now (TagState.Builder) `keyCell` keeps each key cell's column and `row(indent)` starts a row of the head with a `│` under each key cell left of the indent (UX D5's spines through the tag's continuation rows; `// P2: the rule role`) and blanks up to it; the rolled level puts each child (`key label`) whole, a row's last child followed by the next row from the first child's column, three rows at most (a terminal's: the rows its own text takes, as before), the last one's last fitting child followed by a dim `+N ↓` (N the children not shown; the cells of it and of a struck key kept on the last row), its hints by the right block's rule on its last row (dropped where they do not fit); Pick.head's key cells are the builder's (its head's first spans, as every head's), its act row one row from two cells right of the last spine: the acts, `|`, the other sources, what does not fit dropped from the right (the sources first) and a dim `…` ending it (M-l, M-h reach them); Band.findSpines takes the key cells on whatever row they are (it wanted them on the tag's last row, so a picker's band had no spines and its steps started at the pane's edge: fsearch's list rows); Band.cutRow holds a row to its room with `…`: a path (its directory faint: Find's rows) cut from the left (`…r/Store.zig`), anything else from the right, its marks and faint bytes moved with it; TEST FIRST: TagState.zig "a rolled level breaks between its children only: ..." (SPC's level at 60 columns: three rows, the second and third `│ ` then a child, no row wider than the tag, every child shown whole, the rest counted in the last row's `+N ↓`; SPC h's on one row), Pick.zig "a picker's act row is one row under the spines ..." (60 columns: `│ │ Walk Look ` ... ` …`, a dim `…`), Band.zig "a row longer than its room is cut with `…` ..."; the SPC test reads a level of three rows at most; core-test 1066/1236 (170 skipped); process-test: 3 goldens regenerated and read: leader (the rolled level's second and third rows `│ ` from its first child's column, no child split, the hints at the last row's right end), find (`␣ f`'s hints at the row's end), fsearch (the list picker's act row one row ending `Panes …`, its band rows under spines from two cells right of the last, the body a row up); a user met the split words at every width under ~160 columns
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |
| |
| |
| |
| |
| |
| | |
and the hints at its row's right end, fixed while the field grows, the hints dim and first to go (walk UI polish P1, UX DESIGN.md D3): the count sat three spaces after the field (`Help tut▌ 3/133`, `Find re▌ 2/3`), so it slid right with every key typed, the only moving thing in the tag, and meant two things (Help's matches/total, the picker's cursor/matches); the hints followed it and wrapped mid-word onto a row of their own (msg's `s EXT ... C-r histo` / `ry · esc`); now `TagState.Builder.right(count, hints)` moves what was put from those bytes on to the row's right end (its last cell the row's last, two blanks between, at least two before), drops the hints whole when the row has no room for them, never the count (a head with no room for it runs past its row: the field's scroll D3 asks for there is not built); THE CHANGE: Builder is pub, made by `Builder.of(p, arena, pane)` with the row's width and the prefix's cells before the head (`col`), and Pick.head and Prompt.head build in it (their text and spans the builder's); counts: Help's is the cursor's row of its hits (`2/17`, `0` with none: no total), the picker's `0` with none (was `0/0`), the search prompt's wrap ` ↻` (was ` · wrapped`); hints are dim spans (describe-key's `⏎ run · esc`, Rename's, unrolled's `↑ roll up · ? field · esc`, the prompts' and the themes picker's); the rolled level keeps its hint as before (D2's rows put it on its last row); TEST FIRST: TagState.zig "the right block: the count `cursor/matches` at the row's right end, fixed while the field grows; the hints after it, dim, dropped whole where the row has no room" (Help at 60 columns: the first row exactly the tag's width ending ` 1/N`, the same after typing and `2/N` after Down; unrolled SPC's hints at the end, a dim span; at 24 columns `␣ SPC` alone); the tests reading heads read a run of blanks as two (Prompt.zig, Command.zig `has`; Pick, Band: the first row's start and end); core-test 1063/1233 (170 skipped); process-test: 7 goldens regenerated and read (find, fsearch, lsp, msg, pipe, selregex, ttyhelp): every changed row a count or hints moved to the row's right end (`␣ f Find zqm` ... `1/3`), `0/0` now `0`, ttyhelp's `1/136` now `1/1` (one match, the cursor on it), msg's `s EXT` hints dropped at 70 columns so its tag is one row again (the body a row up, where it is at rest); a user saw the count move at every key
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |
| |
| |
| |
| |
| |
| | |
DESIGN.md D9): the other panes' every cell took `style.dim` while any tag was out of rest (SPEC §3.6's "slightly", built as the faint attribute: fg 12.5:1 to 4.5:1, comments 4.06:1 to 1.96:1 on neonotte84, UX A7), stacked on the user's own InactiveDim, flashed the whole screen at every SPC and repainted every pane per state change; now a tag out of rest changes its own pane and the notice row only, the others keep their look at rest (InactiveDim already applied to unfocused panes); THE CHANGE: render's pass over the other panes' cells and layers is deleted; TagState.previewing keeps its `.full` (the whole window wearing a theme, taken off at rest) and its doc says so: no pane's own bit is read any more, so Pick.unroll no longer sets the landing pane's (the field keeps its type: the wire and the dumps unchanged); TEST FIRST: Band.zig "a pane whose body would drop below four rows ... borrows them": the other pane's tag and body cells are not dim out of rest (on the base: dim, fails); core-test 1062/1232 (170 skipped); process-test: fsearch's golden regenerated and read: its `typing` style snap's left pane (the terminal) loses the `,f` (faint) on every cell, nothing else; a user saw it at every SPC, picker and prompt
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |
| |
| |
| |
| |
| |
| | |
newest step's and the head, nothing else (walk UI polish P1, UX DESIGN.md D1, the coordinator's R1-CORRECTED: the user's "why the tagline is still showing the regular tagline text?"): out of rest the path, Keep, the forward steps, the progress and the tag's own words were drawn before the head, so the key cells and the band's spines hung 40-50 columns in (shot 02's spines at column 50) and a picker's tag named the PREVIEWED file as the pane's own (shot 04: `/tmp/.../core/Store.zig ␣ f Find re 2/3`); now `‹@p1 › rank.zig:20 › ␣ ▸ b buffer…`, the head from the tag's first text column when there is no walk (`␣ f Find re`), the spines at columns 2-4; THE CHANGE: Trail.Part `.newest` writes the owner's word and the newest back step's alone, each with ` › `, a word past 24 cells cut in its middle with `…` (D1 item 4), and `stepAt(.newest)` maps a Look or Exec on any of its cells to that step; tagline.pathPrefix returns it while Trail.outOfRest (the live view's host is the pane: asking is rest and keeps its path), the old body now `restPath`; `restPrefix`, the prefix as at rest whatever the state, is what Core.sync measures `tag_lead` by (the tag's cursor and selections are offsets in its text at rest: a head over its own text moves none of them; on the shown prefix they were shifted by the path's length and back, and `| in a tag pipes the tag's own text` piped 4 wrong bytes) and what layout.wantedTagRows counts the rest rows with (a tag out of rest keeps them at least); the heads no longer lead with a space (TagState's Help/Keys/Rename/level, Pick.head, Prompt.head: the out-of-rest prefix ends in its own ` › `); no name tint, forward-step ink, unlit search word or progress out of rest (draw.zig tagTintRange, paintPaneTag; Prompt.unlit); tagline.onName and forwardSpan are off out of rest; `Trail.folded` is gone (it only told out of rest, now `.newest`: at rest it is `shown_steps`), `nameAt` takes no Pardes; TEST FIRST: Trail.zig "Enter on a word of the walk ...": out of rest `‹@pN › rank.zig:20 › ␣ ▸ ` with no older step, no directory, no Keep (on the base `‹@pN › · › rank.zig:20 › <dir>/rank.zig`: fails), a step back hides its forward step out of rest, Look maps the newest word and the owner's to their steps, and the tag at rest byte-identical after Esc; Pick.zig's reader test: the picker's head starts the tag's text (`␣ f Find pick 1/1`), no previewed path; the heads' other tests drop their leading space; test/behaviour keys.zig's prompt case reads the tag file out of rest as the head alone (`s zq`, no `/test.txt`); behaviour-test 277/277; core-test 1062/1232 (170 skipped); process-test: 8 goldens regenerated and read, each changed row the out-of-rest tag with no path (leader, pipe, msg, selregex, find, fsearch, lsp, ttyhelp: the band's spines at columns 2-4, the steps right of them, the rows no longer pushed onto a second tag row; msg's `s EXT` head and fsearch's `/` head still wrap their hints mid-word: D3's); a user meets it in every state out of rest
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |
| |
| |
| |
| |
| |
| | |
again, not from its hint: TagState.Head says its first `cells` spans are its key cells (Band.zig takes the spines' columns from `h.spans[0..h.cells]`), and P2's D4 colour roles (zvmmwotv: `⏎ wear it · esc` in the dim ink) put the hint's dim span before them in Pick.head's no-second-row branch, which the M5 merge gave the actions picker too; RUN (the M5 merge's behaviour-test, 279/280): language_servers.zig "SPC l a lists the server's code actions ..." failed at its ` 2 mock action: add a line` (NotOnScreen): on its 80-column screen the three spines stood side by side at columns 53-55, the hint's first cells (the key cells `␣ l a` are at 34, 36, 38), so the rows step began at 56 and its rows were cut at 24 cells (` 2 mock action: add a l`); P3's tip and P2's tip each passed (P3's head had no hint span, P2's themes picker has no test that reads the spines' columns); a user met it on every themes picker (P2) and every actions picker (the merge): spines bunched at the hint, the rows pushed right and cut; FIX: the key cells' spans first, the hint's after them; TEST FIRST: Pick.zig "the themes picker marks the theme in use ..." asks that the head's first `cells` spans are key cells (expected .key, found .dim before the fix); the behaviour test passes after it; core-test 1072/1242 (170 skipped), behaviour-test 280/280 and --replay 280/280, process-test 0 of 147 failed (3 skipped), pane-test 183/184, shell-test 1290/1293 (3 skipped)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | | |
picker, /kbdin as typed, Esc at once, `]` targets in one pass and cached, a pane keeps its number when it walks, B3 on an answer word) and P2 (zvkrxzwq 415b4e2683d0: the colour roles of UX DESIGN.md D4, the tui reading box, the themes picker's `in use`, registers D11, painted targets D10, the preview legible D7, prompts D14, 29 goldens, the roles derived faster) merged, both on G3's kytxrnnk, resolved by meaning: Pick.zig's five conflicts: Row carries P3's `key` (an action's digit) and P2's `meta` (`in use`), rowAt keeps P2's themes arm and P3's actions arm, steps passes both to Band.Row, head's no-second-row branch is P3's (themes and actions) with P2's hints as a dim span (`⏎ or 1-9 apply it · esc` dim as `⏎ wear it · esc` is), and both lines' tests at the file's end; body_layer.zig merged without a conflict and agrees: P3's treeTargets cache answers targetLine's `]f` `]c` `]T` arms, and P2's paintTargets paints whatever targetLine answers in place of the line's number, so the cached lines are the painted ones; the `g` target and the `]g` motion both ask jj.nextChange (body_layer targetLine, normal.zig goto_change), whose P2 change finds the last unsaved edit with the Changes layer off, so they agree; Band.zig is P2's alone: its Row.meta (right-aligned, dim, the first to give way) is the "right-aligned row meta" P3 left as not done, nothing more to build for it; an action's rows are drawn by P2's painter (Band.Row.key: the digit bold in the roles' key ink) and its ghost lines stand on colors.Grounds add/del, which D4's add/del role is (as the Changes layer), so neither needed wiring; A MERGE FAULT FOUND BY A TEST FIRST: P2's D7 preview (Pick.landingLine, Pick.sentence) held for every picker that previews but themes, and P3's actions picker previews: its body got the hit ground and `▸` on the caret's line (the line the edit starts, or for an edit that only puts lines in, the untouched line under them) and the notice row said `⏎ lands here · its text is the preview · S-⏎ a new pane` where Enter applies an edit and lands nowhere; both now leave out actions as they leave out themes (an action's preview is its edit on the Changes grounds, the head says what Enter does); TEST: Pick.zig's code actions test asks no landing line, no `▸` before the line the edit changes, no sentence on the notice row, and no hit ground on the line under an edit that puts a line in (fails on the merge at Pick.zig:2188, landingLine answered the caret's line); find.golden (the conflict) resolved by meaning and checked by process-test: snap nomatch's and topbar's notice rows are P2's D7 sentence with P3's count `1 message` (the walked pane's two Find echoes one entry), cancel's is P3's row; leader.golden (P3's, CodeAction's new doc) passes as P3 wrote it; docs/typ/builtins-tui.json is P3's, current (core-test's builtins_json test passes); core-test 1072/1242 (170 skipped), process-test 0 of 147 failed (3 skipped, gui-only)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
as one (UX DESIGN.md D7; the user missed it: S's 04 showed a preview from body line 1 with no mark where a hit lands and a tag naming the file as the pane's own): its landing line, the body line the cursor row lands on in the landing pane while that pane shows the row's file (Pick.landingLine), on the hit ground across the body's width with `▸` in the key ink in the gutter's cell after its number (where a prompt's current place has it), the place its row points at (a Grep's match at the row's column) on the current hit's ground over the places lit; placed a third of the way down the body (look.focusPaneLine's `.third`: ⌈rows/3⌉ rows of context above, clamped at the top, a text that fits shown whole), where it was centred; a Find row lands on line 1 and that is marked (its Enter lands there); the notice row's left, while a picker previews, says `⏎ lands in @pN's reader · its text is the preview · S-⏎ a new pane` (`⏎ lands here · …` in the pane itself) in the dim ink with the owner's address in the text's (Pick.sentence, Messages.Row.quiet_left and word), before any message; the notice row's dim words in the dim ink of the tagline's ground (colors.Roles.notice, 3:1 at least; it was the tagline's ink half mixed to its ground); a preview whose next file is not read yet keeps the previous one (the read is synchronous: the body is never blank) and a row with no file leaves the body; TEST FIRST: Pick.zig "a picker's preview is legible as one" (on the parent the landing line has no ground, line 40 sits mid-body and the notice row says the path): line 40 of an 80-line file at ⌈rows/3⌉, its row on the hit ground and the one above not, `▸` in the key ink, the sentence and its address, the row its own again at rest; colors.zig's floors test holds the notice row's inks too (fromTheme's comptime quota raised for them); core-test 1069/1239 (170 skipped)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
DESIGN.md A15): its row says `in use` at its right end in the dim ink, whichever theme the window wears under the cursor, and the cursor opens on it as before; a band row's meta (Band.Row.meta: said right-aligned in its part, two cells off its text at least, the first to give way, as D5 asks; the step as wide as text and meta; Band.metaShown says whether it fits, so Band.line and draw.zig joinBand agree), placed from the part's own column (a step's rows start where the spines leave off, not always at its x); TEST FIRST: Pick.zig "the themes picker marks the theme in use" (fails without the mark at its `in use`; it holds the row's meta, one row only, the cells' dim ink on the cursor row's selection, and the mark staying on the theme in use while the window wears the next); core-test 1068/1238 (170 skipped)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |/
| |
| |
| |
| |
| |
| | |
rule on each of a tag's four grounds (plain, focused, reading, reading focused) and on each one's cursor-row selection, key, match, hit, hit current, err/warn/question/hint, worked out once a theme with its chrome (ChromeTheme.roles, Roles.of; never a frame) and each held to its floor where it is drawn (text 4.5:1, dim 3.5 never under 3, rule 2:1, key and match 4.5:1 on every tag ground and selection, selection 1.4:1 off a dark tag and 1.25 off a light one with its text at 4.5, hit 1.25 and current 1.6 off the page with the body's ink at 4.5, a message's ink 4.5 on the tags and the page; where a theme's own colours leave no room, the most they allow: solarized's mid-grey tag, a tag whose text has no contrast to spare); the reading tint derived as D4 says (the theme's own where it stands 0.04 off the tag in OKLab, else the tag toward paper yellow by 0.04 and 0.02 lighter on a dark tag, darker on a light one, less or the other way where its text would drop under 7:1 or its own, further where the bytes cannot show the step): neonotte84's #262737 (0.029 off its tag, invisible) is #29271d now; and every painter of the new UI on them: the band's spines and step rules in the rule ink (they were the box's 11.5:1, the brightest thing in the band), `▶` and `•` in the key ink, a key bold in it, Help's chord (`SPC h t`, Row.chord) in it at the text's weight, a matched letter bold in the match ink on its row's own ground (it was the search ground, the selection's colour on neonotte84: on the cursor row the matches vanished), a dim row and a path's directory in the dim ink of their ground (the cursor row's selection's on it), never the faint attribute (fg 12.5:1 fell to 4.5 and a dimmed register value to 1.58); the head's dim spans in the dim ink, a key bold in the key ink, an error in the err role, the picker's act-row spines in the rule ink (TagState.Style.rule), its other sources' words, its `|` and the themes' hint dim, the levels', describe-key's and Rename's hints dim (they were at full label ink, louder than the content), the head's text in the text role (at rest the tag keeps its own ink: byte for byte); a walk's forward steps and a search word no place lights in the dim ink (they were the line numbers' ink, 1.57:1 on a reading tag); Messages.ink is the roles' (marks, end-of-line ghosts, progress); an LSP leaf in a pane no language server speaks for is dim and its doc step says `needs a language server` (POLISH 3; SPEC §4.2); UX's derived values reproduced (tools/roles.py: neonotte84's text, dim #70768f, rule #4c5063, key, match #f1a271, reading, hit #36282a, current #523831 within 2 a channel; acme's dim, rule, reading, hit, current; acme's key #555583 and match #8f4800 a step darker than UX's #5c5c8d and #974d00, which hold on its tag and #9eeeee: a reading pane's band's selection is pushed off #f3f0cc, 1.12:1, and they read on it too); TEST FIRST: Band.zig "a band is drawn in the theme's roles" (fails on the base painter at its first spine: the box's ink), draw.zig "a tag out of rest draws its keys bold in the key ink and its hint in the dim ink, never faint", colors.zig "every theme's walk UI roles meet their floors" (every bundled theme, dark and light, every floor; 497 floors missed by the first derivation, each class fixed by the rule above) and "neonotte84's and acme's roles are the ones UX derived"; Trail.zig's §6.7 session test now wants the forward step in the dim ink; core-test 1066/1236 (170 skipped)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |
| |
| |
| |
| |
| |
| | |
in one query pass, kept while nothing moves, and Find's first key sorting only the rows it shows (walk UI P3 item 4, POLISH 19, F's and D's reports): (a) body_layer.targetLine ran the grammar's textobject query three times a frame while `]` or `[` showed (syntax.objectNext once each for function, comment, test); NOW syntax.objectNext finds any number of objects in one pass of the query (`objects`, `out`; the motion's one-object call in normal.zig unchanged in effect) and body_layer.treeTargets asks it once for the three, keeping the lines on the pane (Pane.targets, derived: never digested or dumped) while the text's revision, the caret's byte, the lines shown and the way stay, so a frame that paints them again asks nothing; paintTargets' drawing is untouched; (b) Names.rescore sorted every hit at every call (std.sort.pdq over 50,000 paths for a first key); NOW the best `reach` hits (`max_rows`, 200: what a query pane lists; a picker's cursor gone past them sorts further, Names.reachTo from Pick.key, and C-q's keep sorts its 2,000) are kept as a heap of the best so far and sorted, the rest after them in no order (O(n log k)); (c) the picker's preview read is left on the loop: measured, a 2,000-line file's tick and frame is 2.36M instructions, 285-531 us, under a twentieth of a 60 Hz frame (a read from a slow mount would still block it: not moved, said in the report); MEASURED (pardes-perf ReleaseFast tui, the same tree before and after this change): `]` painted, tick + frame, longest 11,066,602 instr (802 us) -> 4,677,637 (368 us, the frame that asks; the cached ones about the at-rest frame's 0.89M); pick key + frame (50,000 paths, first key) 58,751,637 (4,383 us) -> 41,394,164 (2,416 us, the rest is the scorer's); pick Down + frame 1,358,803 -> 1,356,960; pick preview tick + frame 2,357,436 -> 2,365,116; TESTS: core/Names.zig "Names keeps its best `reach` hits first in a full sort's order, the rest after them, and sorts further as a cursor goes past them"; the painted targets' and the motions' own tests unchanged; root.zig names Pane.targets among the kept-out fields; core-test 1064/1234 (170 skipped), behaviour-test 280/280
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |
| |
| |
| |
| |
| |
| | |
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
|
| |/
|
|
|
|
|
| |
the user's own, so a builtin they reach routes as typed (walk UI P3 item 2, POLISH 14): Pick.asked, D's "never a 9P script's" test, read `p.fs.serving` alone, so `SPC f f` typed at /kbdin opened the query pane a script's Find opens (a +Search) where jumps walk, never the picker in the tag a user's keys open, and the S kit's screenshots of pickers had to go another way; THE FIX: the request's own flag `fs.typed` (authority-only, beside `serving`), set by ctl.writeKbdin and ctl.writeMousein for their keys and clicks, and Pick.asked is `walk and (not serving or typed)`: a script's Exec of the word still opens its +Search (whose rows it reads back), the write is still served as any (a grep the keys start runs to its end before the write is answered, as `serving` has it); TEST FIRST: test/behaviour/other_files.zig "kbdin's keys are the user's: SPC f f opens Find's picker in the pane's tag where jumps walk" (on the base: a +Search in /index); core-test 1062/1232 (170 skipped), behaviour-test 278/278
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| |
|
|
|
|
|
| |
walk (walk UI M3 item 2, pick-ui SPEC §7.2, §6.3, §7.3): Alt-Enter in a search (`/ ?`) or a sam prompt (`s S K A-K`) keeps the result as a list, a row a place (`path:line:col: text`, the text's leading blanks off, cut to 160 bytes, look.parsePathLine's form so the column lands too), the first Query.max_rows (2000) and a message saying how many there were past it: where jumps walk (Pick.asked: never a 9P script's) a picker of those rows (Pick.Source.list, titled by the prompt's plain word, `/dirty/` or `Edit x/dirty/`, cut to the picker's word at a character's start) in the tag of the pane its Enter lands in, the body as it was before the prompt, its Enter the list word `/dirty/ 3/7` in the trail; under `Jumps new-pane` a search keeps E's query pane (Query.open) and a sam prompt's selections are a +Search list (Output.fillResults), where before Alt-Enter in a sam prompt did nothing; the sam prompts' hints say `M-⏎ as a list` as the search's do; one owner for n and N (§6.3: the newest list or search word, or the one Looked at): a search's places answer n while they light its word (§7.3: tinted while it is the word n walks), so a list landed in the pane (Pick.listed, after Trail.through) puts a search's tints out, n then walking the list (D's walkList already gives way to a newer search word), and Look on the search word (Prompt.lookWord) lights it and takes n back; F's colors.previewTheme stays the one theme preview (no other in the tree; it is derived each step from the live themes picker, Pick.produceAll, so E2's `:theme ` either goes through Pick.Source.themes or derives it the same way); TEST FIRST: Prompt.zig "Alt-Enter in / or s keeps the result as a list ..." (failed before: no picker, Pick.live null), Pick.zig "n and N walk the newest list or search word, or the one Looked at ..." (failed before: the search's places still lit after the list landed, Pick.zig:1912, n stepping the search); E's `?` test loses its Alt-Enter tail (now in the new test, both routings), its `s` head test reads the new hint; five Query/Stream tests about today's query pane opened by Alt-Enter in `/` set `Jumps new-pane` (G's newpane.py); goldens: selregex and msg regenerated (process-test --update), each changed row the sam prompt's hint `⏎ select · M-⏎ as a list · C-r history · esc` and nothing else; tui core-test 1053/1223 (170 skipped, 0 failed); process-test 9 of 146 failed before the two updates: those two and item 1's seven left to item 3
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | | |
line F (wwqsrnol: registers, painted targets, hover and rename ghosts, the themes picker, the trail's fold), line E (tuwqwmlm: text prompts, in-body search and its word, recipes, pipes with ghost lines, Text.setRanges) and H's first fix (vxkunwvk: a refused load's rollback frees the namespace's opens once) merged, each conflict resolved by what both sides meant: TagState.Kind is {rest, help, describe, pick, rename, prompt} with D's `pick` and E's `prompt` fields both kept, its head's arms D's picker, E's prompt and F's Rename after A's describe; Band.takes and Band.of give E's prompt steps and F's rename none beside D's picker; keys.zig handleKey runs E's Prompt.keyAtRest (any key but a sam prompt's ends a recipe) before F's Esc that takes a hover away, and tagStateKey's switch has every kind (E's prompt first, unreachable after it); normal.zig's Esc is C's chain, whose first step (a search's tints) is E's first-Esc-clears-tints (the word stays in the trail, dimmed), and n/N step a search's places saying where (E's Prompt.stepped) before D's list walk (Pick.walkList); Trail.zig keeps G's lift and E's setWord, one wordOf (the step by pointer, D's and E's same fix, with F's fold count `whole`), F's `folded` and E's `spanOf` taking that count (Prompt.unlit too, so a dimmed search word is measured as the tag draws it, folded out of rest), and Look/Exec on a list word D's reopen/rerun, on a search word and a recipe E's; body_layer.zig renderBody paints F's targets in the gutter first (the ghost rows after them push them down with their lines), then C's message ghosts, F's hover ghost lines and F's rename preview, E's pipe ghosts staying after the cursor as E drew them, and keeps C's messageGhosts beside F's paintTargets, hoverGhosts, renameGhosts and their helpers; Pick.Source has G's `messages` and F's `themes`, neither among the spine's sources; root.zig exports Pick and Prompt; tests: F's registers test reads A2's single BAND_LAYER, E's echo checks read C's said message (Messages.saidBy) for the gone Pane.msg; the wire is ONE bump for the merged tree, 36 (A's 36, E's 37 to 39 and F's unbumped dump changes in one entry), test/daemon.py's WIRE 36; the five conflicting goldens regenerated (process-test --update), never hand-merged, and read against both sides (G/gkeep.py): fsearch and lookrange (E's `/` prompt in the reader's tag and its search word `/NEEDLE/ 1/2` in the trail in place of G's +Search query pane, the notice row echoing `/NEEDLE/ 2/2 · line 8`), msg (E's `s` prompt in the tag's head in place of the notice band's), pipe and selregex (E's prompts with G's Keep word and C's notice row); docs/typ/builtins-{tui,gui}.json regenerated: unchanged (the merge's are what the registry says); tui core-test 1051/1221 (170 skipped, 0 failed); process-test before the five updates 12 of 146 failed: those five, five more goldens the merge moves (tagnav, builtins, find, lsp-rename, lsp) and two cases of today's routing that now meet F's states under jumps walk (themesel: SPC t t is the themes picker; lsp-client-edit: SPC l r is F's Rename and its click lands a row up under the wrapped tag), left to item 3's reading pass
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| | |/
| |
| |
| |
| |
| | |
tag, the whole window wearing the theme under the cursor and no pane dimmed (every one flagged previewing), Enter wearing it, Esc putting the session's own back (pick-ui SPEC §5.1, §3.6, walk UI line F item 4): a source `themes` (Pick.Source; its rows the themes in their order, the cursor starting on the one worn; no reader, no acts, no other sources, no second row), its preview colors.previewTheme, the one function the `:theme ` argument rows can call too: Pardes.theme_preview over the session's theme in theme() and chromeTheme() (its chrome worked out once a theme, never a frame; nothing loaded, a ThemeFile and a custom theme untouched under it), set in the step of the key that moved the cursor (Pick.produceAll) and cleared at the roll-up; both fields on root.zig's kept_out list (derived from the picker's cursor, which the digest has); Themes from a 9P script or under `Jumps new-pane` opens +Themes as before; TEST: Pick.zig "SPC t t is a picker of the themes ..." (its host, the cursor on the worn theme, every pane previewing, Down wears the next with the session's unchanged, Esc, Enter); core-test 1027/1194 (167 skipped), 0 failed, load 8
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
| |/
|
|
|
|
| |
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]>
|