<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pardes.git/core/replica.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-27T02:24:00Z</updated>
<entry>
<title>Root, and the explicit root keys SPC f F, SPC f G and SPC :: Find, Grep and 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 &lt;line&gt;` 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 `&lt;root&gt;/a/b`, SPC : shows `: root` and its `pwd` a second command pane named `&lt;root&gt;` (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</title>
<updated>2026-11-27T02:24:00Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-11-27T00:45:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=24dc19130fd6a063bb7e86fa21a02d7af4c3b163'/>
<id>urn:sha1:24dc19130fd6a063bb7e86fa21a02d7af4c3b163</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>Pick: Find and Grep search from the asking pane's directory again, as a 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</title>
<updated>2026-11-26T23:06:45Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-11-26T22:48:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=8d2a064eb69a1f888c435c3a0e03468b59abbb0d'/>
<id>urn:sha1:8d2a064eb69a1f888c435c3a0e03468b59abbb0d</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>merge: L2a (tags, grips, band, notice onto chrome) + M2's fix + FP (PDF leaks, spawn stop, PDF hits)</title>
<updated>2026-11-26T14:29:40Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-11-26T14:29:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=3d60aa05ec1a6f9ed535186be6c6c2850c71b24d'/>
<id>urn:sha1:3d60aa05ec1a6f9ed535186be6c6c2850c71b24d</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>draw, colors, gui: the tags, grips, window and column rows and the notice row drawn from the chrome (the themes programme's L2a, DESIGN.md part F's L2a row, G1' and H): a tag's ground says focus only, two grounds (`chrome.on(.plain/.focus)`), a reading pane's on its focus's as a held one's, its mode on its grip; in a pane tag the trail, path, `Keep` and the user's text in the full ink (`text`, 7:1 where the gamut allows), its computed words (UX K'1, K'3) in the words' ink (`word`, 4.5:1), the basename in `name[g]`, its forward steps, fold and head hints `dim`, the walked word and the head's keys `key`, the head's error `severity[0]`, its own selection and a pointer sweep the ground's selection, window mode's outline the plain tag's selection whichever pane it is on (one outline walked from pane to pane), a hovered word its half selection (B5: `Selection.secondary`, new, the ground halfway to its selection, worked out with the ground's inks); the window row and the column tags on the page, no band and no focus, every word in `page.word` (a terminal's own page where the theme leaves it to the host: dark), their hovered word the page's half selection, a server's progress the page's dim ink; a column's grip `grip.column_rest` (2:1) at rest, `grip.column` (3:1) grabbed, never focus; the notice row on `status` (its ground, ink, dim and its lead's severity per ground); a pane's notice chips on the plain tag; the grid's grip (R5', R6): focused `grip.focus` with its glyph in `grip.ink`, or in `grip.mode_glyph` reading; at rest its ring `grip.ring` as the cell (the theme's own where it rings its grips, acme's #8888cc, lapis's #9aa6d9, where the cell was half that and the box's fill) with the tag's ink; reading unfocused the mode's mark `grip.mode` filled, glyph `grip.ink`; unsaved a bold `*` in `grip.ink` on `grip.dirty`; a message's mark in its kind's ink held on its fill (`Grip.marks`, new: each severity and the dim ink held at a theme change on the four fills a grid gives a grip, at rest and reading on the plain tag too, where a window draws them hollow), so the gui draws the cell's ink and its per-frame pushAway goes; both copies of `inkOn` deleted (draw.zig's, and the gui's use of pushAway); the rail's ticks the hit's and the current hit's (R8), the body's pan arrow the page's key ink, the debug box the rail and the tag's ink; the surface's chrome from the chrome alone (`tag_reading_bg` deleted, `tagline_bg` the page and `tagline_rows` over the column row too, so a window's underlay there is the page); the gui: no reading underlay, the column bar's focus cover and the reading cover gone (nothing reads them now), a column grip's band the page; Messages.ink deleted (`inkOn` takes a ground's inks or a fill's marks); THE BAND is untouched here (its inks are the next change's); RUN (TEST FIRST): draw.zig "a grip in the grid is the chrome's in every theme ..." (every theme in the ring, not the natives: focus, rest, mode, dirty, focused reading; the four each its own), "a reading pane's tag is on the plain or the focused ground, as a held one's; its grip carries the mode's mark ..." (acme, orchard, dark, neonotte84; held and reading, focused and not), "a pane tag's trail, path, Keep and the user's text are in its full ink, its computed words in the words' ink; the window row and the column tags on the page ... the notice row on its own ground" (dark: the host's page), each failing on the base (the old grip mix, the reading tint, the tag's own unheld ink on `Del`, the tagline ground); re-pinned: Trail.zig's reading-tint tests (the reader on the focused ground and its grip region reading, the held one plain), the name tint test (against the full ink, not ` Del`'s), Core.zig's window-row hover and empty column, replica's themed dump, test/column_drag.zig, test/panes.zig's tint tests (the name in `name[g]`, the words in `word`, the rest in `text`), the gui's mark test (the cell's ink, held by the core), look.zig's tag hover (the focused ground's half selection), behaviour's column-tag sweep (the swept cells the selection, the hovered word its half) and tags' tint (the directory in the full ink, the computed words in the words'); GOLDENS (36 of 103, orchard unless said), each moved cell read by goldsum.py/rowpairs.py against the base: (1) the window and column rows to the page: tagline #b2c3b8 on #1d2824 to page.word #788079 on #0d1410 (3932 cells in 33) and their blanks (1834), the active column's #becfc4 on #314738 too (1268); (2) a pane tag's computed words in `word`: plain #819188 (1607), focused #a1b1a8 on the focus ground #394440 (1088); (3) the focused tag's ground #314738 (the old focus tint) to the chrome's #394440 and its full ink #becfc4 to #cadbd0 (991), the name tint on it (701); (4) a reading pane's tint #2c2c0f gone: focused to #394440 (746 + 647 words + 101 names), unfocused to the plain tag (234 + 219 words + 50 names), the head's dim on it to the focused dim #8e9d94 (165), its key #bada9d to #add38a (28 + 6); (5) grips: a reading unfocused one's ring #465a43 to the mode's sky #3096c0 (10 + 2), a focused reading one's glyph black to `mode_glyph` #06779d (6); (6) the rail's current tick, the text #e5eee5, to the current hit #917a53 (8 + 1); (7) a server's progress on the window row, hint #b7cb98, to the page's dim #666f68 (135, callstack, lsprelpath); (8) a hovered header word, the full selection, to the page's half #24382c in page.word (9 + 2, load, windowops); the tag's selection's ink #f5f7ee to the focused ink held on it #cadbd0 (65 + 1, tagpath); (9) blanks only: the dump's runs carry a blank cell's ink from the cell before it, so blanks after `Del`, on a grip's second cell and the column grips show the new ink with no glyph (271 + 253 + 22 + 18 + 6 + 4 + 4 + 4); theme.golden and themesel.golden (24 themes each), the same classes per theme: the window and column rows on each page (dark's the host's: `d`), dark_plus's blue status bar now the notice row's alone (H), acme's cyan header rows on its page #ffffea in #74746a, the focused tag on R4's step (acme #d1e6e6, dark_plus #565656, light #d1cfdb), the notice row's ink `status.text` (the tag's held), paper's and solarium's on the lifted plain tag (H's 1.1), acme's and lapis's resting grip their own ring as the cell; mini, collapse, ninep carry the same in their 9P captures' style rows; GATES (tui): core-test 1155/1329 (174 skipped), pane-test 184/185 (1 skipped), process-test 0 of 103 failed with --update (36 re-recorded, read above); THE END GATE's finds, fixed here: shell-test's look.zig tag hover and behaviour's column-tag sweep and tags' tint asked the old looks (re-pinned above), and behaviour's window mode lost its outline walking from the focused pane to another (each tag's own selection differs by ground: the outline is the plain tag's selection on every pane now); the whole stack's gates are in its last change's description; load 2.5 to 9.5; OUTSIDE draw.zig/Messages.zig: core/colors.zig (Selection.secondary, Grip.marks/Fill/Marks, three hunks), core/surface.zig (Chrome's reading underlay gone, two docs), dev/gui/gui.zig (underlay, gripFill, mark ink, gripDecor's band, coverFrame, two tests), core/Trail.zig, core/Core.zig, core/replica.zig, core/look.zig, test/column_drag.zig, test/panes.zig, test/behaviour/columns_and_tags.zig, test/behaviour/tags.zig (tests), test/snapshots (36)</title>
<updated>2026-11-26T14:19:58Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-11-26T12:29:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=6b2b63f654561ba9d64c134e6ccc6c0784e15220'/>
<id>urn:sha1:6b2b63f654561ba9d64c134e6ccc6c0784e15220</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>merge: M2's fix (dump.load resolves the chrome) + FP (PDF preview leaks, the spawn stop, PDF hits ABI 3.4)</title>
<updated>2026-11-26T13:44:54Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-11-26T13:44:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=8723462d8e02bc9d78b5004de38b910e83540575'/>
<id>urn:sha1:8723462d8e02bc9d78b5004de38b910e83540575</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>dump, replica, fuzz: a core that dump.load returns has its chrome, worked out by the load itself, so it draws as it is (the merge M2's dump fuzz at 40,000 join seeds: join seed 8324 died of a general protection fault in draw.zig's render, the debug overlay printing `p.theme().name`, a slice at 0xAAAAAAAAAAAAAAAA); THE CAUSE: the chrome (`theme_chrome`) is local, never dumped (Core.zig's replica `.local`), and dump.load left it undefined for its caller to work out: a replica's join did, right after it (replica.zig `made`, finishThemeInitialization), a restore does in reviveSession; the fuzz's `use` draws the loaded core as it comes, so it drew from an undefined chrome: before L3 only colours (0xAA bytes, drawn unseen), since L3 (tlpklysz: Pardes.theme() is the chrome's old-names view, `ChromeTheme.view`, a LegacyTheme with its `name` slice) a slice too, which the overlay prints once a damaged dump reads `debug` on; THE FIX: `load` works out the chrome before it returns (finishThemeInitialization, one Chrome.of, at a join, never a frame), and the replica's own call after it goes; RUN (TEST FIRST): fuzz.zig pins join seed 8324 beside 19224, 31554 and 6356: on the merge (ytzwsyrm 8959b031dc33) it fails at draw.zig:430 (`General protection exception` in bufPrint), passes now; a user could not hit it: every path that draws a loaded core (a replica's join, a restore) worked out the chrome before its first frame; NEW HOT PATHS: none per key or frame; a dump.load works out one Chrome.of more (the replica's, moved here), and the tape's dump round-trip check (tape.zig) one per check; GATES (tui, this change on the merge): core-test 1162/1336 (174 skipped; the merge's 1155/1329 then had the importer's 7 cached by zig), shell-test 1377/1380 (3 skipped), pane-test 184/185 (1 skipped), behaviour-test 287/287 and --replay 20 seeds of 70 steps, 0 failures, process-test 0 of 149 failed (3 skipped), term-test 17/17, kitty-test 45/45; the gui unit-test 1988/1992 (4 skipped; its one failed step the perf check's BaselineHarnessMismatch, every base's); the dump fuzz at 40,000 join seeds twice and 1,779 image seeds 11/11 (on the merge alone it died at join seed 8324); the soak `replicas -- --clients 5 --rtt 30,80,207` (the pdf addon in): diverged 0, unequal 0, quiet checks 436/0 340/0 546/0, stops not on may_wait 0, the corpus 22 of 22 scenes the same, no leak (the same soak on the merge alone died at seed 0 rtt 30 of the known MuPDF leak, Pick.showKind's documents, F1's: it comes only when a client's picker previews a PDF); load 3.5 to 9.9</title>
<updated>2026-11-26T13:27:04Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-11-26T12:21:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=7911c53d5f08c7d8df3eb59061841daddb1d0e83'/>
<id>urn:sha1:7911c53d5f08c7d8df3eb59061841daddb1d0e83</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>exec, replica: a line run again in its directory's finished command pane waits for the session's order from the first line of that branch, at a stop may_wait lists (`run a command`), as a new command pane's run waits at `open a terminal` (agent T23's find: the no-pdf soak, seed 3 rtt 80, had one client key stop at `spawn`, which may_wait does not list, so the run failed); NOT AN ORDERING FAULT: the speculation was refused and rolled back as it should be (the reused pane's emulator writes refused by feedOutput, `a terminal's output`, and the spawn effect stopped by its host entry, a keeps_stopping one, which as the last poison names the stop), but it ran the reused pane's whole rerun first (its command line freed and set, its last run's errors taken out of the live messages, its diff output dropped, its mode, its /log notes), all of it rolled back, and named the stop by whichever refusal came last; a new pane's run (panes.newCommand) has always stopped at its first line; THE FIX: exec.runCommand's reuse branch asks `authorityOnly("run a command")` before it changes anything, and may_wait lists the stop on a new `On.command` (a pane in a directory with a finished command pane), which the walk stands in none of: the soak judges it by name, and the new test by its row; (a far client reaches that branch only where its speculation passes missingDir: a session whose host has no spawn entry, or a directory that is no local one, `/virtual/...`; elsewhere the directory's `kind` stops it first, as `Exec *`'s row says); RUN (TEST FIRST): replica.zig "a far client's line run again in its directory's finished command pane waits for the session's order, at a stop may_wait lists: ..." runs `Exec true` at the session (a command pane, exited and at its end of file), joins a client, and has the client run `Exec true` from the file's pane: asks one stop, at a name may_wait lists, then the session's order runs it again in that pane and the client agrees: fails on M2 (stopped at `a terminal's output`), passes now; a user could hit it as a far client rerunning a build from a finished command pane: the soak's failure only (the input waited a round trip either way, and nothing it changed outlived the rollback); NEW HOT PATHS: none (one flag read in a branch that starts a process); GATES: shell-test 1379/1382 (3 skipped: +2, this test and the preview one before it), the far-client tests 25/25 (the every-word-and-key walk among them, no row stale); load 4.7 to 6.8</title>
<updated>2026-11-26T12:41:32Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-11-26T12:41:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=0fb10f2748bc1593b9c0dda0e74b53cb66a69a95'/>
<id>urn:sha1:0fb10f2748bc1593b9c0dda0e74b53cb66a69a95</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>Kind, dump, replica: a plain kind's state opened or closed in a pane that stays (a picker's preview of a PDF, Pick.showKind; a file changed under its pane; an addon reloaded) is a write outside a client's rollback copy, so a client lets the copy go with that unit and never replays it over the copy (agent T23's find, which blocked the install: the soak `replicas -- --clients 5 --rtt 30,80,207` died with `allocator leaks detected` at seed 0 rtt 80 on T1's base and on M2, MuPDF's allocations of documents a picker previewed: contexts, documents, lanes, from Kind.reopen under Pick.showKind); THE CAUSE: no path of the preview forgets its close (the next row and a source change close through Pick.preview, Esc and every roll-up through restore and putBack, ⏎ through land's roll-up, a pane's end through teardownPane, the session's through Core.deinit; a dump carries the slot and the client's join opens it, closed the same ways), but replica.confirm's `ahead` rule: a client idle with its copy taken ahead (Replica.ready) replays the session's units on it and keeps each in `since` to replay again when the copy is put back, unless the unit wrote outside the copy (Pardes.outside, counted by the emulators alone) or opened or closed a pane (its serials); a preview opens the pdf addon's state in the pane the picker lands in, which stays, and that state (the document and its lanes, MuPDF's on the kind heap, the addon's `Own` found by its block's address) is no copy's; so a rollback (another's unit before the client's own key) put the copy back, the epoch freed the block, and the replay opened the document again for a new block: the first was never closed (and its `Own`, keyed by an address the epoch hands out again, could be found for another block); THE FIX: Kind.reopen and Kind.close count a plain kind's open and close in Pardes.outside, by the registry's PA_PLAIN, on every side alike whether the kind's code runs there or not (a client without the library counts as the session does), so confirm's one question lets such a unit go with the copy; dump.plainHere, a client's own open of a plain kind's pane at its join and no step of the session's, puts the count back to the session's as dumped; Term.Outside's and Pardes.outside's docs say so; RUN (TEST FIRST): replica.zig "a picker's preview opens and closes a plain kind's state in the pane it lands in, no pane opened or closed: ..." (a plain test kind `Owned` noting each state it opens and letting it go at its close, as the pdf addon's `Own`; files `.own`): a session at notes.txt in a work tree with paper.own, a client joined in its own view running the kind, idle with its copy taken ahead while the session types `SPC f f p` (the preview through the kind in notes.txt's pane), then a key of the client's own on top and the session's own key first (a rollback), the client's key, Esc; asks the digests equal at each end and no state left noted after both cores end: fails on M2 (8959b031dc33) at the last check (expected 0, found 1), passes now; the soak with the pdf addon (`zig build replicas -Dplatform=tui -- --clients 5 --rtt 30,80,207`, every addon the build has): diverged 0, unequal 0, quiet checks 508/0 474/0 665/0, stops not on may_wait 0, the corpus 22 of 22 scenes the same, no leak, the pdf panes the session opened 8, 6 and 5; a user could hit it as a client of a session whose picker previewed a PDF (a far client in a pair, a window joined to a terminal's session): a document leaked in the client at each rollback over such a preview, and pages drawn from another document's state where an address came back; NEW HOT PATHS: none per key or frame (a plain kind's open and close count one integer; a client lets its copy go at such a unit, as at a pane's open); GATES: core-test 1163/1337 (174 skipped: +1), its globals test (`nothing of a core is a process global`: the test kind's var in its test); no dump layout change (Pardes.outside was dumped and digested already; its values move at a plain kind's open and close, on every side alike); load 1.0 to 8.4</title>
<updated>2026-11-26T12:33:45Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-11-26T12:16:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=aa3ff349f840f568ea0f052c1f051cdc0dbb18c1'/>
<id>urn:sha1:aa3ff349f840f568ea0f052c1f051cdc0dbb18c1</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>merge (M2): W3+W3b lean chrome (krwnyllv 027c96360928) + L2cde/L2b/L3457 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</title>
<updated>2026-11-26T11:59:40Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-11-26T08:23:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=8959b031dc330b4da21c0e89e0831d6fadbcd757'/>
<id>urn:sha1:8959b031dc330b4da21c0e89e0831d6fadbcd757</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>tagline, layout, draw, mouse, edit, dump: one column, one row: the window row holds the lone column's words at its left (`New Term`) and the window's at its right end (`Find Grep Newcol Help Exit`, then `Restore &lt;dump&gt;`, then the user's text), and the column-tag row comes only with a second column (`New Term Joincol Delcol` over each), or a column tag holding the user's text (UX DESIGN K'2, binding; the user: "I liked C and D for the tagline like we could show the column tagline only when we have multiple columns"); THE OLD WAY: the window's and every column's tag were a row each whatever the window held, 2 of 20 rows at the demo's 84x20 before a line of text, their words their own text (`global_tag.own`, `col_tags[c].own`, or until edited the defaults `Newcol Joincol Find Grep Help Changelog Tutor Dump Themes [Fonts] Config History Debug Exit` and `New Term Find Grep Joincol Delcol`), and Restore's word swapped inside the window's own text (Core.pointRestoreAt); THE CHANGE: a header reads as a pane tag does since K'1, computed words, a blank, then the user's text (tagline.headerWords, headerText; config.window_words_str, column_words_str, columns_words_str; the old lists kept for the dumps and for /tagexec's refusal of pane words, ninep/cols.zig paneWord), the words read-only (edit.setEditTextSpan refuses an edit that changes them and their blank, editText edits the text as shown, flatSurface shows it), the keyboard starting on the user's text (enterHeader, as enterTag), Restore computed (pointRestoreAt keeps only the path); layout.columnBarHeight is 0 with one column and no column tag holding text (and with a window row to take the lone column's words: a native shell's window with none keeps the column row), layout.columnInWindowRow says the lone column's tag is in the window row; tagline.windowRow is the one rule for the window row's two sides, in cells (the column's text and its caret's cell from the inset; the window's text right-aligned, its caret's cell at the right edge, a server's progress after its text while one runs, tagline.sessionProgress; cells from glyphs by layout.tagCapacity's inverse), read by draw.zig (addRegions: a `.column_tag` region for column 0 in the window row, no grip; paintHeaders: the window row on the tagline's ground end to end, column 0's layer at its left in the row's inks, the window's layer from its words), mouse.zig (headerPoint and the press: the column's side, the window's, the blank between no one's), workspaceBlank (the inset and the blank between are the pixel shell's drag area) and root.zig's pixel grid (taglineOriginCol, gridColAt, the macOS fallback); Core.sync lets a column tag keep the keyboard in the window row; revealHeader scrolls each by its own side's width; flattenHeaders keeps the caret on its character in the text as shown; a 9P header write appends to the user's text and a truncation clears it, the words staying (ninep/cols.zig); Help's `topbar` annotation names the window row's words (root.zig shortcuts; docs/typ/builtins-tui.json from `zig build builtins-json`, builtins-gui.json the same 9 lines by hand); RESTORE: dump.dropOldTags also drops a window tag's own text equal to the old row (either build's, with or without its `Restore &lt;path&gt;`) and a column's equal to the old column tag, any other kept as the user's text; A FAULT THE ROW FOUND (core-test, ninep/tree.zig "random placements ... leave no pane under its tag and two rows", seed 30, 8 rows: Newcol with two panes at their minimum left `pane 2 h 2 min 3`): layout.keepColumn's trial shares a column's rows out again for the new layout and, refused, dropped the column but kept the trial's shares, so the column's panes came back on the old height with the trial's weights, one under its minimum; a column row that comes with a second column now makes every refused Newcol in a full column take that path; THE FIX: keepColumn puts every pane's weight back when it refuses (a user could hit it before this change too, where a narrower column wrapped tags); TESTS (FIRST): layout.zig "the column row comes with a second column and goes with it, the panes giving it and taking it back; a column tag with the user's text keeps it (UX K'2)" (one column: no row, the pane at row 1; Newcol: the row, both columns' panes at row 2; Delcol of the second: the pane's rect back as it was; the user's text keeps the row alone, emptied it goes), mouse.zig "one column's words at the window row's left and the window's at its right each run their own; the blank between is no one's (UX K'2)" (windowRow's sides at 100 columns; B2 on New makes a pane in the column; B2 and B1 on the blank nothing; B1 on Term gives the column's tag the keyboard there, its caret on the cell; B2 on Newcol at the right a second column), tagline.zig "a header reads its computed words, then the user's text: typed there, kept through a change of its words (UX K'1, K'2)" (typed at the start, a Backspace into the words refused, Restore coming in before the user's text, Joincol Delcol into both columns' words with a second, Newcol's tag typed into), "a dump of a build before UX K' restores a header's old default own text as none, any other as the user's (UX K'1)" and "the window row is blank at its inset and between its two sides, and nowhere else (UX K'2)"; TESTS CHANGED, each for the row or a word that moved: Core.zig the Restore word (computed, the user's text after it, across a Restore), editable headers (a sweep over the window's words, `a` into them refused, typed after them; the column's tag typed into at the window row's left brings the column row, emptied it goes, the keyboard staying), topbar hover (each side's first word), the short screen (sync before presenting the user's text); tagline.zig flattening (the caret on `a` of Snarf in the text as shown); keys.zig (W4's file, the test only: `s` in the window tag finds `i` twice, Find and Exit); Handover.zig (a column carried by its grip: a second column first, the grip is in the column row); replica.zig (the kind's pane under one row of body: 4 rows, not 5); ninep/cols.zig (the column's and the window's tag read, cleared and appended to after their words); root.zig (the window row's blank on the body's grid, its words compact from their origin); dev/gui/gui.zig (L2cde's file, the test only: the window's text starts at windowRow's words); test/panes.zig (a header's click past its words), test/column_drag.zig (the tags compared by their own text: columnTag now builds in the step's scratch), test/hxdiff.zig (25 rows give helix's 22: one row of chrome less); BEHAVIOUR: columns_and_tags (the window's words at the row's right end; a lone column's tag `New Term `; a click past it on its caret's cell types the user's text and brings the column row, the pane's tag under it, and a wider run of 界 to scroll it; Help, not Tutor, for Tab from the window's tag; a column tag typed into after its words), keys (zz at 80x24 for a view of 21 rows), modes (`b` from the column tag's user text onto its words), tags (the user's text in a column tag brings the column row: the pane one row lower); addons/{fake,life,pdf,snake}.out re-recorded (each kind's window one row taller); PROCESS: 27 waits on `Newcol Joincol` now `Newcol Help Exit`; Dump (dump, load, restore, headersweep-restored), Debug (topbarexec, windowops) and Tutor (tutor), which left the window row, typed into its own text after its words (B1 on Find, A, the word, Esc) and run there by B2; headersweep types after the window's words with A (a click at a column now inside them) and sweeps the second column's `New Term`; tagnav enters the column tag on its user's text (`b`, not `w`) and types Dump into the window's own text, its five B from `$` having run Themes in the old golden, not the Dump its comment says, now one B and Dump, and three B onto Restore; and every click on a row under the column row of a one-column session one row up (the window row's own clicks unchanged), each checked against its old golden's screen, the lower pane's rows staying where the extra row went above them (diffview's last look); GOLDENS: 101 re-recorded (ttyhelp left as it was: the change after this re-records it), every snap checked by a script against its old screen (each text row the same or one row up, the caret the same or one row up), every move one of: the window row's new words (the lone column's `New Term` at the left, the window's at the right end), the column row gone with one column (every row under it up one, one more text row at a foot), the column tags' words, Help's `topbar` annotations gone from the words that left, a header's caret on its user's text (emptycol, layout-close, tagnav), a nested session two rows (nested-optout), the typed Dump, Debug and Tutor in the window row; GATES: core-test 1130/1303 (173 skipped: +4, ssonuoyn 1126/1299), shell-test 1351/1354 (3 skipped: +1), pane-test 183/184 (1 skipped), behaviour-test 280/280 and --replay 20 seeds of 70 steps 0 failures, process-test 1 of 147 failed (ttyhelp: this change moves it too; the change after this re-records it; 3 skipped), term-test 17/17, kitty-test 45/45, the gui unit-test 1954/1958 (4 skipped, none failed; ssonuoyn 1949/1954; its one failed step the perf check's known BaselineHarnessMismatch); the two tagline.zig tests on the base (ssonuoyn, the tests alone): both fail, the header's at its first question (`Newcol Joincol Find Grep Help ...` where `Find Grep Newcol Help Exit ` is asked), the dump's at the window's old row restored as its own text (the layout and mouse tests ask for windowRow and columnInWindowRow, which the base has not); the dump fuzz at 40,000 join seeds twice and 1,779 image seeds 11/11 (no field changed; the header rows change the layout); the soak `replicas -- --clients 5 --rtt 30,80,207`: diverged 0, unequal 0, agree/differ 491/0 338/0 522/0, unlisted stops 0, the corpus 22 of 22 scenes the same, no leak; no frame/perf gate (the coordinator's, at the programme's end); load 2.0 to 14.8</title>
<updated>2026-11-26T06:56:56Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-11-26T05:19:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=ac39b5e4f80e1903abccd1e003850e9691e61022'/>
<id>urn:sha1:ac39b5e4f80e1903abccd1e003850e9691e61022</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>
