<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pardes.git/core/panes.zig, branch main</title>
<subtitle>Pardes</subtitle>
<id>https://git.0x4200.cafe/pardes.git/atom?h=main</id>
<link rel='self' href='https://git.0x4200.cafe/pardes.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/'/>
<updated>2026-11-26T22:47:41Z</updated>
<entry>
<title>exec.runCommand: the same command line run again in the same directory takes the errors of its earlier run whatever pane ran it, as its own pane's next run takes them (SPEC §11: a build's messages die at its run's next run; UX DESIGN H: an error lives until Esc, the next error or its pane's next run): a run that went to another pane, the failed one still printing a job's output, leased by a 9P open, or in another column, left the failed run's ✗ and notice row up (VIDEO2's B9, agent V5: after the fix, a successful `make ... run` from another command pane left the tag's ✗ and `✗ @p10 make exit 2 …types.cc:163:53` on screen); THE DESIGN: silent on a run in another pane; the coordinator's ruling (the user's, 2026-11-26: acme's semantics kept): the narrowest rule, the same command pane's next run (built already) or the same command line run again in the same directory, over a wider "the same program anywhere"; so V5's exact sequence (`make` in /tmp/v8 failing, then `make -C ../.. run` from /tmp/v8/src/torque passing) still keeps the error until Esc, `make` run again in /tmp/v8, or the next error; THE CAUSE: runCommand retired the errors of the pane it reused alone (exec.zig:771); THE FIX: retireRuns, as a run starts in a reused pane or a new one: the errors said of that pane, and of a command pane whose command line and directory are this run's; a run in a pane since closed keeps its error (no line to compare: its words are cut at 64 bytes); no dump, digest, frame or hot path touched (a loop over the 16 live messages as a command starts); RUN (TEST FIRST): panes.zig "the same command line run again in the same directory takes its earlier run's error ..." runs `make` (an error, exit 2, its pty still open), then `make run` (exit 0: the error stays), then `make` again, which goes to a pane of its own: asks no live error and no mark on the failed pane: fails on yvtlyxxs 87822a49e691 at panes.zig:2047 (the error live), passes now; the existing "... the pane's next run takes it away" passes; a user hit it whenever a rerun could not reuse the failed pane (a job left printing, `make &amp;`, a column's tag); GATES (Debug tui): shell-test -Dtest-filter=run 130/130, core-test 1165/1342 (177 skipped; the importer's 7 cached: 1172/1349 with them, the new test needing a terminal +1); load 1.5 to 2.6</title>
<updated>2026-11-26T22:47:41Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-11-26T22:47:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=a88ea865f116469689c62454facde811bdb37ce6'/>
<id>urn:sha1:a88ea865f116469689c62454facde811bdb37ce6</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
</content>
</entry>
<entry>
<title>Messages.readPlaces: a failed run's places are read against the directory its tool says it is in, as Emacs's compilation mode and Vim's errorformat (%D, %X) read them: after a make's `Entering directory 'X'` X's, until its `Leaving directory` (a make -C, a make in a make), after ninja's relative `Entering directory `out/x64'` the run's directory's out/x64; those lines are no detail (VIDEO2's B7, agent V5: `:make -C ../..` from V8's src/torque failed naming `src/torque/types.cc:163:53`, read as /tmp/v8/src/torque/src/torque/types.cc, so SPC e could not go there); THE CAUSE: readPlaces joined every relative path to the run's own directory (Pane.commandDone passes pane.cwdSlice()), and make's `make: Entering directory '/tmp/v8'` (and its Leaving) went by as rows; THE FIX: readPlaces keeps the directories entered, innermost last, in a fixed [8] (past it the depth still counts, so each Leaving leaves its own), and joins a relative place to the innermost (to the run's directory and it when that one is relative); no other reader of places, no dump, digest, frame or hot path touched (a failed run's last 400 rows, once at its exit); NOT COVERED: a Look on the same `path:line:col` words in the command pane's body still reads them against the pane's directory (look.zig), and a report row longer than the pane is wrapped by the terminal, its continuation read as a row (the long clang line of this change's first test gave its tail as detail: the test's line is shortened); RUN (TEST FIRST): panes.zig "a failed run's places are read against the directory its tool says it is in ..." runs `make -C ../..` from /tmp/pardes-cmd/src/torque and feeds the pane make's report: Entering /tmp/pardes-cmd, an error at src/torque/types.cc:163:53, make[1] Entering tools/ with a warning at check.cc:3:1, its Leaving, a note at utils.cc:7:2, make's Leaving, a note at types.h:1:1; it asks the four places /tmp/pardes-cmd/src/torque/types.cc:163:53, /tmp/pardes-cmd/tools/check.cc:3:1, /tmp/pardes-cmd/utils.cc:7:2, /tmp/pardes-cmd/src/torque/types.h:1:1 and no detail: fails on mnywmkpn 06c9201b3bea (the four read as /tmp/pardes-cmd/src/torque/src/torque/types.cc, .../src/torque/check.cc, .../src/torque/utils.cc, .../src/torque/types.h), passes now; Messages.zig's readPlaces test gains ninja's relative directory (`/src/v8/out/x64/../../src/api.cc`); a user hit it with every make -C or recursive make whose report names a relative path (and ninja -C, V8's own build); the real check (make 4.4 and clang++ on .scratch/walkui/CA/demo, this tree's Debug tui in a private session): see CA's report; GATES (Debug tui): shell-test -Dtest-filter=directory 79/79, core-test 1172/1348 (176 skipped: the new test needs a terminal, +1); load 1.5 to 7.5</title>
<updated>2026-11-26T22:43:00Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-11-26T22:43:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=87822a49e691c31566f257765dbcae5eeffc89dc'/>
<id>urn:sha1:87822a49e691c31566f257765dbcae5eeffc89dc</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
</content>
</entry>
<entry>
<title>mouse, TagState, keys, draw, Pick, exec, panes, Trail: the mouse never ends 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</title>
<updated>2026-11-26T14:40:58Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-11-26T14:37:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=e9991ca68067ee835af43868a193e8e6bd5dd420'/>
<id>urn:sha1:e9991ca68067ee835af43868a193e8e6bd5dd420</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
</content>
</entry>
<entry>
<title>Band, sync, draw, layout, mouse, File: the text stays put under the band: 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</title>
<updated>2026-11-26T00:57:19Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-11-26T00:19:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=8e1526a71a74447cbba9f5487ef72d9feccfc0ed'/>
<id>urn:sha1:8e1526a71a74447cbba9f5487ef72d9feccfc0ed</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
</content>
</entry>
<entry>
<title>panes, Messages: a failed run's error names that run's places, each once: a rerun in the same command pane no longer reads the run before it again, and a note at an error's place is not a second place (V2's video, pardes bug 3: after a code action put a line above report.zig's error, a save and `:zig build` again, line 11 still carried `✗ local variable is never mutated` from the build before, and the notice row read `…report.zig:11:9 · …report.zig:11:9 · …report.zig:12:9…`; a rebuild with no edit `…11:9 · …11:9 · …11:9…`); THE CAUSES: the rerun does take the pane's last error away (exec.zig, the same pane, @p2, reused), but Pane.commandDone read the places from the terminal's last 400 rows, which hold the runs before it in that pane (the pane is reused and keeps its rows), so the new error named the old run's places first (the walk landing on the stale line, its words drawn there); and Messages.readPlaces kept every place row, so zig's `note: consider using 'const'` at the error's own place was a second place (`1/2` and `2/2` on one spot, even in a first run); THE FIX: commandDone reads the rows after the run's own `% line` (exec.echoCommand writes it above every run; all the last 400 when it is further up: they are all this run's); readPlaces keeps a place named again (same path, line and column) once, the first's words; RUN (TEST FIRST): reproduced with the installed build in VIDEO's kit (a probe: `11:9 · 11:9` after the first build, `11:9 · 11:9 · 12:9 · 1…` after the edit and rebuild, line 11's stale words); panes.zig "a failed run's error names that run's places, each once: ..." feeds a command pane zig's minimal report for report.zig:11:9 with its note, exits 2, reruns it in the same pane with the report at 12:9, and asks each run's error for exactly its one place, its words and its two detail rows: fails on the base at panes.zig:2029 on the first run (`11:9 11:9`), with readPlaces' fix alone on the rerun (`11:9 12:9`), passes now; the probe with this stack's build: one place each run, the walk on 12:9 after the rebuild, line 11 bare; a user hit it on every rerun of a failing build and with every compiler that adds a note at its error; shell-test -Dtest-filter=place 97/97; load 0.71</title>
<updated>2026-11-25T20:22:04Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-11-25T20:22:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=6ef1941324aa578750d54567c1ed201ad36412b8'/>
<id>urn:sha1:6ef1941324aa578750d54567c1ed201ad36412b8</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
</content>
</entry>
<entry>
<title>Trail, panes: a walk step never closes a file with unsaved changes, whatever changed it: the pane is held as Keep holds it and the step opens in its reader; and a held pane's reader with unsaved changes is held, not closed with it (the coordinator's structural item after D1's c1: an Edit in a reading pane, then a Look, closed the edited file and lost its change without a word, because every path that changes a file's text had to remember Trail.edited and one forgot); THE CAUSE: Trail.show, the one place a step leaves a file (deinitPane of the pane it replaces), and removePane's tether (a held pane's reader closes with it, SPEC §11) both trusted `held` to say whether the text was the user's, and `held` is set only by the paths that call Trail.edited: File.load holds no pane (the Edit command's way before D1's xtvnwlpo), and Trail.edited holds nothing under `Jumps new-pane`, so a file typed into there is a reading pane again once the session walks; THE FIX: Trail.show reads the text itself (tagline.dirty, the tag's own unsaved mark: a saving file whose revision is not its saved one, or whose file left the disk): a pane it would close holding such a text is kept (Trail.keep) and the step goes where a held pane's jump goes (look.open from it: its reader, made under it; a line past that file's end closes the new reader again and is the miss it was); removePane holds such a reader instead of closing it; D1's c1 stays (an Edit holds at once, so the pane's tag shows it held before any step); RUN (TEST FIRST): Trail.zig "a walk step never closes a file with unsaved changes: ..." changes a reader's text (rank.zig, the Fixture's held pane's reader) by seven paths, then a Look from it at place.zig:8, and asks rank.zig still open with its change, held, and place.zig in its reader: a 9P write to /pane/N/body, an Edit, a pipe `x|tr a-z A-Z` answered, a language server's edit (Ask.applyAction), a paste, a text typed under `Jumps new-pane` with the session then walking, and a new text put in by File.load; on M12 the first five hold already (each calls Trail.edited) and the last two lose the change (`typed_unwalked: the changed rank.zig was closed by the step`, `load: ...`, expected 0 found 2 at Trail.zig:1270); with show's fix the test's last part, the owner closed while its reader holds a File.load's change, fails at Trail.zig:1296 (the reader closed with it); both pass now; a user could hit it after setting `Jumps walk` in a session with an unsaved file (and, before D1's c1, after any Edit), or with any future path that changes a text without Trail.edited; core-test 1109/1280 (171 skipped: M12's 1108 + this test), load 1.1 to 3.6</title>
<updated>2026-11-25T18:14:26Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-11-25T18:08:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=514b1ed385cdc2618e68ce13b371f6488a5ee504'/>
<id>urn:sha1:514b1ed385cdc2618e68ce13b371f6488a5ee504</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
</content>
</entry>
<entry>
<title>panes: a failed run's message detail is the tool's lines alone, never pardes's own `exit N` under them (UX F2, S2's item 8 reversed by UX2): commandDone fed the run's `exit N` line into the pane, then read its last 400 rows for the report's places, so the detail under the place's line (K, SPC e) ended with `exit 1` (S2 09c), the command's status, which the command's tag and the notice row already say and which in a two-error build hung under the last error only; the rows are read before the status line goes under them (blank rows were never kept: readPlaces skips them); TEST FIRST: panes "a command whose run fails naming places ..." asks the detail to be the report's one line (shell-test, a terminal's: fails on the base at panes.zig:1986, expected 1 row, found 2); a user saw it under every failed build's first error</title>
<updated>2026-11-25T17:32:15Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-11-25T17:24:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=da3bc8e006f86889f7abfd55168ce29f1a01e554'/>
<id>urn:sha1:da3bc8e006f86889f7abfd55168ce29f1a01e554</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
</content>
</entry>
<entry>
<title>panes, views, dump: a band's rows are dumped and digested as the tag's rows are, so the layout a load's next step makes is the never-loaded session's (G4's soak, run 1: seed 1 rtt 30 client 3, `views[0].rects` alone at unit 0/1591, "digest 0 differs", once in 36 seed-runs); TEST FIRST: views.zig "a band its sync held short under a tag of two rows, dumped and loaded: its rows are the never-loaded session's, and so is the next layout" (40x18, a scratch pane under the file's, SPC Down: the band held to 6 of the 11 rows it wants under a tag of 2 rows, so the pane's tag rows 8; byteDump, load: on the base `expected 6, found 7`, and with that check left out the next step (a taller window) laid the host out 30 rows high where the session that never loaded laid it 33: `views[0].rects`); THE CAUSE: `band_rows` was derived (kept out of the dump and the digest) and a load made it again in views.bandsLoaded as `@min(Band.takes, tag_rows - 1)`, while Core.sync makes it `@min(Band.takes, r.h - the tag's own rows - Band.body_rows)`: where sync held the band short under a tag of two rows or more, the load's came back larger, and layout.floorRows, which reads the last sync's (`above = tag_rows - band_rows + Band.takes`: the tag's own rows as their difference), worked out a smaller floor for the band's pane: the next layout (every sync's first act, and every view unparked: views.unpark) borrowed fewer rows from its column than the session's did; the tag's own rows cannot be worked out again from its dumped rows once sync held the band short (they are then `r.h - body_rows`, whatever the tag's own); THE FIX: `band_rows` is in the dump and the digest, in the pane and in each view's share, as `tag_rows` is (only Core.sync writes it, a step), and views.bandsLoaded with its call in dump.afterLoad is deleted (P1's panic fix: the draw before a load's next step reads the dumped rows now; the draw's MAX_TAG_ROWS bounds stay); root.zig's kept_out loses its `band_rows` line; P1's test keeps its checks (the band's rows after the load equal, the draw, the bound), its name says "as dumped"; a dump of an older build has no `band_rows`: 0, which a build with no band had; a user's client could diverge (and be joined again) after a rollback or a join while a band was held short in a short column; core-test 1084/1255 (171 skipped)</title>
<updated>2026-11-25T12:49:26Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-11-25T12:49:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=1902703adec3e8461d623fe6e867bc8adb1e52e0'/>
<id>urn:sha1:1902703adec3e8461d623fe6e867bc8adb1e52e0</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
</content>
</entry>
<entry>
<title>syntax, body_layer, panes, normal, root, Names, Pick: `]`'s painted targets 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) -&gt; 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) -&gt; 41,394,164 (2,416 us, the rest is the scorer's); pick Down + frame 1,358,803 -&gt; 1,356,960; pick preview tick + frame 2,357,436 -&gt; 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</title>
<updated>2026-11-25T08:52:41Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-11-25T08:52:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=18043e845b39ac63dfe4416787e5cf6476ce8434'/>
<id>urn:sha1:18043e845b39ac63dfe4416787e5cf6476ce8434</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
</content>
</entry>
<entry>
<title>Trail, panes, test/process/window: a pane keeps its number when it walks to another file (walk UI P3 item 5, the coordinator's R9): Trail.show stepped a reading pane in place by opening the new file as a new pane in a free slot, so it took a new serial (B's decision) and `@pN` words, a 9P script holding /pane/N (the frame corpus died on `/pane/N/look: NotFound` and ran under `Jumps new-pane`) and /log's followers (a `del` and a `new`) all lost it; NOW the pane is the same pane on another file, as acme's Get keeps a window's id: the new file's pane takes the old serial and its 9P state (std.mem.swap of `fs`: the opens' event queue, readers, ranges; the old one, never announced, leaves with no record), /log hears `rename N path`, Recent the file opened (the one it left is noted closed with its place, as any close), what jj answered for the file it left goes with it (jj.forget at the step; panes.teardownPane forgets a serial only when no live pane has it), and its text's revision is the left one's plus one, so a worker's parse or paint asked of the old text (both keyed by serial and revision) never lands on the new; the frame corpus (test/process/window.zig) runs under the walk default again: its file pane's Look at notes.md steps it in place and a Look at shapes.zig walks it back where it Del'd notes.md; TEST FIRST: test/behaviour/look_and_exec.zig "a reading pane that walks to another file is the same pane: its number, an open of its files reading the new text, /log's rename for it, the file it left in Recent" (on the base: expected 3, found 4); core-test 1063/1233 (170 skipped), behaviour-test 280/280, pane-test 183/184 (1 skipped); the corpus's frames under walk: in the final gate's report</title>
<updated>2026-11-25T08:17:57Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-11-25T08:17:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=61c40ab7cffc64a11cb5e874eec9568ed06ad95b'/>
<id>urn:sha1:61c40ab7cffc64a11cb5e874eec9568ed06ad95b</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
</content>
</entry>
</feed>
