| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
| |
colours, `hit` and `hit_current` (Chrome's, read through p.chrome() as each pane of a kind is painted), and a PDF's search draws its hits in them, the current hit apart, where every hit was the literal amber #ffd54f (the colour line's leftover, themes DESIGN.md part F, L2e's row "PDF hits", B8's `PDF's ffd54f -> chrome.hit`: "current hit" had three colours, the body's, the rail's and the PDF's); THE ABI: pa_window gains `uint32_t hit, hit_current` at its end (24 to 32 bytes, the header's and Kind.zig's size checks), PA_ABI_MINOR 4; an addon reads them once `api->abi >= 0x30004`, so one built against 3.3 loads, opens and paints as before (the core refuses another major only, and reads nothing new of an addon), and one built against 3.4 under an older pardes is handed the amber its PDFs drew (abi/addon.zig's Window, filled by the glue); WHY THE WINDOW, NOT THE VIEW (pa_view, where fg, bg, sel and link are): a view's facts are a step's (`view` is on the tape, and a plain kind keeps them in its block: the pdf's Layout holds the whole pa_view), so two more colours there would grow the pdf's block, and an Upgrade's revival hands `load` the old block, whose size it would refuse, every open PDF a placeholder; the hits are drawn by paint alone, which writes nothing a step reads, and the window is made each paint; THE CORE: Kind.paint fills them, the theme colour's PA_RGB by Kind's one `rgb` (viewOf's, out of its function); THE PDF: paint hands its window to reconcile, and marksOf marks each hit of the page in `win.hit`, those of the current hit (`find.hit`, its quads) in `win.hit_current`, at the alpha they had; THE FAKE: paints `hits rrggbb rrggbb` on its fifth row (since 3.4), and is built once more with its head saying 3.3 (`fake_addon_old`, named fakeold); addons/fake/fake.out re-recorded (that row in each of its 11 frames, `hits 5e4923 917a53`, the addon test's theme; nothing else moved); docs/typ/reference.typ's paint says it; RUN (TEST FIRST): behaviour/addons.zig "addons: a kind's pane is painted with the theme's search hit colours, the current hit's apart (ABI 3.4), and a library whose head says 3.3 still loads, opens and paints": acme's `hits ffc790 a05200`, then neonotte84's `hits 4c301a e59d3c`, then fakeold listed `3.3 ... loaded` and its pane's `count 0`: with the header and the fake alone fails (the core's window `hits 000000 000000`), passes now; pdf.zig "a search's hits are marked in the theme's hit colours its window is painted with, the current hit in the current hit's (ABI 3.4)": a page's three quads, the second hit's two current: fails with the amber (expected 4c301a70, found ffd54f70), passes now; the ABI the addons say in /addons moves to 3.4 in five behaviour checks; a user saw every PDF hit amber in every theme and the current one no different; NEW HOT PATHS: per frame, per pane of a kind painted, two colours packed from the chrome (no allocation, no derivation: Chrome's resolved fields); none per key; GATES (the stack kysrwqpz, rqlxkzuq, this, Debug): core-test 1163/1338 (175 skipped: +1 skipped, the rerun test needs a terminal), shell-test 1379/1382 (3 skipped), pane-test 184/185, behaviour-test 288/288 (+1) and --replay 20 seeds of 70 steps, 0 failures, process-test 0 of 149 failed (3 skipped), term-test 17/17, kitty-test 45/45, addon-test 157/157 steps, 8/8 tests (fake.out, snake, pdf and their own tests); the soak with the pdf addon on this top found a second preview leak, pictures (the next change); the 40,000-seed dump fuzz crashed at join seed 8324 in draw.zig's Debug overlay (a General protection exception printing a string from a damaged dump), whose dumped session has no kind, no command pane and no window: these changes move none of its bytes (see the report); pdf-harness tui fails `KittyPdfBoundaryPageMissing` on M2 alike (8959b031dc33, run here), not this change's; no dump layout change (the window is made each paint); load 4.5 to 12.5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| |
|
|
|
|
|
| |
retired, each name standing for its successor wherever it is still read (the themes programme's L7; DESIGN.md E, F): GONE: 28 helix sources (base16_default_light, base16_terminal, base16_transparent, bogster_light, cyan_light, eldritch_transparent, gruvbox-material, hex_lavender, hex_poison, ingrid, iroaseta, nord_light, nyxvamp-transparent, peachpuff, the six helix seoul256s, term16_dark, term16_light, tokyonight, ttox, ttox_soft, vesper-transparent, zed_onedark, zed_onelight), zed's ayu.json and gruvbox.json (every variant in them retired: ayu_dark/light/mirage_zed, the six gruvbox_*_zed) and their licences (ayu.LICENSE, gruvbox.LICENSE: zed's, covering those files alone; helix's licences each cover a kept theme), seoul256's 238, 239, 252 and 253 (their rows, their citations, their lines in its G4 block); vendor/themes/base/ holds the retired three kept themes inherit from (ayu_dark_helix, hex_steel, nord_helix; the designer's list named seven, but no kept theme inherits seoul256_dark/_light, term16_dark or zed_onedark once their children retire), passed to the generator as `base=<path>` (build/core.zig `vendoredThemes` per directory), read for `inherits`, never rung; THE SUCCESSORS: `colors.retired`, 44 names and the kept one each stands for (the kept twin, the nearest kept seoul256 step, dark or light for the terminal-colour themes, the default where there is none: ingrid), read by `successorOf`: a `Theme` (an init file's line, a click, a /ctl write) naming one wears its successor and says so once, as a notice: "Theme gruvbox_dark_zed was retired: gruvbox instead" (exec.applySettingBuiltin); /ctl takes such a write (ctl.zig); a dump or Restore naming one restores its successor (`colors.restoredIndex`, dump.zig's two readers, which said the same loop twice; one this build has nothing of keeps the theme in effect as before, else the default by name, where it was index 0, dark's now); an unknown name keeps today's path and words; THE RING TEST'S LIST: empty, so gone (`ring_expected` and its bookkeeping: every theme in the ring passes every floor it is held to, or the test names it); RUN (TEST FIRST): colors.zig "a retired theme's name stands for its successor in an init file and a dump, said once; an unknown one leaves the default, in today's words" (an init `Theme gruvbox_dark_zed`, `Theme TTOX` (any case), `Theme ingrid` and `Theme no-such-theme`: gruvbox, dark, orchard and orchard, each with its one message; a dump of a session in acme with `ttox` put in for its theme's name, as an older build's: restored in dark): fails on L5 (gruvbox_dark_zed still in the ring, worn as itself), passes now; "every retired theme's successor is in the ring, and no retired name is" (44); the ring test: 245 of 245 themes pass every floor (289 at L5, 44 retired); "seoul256's eight backgrounds ring in their order"; the G4 test holds every port's file; core-test 1142/1315 (173 skipped: L5's 1140/1313 + the two retirement tests); OUTSIDE my files: build/core.zig (`vendoredThemes` per directory, the base arguments), core/exec.zig (`Theme`'s retired branch, 7 lines), core/ninep/ctl.zig (1 line), core/dump.zig (its two readers, `restoredIndex`); the dump's bytes and layout unchanged and a name in this build's ring restored as before (restoredIndex's first loop is the old one), so a join or a restore within a build never reaches the new branches: no fuzz or soak
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| |
|
|
|
|
|
| |
(the themes programme's L4; DESIGN.md B7, R3, E1): HELIX: the text the theme draws code in, `variable` where it is a neutral ink (OKLab chroma under 0.04) that reads 4.5:1 on the page, else `ui.text` (github's muted #8b949e gives way to its #c9d1d9; github_dark_dimmed's 3.9:1 to 7.6:1); the tag the inactive status bar where the theme has one, the active one its focused tag where it is tone on tone, the tag's ink the status bar's (an inactive bar's is often faded, neonotte's #555973); the four severities from `diagnostic.*` (often an underline only, no fg) and the plain `error`/`warning`/`info`/`hint` scopes, error else the theme's own palette red (UX E3), never the terminal's guessed one; `added`/`deleted` from `diff.plus`/`diff.minus` where they are a green and a red (each a hue, within 60 degrees: a grey, a yellow deleted or a tritan blue cannot be told apart as R10's rows: ashen, wolf_alabaster's four, zenburn, github_light_tritanopia and modus_operandi_tritanopia failed the ring's diff check on them, and keep pardes's); the caret's line number from `ui.linenr.selected`; a program's sixteen from the theme's own palette where it names red, green, yellow, blue, magenta (or purple) and cyan (or aqua), their light or bright ones, black, white and a grey (else the page, the ink, the comment), else null for R14; ZED: the active tab the focused tag, error/warning/info/hint, created/deleted (the same green-and-red rule), the search match as drawn (its alpha over the editor's page, not dropped), the active line number; R3, THE IMPORT RULE (L1 left it to the importer: a theme carries no import flag): a status bar on the other side of light from its page is no tag: the tag is the page a 1.15:1 step off in its own hue (its light scaled), in the text; E1's import FIXES, a table in the generator (a name no vendored theme has is a build error): everforest_light's and hex_toxic's search hit, their own yellow as a ground their soft text reads on (#ffe699 1.14:1 off the page, the text 4.53:1; #2f3200 1.11:1, 4.27:1; R8 takes it at R0's 1.1:1 with 0.08 OKLab, L3); the generator does the little colour maths it needs (luminance, contrast, OKLab a/b, the step), the dependency-free host tool it was; across the 203 imports: 202 errors, 202 warnings, 196 infos, 198 hints, 178 added/deleted pairs, 195 caret line numbers, 59 focused tags, 13 hits of their own; RUN (TEST FIRST): tools/gen_themes.zig's own tests, a minimal toml or json each, now in core-test (build/tests.zig, on the host): "B7: the text is helix's `variable` ...", "B7: the tag is the inactive status bar, and the active one its focus where it is tone on tone", "R3, the import rule: ...", "B7: the severities from diagnostic.* and the plain scopes ...", "B7: added and deleted from diff.plus and diff.minus ... (a yellow deleted, a grey added: none)", "B7: a program's sixteen from the palette ...", "B7, zed: ... a search match as drawn over the page": on L3's generator none compiles (no field for any of them); the ring test with L4's six taken off its list: everforest_light and hex_toxic fail hit, github_dark_dimmed text, gruvbox_material_light_hard/_medium/_soft severities4; with the mapping the diff rows of the eight above failed until the green-and-red rule: 272 of 285 themes pass (266 at L3), 13 on the list (L5 1, L7 8, soft 4); colors.zig's neonotte84 golden re-pinned where B7 moves it: its match ink and current hit, the hits' amber, #e29e47 (the warning pardes derived) to #e59d3c (its own palette's yellow now its warning); core-test 1140/1313 (173 skipped: L3's 1133/1306 + the importer's 7; the full run's one failure the neonotte84 golden, re-pinned after it, its test alone passing); OUTSIDE my files: build/tests.zig (the importer's tests in core-test, 5 lines); no dump or digest change
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| |
|
|
|
|
|
| |
Esc, not only right after the space: SPC's level stays open over a key it has no child for (keys.zig leaderKey: struck, the level stays) and Backspace takes it back up, so `SPC 7 o q` and `SPC l Backspace q` reached Exit and ended the session mid-run (G4's M6 soak run 1, seed 2 rtt 207: "the session ended (Exit, the last pane's Del)", the last keys drawn client 1's `7 o q 0`); THE CAUSE: nextEvent cleared Script.space on any typed key that was not a space and on every normal-mode key, and the search's and the sweep's scripts (`script.* = .{...}`) reset it with the whole Script; THE FIX: Script.space is set by a space and cleared only by the typist's Esc (the one key sure to leave the level), and both scripts keep it; a q typed meanwhile is an r, as it was right after a space; TEST FIRST: replicas.zig "the typist types no q while a leader its space opened may be open: from its space to its next Esc (SPC 7 o q was Exit)" (200,000 events of seed 109, the level modelled open from a space to an Esc): fails on the base at replicas.zig:3678, and after the first half of the fix at :3679 (the search's script reset), passes now; the harness's tests are built beside it (build/tests.zig: test/replicas.zig as a unit-test root, run by `replicas` and unit-test, its imports the program's); a user could not hit it: the soak's typist only
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
|
| |
|
|
|
|
|
| |
branch took `full_input[3] - 32` as a u8 (`integer overflow` at Parser.zig:792 on main: a legacy terminal's `ESC [ M` then a control byte, Alt+[ Shift+M Enter), and a button by `@fromBackingInt` (192..195 are none); two Edits in build/patches.zig `vaxis_parser` (a byte under 32: no event, its six bytes taken; a button none of Mouse.Button's: no event), upstream main unfixed (checked 2026-11-23), its report docs/vaxis-mouse-bytes.md; the test: dev/tui/tui.zig (the tests change); a user could hit it with an ordinary terminal in its legacy mouse encoding
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |
|
|
|
|
|
| |
read through one helper, `addon.cSlice` (abi/addon.zig), NULL being none whatever the count: the bridge says none with a NULL (pardes_pdf_search_page with no hit, pardes_pdf_select over no text, pardes_pdf_load_outline of no entries: each OK with a NULL and a count of 0), and Zig slices a NULL C pointer with a safety panic even at length 0; every site in pdf.zig (jobRun's page text and hits, pageText, hitsOf, selectHere, probeAt, follow, the outline's usable, resolve, sections and section, its bytes now bounded by bytes_len), abi/addon.zig's own (its private `span` was that helper for bytes alone; open's bytes), and the core's kind-ABI callbacks (Kind.zig look, say, text, exec, select, found; Addon.zig loadedOf's words), the core taking the addons' module (`addon`) for it; what holds the next site: pdf.zig's test (run by addon-test, which now runs the pdf module's tests) takes every typed pointer field of the bridge's structs from the translated header at comptime and fails on any `.field[` in pdf.zig, naming the line (shown by putting one site back: "pdf.zig:1014: pardes_pdf_text.data read bare"); the test of the change before passes, with every PDF behaviour test (8/8, Debug)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |
|
|
|
|
|
| |
the sections it has not, and the C-backed addons' own Zig built with the checks a release keeps: on the installed ReleaseSafe build (4faf94b72b60) a session with docs/design.pdf open aborts at the keys `/zzqxv<Enter>` (a search for a pattern page 1 does not have: the page's job asks the bridge for its hits, pardes_pdf_search_page answers OK with quads NULL and a count of 0, and pdf.zig:762 slices the NULL: "attempt to use null value" on a worker, the whole session gone), and at `f` on test/pdf-fixtures/tall.pdf (no outline: items NULL, count 0, sliced in sections()); no Debug run ever saw either because a Debug build compiled pdf.zig and image.zig at c_optimize, ReleaseFast, without the checks; now core.zig's `addon_optimize` (ReleaseSafe in Debug, c_optimize otherwise) builds the two addons' modules (their Zig and their bridge's C) as the user's build does, MuPDF, FreeType, zlib and stb staying at c_optimize; the test (test/behaviour/addons_pdf.zig, through 9P: `/zzqxv` on design.pdf, its `:1:1` a miss, `f` on tall.pdf said to have no outline) fails in Debug with the abort at pdf.zig:762 (logs/t1-dbg-filter.log: 1/2, 1 crashed)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |\
| |
| |
| |
| |
| |
| | |
line): the viewport in the view and the patches in the semantics hash on merge58 with the terminal put back: pardes-raw-tty (`muwnrqro`, on pardes-merge58: a TERM that reaches a session while it leaves its terminal no longer leaves it raw: `Killed.disarm` puts the cooked modes back itself, `leave` calls it last) and pardes-term-join-10's two changes (`xktusoyq` on `qtxssxyk`, on pardes-term-join-9: where a view stands in a terminal's history is the view's (`Pane.scrolled_to`), carried once a confirmed write that moves rows, the wire at 31; build/patches hashed into a replica's semantics); no conflict; core-test 917/1077 (160 skipped), shell-test 1119/1122, pane-test 182/183, term-test 16/16; NOT gated whole: the viewport's gate had one perf count over its budget ("terminal on all" +0.235%), which the next round brings down before this is the gathered line (2026-11-22)
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
dependencies (pardes-term-join-10, item 2; the note's "what cannot be made impossible"): `wire.semantics` hashed every dependency's pin but not build/patches.zig's edits nor the files they append nor uucode_config.zig, which an unstamped build has no commit to stand for, and which change how a core steps for the same bytes (ghostty's page size, so how many rows its history drops at once; a kitty medium's read; mvzr's budget; the Unicode tables ghostty measures widths by): build/core.zig `patchesHash` reads them at configure time (each file's name and text, xor-ed: no order) into `build_info.patches`, which `semantics` formats in; the failing run first: on the base, a comment appended to build/patches/mvzr_budget.zig left `pardes --version`'s semantics at f5f5b4aa40343313 both ways; with this change c5df65c0a926efab became 39ea20fc4149cc6b (logs/item2.sum); still not in the hash, on purpose: ghostty's optimize mode (build/core.zig:518, Debug builds it safe; Debug and ReleaseSafe sides of one session stay allowed, the upgrade rows between the two builds are that guard) and its SIMD (:517, off for a Darwin target built elsewhere: a scalar and a vector path must agree, ghostty's own tests); and pardes's own terminal module (its history cap, kitty limits) stands only in a stamped commit (the ponytail above `semantics`)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |/
|
|
|
|
|
| |
(docs/mvzr-empty-group.md, the report for upstream, its patch checked against trunk 3efcfe33): `patternAcceptsEmpty` answers true for an empty pattern (a group with nothing inside and more after it took `groupAcceptsEmpty`'s alternatives branch, `hasAlt` counting the group's own `)`, whose last line asked the empty inside for its first operation: `()a` searched to a line's end, the soak's abort); `prefixModifier` refuses a repeat right after `^` or `|`, as it refuses one at the start (its test read `patt[j]`, the slot being written, where `patt[j - 1]` was meant: `^*` compiled to `star, begin`, which the matcher holds unreachable, and `a|*` to `a, star, alt`, whose first alternative's lone `star` had nothing to repeat); a count followed by anything but `,` or `}` is a bad string (`{1` then any other character wrote no operation and skipped that character, a hole that ended the program: `a{1b` ran as `a`, `({1))` as a lone `(`); a user hits the first by typing `()` and one more character into `s` or `/` over a line it does not match (a safe build's session aborts, the installed one too: the same pin and the same Edits), the second by typing `a|*` or `^*`, the third by `({1))`; with the Edits the drive outside the tree finds no panic in 11,588,883 patterns (up to seven characters over `()|*+?a`, six over `()|*+?a^$.{}1`, five over `()[]{},*+?|\^$.-a1xnbf`, from every offset of three short texts; 18,746, 68,627 and 40,135 on the base), no search out of budget, every match inside its text, and the patterns it newly refuses are exactly those with a repeat right after `|` or `^` (up to six over `()|*+?a`: 4,068 of the base's 8,778 compiled, 3,096 of them panicked; the rest were the same miscompile on texts that did not reach it); mvzr's own tests on an upstream copy (its four `**` replaced for Zig 0.17) 32/32 with the report's test, 31 and an abort at `patternAcceptsEmpty` without the Edits; mvzr's trunk on this machine (~/05-genizah/mvzr, origin/trunk 3efcfe33, the pin) has none of it, and nothing newer could be looked at here; the previous change's test passes; core-test 917/1074 (157 skipped), shell-test 1116/1119 (3 skipped), each the base's plus that test; the soak that found it (`replicas --clients 5`, TMPDIR /tmp/claude-1000/rs2, load 2-4) ends: diverged 0/0/0, unequal 0/0/0, quiet checks 546/0 442/0 666/0, unlisted stops 0/0/0, the corpus scene 22 of 22, no leak, no panic (1,054 patterns refused in words on the way, 584 of them `missing closing parenthesis`); left as they are (in the report): `patternAcceptsEmpty` judges a sequence by its first operation (`x(a*b)` matches `x`; `(()a)` now matches the empty string at the end of `b`, where it aborted), and a repeat right after `(` takes the `(` (`(*a)` compiles as `(a)*`), neither a panic
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |
|
|
|
|
|
| |
a list) replaces the `.grammars` tier with the languages named and what each needs, the manifest's new `needs` field (markdown brings markdown_inline; no other grammar needs one: a fence's language is coloured when it is in the build), so a browser reader builds one module per language; a name the manifest does not have, or `.grammars` beside `.languages`, ends the configure with exit 1 and the names it has (Zig only logs an option it cannot read in a dependency and builds on with exit 0); build.zig exports `grammar_manifest` for a consumer's build script to loop over at configure time; build/core.zig treeSitter takes a set (`GrammarSet`, `tierSet`) and syntax.zig knows the set by the queries the build gave (`@hasDecl(ts_queries, ...)`), not by the tier; test/consumer loops over the manifest (`each-language`, 26/26: each language alone is in its build, linked by its symbol, and no other is), `test` runs rust and markdown of it and a configure with `klingon` that fails saying so
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |\
| |
| |
| |
| |
| |
| | |
callbacks and consumer-test, on six small faults: pardes-slots (Pipe.PendingPipe.pane, Ask.wait.pane, theme_file_pane, ThemeFileRequest.pane as Pane.Id; Authority.view_of and Peer.view as View.Id; layout.dockFrom and the prose; macos State.callbacks; the build step consumer-test) and pardes-merge42; one conflict, in Peers.detach, where the pair's lifetime rule (daemon.keepSession) and the view's type (peer.view.index()) met on neighbouring lines: both kept; tui core-test 874/1031 (157 skipped), shell-test 1073/1076, term-test 17/17, both soaks diverged 0, unequal 0, unlisted 0, the window builds; this line carries the client's heap corruption that came with pardes-merge40 (a fix is being made): not gated further until it has it
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
step, its name and its two variables in build/tools.zig (lib_test, lib_test_step -> consumer_test, consumer_test_step; the description already says it builds the library from a package that depends on pardes) and the one reader in build/tests.zig, and where it is named: build.zig's head comment, test/consumer/build.zig's, docs/typ/building.typ (the paragraph and the steps' table) and the Unreleased entry of core/CHANGELOG.md that introduced the step (rewrapped); the scripts under .scratch that name it are listed in reports/pardes-slots.md for the coordinator; `zig build consumer-test -Dplatform=tui` builds and tests test/consumer; gate on the stack through this change and the docking vocabulary (load 4-32): tui core-test 871/1028 (157 skipped), shell-test 1070/1073, pane-test 183/184, term-test 17/17, kitty-test 45/45, behaviour-test 275/275 and --replay 275/275, consumer-test passes, addon-test 5/5, process-test 0 of 144 (tty boot: msg failed once at load 32 and passed alone), replicas --clients 5 and --bytes --clients 5: diverged 0, unequal 0, deltas wrong 0, quiet checks differed 0, unlisted stops 0, corpus 22 of 22, no leak; the semantics word a73794ff9e03f814 as on merge40; daemon.py --far, --games, --window-clients pass, plain fails 2 of 4 at "client C agrees with a shell's output" (a timeout), as merge40's build does 3 of 6; the macOS library (x86_64-linux, aarch64-macos, the ABI guard 2/2) and the FreeBSD cross-build build; frames 77/77, gui unit-test 1666/1670 (the perf check's BaselineHarnessMismatch), perfab corpus2x +0.054% (noise 0.054%), the 121 per-operation counts within 0.1% against tree2 (key-down on medium 10,039,720 and render on medium 11,454,636, merge40's gate 10,039,703 and 11,454,619)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |/
|
|
|
|
|
| |
step rooted the syntax module at core/syntax.zig, where dev/Host.zig's `pardes.Surface` does not resolve (it no longer compiled), and every test it ran (syntax.zig's, named "syntax ...") already runs in core-test (core's test program 904 tests with and without a reference added: the same), so the step and its line in docs/typ/building.typ go; under -Dgrammars=none core-test failed to compile (a handed-grammar test names zig's queries) and then 16 tests failed or crashed, under minimal one (a JSON file's paint): each now returns error.SkipZigTest when the set it needs is not built (syntax.zig's own `if (!full_grammars) return;` passed silently, now skips too; minimal_grammars and full_grammars made pub for Query, Stream and File's tests); core-test: full 874/1031 (157 skipped), minimal 861/1031 (170 skipped), none 835/1031 (196 skipped), none failing; `zig build syntax` (the snapshots) builds and runs
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |
|
|
|
|
|
| |
report after it is the Escape key, then the report; the patch made an ESC before any CSI Alt on what followed, and on a mouse report, which has no Alt but in its button, it dropped the ESC: a busy session that read an Escape and the click after it in one read (or took the click within the 50 ms an ESC ending a longer read waits) kept the pane in insert mode (process-test exec-bigdrag's alive-ok: 3 of 9-21 runs at a load of 33-43, the pane's next i typed as text); dev/tui/tui.zig's test 'an Escape read with the click after it...' failed before (the mouse event came where the Escape was); after, pinned to one CPU: exec-bigdrag 0 of 30; the five together: tui core-test 859/1014, shell-test 1055/1058, pane-test 183/184, term-test 17/17, kitty-test 45/45, behaviour-test 275/275 and --replay, process-test 0 of 144 (cmdexit once, again alone), daemon.py in every mode, both soaks diverged 0 unequal 0, gui unit-test 1651/1655 (BaselineHarnessMismatch), the frame and perf gate against tree2 PASS
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |\
| |
| |
| |
| |
| |
| | |
pardes-build-pass2 (pardes-isolate and the tree-sitter=disabled tier deleted; one option, grammars = none | minimal | full; build.zig with the consumer's lines as its head comment; test/lib -> test/consumer; the manual's library section) and pardes-merge31, merged without a textual conflict; one line follows a deletion: dev/file_watch.zig's end-to-end test of a session's watches (written since on the base) guarded on fs.platform_has_fs, which the first of these changes deleted: the guard reads as the file's other tests' (comptime !supported); tui core-test 857/1008 (151 skipped), shell-test 1048/1051, the window builds; the coordinator's gate in the ledger (reorg/merge32)
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
both of build.zig's head-comment shapes (pardes-build-2 item 5; the start design's step 3): `pardes-syntax` with `.grammars = .minimal` (lib.zig, as before), and `pardes-editor` with `.grammars = .none, .editor = true` and a grammar of its own, C's, built by this package from the very package pardes's manifest pins (`ts_c`, its own build's `tree-sitter-c` artifact, static, ReleaseFast) and linked into the editor's test and the bench, so the case sketchbook's examples/live is (pardes compiles no grammar for it; the program hands one in at run time) is gated here and not only in sketchbook; no network: `lib-test` runs it with `--pkg-dir ../../zig-pkg`, which has that package; the package is named `pardes_consumer` (a new fingerprint, as zig asks for a renamed package); lib-test's run step is named for what it is, so `--summary all` shows `zig build test in test/consumer, a package that depends on pardes success`, under `unit-test` as before; the package's own run: 29/29 steps, 11/11 tests (3 of the syntax, 8 of the editor), its bench builds and runs; build/tools.zig, build.zig's head comment, core/lib_syntax.zig, docs/next-editor.md, the manual and the changelog name test/consumer; the stale `test/lib/zig-pkg` (1.1 GB, untracked, from a run without --pkg-dir) deleted with the old directory. Scripts and notes outside the tree that name test/lib (its cache among them: a wipe of `test/lib/.zig-cache` now misses `test/consumer/.zig-cache`) are listed in the agent's report for the coordinator
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
design's 4.3 and 4.4): its head comment is a consumer's lines, both shapes (`pardes-syntax` with `.grammars = .minimal`, as computeranim's anim takes it; `pardes-editor` with `.grammars = .none, .editor = true` and a grammar of its own, as sketchbook's examples/live does) and what each option selects, and `build()` begins with what such a package may ask for, the mode and `grammars` (pardes's own build takes both too), then `if (!b.isRoot()) return library(...)` with the target and `editor`, which only a dependency declares: the root's target is not read there, since its default comes from -Dplatform (x86_64-linux-gnu.2.38, or the Mac's) and a package that passes none keeps the native one; build/library.zig is `library` at the foot of build.zig, the editor option read with the others and handed in (its body otherwise as it was); `-Deditor` stays a dependency's alone and the root's -Dgrammars help text is the head comment's words; lines: build.zig 361 -> 430 (26 of them the head comment), build/library.zig 49 -> 0, build.zig and build/ 2,971 -> 2,991; tui install, lib-test (the package still asks for `.grammars = .minimal, .editor = true`) and hxlib (538 cases, 0 mismatches) as before
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
full` (pardes-build-2 item 3; the start design's step 3, P31's lean): for a package that depends on pardes `.grammars = .minimal` where it wrote `.@"tree-sitter" = .minimal`, and for pardes's own products `-Dgrammars=minimal` where `-Dtree-sitter=minimal` was (one option, not two spellings of one: no live gate script passes -Dtree-sitter, only two configure-matrix scripts of an earlier agent's and the first build pass's shapes script, which also name test/lib and the deleted `disabled` and change anyway; the three consumers' lines change for `.grammars` anyway); `none` is tree-sitter's runtime with no grammar, for a program that hands in its own at run time (sketchbook's examples/live, which set `zig` only because it was the smallest set that kept syntax on: `zig`, its one setter, goes, and the Zig grammar is a minimal one: grammar_manifest's tiers are minimal and full); syntax.zig's sets read `none` (`minimal_grammars` is `!= .none`, four tests' doubled condition one), the Build pane prints the set's own name (`none` was what it printed for the zig set), and abi/wire.zig hashes the set as the four words it was hashed as, so a minimal or a full set's semantics did not move (8b6382fddba7b382 full, 0520895ac88d25ad minimal, as at items 1 and 2) and `none` hashes as highlighting with no grammar (794d23e0255281f8; the old zig set's hash is gone with it); test/lib asks with `.grammars`; the manual's table, its library section's two lines and the changelog say it; build.zig and build/ 2,974 -> 2,971 lines; -Dgrammars=full, minimal and none each install and pass lib-test, and the old spelling is refused (`invalid option: "tree-sitter"`); the suites run on the stack's top (item 5)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
P31's Q5, decided on the evidence 2026-11-20): a pardes with no tree-sitter at all, whose syntax.zig stubbed `ts` with four opaque types and answered every call empty; it did not compile on the base (`zig build install -Dplatform=tui -Dtree-sitter=disabled`: core/indent.zig:48 `struct 'syntax.ts__struct_3541' has no member named 'Tree'`, since indent.zig reads the parse tree the stub never had) and nobody set it; out with it: the `disabled` value of `TreeSitterGrammars`, build/core.zig's `treeSitter` made always (its module and its queries no longer optional, so `TreeSitter.wire` and `core.module` add them plainly), the stub `ts` and `ts_queries`, `syntax.enabled` and every branch that was for it: 32 guard lines and 16 terms of a condition in core/syntax.zig (its `start` and `stop` unwrapped), whole test guards in core/draw.zig, Stream.zig, File.zig, Query.zig, Core.zig (2), mouse.zig, replica.zig (2), test/output.zig (7), test/panes.zig (11) and test/behaviour/{panes,settings}.zig, a term in Stream.zig's two worker tests, `TreeContext.enabled` (builtins.zig) and the config table's condition on it (config.zig), test/output.zig's two conditions on the grammars; abi/wire.zig hashes the grammar set as the same four words (`true true` for highlighting and the Zig grammar, which every set has now), so `pardes version`'s semantics line did not move: 8b6382fddba7b382 on tui, gui, the bare build's two, both statics and FreeBSD, 0520895ac88d25ad with -Dtree-sitter=minimal, as at item 1; the manual's option table and the changelog say it; build.zig and build/ 2,981 -> 2,974 lines; every shape configures (11) and builds (tui, gui, bare, static musl and gui, FreeBSD, -Dtree-sitter=minimal, the macOS library for Linux and aarch64-macos); tui core-test 856/1006 (150 skipped), shell-test 1046/1049, pane-test 183/184, behaviour-test 275/275 and -- --replay 275/275, term-test 17/17, kitty-test 45/45, addon-test 5/5, lib-test, hxlib 538 cases 0 mismatches, process-test 0 of 144 failed (diffstack failed once and passed on the runner's own retry), gui unit-test 1643/1647 (the perf check's BaselineHarnessMismatch, the base's); load 5-26 on 16 cores
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
(pardes-build-2 item 1; P31's Q3, decided on the evidence 2026-11-20): the terminal's pardes compiled with `isolated = true`, a build whose host supplied only the terminal (no file, pty, clipboard, LSP or watch calls: tui.zig's second Host table) and whose filesystem was absent (`fs.platform_has_fs` false: every libc path compiled away, the virtual tree and the embedded sources alone), arriving on `src/pardes.zig` read out of the binary when no file was named; it did not compile on the base (`zig build run-isolated -Dplatform=tui -- version`: core/builtins.zig:510 `error.FileNotFound` not in `fs.readFile`'s set, core/ninep/ctl.zig:1298 `error.OutOfMemory` not in `Dir.refresh`'s set) and no test, gate or document ran it; out with it: its module set and step in build.zig, `Core.isolated` and the `isolated` option in build/core.zig, `pardes.isolated` (core/root.zig), `fs.platform_has_fs` and the 60 guards on the two (whole lines in core/Stream.zig, Dir.zig, Plumb.zig, fs.zig, look.zig, Query.zig, edit_cmd.zig, dump.zig, test/fs_namespace.zig, test/terminal.zig; a term of a condition in dev/file_watch.zig's six tests, fs.zig's readFileLimit, whose virtual branch now takes `/virtual/` alone, and one Stream.zig test), Stream.zig's search failing at once without a filesystem, tui.zig's `isolated_vtable`, runtime/main.zig's `src/pardes.zig` default (a file that does not exist), and the mention in docs/next-terminal.md; the changelog says it is gone; build.zig and build/ 2,996 -> 2,981 lines; `pardes version`'s semantics line did not move (`isolated` was never in its text): 8b6382fddba7b382 on tui, gui, the bare build's two, both statics and FreeBSD (gpu/tree2's base binary says the same), 0520895ac88d25ad with -Dtree-sitter=minimal; every shape configures (12) and builds (tui, gui, bare, static musl and gui, FreeBSD, -Dtree-sitter=minimal, the macOS library for Linux and aarch64-macos), -Dtree-sitter=disabled failing as on the base (core/indent.zig:48); tui core-test 856/1006 (150 skipped), shell-test 1046/1049, pane-test 183/184, behaviour-test 275/275 and -- --replay 275/275, term-test 17/17, kitty-test 45/45, addon-test 5/5, lib-test, hxlib 538 cases 0 mismatches, process-test 1 of 144 failed (pagercolor, on the flaky list: passes alone, 931 ms), gui unit-test 1643/1647 (the perf check's BaselineHarnessMismatch, the base's); load 6-17 on 16 cores
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |/
|
|
|
|
|
| |
the session's read and a recorded answer on the tape, so every replica's emulator is handed the bytes the session read, or its failure, and never reads its own machine: ghostty's loader gets the bytes through `LoadingImage.read_medium` (an Edit in build/patches.zig, ghostty's own read handed to it, the report in docs/ghostty-kitty-medium.md), which the terminal module sets to the core's `Term.media`, a `tape.valueIn(.medium, ...)` site (a new Site; `valueIn` is `value` with the answer's slices in the loader's allocator, no yield inside a feed), so a read crosses to a client as a file read does (inline under 1 MiB, by hash at or over it), a temporary file is deleted and shared memory unlinked once, on the session, and the program is answered by the session alone; a replica no longer loads by direct data only: `Term.direct`, `State.direct` and the `direct` entry go (`media` in their place); under screen state the read stays the authority's (a screen-state replica feeds no emulator); FIRST the test through the replica's surface (a session and a bytes replica, four images shown, by a file, a temporary file, shared memory and a missing file): on the base the digests parted (expected 8810391091473565423, found 2236913079067993401: the replica's loader said "unsupported medium" and did not move its cursor), now they agree, the terminals dump the same bytes, the temporary file and the object are gone and the replica read nothing (ghostty's FileNotFound warned once); tui term-test 17/17, kitty-test 45/45, core-test 856/1007 (151 skipped), shell-test 1043/1046, unit-test -Dtest-filter=bytes: 23/23 (the perf check's BaselineHarnessMismatch, as on the base)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | | |
bytes kind made right, a client's kept list let go for free at its bound, the build's options said once, and ghostty's page and zstbi's resize the same on every machine, on the far client's fixes: pardes-term-1 (the terminal by the pty's bytes, steps 1 and 2), pardes-perf-fix, pardes-build-options, pardes-patches and pardes-merge25, merged without a textual conflict; tui core-test 856/1006 (150 skipped), shell-test 1042/1045, term-test 17/17 before the patches joined; the coordinator's gate in the ledger (reorg/merge26)
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
`zstbi_cut`: `#pragma STDC FP_CONTRACT OFF`, docs/zstbi-fp-contract.md), so a kitty PNG over 1280 pixels downscales to the same pixels on an Apple silicon Mac as on Linux and FreeBSD, as a client that replays its session's bytes needs: clang contracts `a * b + c` where the CPU has a fused multiply-add, aarch64 always does (the Mac binary had 98 fmadd/fmla in stbir__resize_arbitrary and stbir__resample_horizontal_downsample; the x86-64 ones have none), a fused one rounds once, and the two downscaled pictures of the cross-check's PNG stream came out other pixels on the Mac (the snapshot differed; images are not in the digest) while the one under the bound and raw RGBA did not; with the pragma the Mac's are Linux's; the proof, the cross-check driver built from this tree (and the change before) with no patch of its own (only its step added to a scratch copy): its 18 lines (eight streams by two read sizes, two at 7 bytes: digest and full snapshot after two resizes) the same on Linux x86-64, FreeBSD 15.1 amd64 and the Mac (Darwin 25.6 arm64) (.scratch/sketch/reports/pardes-term-xcheck.md, "Landed"); no zstbi or stb upstream is on this machine to compare; tui term-test 15/15, kitty-test 45/45, core-test 848/991 (143 skipped), shell-test 1027/1030, image-harness and kitty-harness pass; gui unit-test 1625/1629 (4 skipped; the perf check's BaselineHarnessMismatch, the base's), image-harness and kitty-harness pass; the macOS library builds for Linux and aarch64-macos, the FreeBSD tui builds (load 19 to 47); the frame and perf gate (gpu/xcheck-c3, against tree1, with the change before): 77/77 frames byte-identical, perfab corpus2x -0.076%, perfops 97 of 97 within 0.1%
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |/
|/|
| |
| |
| |
| |
| | |
(build/patches.zig `ghostty_page` and `ghostty_mem`, docs/ghostty-page-size.md), so the same pty bytes and resizes give the same emulator on Linux, FreeBSD and an Apple silicon Mac, as a client that replays its session's bytes needs, with Linux and FreeBSD unchanged: ghostty rounds a page to the OS page (src/terminal/page.zig:1770 at the pinned 1.4.0; 4 KiB here and on FreeBSD, 16 KiB on aarch64 macOS) and fills the rounding with rows and grown style room, so the 16 MiB scrollback kept other pages on the Mac: its digest differed from Linux's on every stream that filled the scrollback (source text, build logs, heavy colour, the torture stream: 59 to 1,177 history rows fewer) and its snapshot on the shell stream too (a style capacity hint, 388 against 397); now the layout rounds to 4 KiB and the three assertions that a page's length is a whole number of OS pages (page.zig:247, mem.zig:154 and :346) ask for 4 KiB, which on Linux and FreeBSD is what they were; a Mac maps whole 16 KiB pages under the shorter length (up to 12 KiB a page unused and never touched; 8 KiB for a standard page) and madvise and munmap act on its whole pages; the cross-check driver built from this tree (with the next change) gives on Linux and FreeBSD the lines it gave before the Edit, page counts and bytes included, and on the Mac the same lines, from a ReleaseFast and a ReleaseSafe build through all eight streams with no assertion (.scratch/sketch/reports/pardes-term-xcheck.md, "The reverse Edit"); in place of an earlier form of this change that rounded every target to 16 KiB and cost Linux +0.49% on pardes-perf's at-limit terminal cells and up to 13% of its history; the genizah's ghostty (main e8e7fea1, 2026-06-16) is older than the pin and rounds the same way, so no pin moves it; on both changes: tui term-test 15/15, kitty-test 45/45, core-test 848/991 (143 skipped), shell-test 1027/1030, image-harness and kitty-harness pass; gui unit-test 1625/1629 (4 skipped; the perf check's BaselineHarnessMismatch, the base's), image-harness and kitty-harness pass; the macOS library builds for Linux and aarch64-macos, the FreeBSD tui builds (load 11 to 37); the frame and perf gate (gpu/xcheck-c3, against tree1): 77/77 frames byte-identical, unit-test as the base, perfab corpus2x -0.076% (noise 0.091%), perfops 97 of 97 within 0.1% (terminal on all +0.0069%, the largest +0.0285%) (load 11 to 24)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
beside it (the start design's step 2, pardes-build-options change 2): `core.module` makes the set's options from the build's `ShellConfig` and the set's `Core` (the platform, now a `Core` field in place of a module handed in; the grammar set; the terminal; pardes-isolate's `isolated`; the addons compiled in and the pdf one with them, `builtin_addons` and `builtin_pdf`; tracy; the workspace tag; embedded sources; the library's `lib`), one module shared by the set's five as `pardes_config` was, and `build_info` (version, commit, change, built, deps) made once in `assemble` and given to every set; the three one-value modules made in both values (`term_options`, `pardes_isolation`, `builtin_addons`), `shellOptions`, the six `Parts` fields that held them, `Parts.tracy` and `Parts.embed_sources` (the `ShellConfig` in `Parts` holds both) and the assembly's two options (`opts`, `gui_opts`) go; the library's `pardes-syntax` and the editor (the library's and hxlib's) get `pardes_options` with no terminal, the editor's with `lib` as before; the sources' imports follow, one identifier a line (abi/wire.zig and core/Output.zig import both, the hash's and the Build pane's lines reading the version, commit and dependencies from `build_info`); test programs see it as before, through the core module's import table (pane-test, behaviour-test); `pardes version`'s semantics line did not move on any product (38b5ae573b965550; d41689a1f97605b8 with -Dtree-sitter=minimal); build.zig and build/ 2,992 -> 2,960 lines (3,005 at the base); every shape configures and builds as on the base, pardes-isolate and -Dtree-sitter=disabled failing with the base's same errors (pardes-isolate reaching them through its own options module); tui core-test 848/991 (143 skipped), shell-test 1027/1030, pane-test 183/184, behaviour-test 275/275 (and -- --replay), term-test 15/15, kitty-test 45/45, lib-test (11/11 in the consumer), hxlib 538 cases 0 mismatches, process-test 2 of 144 failed (lspcomplete and lspcompletemoved, the base's), gui unit-test 1625/1629 (the perf check's BaselineHarnessMismatch, the base's); the test names of every suite equal the base's (ledger); the frame and perf gate (gpu/bo-s2 against tree1) PASS: 77/77 frames byte-identical in Debug, the alternated window corpus2x -0.104% (pictures identical in all 10 runs), the 97 per-operation counts within 0.1% (largest image-frame +0.0345%; against the coordinator's pardes-merge22 gate m22-g, 90 within 5 ppm, deep-sel 8-10 ppm, image-frame up to 85 ppm, its known noise); load 5-25 on 16 cores
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |/
|
|
|
|
|
| |
pardes-build-options change 1): `ShellConfig.prebuilt_shaders`, set at build.zig:147 and read nowhere (the `-Dprebuilt-shaders` flag stays: gui.make hands it to sketchbook and the perf identity names it); `tools.add` and `core.assemble` handed the grammar set and -Dtracy beside the `shell_cfg` that holds them (`ShellConfig.tracy` is the checkout's path now, so Parts and the perf identity read it there); `syntax_zig_grammar`, always equal to `syntax_highlighting`; and the four `syntax_*` bools as the one enum they said four ways, `grammars` (`-Dtree-sitter`'s `TreeSitterGrammars`), read by syntax.zig, Output.zig's Build pane and three tests, with abi/wire.zig hashing it as the four words it was hashed as, so `pardes version`'s semantics line did not move on any product (38b5ae573b965550 on tui, gui, the bare build's two, both statics, FreeBSD; d41689a1f97605b8 with -Dtree-sitter=minimal, as on the base); build.zig and build/ 3,005 -> 2,992 lines; every shape configures (12 configurations) and builds as on the base (tui, gui, bare, the macOS library for Linux and aarch64-macos, static on musl and on the window, FreeBSD, -Dtree-sitter=minimal), and the two that fail on the base fail with the same errors (pardes-isolate: core/builtins.zig:510, core/ninep/ctl.zig:1298; -Dtree-sitter=disabled: core/indent.zig:48); tui core-test 848/991 (143 skipped), shell-test 1027/1030, pane-test 183/184, behaviour-test 275/275 (and -- --replay), term-test 15/15, kitty-test 45/45, lib-test, hxlib 538 cases 0 mismatches, process-test 3 of 144 failed (lspcomplete and lspcompletemoved, the base's, and headersweep-restored, on the flaky list: passed alone, 1364 ms), gui unit-test 1625/1629 (the perf check's BaselineHarnessMismatch, the base's); the test names of every suite equal the base's (ledger); load 15-45 on 16 cores
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |
|
|
|
|
|
| |
where pardes patches it already (build/patches.zig: eight edits that check the pattern's end before each read in a count, a byte escape and a class; unreported upstream as of its trunk 3efcfe33; docs/mvzr-bounds.md is the report), so the walk of the pattern that core/regexp.zig made to refuse them beforehand goes (55 lines: the dependency is fixed, not guarded, and no fork is needed); the test of every such pattern stays and aborts without the edits (index out of bounds: index 2) and passes with them; the edits checked to reproduce the patch proven on 5.4M patterns byte for byte; tui core-test 842/985 (143 skipped)
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |
|
|
|
|
|
| |
run (the reorganisation's runners, step 10b, its second part; the user's rule: replica bugs caught by a soak that does what real use does, twice hidden by a hand-written imitation): each client of test/replicas.zig is runtime/client.zig's Loop over a frontend of the soak's own (a terminal's or a window's by turns: it draws no pixels but counts its frames and keeps the facts a window reads; a window's size posted from its own pass; a terminal holds a key already one pass in four, so no copy then; its wait is the delayed link's next message, a wake it asks for one timer at a time on the soak's clock), driven as a loop woken from outside (Loop.pass up to its wait, Loop.woken after what woke it), so its mirrors of the two loops are deleted (Client.draw, own, within, pass, and the quiet check imitated on the soak's clock: the link's own quietCheck now runs, its clock the soak's through Link.now as Echo.now is); its host has every entry (replica.everyEntry, which 12b's FullHost is now too: pty_resize, watch_file, watch_theme, open_link, pipe, search and the rest do nothing unless the soak's), and an input whose stop's name replica.may_wait does not list fails the run, said with its input (replica.mayWait; the soak's random inputs cannot be named as the walk names them, so by the name alone): the soak found seven names the list did not have, all a far client's by design, now rows with why (Search's rows, a session worker's: `search`; a +Preview's file, the session's disk: `preview`; a kind whose state is its own on the session, a PDF's, its search, a place in it, its word, its open and its close: five rows on a new pane kind `addon`, which the walk does not stand in and never judges stale); the stops by name, the wakes asked and the frames drawn are a line per rtt; the leftovers go (Stats.unspeculated and its column, Proc with enter and current: the distrusted list is the client's, the stale comment about config.tab_now); and a new check, the frame corpus through a client (corpusCase): the corpus's scenes (a wheel, a click, a jump, TaglineSize, a markdown file, three columns, a dirty pane, InactiveDim, WindowOpacity, ligatures, Zerox, a resize) typed into a session's own view drawn by its own pump and, the same, through the client loop into a client's view of a second session of the same files, the session's unit back at once; after each, the two frames a frontend draws from (cells, cursor, chrome, regions, the facts beside them, the placements) are the same: 22 scenes, 25 frames own and 24 through the client, every one the same. Gate: the soak on the shared loop (--clients 5, 4 seeds) diverged 0, unequal 0, deltas wrong 0, quiet checks 489/0, 556/0, 700/0, mispredicted 32/36/43, stopped 87/43/81 of 1784/1806/1977 at rtt 30/80/207 (pty_write 54/9/47, the kinds' 20/19/20, resolve 6/8/4, search 2/4/4, the authority's own state 3/2/3, close a terminal 0/0/3, kind 1/0/0, detach 1/1/0), unlisted 0, 216 s (the base's 230 s); tui core-test 836/979 (143 skipped), shell-test 1014/1017, term-test 15/15, pane-test 183/184, kitty-test 45/45, behaviour-test 275/275 and --replay 275/275, process-test 2 of 144 failed (lspcomplete and lspcompletemoved, the base's); gui unit-test 1612/1616 with the base's BaselineHarnessMismatch; daemon.py plain, --far, --games, --window-clients, --upgrade from pardes-tree's pfx-base to this and back; the macOS library for Linux and aarch64-macos and the FreeBSD tui configure; rollback-bench runs; gate-w run3-2 against tree1: frames 77/77 byte-identical in Debug, the alternated windows' pictures identical in all 10 runs, corpus2x -0.055% (PASS), perfops 97 counts within 0.1% (largest image-frame on large +0.031%); its unit-test 1608/1616: the gate was started in the background (`&`), so SIGINT was ignored down to its test shells and the four host_io tests whose Ctrl-C must end a foreground job failed; the same unit-test run detached but not so (setsid, no terminal) 1612/1616 with the base's BaselineHarnessMismatch only
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |
|
|
|
|
|
| |
tree, step 2d), and every mention of a src/ path follows: the build's paths, the core's imports of its root, the tests that read the repository's files by path (lspbench's, look.zig's spans over core/look.zig), the comments that cite files, the documents and the manual (the typst corpus reads core/tutor.txt and core/plumbing); left as they were: the /src tree's served names (src/pardes.zig and the rest are the 9P tree's, not the repository's), the CHANGELOG's history, fixtures that are only strings; fs-unit-test runs from the core's root (a module of the core rooted at fs.zig had the runtime's and the devices' `core` be fs.zig); nothing else changes: the ledger (pardes.test.* now root.test.*), frames byte-identical, replicas and process-test the base's
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |
|
|
|
|
|
| |
and the replica stream's wire into abi/ (the reorganisation's tree, step 2c; abi.zig, the seam, is step 12's): plain, the addon's and pardes.h's modules as before from their new place, the wire a module of its own (`wire`, named by the core, the runtime and main.zig); shell-test runs the wire's tests on the core's set, since a window's set links the window's C, whose allocator gui.zig holds; nothing else changes: the ledger, frames byte-identical, replicas and process-test the base's
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |
|
|
|
|
|
| |
dev/macos), host_io, file_watch, fonts, the lsp client and Scip, Art, jump_trail, glide and vaxis_input into dev/ (the reorganisation's tree, step 2b): module `dev` (dev/root.zig) beside the core and the runtime, each naming the others; the window wired into it, sketchbook's devices imported as `sketchbook` (its `dev` would be ours); pardes.zig keeps its re-exports (host_io, file_watch, glide, fonts) so every caller reads as before; core-test and shell-test run the devices' test program too, so the same tests run (the ledger, tui and gui); nothing else changes: frames byte-identical, replicas and process-test the base's
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |
|
|
|
|
|
| |
into runtime/ (the reorganisation's tree, step 2a), skill.txt with main.zig, its one reader: module `runtime` (runtime/root.zig) and the core, each naming the other, a product's root (main.zig, macos.zig) a module of its own over both; the files name across by module (`@import("runtime").daemon`, `@import("core").look`), pardes.zig exporting what they name (ctl, edit_cmd, tracy, selection_pipe, and the frontends until they move); core-test and shell-test run each module's test program, so the same tests run (the ledger: every named test of every suite the base's, tui and gui); nothing else changes: frames byte-identical, the same counts (tui core-test 822/963, the one more an anonymous collector)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |\
| |
| |
| |
| |
| |
| | |
PDF back in the soak and the client path's five rounds: no conflict; on Zig 0.17.1: gui unit-test 1594/1598 and tui unit-test 1540/1544, each with its perf check passing; tui core-test 821/962 (141 skipped), shell-test 997/1000; the base of the reorganisation's tree step
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| | |
its build put it: the path is relative to the build root (.zig-cache/o/<hash>/libimage.so, where `zig build perf` runs it), and from anywhere else, or after the cache was wiped, the run used to end at its last cell as ImageNotShown with a count about 9.5M instructions short that two agents read as +0.43%; now the gesture run (or --op image-frame) checks the file before any measurement and exits with "pardes-perf: no image addon at <path> (FileNotFound), relative to the working directory: run it from the build root" and ImageAddonMissing; the path stays relative so a kept binary can be pointed at a kept copy of its addon by its working directory (the coordinator's perf gate does that); perf_options' pdf_addon and has_pdf_addon, baked in and read by nothing, are gone (the perf step no longer builds the PDF addon); the three perf baselines' harness id follows perf.zig (d6c5e18a4acc4fe3: the measurement is unchanged, the numbers are kept, not re-recorded); on Zig 0.17.1: tui core-test 822/963 (141 skipped), shell-test 998/1001, behaviour-test 274/274, pane-test 180/181; `zig build perf -Dplatform=tui -Doptimize=ReleaseFast -- --only small --reps 2` passes from the build root, and the same binary from another directory exits 1 with the message before any number; gui frame corpus 77/77 Debug and ReleaseFast against mbase171; gui unit-test 1588/1596 under load, the four failures host_io's tty-job tests (60/60 alone with -Dtest-filter=host_io), perf-gate within 3x in the full run
|
| | |
| |
| |
| |
| |
| |
| | |
opened at the start beside the picture and used by the session's typist and every client: its keys, the wheel over it (a glide), a search (`/`, a pattern, Enter: the kind's rows and its jobs), a sweep of B1 over it (a selection), a jump by address (`Look file.pdf:3`, `:1:1`, a hit), Del and Look again; each client keeps the kinds it caught breaking PA_PLAIN as its own process does (Proc swaps Addon.distrusted: shared, one client's catch left every other without the kind's code at its next join, never to run it again); and draw.zig gives a kind's pane whose body has no rows no thumb (the soak's session squeezed its PDF to its tag: '@intFromFloat' out of bounds on a track of 0 rows, a panic in Debug); replicas, five clients, 4 seeds, rtt 30/80/207: diverged 0, unequal 0, deltas checked/wrong 1725/0, 1609/0, 1725/0, quiet checks 457/0, 665/0, 757/0, the PDF's panes the session opened 5/4/5; in one seed at rtt 80 the clients' calls into the PDF: key 617 replayed and 497 speculated, mouse 27/37, view 638, tick 929/465, job_done 88, search 12, address 8, ctl 7
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
one is due, not at every confirmed input and every unit replayed (the edit row's +40%, a full walk of the core each time): once in check_every (32) confirmed units, on a unit that carries one with nothing applied on top (the fast path's catch-up, a replay, a rollback's), and once quiet 300 ms after a change (Link.quietCheck, now always, not only for PARDES_REPLICA_CHECK: another digest is a divergence, and it joins again; PARDES_TEST_DIVERGE is found so); a unit replayed by a rollback (since) compares none; a unit with no digest leaves the last one unknown (after a unit with a set record it was kept, stale, for the moved-nothing comparison); the authority in process records its digest at a unit's end as the session does; the session still records one a unit (a session's unit with none where its clock moved exposed a structural divergence after a kind is distrusted: daemon.py --games, a second rejoin, 'the tape's answer to addon is short'; not root-caused); the soak's mix without the PDF (round 5's open fault); replicas five clients diverged 0, unequal 0, the put-off client caught by a quiet check or a due one
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |/
|
|
|
|
|
| |
user's libraries, in a data directory of its own; the picture open at the start, every client joining with it), its session has a clock (its loop's: a frame, its own input or a pty's read moves it, a client's mail does not; a frame pumps it, Authority.pump) and takes the Detach word (the client's link ended by the session, its view closed), pictures' draws land on their loop 3 ms after they are asked (Kind.drawer), and what it found: a client joined from a dump replayed a step that made a file's pane and said why it had no room for it by announcing to /log first (events.bootFirst read the session's log, p.fs, which a client's is not: a replica never announces there now; a test fails without it), and a Debug client's rollback put back a kind's Debug list of its allocations that a speculation had grown and freed on the page allocator (Slot.used now the slot's allocator's; the soak's seeds 0 and 2 at rtt 207 crashed without it); not fixed, reported: a client joined from a dump holding a PDF pane diverges at another client's key into it (pane N.addon, views[k].jumps); daemon.py --games, --window-clients (its PDF case run with the addons installed) pass on the base, process-test the base's two; replicas five clients diverged 0, unequal 0, checked/wrong 2143/0, 2000/0, 1846/0, quiet checks 554/0, 540/0, 706/0; three clients diverged 0; tui core-test 823/964, shell-test 999/1002, behaviour-test 274/274 and --replay 20 seeds 0 failures, pane-test 180/181, gui unit-test 1593/1597
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |
|
|
|
|
|
| |
veil): its head says its whole state is the one block its open allocates, plain bytes changed only by its calls, each a function of the block and what the call is handed (no statics, clock, randomness or file of its own; tick is not told PA_FRAMED); the core keeps the block (Kind.Slot.plain, the core's memory, a client's rollback epoch, which the copy saves) and its hash after each call is the call's taped outcome and in the digest (Slot.state), so a client whose block came out otherwise is caught at that call, joins again, and runs the session's frames of it from then (Addon.distrust); a client loads its own code for the kind by name, version, ABI and functions (Addon.plainOps; its scan only when the session has one), opens each such pane from the session's block byte for byte (dump.plainHere; the block is the dump's record, the kind's load given it at a Restore alone), speculates its keys, mouse and the tick after them, and draws it; one without the addon draws a line saying so; the session sends no Shadow for these panes; snake, life, snake_shader and veil say PA_PLAIN; test/liar.zig, a kind whose tick reads the clock; test/daemon.py --games: snake and life focused in two clients while a third types text for 30 s, keys stopped 0 and 0 of 451 and 450 (the base: 33 of 36 stopped in a tty client), rollbacks 385, 345, 366, every digest agreed, and the liar caught at its tick, its client joined again once and agreed; the GPU snake focused in a window client (offscreen) of a terminal's session and of a window's steps every 200 ms (2, 3, 4, 5, 7, 8, 9, 10, 12, 13), keys stopped 0 of 27, its digest agreed; the snake_shader's load tidying hover and timers made a client's block another than the session's at the first tick, caught so, hence the block itself in the dump; running.typ says a plain addon runs in a client; perf --only medium --reps 10 instructions:u 2,459.25M (base) -> 2,459.23M, --terminal-mib 8 3,928.50M -> 3,928.50M; tui core-test 811/950 (139 skipped), shell-test 993/996, pane-test 180/181, replicas pass (diverged 0, checked/wrong 0), behaviour-test 269/273 (the four addon ABI tests the base fails), --replay 20 seeds 0 failures, addon-test 157/157 steps 5/5, process-test 2 of 144 failed (lspcomplete and lspcompletemoved, the base's; winch failed once under load and passes alone), test/daemon.py, --far and --games pass; gui unit-test 1582/1590 (the base's), the frame corpus 77/77 against mbase, test/daemon.py --window-clients passes (its PDF window case skipped: no pdf.so built)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |\
| |
| |
| |
| |
| |
| | |
a library's: on sketchbook's reorg (the build side merged with the devices out of Host.zig) the corpus is 77/77 in Debug and ReleaseFast, the perf window -0.028%, unit-test gui 1582/1590 (the five Cells and Atlas tests live in sketchbook's suite now), core-test tui 811/950 (139 skipped)
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
options: cloud9's module has no target or optimize of its own now (it compiles for whatever imports it) and its tests, programs and configure-time jj and date are its own root's alone, so pardes's configure no longer runs them; the manifest names main at 2fb9cbad; on tui core-test 811/950 (139 skipped), shell-test 993/996, behaviour-test 269/273 (the four addon ABI tests the base fails), process-test 2 of 144 failed (lspcomplete and lspcompletemoved, the base's)
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |/
|
|
| |
build/gui.zig only) for its `c`, translated from gui.zig's header over pardes's own SDL (-Dc-header, -Dc-include), its `dev` (the executor, cells, presentation, glyph atlas and scene format: src/gui/gui.zig takes the five from it) and the named font.c, compiled against pardes's FreeType and HarfBuzz as before; every sb.path into sketchbook, the copied shader list, compileGlsl and -Dgpu-only are gone; -Dprebuilt-shaders is passed through; the GPU addons take gpu_scene from the same instance (addons.gpu gets the window's dependency, null off the window, after it); the Cells and Atlas tests are sketchbook's own now (5 fewer here). gui: frame corpus 77/77 byte-identical against mbase, unit-test 1582/1590 (the base's 1582; the 5 moved, the base's 8 failures), tui-has-no-sdl; tui: core-test 811/950 (139 skipped), configures with ../sketchbook moved aside
|
| |\
| |
| |
| |
| |
| |
| |
| |
| | |
step 1 of its reorganisation put them
A merge of pardes-build-2 (uukslmmu) and reorg-1 (nrsxpmro). One conflict, build.zig: the restructured script is kept and the moved paths (sketchbook's src/gpu/ is dev/draw/, src/font/Atlas.zig is dev/text/Atlas.zig) are applied where those lines live now, build/gui.zig and one option's description. Against sketchbook's reorg-1: frame corpus 77/77 identical in Debug (baseline .scratch/sketch/gpu/mbase), unit-test on gui 1587/1595 with no failure the baseline has not; on tui core-test 811/950 (139 skipped), shell-test 993/996, syntax-test 40/40.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
docs.add takes typst through b.findProgramLazy: the three renders run
the program found at make time, and without typst on PATH the step that
renders fails ("program not found") where three addFail steps and the
optional renders said so before. findProgram was the configure cache's
poison; build() now poisons it itself, with the reason (the environment,
the clock and vendor/ are read untracked: REORG decision 20 keeps the
configure uncached). Line for a line: lazyDependency -> dependencyLazy
(catch for orelse), runAllowFail -> runFallible, b.dupe ->
b.graph.dupeString, .ReleaseSafe -> .safe; build.zig through zig fmt.
Left: gui.zig's three lazyDependency calls (lines 62-176, which another
change rewrites) and std.Build.package_map (no line-for-line
replacement: dependencyLazy's error would have to reach build()).
Gates: zig build -l and -h byte-identical, whole matrix and test/lib
(its configuration too); the configuration gains the find-program step
and the typst runs are named run typst (...) instead of by the path
found, nothing else changes; --print-configuration-path still a tmp/
path, twice; zig build cheatsheet writes cheatsheet.pdf, and with PATH
holding zig alone fails "program not found" while -l succeeds. Warm:
install addons, core-test shell-test unit-test process-test on tui, and
install addons on gui: 0 compiles not cached, binaries cmp-identical.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The snake and veil GPU addons ask for sketchbook, a path dependency,
and a missing path is a fatal error at configure (reports/build-api.md
3.2), so every build failed without ../sketchbook, the terminal's too.
addons.gpu now asks for it under the window build alone (-Dplatform=gui
or the bare build); elsewhere snake-shader and veil are still steps,
which fail saying so. On the terminal's build the snake_shader addon's
--addon-test comparison goes with it (behaviour-test and addon-test run
the fake, snake, life and pdf ones there).
Gates: with ../sketchbook moved aside, zig build -l -Dplatform=tui (and
--print-configuration, and the musl shape) succeeds, where the parent
fails "failed to open ../sketchbook: FileNotFound"; -Dplatform=gui still
needs it. zig build -l and -h byte-identical, whole matrix; the
printed configuration byte-identical for the bare and gui shapes; the
tui, musl, nopdf, tsmin, ReleaseFast and macos shapes lose the
snake_shader and veil libraries, their installs, glslc runs, test and
--addon-test comparison and sketchbook's abi-hash tool, and gain one
Fail step; the tui configuration is the same with and without
sketchbook. Warm rebuild on tui (install addons, core-test shell-test
unit-test process-test): 0 compiles not cached, the parent's counts,
installed binaries cmp-identical to the parent's.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Each of the four upstream patches (vaxis's parser, render and queue,
zstbi, ghostty's kitty loader, mvzr) is a table of edits in
build/patches.zig: the text to find, how many times it occurs, its
replacement. tools/patch.zig (39 lines, the shape of sketchbook's
reload_edit) applies one file's table at make time, and appends what the
patch adds as a real Zig file of build/patches/ (vaxis_parser.zig,
vaxis_render.zig, ghostty_kitty.zig, mvzr_budget.zig); an edit whose text
moved or doubled writes nothing and fails that file's step. The
configure no longer reads or carries ~300 KB of patched sources: the
binary configuration halves (tui 607,524 -> 302,049 bytes, gui 643,248
-> 337,769). build/patches.zig 386 -> 338 lines, plus 57 in its four
appended files.
Gates: zig build -l and -h byte-identical, whole matrix and test/lib.
The patched files byte-identical to the base's (Parser.zig, Vaxis.zig,
queue.zig, graphics_image.zig, mvzr.zig, zstbi.c), and the four module
directories the compiles read (vaxis 53 files, ghostty 1,009, mvzr,
zstbi) identical file for file (sha256). The warm rebuild cannot be all
cached: a module root in another directory is another compile, though
its bytes are the same (a 10-line experiment shows it), so this was
built from a wiped cache: install addons, core-test shell-test unit-test
process-test on tui and gui give the base's counts (tui 2339/2486, gui
2398/2545, the same failures). pardes and pardes-gui differ from the
base's in layout only: section sizes equal, every named symbol the same
name, size and kind (tui 37,228; gui 79,507 against the base tree
relinked cold), anonymous symbols the same sizes; image.so and pdf.so
identical once their debug info is stripped. (A cold relink of the base
tree itself takes operator new from libc++abi.a rather than libc++.a,
as this one does: the base's binary was linked in another order.) A
second build is all cached, the patch runs too.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
tests.zig's test roots are made by one helper, Units.root: a test
program over a path with its imports, at the build's target and
optimization, filtered by -Dtest-filter. kitty-test, behaviour-test,
the protocol roots (a table before, straight-line calls now), the deck
replay, and the perf and fs bench programs' own tests (made in tools.zig
before, which hands tests.zig perf.zig's options now) are each a line.
pane-test keeps three lines after its call: ghostty-vt is optional while
ghostty is unfetched, and the import order is the compile's cache key.
Gates: zig build -l and -h byte-identical, whole matrix; the printed
configuration byte-identical for every shape but gui's, whose diff is
module, owner and contents indices only (renumbering); a warm rebuild on
the base's cache, install addons then core-test shell-test unit-test
process-test on tui and gui: 0 compiles not cached (tui 117 cached 518
reused, gui 125 cached 540 reused), the same test counts as the base
(tui 2339/2486, gui 2398/2545; the base's 4 addon ABI failures and tui's
lspcomplete pair), installed pardes, pardes-gui, image.so and pdf.so
cmp-identical to the base's.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
pure move
build() no longer holds the ~240 lines that make what every core is made
of: the one-round lazy fetch, tree-sitter and the themes, the shells'
options modules, the patched packages, MuPDF and FreeType, the addon ABI
and the addons, uucode, vaxis and ghostty, zstd, xitdb, the terminal, the
six options modules a core chooses between, and the Parts literal. They
are core.assemble, in the same order (the configuration numbers what it
generates by creation order), returning core.Assembly. The workspace-tag,
stamp-commit and pdf options join the others at the top of build(), in
their order, with the shell's configuration. build() 503 -> 317 lines,
build.zig 554 -> 366, build/core.zig 359 -> 621.
Gates (whole matrix, test/lib too): zig build -l and -h byte-identical;
--print-configuration byte-identical but for the gui shapes' Options
contents indices, which differ run to run on one tree (three runs of
this tree gave three values); the binary configuration file of every
shape identical outside the bytes two runs of the base differ in.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
build/core.zig's module() makes every core: the shell, the core, the core
without the terminal (core-test), pardes-isolate, the static, the bare
build's window, the syntax module's (syntax-test) and the 9P test roots;
each import and library a core takes is written there once, in the order
the fold over core_mods and wireCore gave them, so every compile keeps its
inputs. Parts holds what a core is made of, Core the few ways the products
differ. Tracy's client and BSD libutil stay where they were (Tracy: the
shell and the core; libutil: the shell), now said by a field. Gone: the
core_mods fold and its buffers, wireCore and its eleven optional fields,
the 9P roots' copies of core_module's import table and link objects.
The editor library's and pardes-syntax's import lists are written out in
full (editorModule, library.zig); TreeSitter.wire adds the grammars;
ShellConfig has defaults, so the library's two literals are one.
build/gui.zig's make() builds SDL, gui_c, sketchbook's renderer, HarfBuzz
and the renderer's and atlas's tests once, and Window.wire links them into
each window shell. One pardes-lspmock (tests and process-test shared it
twice from one root); tools.program() makes the eleven uniform runner
programs in a line each. The pdf benches (tools.pdfBenches) are made once
the core is.
Gates: zig build -l and -h byte-identical to the base over the matrix
(bare, tui, gui, macos, ReleaseFast, -Dpdf=false, -Dtree-sitter=minimal,
musl, -Dtracy), test/lib's configuration byte-identical. Warm rebuild of
install addons and core-test shell-test unit-test process-test on the
base's cache: tui every compile cached (0 rebuilt), 2339/2486 tests passed
with the base's 4 known failures, the same counts as the base; gui one
change: SDL3 had -DSDL_DISABLE_STB=1 added once per window shell (twice
with -Dplatform=gui), now once, so libSDL3.a's cache path moves and
pardes-gui and the shell-test root relink (their argv differ in that one
path, nothing else); tests 2398/2545, as the base. Installed bin/pardes,
image.so and pdf.so cmp-identical on tui; image.so and pdf.so identical on
gui, pardes-gui differs by the relinked SDL3 (size 398,737,210 ->
398,733,114). zig build syntax-test, which did not compile on main, now
compiles and passes (40/40).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
build.zig 2,406 -> 658 lines; the pieces moved verbatim into a file per
thing, each a function called where its code stood, so every step, module
and option is made in the same order as before: build/docs.zig (the typst
renders, builtins-json, command-line.txt), build/addons.zig (the GPU
addons, the pdf addon and its benches, the image addon), build/patches.zig
(vaxis, zstbi, ghostty's kitty loader, mvzr), build/gui.zig (the window's
shells and its renderer and atlas tests), build/macos.zig (the app, dmg,
e2e, its unit-test), build/tools.zig (harnesses, hx*, benches, perf, the
syntax snapshots, lib-test, history), build/tests.zig (unit-test and its
roots), build/library.zig (what a dependent package gets), build/core.zig
(the options module, themes, grammars, uucode, the editor module,
wireCore); mupdf.zig is build/mupdf.zig. A fragment takes what it uses as
explicit parameters, or as one struct of exactly those (cloud9's and
build/process.zig's pattern). Platform, PerfBuild and TreeSitterGrammars
stay in build.zig: Options names an enum or struct by @typeName, so where
they are declared is in every options file.
Gate: zig build --print-configuration, -l and -h byte-identical to the
base over bare (-Dhome-install=false), tui, gui, macos, tui and gui
ReleaseFast, -Dpdf=false (tui, gui), -Dtree-sitter=minimal, musl,
-Dtracy, and test/lib's -l and --print-configuration.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|