| Commit message (Collapse) | Author | Age |
| ... | |
| | |
| |
| |
| |
| |
| |
| | |
the emulator's (pardes-term-join-10, item 1; the note's point 3, the coordinator's choice): `Pane.scrolled_to` (core/panes.zig), a per-view field (views.zig `pane_fields`, `PaneView`: in the rollback copy, the digest and the dump, each view's own), the row its top shows or null on the output, written only by a step (`scrollBy`, `followOutput`), and carried with every open view's through each write of the emulator that moves rows, once, in the confirmed unit's apply, on every side alike (`Term.feed`/`Term.resize` take the places; core/term/terminal.zig `carry`/`carried` pin each place's row on the primary screen and read the pin back: up by the rows the history drops, 0 when its own row goes, null in the active area or after a reset: a function of the fed bytes); the draw reads the rows from the view's place (`viewport`, `paint`, `ImagesAt.place`, terminal.zig `shown`), and ghostty's own viewport is never moved, read, digested or dumped (`Grid.offset`/`view`, `Parts.view` and the digest's offset gone): two clients no longer scroll one viewport (the new views.zig test failed on the base, `expected 80, found 77`), and a speculation's scroll is in the copy, so `putViews`, the view half of `keepViews` (now `keepSerials`), `viewTo`/`scroll`/`follow` (ops, wrappers, bodies), the Debug screen hash's view exclusion, `reflow`'s column-0 cure and `feedOutput`'s follow-after-read are deleted, and S1's `calls` lists no view write (the rows `viewTo`, `scroll`, `follow` gone); tests: the two-view test (with a dump), the place at the history's cap (`setMaxBytes(1)`), a 300-seed fuzz of the carried place against ghostty's own pinned view, a client's wheel over a shared terminal through output and a rollback, round 6's order explorer (30 seeds a run); the wire at 31 (abi/wire.zig, test/daemon.py `WIRE`): an installed build's dump loads with every view on the output; IN THE WORKSPACE core-test 912/1072 (160 skipped), shell-test 1114/1117 (3 skipped), term-test 16/16, kitty-test 45/45, pane-test 181/182, behaviour-test 275/275, --replay 275/275, process-test 0 of 146 failed, as pairs 0 of 146; gui unit-test 1707/1711, its one error BaselineHarnessMismatch (every base's)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |\|
| |
| |
| |
| |
| |
| | |
gathered line: pardes-merge56 (`qvwrwxtu`: the installed tree and the source view's changes to their last slice) and pardes-term-join-9 (`twssqzqw`, fourteen changes on pardes-merge55: every client's terminals by the pty's bytes and nothing else: the delta protocol, its flow control and core/term/screen_state.zig deleted (-3,605 +504 lines), the wire at 30, one soak; S1: abi/term.zig's Ops in replicated and local, the terminal's digest covering what a step reads, every call of the core's into a terminal listed with its rule as a test; a client's own join again judged after its goodbye; a pty's size one fact the core hands its host for every fork, adopt and resize; a closed view sizes no terminal); no textual conflict; one semantic one, resolved here: core/jj.zig's Churn test (the layers' last round) called Authority.init and Replica.init with the road's flag the deletion took away: the argument removed; core-test 916/1073 (157 skipped), shell-test 1115/1118; its gate: .scratch/sketch/reorg/merge57, the numbers in PARDES.md (2026-11-22)
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
types into it (pardes-term-join-9, item 2 (B), point (b)): `sizes` handed a terminal whose sizing view had closed to whichever view was live at the next `sync`, a view nobody looks at among them, and a client given the closed view's index later sized it without typing; now `Pane.sized_by` is `?u8`, `views.dropView` clears it (the terminal keeps the size it has), `closeKeeping` hands it to the view that takes the closing one's place (the session's own laid out as it was: the size it promised to keep), and `sizes` is `sized_by == live` alone, typing (`typedInto`) the one act that moves it; test (core/views.zig "a terminal shown at two sizes ...", extended): the pty's pixels at the sizing view's cell whichever view is live (point (c) of the change before); the sizing view closed, the size stays until the view left types; a view opened at the closed index sizes nothing until it types (on the base the size moved at the close)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
pty's size, pixels too (pardes-term-join-9, item 2 (B), points (a) and (c)): the spawn host call took no size and both hosts forked at the session's live screen (dev/Ptys.zig `spawn`, runtime/macos.zig `spawnShell`: `core.view().screen_h/w`), so a shell started again into a pane already sized (pty/ctl's exec, a finished command pane run again by exec.zig `runCommand`, a Restore's `revivePane`) ran at the screen's size and nothing resized it, the grid unchanged and `sync` emitting nothing (`stty size` said 50 160 in a 44x158 pane); and a pty's pixels were the live view's (host_io.zig `ptyWinsize` read `core.view().cell_pixels`) whichever view sized it; now `Effect.PtySize` (cells and pixels) is what the core gives its host for `spawn` and `pty_resize`, made by `Core.ptySize` from the pane's grid (or 9P's numbers) at the cell of the view that sizes it, a spawn performed after its step's `sync` reading the laid-out grid, and the hosts fork and size from it alone (`Ptys.take` sizes an adopted shell from it too: 1x1 then the size, once, its forced redraw kept, an ioctl to the size a pty has already sending no SIGWINCH); test (test/process/terminals.zig, a new case): a Term pane's shell, the same shell started again by pty/ctl's exec and a finished command pane run again each say the grid their pty/ctl reads back (fails on the base: 50 160 against 44 158); not covered: a new command pane made over 9P is placed a step after its fork, so its first size can still be the screen's
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
side's own emulator's again (the old road's deletion, piece 6 of 8): core/tape.zig loses `Tape.screen_state` and every branch on it (a terminal's output recorded without its bytes, the positions and prompt checks skipped, `screenReplica`, `screenAuthority`, `screenState`, `viewOnly`, which on the one road did nothing), and the tape site `images`; core/panes.zig its replica branches (a feed skipped and the session's positions taken, a view's scroll or follow noted, a resize left to the authority, the reloads at a join skipped); core/Term.zig a terminal's digest that returned early under screen state, and the medium read that went past the tape; core/dump.zig a join's dump always holds each terminal whole (`slim_terminals` stays for the exit dump); the tests' `t.screen_state = false` lines (4 in core/replica.zig, 3 in test/replicas.zig); THE IMAGES (the brief's choice): `Pane.term_images` and its taped read after each output (pardes-image-loop's cure for a screen-state client, whose emulator never held an image) go, the tag reads `Term.hasImages` again (core/tagline.zig), and a terminal's digest holds whether it has an image (core/term/terminal.zig `digest`: one bool among its facts), so the fact the tag shows is covered by the digest it is computed from (S1's rule) rather than by a pane field copied after each output, and a parting over it is named at the terminal; abi/wire.zig's line for 30 says so (the dump's shape changed with it); the image-loop's test runs on the one road (the client's emulator has the image, its tag says what the session's does); core-test 911/1068 (157 skipped), shell-test 1110/1113, term-test 15/15, pane-test 181/182, kitty-test 45/45, the soak's small run and `--echo` rc 0 (diverged 0, unequal 0, corpus 22)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
old road's deletion, piece 3 of 8): core/replica.zig loses the screen-state section (the screen message's head, `Screens`: tracks, peers, flush, fill, filled, take), `Peers.screens`/`msgs`/`flushed`/`screensOut`/`screensTo`, the `.screen` note and its arm in `boundary`, `Peers.input`'s flushes and fills, a joiner's `addPeer` and a leaver's `dropPeer`, `Peer.sid` and its `screen_ack` arm, `Replica.screen`/`screenRequest`/`screenMessage`/`overTerminals`, `Replica.screens`/`screen_out`/`ScreenOf`, `Stats.apply_ns`, `Said.screen` (and its arms in dev/tui/tui.zig and dev/gui/gui.zig: a delta no longer counts as an echo there, nor is its latency noted), the Link's `.screen` arm and `drawn`'s row requests, `sendScreen`, and the `screens` argument of `Authority.init` and `Replica.init` (every caller: core/jj.zig 10, core/tape.zig 2, core/echo.zig 2, test/panes.zig 15, test/perf.zig 2, runtime/client.zig 1, test/rollback_bench.zig 1, test/replicas.zig 10, core/replica.zig 98); a replica's own `made` no longer starts on screen state, and `confirm` and `applyPending` keep only their one-road branches; abi/wire.zig retires the replica's `screen_ack` (0x04) and the session's `screen` (0x06) as gaps (the version moves once, in piece 4); test/daemon.py's round trip passes over units alone; the tests that were the old road's alone go: a delta under a speculation, a terminal sized again by a client's key (screen state's deferred size), pardes's own keys over a terminal's history and a delta while they wait, a unit kept over a copy and a delta after it, a step's rows sent as a new client's holes, the screen-state twin of the 9P pty/run test, and the 9P open over a copy taken ahead (on the one road a unit that feeds a terminal lets the copy go: `Term.writes`, so no copy is held across the run's output: its premise was the old road's); the others that ran on screen state now run on the bytes road (a kitty image: the client's emulator has it as the session's does; prompt marks and Kill; the far client's may_wait walk, its click into a focus-reporting shell, its backed-up queue; a view that sized a terminal closing; a closed terminal brought back; a leave's queued resize before a join); FOUND AND FIXED on the way (those tests on the one road failed: the far click `expected 0, found 1` stopped, and may_wait named `Del`, `DelAbove`, `Up`, `C-w a`, `click shell`, `Look` stopped at `pty_write`): a client's own step that moved the focus in a session whose shell asked for focus events wrote the report (CSI I/O) through pty_write, which a speculation stops at (`keeps_stopping`), so the key or click waited a round trip, and the session's write was on the tape; on screen state both were skipped (core/Core.zig `reportFocus` skipped the write only `speculating and screen_state`, core/tape.zig `hostCall` kept pty_write off the tape only under screen state): both now on every road (a user on the flip's build could hit it: a far client's click, pane switch or Del beside vim or tmux waited a round trip); core/root.zig `machine_lines` for replica.zig 76 -> 74 (Authority.init's getenv and a joiner's `addPeer` failure's shutdown gone); core-test 911/1068 (157 skipped: 7 tests gone, each one skipped there for want of a shell), shell-test 1110/1113 (the 7 gone)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |\ \
| |/
|/|
| |
| |
| |
| | |
tree: main (`stpnsymm`: pardes-merge55, installed 2026-11-22) and pardes-layers-6 (`rtzmwzsk` on `owsluptw`, on pardes-layers-5: `Churn [window]`: for each declaration the count of the changes in the window that touched it, a cell after the line number and a strip by the scroll thumb from grey to red on a log scale, jj and the parse on the worker; the chords `SPC t c` and `SPC t u`; the manual's chapter "Changes on the source view" and the cheatsheet's rows); no conflict; core-test 915/1079 (164 skipped), shell-test 1121/1124; its gate: .scratch/sketch/reorg/merge56, the numbers in PARDES.md (2026-11-22)
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
(tree-sitter's innermost, as TreeContext finds them: `f.context.declarations`), how many of the window's changes touched it, shown in this view as a heat lane after the line number (a half block, before the changes' lanes, which stay next to the text they mark: `File.Layers.heat`, one cell) and as a strip by the scroll thumb (a rail row each, the hottest of its lines: the rail's second cell in a terminal, `Surface.heat` for a window, drawn beside the track by gui.zig's paneDecor), smooth from the line numbers' grey to the theme's red (`jj.themeRed`) in Oklab on a log scale of the count against the file's hottest (`heatColour`); the window a revset, or a span of time back from now (`3d`, `2w`, `6m`, `1y`: `::(REV) & author_date(after:"N units ago")`), bare shown here or not and with none counted yet the file's whole history `::(REV)`; jj's data as `Changes`' is: one `jj log` of the window and the changes after it to the shown revision with their hunks (the same query and marks, `Ask.kind` `.churn`) and `jj file show` of the revision (to line the counts up with the pane's text, `Moved.of`), on the worker, its raw answer an input; kept raw in the session's jj state (`jj.Heat`, `Session.heats`) until the text's declarations are there, then counted in every process (`heatOf`, `parsed`): a big file's parse is a worker's (`Stream.parseFor`, its landing tells `jj.parsed`), never the loop's (counted on the loop, core/replica.zig held a Debug loop 1,211 ms; now its longest hold is 10.7 ms; the counting itself 1 ms); a change counts once a declaration, a hunk's lines carried to the shown revision through the later changes' hunks; the counts ride with the lines through edits (`spliceValues`, shared with `Changes`' lines); a later ask of the other kind no longer drops an answer (the stale check is per kind); tests: f three changes, g two: `3 3 3 0 2 2 2`, the cell red on f, `mixOklab(grey, red, ln 3 / ln 4)` on g, none on the blank line, the strip's first row red, in a terminal and a window, bare off and on without asking jj; `@--::@` one each, `1w` all, a refusal in jj's words; on a worker, counted when the worker's parse lands, the client equal; a line deleted takes its count, the client and digest equal; core-test 912/1072 (160 skipped), shell-test 1114/1117 (3 skipped)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |\|
| |
| |
| |
| |
| |
| | |
bytes, and the source view's changes to the whole mock: pardes-flip (`uxzzxrtt`, on pardes-merge54: the one road by default, the old one behind PARDES_TERM_SCREEN until it is deleted; a client takes its road from the session's welcome: the wire at 29; the predicted echo kept on the one road; the user's ruling of 2026-11-22) and pardes-layers-5 (`qurmskql` on `yxupukvr` on `tllltqkq` on `qwvwsoww`, on pardes-layers-4: a terminal's output pays less for the layers with `Changes` off; ghost rows: a line taken away whole red across, each change's description after its last line; a changed line's words by the patch view's alignment; `]g` and `[g`; a description row keeps its author and age, a change's rows come before its own description); no conflict; core-test 911/1075 (164 skipped), shell-test 1117/1120; its gate: .scratch/sketch/reorg/merge55, the numbers in PARDES.md (2026-11-22)
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
has is drawn where it stood, rows of their own with no number and dimmer ink (`jj.Ghost`, kept with jj's answers, `Changes.ghosts` in `at` order, their text in `Changes.ghost_text` beside the hunks' removed lines): a line a pinned change took away whole, red across, in the line numbers' grey, placed by carrying the place it was taken from through the later pins' hunks into the shown text (`jj.carried`), and each pin's description after its last line (`id title author age`, the id's first four letters, the author's first name, the age short with no "ago", in its lane's colour, the author and age grey; the age is of the wall clock jj's answer carries, read where jj runs, an input as jj's answer is), the descriptions of blocks that close just above a place first and newest first, then the lines taken away there, then the descriptions of pins that have only those; a ghost row carries its own pin's lane and those of the line above that run on below it or close at or after it (`jj.ghostLanes`); the view's geometry takes the rows (`File.fillBody`'s ghosted instance, only while this view shows the changes and there are some: a ghost row's `wrap_col` is `-1 - ` its index, its `wrap_line` the line it stands before; `Pane.ghosts`/`ghost_text`, derived, set by `jj.showGhosts` each step while shown and as an answer lands), so the rows below move down in this view alone (another view with the lanes hidden is unmoved: tested); `wrapAt` says `ghost` and answers the line below at its start, so the cursor steps over them (`j` from the line above lands on the line below), selection, search hits, places and tables do not paint them, the line numbers skip them, a page ends before one; a Look (B3) on one opens its line in the revision it came from (`path@id-:line` for a line taken away, `path@id:line` for a description: `jj.lookGhost`); `]g` and `[g` (helix's, free in pardes's map: `goto_change`) go to the next and the previous change's first line (`jj.nextChange`); edits carry them as the lines' values (`jj.splice`: a ghost row stands before the line it stood before; one before a line taken out stands before the line after what took its place); in a terminal and in a window (tested both); round 3's lanes test reads each line's row through the view's map; tests: what the rows show (text, numbers, lanes by pin, grounds, inks) in both frontends and the other view unmoved; the cursor, the selection, `]g`/`[g` and a Look; the rows riding through two deletions with a client replaying them equal
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | | | |
| | \ | |
| |\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | | |
pardes-image-loop (`zmlvktus`, on pardes-merge53: a terminal showing a kitty image no longer parts a screen-state client from its session: whether a terminal shows images is the session's fact, taped (`Pane.term_images`, `Site.images`), and the tag reads it: the wire at 28), pardes-pair-8 (`qpyluuxx` on `unvntksw`, on pardes-pair-7: a client presents a frame only when a replayed step asked for one, as the session's own frontend draws; the client window's test mode), pardes-layers-4 (`slzpmpuz` on `omkuvwmk` on `wuwlmwzr`, on pardes-layers-3: `Changes` runs jj on a worker and its answer lands as one input: the loop held 2.5 ms where it was 600; the lanes follow the pane's text through unsaved lines, edits and undo; a client's key back inside the budget with `Changes` off) and pardes-term-join-6 (`llosvxxm` on `rstrvvur`, on pardes-term-join-5: a terminal's view is its row again after every reflow, so a rollback's put-back by row is exact: the bytes road's one-row parting); no conflict; core-test 904/1067 (163 skipped), shell-test 1109/1112; its gate: .scratch/sketch/reorg/merge54, the numbers in PARDES.md (2026-11-21)
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
its session: whether the terminal holds an image is the session's fact, `Pane.term_images`, set at its output's step (core/Core.zig `.output`: taped under screen state, tape site `images`, the session's answer replayed on every client, whose emulator is fed cells and never has the image; read directly otherwise, every side fed the same bytes) and read by the tag (core/tagline.zig, for `Term.hasImages` of each side's own emulator, whose ` petscii:on|off` made the digested `tag_lead` longer on the session's side only: every quiet check differed and a plain attach joined again 3.2 times a second for as long as the image was there, the installed build too); taped and not a bit beside the cells because the step that computes the tag is the output's own unit, which a client replays before that pump's flush reaches it; wire 28 (a pane's new field in the join's dump and the digest, the tape's new site; test/daemon.py `WIRE`); daemon.py `--kitty-image` on Debug: 0 joins in 5 s, 3 of 3 (16 before); core-test 898/1060 (162 skipped), shell-test 1102/1105 (3 skipped), term-test 18/18, kitty-test 45/45
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |/
| |
| |
| |
| |
| |
| | |
all of jj's session state is one field, `Pardes.changes: jj.Session` (jj's answers by pane serial, the `Changes` jj runs for, the one asked meanwhile, how many were asked), whose digest is nothing until a `Changes` is asked and then one update while nothing is asked of jj, where item A had three `Stream` fields (three updates in every digest of the session, and a client's key takes several digests) beside round 4's answers list (one more); `Stream` holds nothing of jj's again (its dispatch lines stay), the session's end lets the worker and the asks go in `Session.deinit`, and the batch's 8-byte `jj` field goes (a `Changes` answer is told by its generation's bit, `jj.gen_bit`, after a paint's, and the pane it is for is the ask's, which every replica holds); measured first, a variant at a time, client-key-down against tree3's pardes-perf in the gate's own layout (ReleaseFast gui, its farms and HOME; my first script's layout read about 0.05% lower): item B as it was small +0.111%, the batch's field gone and the stream's three fields one +0.104%, the session's state one field digested as nothing until asked small +0.047%, large +0.047%, medium +0.010%
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
answers are the session's, a list by pane serial (`Pardes.changes`, `jj.answered`; `jj.forget` at the pane's end), no longer a field of every pane, and a view holds only whether it shows them (`File.Layers.lanes`, the cells their lanes take, hashed with `ink` in one update), so a second view's `Changes other` shows the new set in both and its bare `Changes` hides them in its own alone (bare with none pinned yet is `@`); measured first, per operation against gpu/tree3 (a gui ReleaseFast pardes-perf, perfops's way of counting: reorg/pardes-layers-4/perf): merge50 +0.005% a client key, round 3 +0.110%, a packed one-byte `Layers` +0.391% (a packed field cost the walks more), a plain two-byte one +0.152%, the per-pane field gone +0.118%, the gutter's three reads of the lanes taken out +0.066% with body-appends from +0.189% to -0.004%: what paid was fillBody's line number, formatted for every row of every geometry pass (no `dst`, a hundred a frame) and thrown away, whose row loop moved with any value added to it: it is now written only into a `dst` (client key +0.017%, deep-sel +0.002%, render -0.021%, body-appends -1.555%); and `jj.of` (round 1's) gave a revision's name as a slice of a by-value copy of the pane's Output, dangling once it returned (jj told "Non-UTF-8 argument" for `Changes` in a revision's pane in a window build): the pane's own now; tests: the pinned changes are the pane's, shown in a view by its own bit (a second view's revset shows in both, its bare Changes hides them there alone), the two of a terminal's cells said so (`.windowed = false`); core-test 896/1056 (160 skipped), shell-test 1098/1101 (3 skipped), gui unit-test 1695/1699 (4 skipped); the frame and perf gate against tree3 (gpu/l4-g0): 77/77 frames, 0 differ, perfab corpus2x +0.005% (noise 0.058%), perfops 121 counts within 0.1% (largest terminal on all +0.082%)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |/
|
|
|
|
|
| |
view (bare `@`, bare again off, another replaces; refusals in jj's words) and draws them: what jj says is asked in two recorded answers (Site.jj), `jj log -p --git --context=0` restricted to the file (the pins: id, author, time, the description's first line, and each one's diff, read with diff.zig's walk into hunks and the removed lines' text) and `jj file annotate` at the shown revision (which pin wrote each line), kept as flat arrays in the pane (Pane.changes: replicated, a late joiner has them in the dump, a client never runs jj) and worn by the view whose revset is File.Layers.revset; a pin's lane runs unbroken from a line it wrote to the next while every line between is a newer pin's, so lanes nest, the spine keeping its place and a nested change a level to the right on its rows only, three levels in a gutter the lanes widen (a window two cells, strips of a third of a cell with half that of air: Surface.lanes, drawn by the gui; a terminal three, a `▎` a level), coloured by the theme's accents but its green and red in hue order from the top, one within 15 degrees of the last kept skipped (doom one: magenta, blue, yellow), oldest first; a line a pin added whole (in a run it took away and wrote, past as many as it took away) is green across the line as a diff's added line; with Changes off nothing is drawn and the gutter is as it was; tests: the data through the pane (pins, lines, hunks, removed text, unpin, `@` touching nothing, a refusal), a client replaying it ends equal, the lanes and grounds of a three-deep stack in a terminal's cells and a window's strips; core-test 895/1055 (160 skipped), shell-test 1097/1100
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |\
| |
| |
| |
| |
| |
| | |
(terminals by the pty's bytes: a client's emulator fed the session's bytes, reload at a join, the lag bound; the query rows' paint decided on replicated state; views.park's leak; a view kept for its client's rejoin; C and Alt-C on a long text walking on from the row last tried: 306 G instructions to 194 M; the soak's witness and watchdog) and main (pardes-new-upgrade); seven conflicts: the wire's version (the side line's 24 is 26 here: 24 is the bye's close byte, 25 the 9P state), Peers' join (the view typed, the lag limit a field's default), a peer's end (the view's index; cut joins again), the client's and the soak's bye (the struct, again or lagged), daemon.py's WIRE; three more the compiler found (a test's view typed: its index where a u8 is asked)
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| | |
(30 s): the screen-state soak's 'the far client never showed the screen after the flood (it left)' (seed 0 at 207 ms, reproduced in f207-2: the far client 10.5 s behind joined again for its lag, then refused 40 times with 42 keys left, and given up) was openViewInner (Core.zig:1168) giving a join with no room the first away view (Views.close(@ctz(views_away))) while that view's client, which had said in its bye that it joins again, was still waiting for its dump to cross a slow link: a dialling client took its place and every later join of the far client was refused; FIRST the test (views.zig, the rejoin test turned round: with every view taken and two kept away, a join is refused until away_kept_ns has passed, then takes the first kept; on the base 'expected null, found 1'); then the fix: View.away_ns, the session's clock when its client went away (Views.away), and openViewInner lets a kept view go only once it is that old; the bound: the soak's far link (1 Mbit/s, 200 ms each way) has taken up to 18.3 s between two of its joins (g-1, 207 ms) and 15.6 s before; past 30 s the client is taken as gone; the wire's version 23 -> 24 (a view's state in the dump and the digest), test/daemon.py's WIRE with it; a user: a far client resyncing for its lag while a fifth client dialled lost its view and was refused (every view taken)
|
| | |
| |
| |
| |
| |
| |
| | |
reloaded every written terminal on every side before Views.open said no (core/Core.zig), a step of a megabyte's snapshot a terminal for nothing a session refuses 550-630 times a soak run; the view now taken first, the reloads after; FIRST the test (core/replica.zig, the earlier one turned round: every view taken, a key of the client's on top, a fifth client refused, the pump's unit, the key confirmed, more output: no reload on any side, the client the session's): on the base expected 2, found 3 (the refused join reloaded); with the change shell-test -Dtest-filter='bytes: a join' 13/13
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
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Pane.Id (P21: the fields, not the inner code): Pipe.PendingPipe.pane (usize; authority only, in no dump or digest), the LSP question's wait.pane (usize; dumped and digested: a byte where it was eight), Pardes.theme_file_pane (u8: the same byte) and colors.ThemeFileRequest.pane (u8); the 14 `.at(wait.pane)`, 7 `.at(w.pane)` and 4 `.at(request.pane)`/`.at(pane)` go, lspResponse takes the integer once for its nine integer readers (`asked`), and requestThemeFile stores `.at(id)` where it clamped a slot it had just reported on by MAX_PANES - 1 (the clamp and colors.zig's MAX_PANES go); the conversions by count.py (.at(, .index(), @intCast of a slot) fall: the core's code 440 -> 427, dev's and runtime's 120 -> 116; the other fields that hold a slot are left, each read as an integer more often than it is wrapped (View.active about +216 by the estimate, builtins' Ctx.id +108; the table in reports/pardes-slots.md); the compiler caught nothing (every use read first); the semantics word does not move (a73794ff9e03f814); the dump's table gives both fields a new kind, so a session restored from an older build's dump says once "a dump of another build: Core.theme_file_pane: its kind changed; its default taken" (and a dump made mid-question drops the question); 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
|
| |/ /
| |
| |
| |
| |
| |
| | |
hold, no step: serveFsInner's first lines read fs.edit_hold, which the session's listener sets between steps (9p_io), so a retried write was the session's step that answered it and every replica's step that ran the Edit again (the tape's divergence, and a client's second pipe); the check is EditHold.retried, which the listener calls before serveFs, and the step never reads the hold (fs.edit_hold stays the listener's, as the namespace's doc now says); test "a client runs an Edit a script's write started once, as its session does, when the held write is asked again" (core/replica.zig, a client joined, the write held as the listener holds it, its command answered, the retry as the listener serves it): diverged on the base ("the core called clock where the tape has a done (0), in serve_fs"), passes now; edit_cmd's held-write test retries through EditHold.retried; a user could hit it: a script's Edit with a | < or > command whose write's park is retried (a 9P client's retry while the command runs) under a far or window client: the client diverged and joined again
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | | |
state, on the budget as a count and the window's pair: pardes-faults-4 (the open records and each pane's 9P state in the dumps and the digest, dropped again at a revive on a new host; hand-written digests so a step's counts do not move) and pardes-merge39; two conflicts, both the wire's version: the pair's close byte and the 9P state each took 24 on their own lines: the close byte keeps 24, the 9P state is 25, abi/wire.zig's version and test/daemon.py's WIRE are 25; tui core-test 871/1028 (157 skipped), shell-test 1070/1073, term-test 17/17, both soaks diverged 0, unequal 0, unlisted 0, the window builds; the coordinator's gate in the ledger (reorg/merge40)
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
the session has: what a step reads that the requests made is the core's state like any other (P30, P35), so the walk sees it: fs leaves Pardes's and Pane's authority lists and the 9P server's own part says so in its types (fs.Namespace: the sockets, mounts, log, the request being served's flags and the rest; pane.State: the event and pty readers' queues and counts, winsize, unannounced; Open: the listener's held read and a stream's last answer; LogOpen whole), so the open records, the writes held to go in as one edit (fs.batch) and each pane's addr, limit, dot truncation, wrsel, joined, nomark, noscroll, lock, run, unmarked, tag truncation and chord are in every dump and in the digest; the digest is cheap by type: a pane's 9P state adds nothing for a pane no script has touched and its fields as one run of bytes for the rest (pane.State.digest), the namespace the opens in use and held writes by their length (Namespace.digest: a 9P body append hashed its whole batch, +0.14% on body-appends), so the frame and perf gate's 121 per-operation counts are within 0.1% of tree2 (largest client-key-down +0.054%; the plain walk of the same state cost client-key-down +0.73%); an open's union is named (Open.What) and digests what a step reads of it (its kind, a run, an event reader's flag, a pager's serial, a port's index), never the text its reader is answered with, which each process makes of its own state (walk.hash takes a tagged union's own digest as it takes a struct's); the opens are taken as far as fs.opens_len (an idle session's none; the scans that read records bound by it, openOf too, and an open lets go of what a rollback left in its record past the length); a session revived from a dump (Restore, an Upgrade, a start from one: dump.loadAndRevive; a closed pane brought back: loadPane) drops the opens and each pane's 9P state, as today, its connections gone (fs.Namespace.forget): a client's join loads alone and keeps them; not the join's dump alone: the tape's dump round trip at a replay's end wants the image to carry what the digest covers; pty.Run's answer cut at its length; the wire version 24, so the semantics word moves 64e89d6b25a84796 -> 18636a639ac075de (it did not move with the walk alone: a base client would have digested other fields than its session; test/daemon.py's WIRE with it, and its upgrade case takes a client of the other side's protocol saying `run the same pardes at both ends`, as its third terminal already did); the eleven tests of the change before pass; a join's dump (the probe, Debug): idle 63258 -> 64612 bytes, 50 opens held 63270 -> 66744; the image idle 233426 -> 237001, 50 opens 233738 -> 295089; tui core-test 867/1022 (155 skipped), shell-test 1062/1065, behaviour-test 275/275 and --replay 275/275, replicas --clients 5 diverged 0/0/0, unequal 0, unlisted stops 0, corpus 22 of 22, no leak (load 30-40, before the digests were made cheap; the whole gate on the change after)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | | | | |
| | \ \ | |
| |\ \ \ \
| |_|_|/
|/| | |
| | | |
| | | |
| | | |
| | | | |
the window's pair and the devices once: pardes-handle-7 (step 7: rescore and a tick's fill stop by work done, Tape.over and Site.budget deleted; 9a: the turn's check a count; 9b: enter and leave read the tape's field; 9c: PARDES_RECORD read by whoever starts the session), pardes-pair-2 and pardes-merge37, merged without a textual conflict; tui core-test 861/1016 (155 skipped), shell-test 1058/1061, term-test 17/17, both soaks diverged 0, unequal 0, unlisted 0, the window builds; the coordinator's gate in the ledger
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
(reports/pardes-handle-69-design.md section 3.4, P33's lean 5): PARDES_RECORD is read by the starter (tape.fromEnv, the old startFromEnv returning the tape: runtime/session.zig's start, one line, and the Mac's, one line) and handed in Options.tape, so Pardes.init and dump.initFromDump no longer start a tape and Pardes.create takes its options' tape or none, never the global; current, forget and adopt are the field's (deinit and restoreInner call p.tape's; the three free ones are deleted); restoreInner loads the replacement on the session's own tape and does not leave it in the replacement's kept options (a session with clients has its tape from no options, and Peers.stop puts the options' back); Authority.init hands its tape in the options; the in-process runner (test/session.zig) keeps the tape recordTape starts and hands it to each session it makes; the global is still set beside a recording tape (fromEnv, recordTape, Stepping, Peers) while the terminal's questions read it: after this change those are its only readers, 18 calls in 12 functions (core/panes.zig scrollBy, feedOutput, followRows, the positions value, feedLost, followOutput, resizeGrid x4, reloadTerminals x3, emulatorGpa; core/term Term.digest, Term.media; core/edit.zig shellRows; core/ninep/pty.zig finish's prompt value), besides Stepping, Peers and enter's safe-build check; the tape's bytes do not move (semantics df1f0502317ed362, cross_replay both ways against step 7 agree); a real session still records from its first call (process-test --replay 0 of 102 failed, behaviour-test --replay 275/275); tui core-test 857/1008 (151 skipped), shell-test 1048/1051, pane-test 183/184, term-test 17/17, kitty-test 45/45, behaviour-test 275/275, process-test 1 of 144 (delask, passes alone), both soaks diverged 0 unequal 0 corpus 22 of 22 (bytes: the base's one now stop at 30 ms), daemon.py plain, --far (the Find: 0 mispredicted), --games, --window-clients, --restore (a Restore with a client attached), --upgrade both ways against merge31 (both failed once at the Adopt race in the chain and pass alone), addon-test 5/5; the macOS library (x86_64, aarch64) and FreeBSD build; gui unit-test 1645/1649 (the perf check's BaselineHarnessMismatch)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
client let go by an Upgrade dials again as before, and when the session runs another build (or another protocol) and a newer file is installed at its own start path since it started (upgrade.replaced), the client loop ends `.upgrade` and its frontend lets its screen go and execs that file as `--attach=<socket>:<name>` (client.zig execAgain), the same process, for the view the session kept for it (PARDES_JOIN_VIEW, Options.join_view, dialled patiently as a rejoin is): the terminal's is the blink (it leaves the alternate screen and enters it again; no record), the window a new window; a client whose start path holds no newer file keeps today's sentence "session upgraded to a newer pardes: upgrade this client too"; a far client the same, through its forward (PARDES_REPLICA_FAR=1); a pair with no daemon refuses the Upgrade in words ("no daemon keeps this session, so its client could not join it again"), since its first client has no socket to find the session again by (on the base the Upgrade cut the client off and ended the session); test/daemon.py upgrade_clients (a terminal client and a window client, each its own pane in its own view): old->new the base's clients are let go and told to upgrade too (what they do today), new->old they exec the base build and come back in a view of their own (the base reads no PARDES_JOIN_VIEW), new->(this built with -Dembed-sources, another semantics) each is back in ITS view with its own pane; `pair`'s no-daemon Upgrade refused; tui core-test 858/1013 (155 skipped), shell-test 1053/1056, term 17/17, pane 183/184, kitty 45/45, behaviour 275/275 and --replay 275/275, process-test 0 of 144 failed, both soaks diverged 0 unequal 0 corpus 22, daemon.py plain, --far, --games, --window-clients, --gui, --upgrade both ways (with clients) pass, gui unit-test 1650/1654 (the perf check's BaselineHarnessMismatch its one failure), macOS lib (Linux host), aarch64-macos, FreeBSD build (loads 3-15)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |\ \ \
| |_|/
|/| |
| | |
| | |
| | |
| | | |
first effects, the pair under PARDES_PAIR, and a session's last word, on the 9P run's fixes and the build's second pass: pardes-first-client (new --detach forks and returns; Options.pair and the join by fd; pardes FILE as a client and a session under the variable; ended CODE and left NAME: a client's own Detach exits 0 with its line again) and pardes-merge33, merged without a textual conflict; tui core-test 858/1013 (155 skipped), shell-test 1053/1056, the window builds; the coordinator's gate in the ledger (reorg/merge34)
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
BEFORE its first effects, by the join a later client gets (Peers.join, now pub, called from runtime/session.zig between the frontend's open and the first effects when Options.pair is set), and a client's first join is made on its end of the pair with no hello (replica.join reads Options.pair; joinOn's session name optional), so a first client has every terminal from its first byte (P32); two tests through the replica's surface, a session core with a boot shell and real Peers threads over a socket pair, the first effects after the join: screen state (replica.join end to end) and bytes (loaded as the soak's bytes clients): the spawn taped, the shell's first bytes in the client's terminal, the digests equal at the client's check, and under bytes no reload of any byte (the session's one reload at the join is of the boot shell's emulator before anything was written, the client's none; a client after the bytes: every side reloads); core/root.zig's machine-lines count for replica.zig 70 -> 74 (the tests' sockets)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
session does, and a far client's Del question is instant, on the build's second pass: pardes-faults-3 (a 9P open's handle is the session's recorded answer; a run reads its terminal's prompt marks through the tape's prompt site; a rejoin that lands as the session ends says so; Del sets question_asked and the host's pump gives it its time: the step reads no clock, so the bytes soak's one stop off may_wait, now, is gone) and pardes-merge32, merged without a textual conflict; the coordinator's gate in the ledger (reorg/merge33)
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
step that asks which way the space goes reads no clock (it asked the host's `now`, an answering entry a speculation stops at: the bytes soak's one stop off may_wait, a client's key d), its question's time is `Pane.question_asked` until the next advance, which counts the delay from its own time (Core.advance, the host's clock in its pump, right after the key's step; a client has the session's advance in its unit), so the question still shows 400 ms after it was asked in an idle session whose core time is seconds old; not a guessed clock: the core's clock is its host's (SDL's ticks on the window) where a guess is the session's CLOCK_MONOTONIC, so a guessed due time would be in another base than the clock it is compared with; nextWake skips a question not timed yet; a host with no clock (macOS's) never advances, and its question waited for ever before as now; test: a far client's Del with panes above and below applies both keys at once (failed on the base: 1 applied of 2, stopped at `d`), confirms with nothing mispredicted, and after the session's next pump its question's time is the session's clock plus the delay on both; the keys test of the delay times it with an advance; no layout moves (the field keeps its type), the semantics word stays 92963bab2e4436fb; exec.clockNow keeps its two REPL callers (a paste's Enter: a pty write that stops a far client anyway, and the session's own output steps); tui core-test 857/1010 (153 skipped), shell-test 1050/1053 (load 10-15)
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
|
| | |/
| |
| |
| |
| |
| |
| | |
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
|
| |\ \
| |/
|/|
| |
| |
| |
| | |
on the devices once and the attach that is always a client: pardes-handle-6 (6a, 6b, 6c, 8a: p.tape.host(p, .name, .{ args }) derived from the Host table; Wrap, hostOf and wrap deleted; no line of core/ outside the tape names the host's table, held by root.zig's scan; the tape's bytes unmoved) and pardes-merge30, merged without a textual conflict; tui core-test 857/1008 (151 skipped), shell-test 1048/1051, the window builds; the coordinator's gate in the ledger (reorg/merge31)
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
core's host is always its own (a replica's none), the tape only says which functions it has when the core holds another than the last said (noteHost, today's comparison, so a mask lands where it did) and a replica answers by that word (the bool replica, set by its first replay or its join; Tape.has), so Wrap's arity table, hostOf, wrap, the tape's vtable, resync's and Peers.stop's unwrap and apply's three hostOf go; the 9 presence questions are p.tape.has(p, .search); keeps_stopping and forTheView are lists of the table's names, a renamed field no longer compiling there; root.zig's machine scan names host.vtable and host.ctx, which only tape.zig's noteHost line names now (40 lines of core/ named the table at the base); the tape's bytes do not move (semantics 32640d4a722b811c unmoved, cross_replay both ways)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
tape's one call, step 6b (reports/pardes-handle-69-design.md): each arm is p.tape.host(p, .name, .{ args }) with its absent arm after orelse (nothing, the in-process fallback, an answer at once, a message), Effect's two replaying() are the handle's, and the pump's other view presents through a four-line presentTaped so the present stays inside views.within; a new core test pumps a core twice with one host and once with another (the mask said at the first and the third, the clock, watch and present at each, a replica replaying the three units to the same digest); the tape's bytes do not move (semantics 32640d4a722b811c unmoved, cross_replay both ways)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
design of reports/pardes-handle-69-design.md, P33): Host gains what a call names, gives and gets, derived from its table (Fn, Args, Ret, has, mask, call), the tape one method, p.tape.host(p, .tty_taken, .{.at(id)}), whose absent arm is the caller's after orelse, and the 7 calls made straight on the table (hostForegroundName, hostTtyTaken, hostKillJob, Adopt, Upgrade, clockNow, askAhead) go through it; hostCall is the one body (the wrappers forward to it until 6c deletes them), its text in place; the tape's bytes do not move (semantics 32640d4a722b811c unmoved, cross_replay both ways)
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
|
| | |/
| |
| |
| |
| |
| |
| | |
brief's step 2: 2a, 2b, 2c and 2d in one change): the one rule in place of two, the faults shown first (a session's output kept over a copy held ahead was fed again by a rollback: the digests apart; the pages an emulator gained while a copy was held were the epoch's and freed with it: a crash in PageList.increaseCapacity in the rollback's replay): every replica's emulators on the C heap (panes.emulatorGpa), Term.writes counting the writes into emulators, a unit whose replay wrote one never kept over a copy taken ahead, never taken as moving nothing (tape.feedsTerminal), a client's input that owed a reflow always replayed when confirmed; a speculation moves a terminal's view under bytes as under screen state; tape.unit_max (1 MiB) and Tape.cut, which the session's Peers sets, so a pump's reads are cut into units under it; the join: whole terminals in a joiner's dump, every replica the session included reloading each live terminal in the step that opens or reopens a view (panes.reloadTerminals), the session's hash taped (Site.reload) and compared, kitty records left out of it, the cell pixels set first as a feed does; .positions and .prompt compared with the replica's own emulator on replay; replicas load kitty images by direct data only (Term.direct); Peers.bytes for the soak; six tests (core/replica.zig, bytes:); tui core-test 848/997 (149 skipped), shell-test 1033/1036, pane-test 183/184, term-test 17/17, kitty-test 45/45, behaviour-test 275/275 and --replay 0, process-test 2 of 144 (the base's), image- and kitty-harness pass, unit-test bytes: 22/22; gui unit-test 1633/1637 (the perf check's BaselineHarnessMismatch); the soaks in klrvlrly's
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | | |
pardes-far-faults (a refocus that no longer asks the session's host about a newer build; a drag in a kind's pane grown too short; a draw's token that no rollback takes back; a text's declarations dumped so a joined client's query reads what the session's does; a search that goes on at once on a far client; two tests of what cannot happen) and pardes-merge24, merged without a textual conflict; the coordinator's gate in the ledger (reorg/merge25)
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |/
| |
| |
| |
| |
| |
| | |
host whether a newer build is installed: the core's focus step called the Host's `newer_build` (core/Core.zig, the `.focus` branch of updateInner), an entry that answers, so a far client's refocus stopped and its first keys after it waited a round trip, for a question about the SESSION's binary that the client's window has nothing to do with (and a client's own binary nobody looked at: tui's entry said false for a client); each process's build is now its own frontend's to look at, at its own focus-in, between steps: the tty session calls `upgrade.noticeNewer` as the window session already did (gui.zig), its line an input (`setMessage`, taped) that its clients replay; a client's refocus asks no one; the entry `newer_build` is gone from dev/Host.zig and tui.zig, and its row "focus lost and found" from may_wait (the walk would now call it stale); the test `a far client's window found again is instant: ...` (end of core/replica.zig) failed on the base with `expected 1, found 0` (applied: the refocus stopped) and passes; the walk over every word and key passes in core-test and shell-test; gates on the seven together (the stack's top, load 18 to 50 beside them): tui core-test 855/999 (144 skipped), shell-test 1035/1038, pane-test 183/184, term-test 15/15, kitty-test 45/45, behaviour-test 275/275 and --replay 20 seeds 0 failures, process-test 3 of 144 (lspcomplete and lspcompletemoved, the base's, and headersweep-restored, which passes alone), gui unit-test 1633/1637 with the base's BaselineHarnessMismatch; replicas --clients 5 and --seeds 8: diverged 0, unequal 0, deltas wrong 0, quiet checks differed 0, unlisted stops 0, corpus 22 of 22, no leak report; the walk over every word and key passes; frame and perf gate against tree1 (farfaults): frames 77/77 byte-identical in Debug, unit-test 1633/1637, perfab corpus2x -0.087% (noise 0.092%, bar 0.4%, pictures identical), perfops 97 counts within 0.1% (largest +0.0329%)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
longer core/ninep/testing.zig (P18, the user's ruling on the tree step's name collisions: the file's name collided with the future `core.testing`): the file moved whole in this change, so its history follows it (no line of it changed), and its 27 imports follow, nine `@import("testing.zig")` in core/ninep (addr, cols, ctl, events, pane, pty, screen, sources, tree) and 18 `@import("ninep/testing.zig")` in core (Addon, Core three, Dir, Effect, Query, dump three, edit_cmd, fs, keys, look two, mouse, sam_edit, tape), with the two design notes naming it (docs/next-tests.md, docs/next-terminal.md); the build and the root's test lists never named it; a rename only, nothing else on any line; tui core-test 848/991 (143 skipped), shell-test 1027/1030, the window builds (`install -Dplatform=gui`), the macOS library for Linux and aarch64-macos and the FreeBSD cross-build rc 0, under a load of 22 to 60
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |/
|
|
|
|
|
| |
`config.Settings`, no longer `config.Runtime` (P18, the user's ruling on the tree step's name collisions: the type's name collided with the directory `runtime/`, and the core's field of that type is already `settings`): the type on 17 lines of core/config.zig (its declaration, its methods' receivers, its tests, the comment naming it), `config.Settings` on 50 lines of eleven other files (core/Core.zig, Output.zig, builtins.zig, builtins_json.zig, exec.zig, ninep/ctl.zig, surface.zig; dev/gui/gui.zig 598, 5860, 5909; dev/jump_trail.zig's comment; runtime/main.zig 756; test/output.zig 552) and docs/next-winmode.md's one mention; a rename only, nothing else on any line; the semantics hash does not move (a type's name is not in the tape's shape); tui core-test 848/991 (143 skipped), shell-test 1027/1030, gui unit-test 1625/1629 failing only the perf check's BaselineHarnessMismatch (as the base), the macOS library for Linux and aarch64-macos and the FreeBSD cross-build rc 0, under a load of 6 to 42
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |\
| |
| |
| |
| |
| |
| | |
regular-expression fixes and the fixes the real loops asked for: pardes-ids (Pane.Id and View.Id through the entries, the events, the effects, the Host table and the device messages) and pardes-merge21, merged without a textual conflict; one call site written since on the old type follows (core/draw.zig: the twin test's file_changed event, .pane = .at(0)); tui core-test 848/991 (143 skipped), shell-test 1027/1030, the window builds; gates in the coordinator's ledger
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
pardes-ids change 3): `Pane.Id` in Event's six variants that carry a pane (output, eof, exited, file_changed, addon, job), in the fourteen effects that do (spawn, write, resize_pty, signal_pty, close_pty, start, save_file, save_text, lsp, watch, dump_themes, detach, addon, job), in the fourteen Host functions that take one (dev/Host.zig: adopt, upgrade, spawn, pty_write, pty_resize, pty_signal, close_pty, tty_taken, fg_name, kill_job, write_file, watch_file, dump_themes, job; tape.zig's Wrap follows with no edit), in the device messages that carry one into the core (the inbox's output and eof and the five reader functions that make them, dev/Lsp.zig's Request, host_io's Adoption and Adoptions.take, which hold what adoptShell answered); `View.Id` in abi/wire.zig's welcome.view (its bytes on the wire unchanged: one byte, hand-encoded, `.at(takeByte())`/`writeByte(view.index())`); every producer converts at its own line (`.pane = .at(id)`, a script that refuses any path outside the workspace, `fields.py`), every consumer where it indexes or compares (`o.pane.index()`), every Host implementer at its own first line (`fn spawn(ctx, id: pardes.Pane.Id, ..) { const pane = id.index(); ..}`: the terminal's 14, the window's 14, the Mac's 10, and the tests' hosts), and an id that went integer and back is passed through whole (`s.core.readerFailed(e.pane, err)`); the compiler caught no pane's slot passed as a view's or the reverse, only integers meeting the type; kept integers on purpose: KindJob.pane (core/Kind.zig, another agent's, reads it four times; converted at KindJob's and Effect's lines), the Watch table (file_watch: its last slot is the theme's, no pane), the hello's view and the replica's Peer/Joined/Replica views (core/replica.zig, another agent's), the C ABI's `pardes_watch_changed(uint8_t pane)` (abi/pardes.h unchanged; runtime/macos.zig converts at its Host functions); in files another agent is in, each conversion on the line that was there: core/Kind.zig 2 lines, core/Addon.zig 4, core/replica.zig 31 (the welcome's view, 3 test hosts, test literals), test/replicas.zig 12 (4 host functions with their first lines, 1 signature, the welcome's view, 5 literals); the tape's shape moves (Event is update's input), so the semantics word moves, c47ecf638b3f4b9f -> 38b5ae573b965550; test/perf.zig follows on 6 lines its Event and effect literals forced, so its harness id moves, be7cc504010471bc -> 1ed95030eb768eae (unit-test's perf check was BaselineHarnessMismatch already); 607 lines added, 562 deleted in 48 files. Gate (load 4 to 8): tui core-test 841/984 (143 skipped), shell-test 1020/1023, term-test 15/15, pane-test 183/184, kitty-test 45/45, behaviour-test 275/275 and --replay 20 seeds of 70 steps, 0 failures, process-test lspcomplete and lspcompletemoved (the base's; hscroll failed once and passed on the runner's retry), gui unit-test 1618/1622 (BaselineHarnessMismatch, the base's); replicas --clients 5 (TMPDIR /tmp/claude-1000/ids): diverged 0, unequal 0 at rtt 30, 80, 207, deltas checked/wrong 1811/0, 1838/0, 1660/0, quiet checks 567/0, 650/0, 655/0, stops not on may_wait 0 (corpus through a client fails at step 21 as on the base with that TMPDIR); daemon.py plain, --far, --games, --window-clients, --upgrade both ways against pardes-tree's base prefix pass (the semantics words differ: the upgrade carries the session by its dump); test/cross_replay.py (tui records, gui replays): 27 digests agree in each of three replicas; rollback-bench runs; the macOS library for Linux and aarch64-macos and the FreeBSD cross-build build; frames (gpu/ids-3 against tree1) 77/77 byte-identical in Debug, unit-test 1618/1622 there, perfab corpus2x -0.021% (session noise 0.036%, threshold 0.4%), pictures identical in all 10 runs, perfops 97 counts within 0.1% (largest image-frame on longline +0.0231%), key-down on medium 10,040,108 -> 10,039,990 an operation (-0.0012%), render on medium 11,455,765 -> 11,455,683 (-0.0007%), terminal on all +0.0030%
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
pardes-ids change 2): a pane's slot is `Pane.Id` in the twelve entries that took it, six as `usize` (setCwd, acknowledgeShell, setMessage, setStatus, reportError, noteLateFailure) and six as `u8` (readerFailed, shellFailed, restartFailed, saveFailed, reloadWatchedFile, File.deleted), and in what adoptShell answers (`?Pane.Id`); a view's slot is `View.Id` in closeView, leaveView, awayView, rejoinView and the hand-written toView (its `to_view` variant is `Pardes.View.Id` now, and its replay arm unchanged) and in what openView answers (`?View.Id`); the tape's other variants follow their inners' types with no edit (`Args`); each inner converts where its body indexes (`id.index()`), passes the id itself to another entry, and the core's own code stays integers; every caller converts at its own line, `p.reportError(.at(id), ..)` (the decl literal of the parameter's type), 514 calls in 56 files written by a script that refuses any path outside the workspace (`.scratch/sketch/reorg/pardes-ids/wrap.py`), 46 `.index()`; nothing the compiler caught was a pane's slot passed as a view's or the reverse: what it caught were a script's wrong guesses (Editor.reportError(err) and macos.zig's own reloadWatchedFile, same names, undone) and the integers a view's id met (views.zig's tests, replica.zig's Authority and Peers.join, host_io's Adoption); in files another agent is in, each conversion on the line that was there: core/Kind.zig 5 lines, core/Addon.zig 4, core/replica.zig 23 (Authority.openView and join, closeView/toView/awayView/rejoinView/leaveView calls, Peers.join's `openView`, tests), test/replicas.zig 1; the tape's records are smaller (a `usize` is a byte in six inputs) and its shape moves, so the semantics word moves, 313a99190b93a8c5 -> c47ecf638b3f4b9f; test/perf.zig untouched (its harness id does not move); the Mac: runtime/macos.zig 16 call lines, abi/pardes.h unchanged; 581 lines changed in 56 files, no line added. Gate (load 4 to 28: a drat build and other agents' gates beside): tui core-test 841/984 (143 skipped), shell-test 1020/1023, term-test 15/15, pane-test 183/184, kitty-test 45/45, behaviour-test 275/275 and --replay 20 seeds of 70 steps, 0 failures, process-test lspcomplete and lspcompletemoved (the base's), gui unit-test 1618/1622 (BaselineHarnessMismatch, the base's); replicas --clients 5 (TMPDIR /tmp/claude-1000/ids, alternated with the base twice, both pass both times): diverged 0, unequal 0 at rtt 30, 80, 207, deltas checked/wrong 1811/0, 1838/0, 1715/0, quiet checks 567/0, 650/0, 544/0, stops not on may_wait 0 (its corpus-through-a-client scene fails at step 21 as on the base with that TMPDIR); two earlier runs of this tree under a load of 10 to 28 ended in a leak of Places' compiled regex (Places.derive from Query.produce) and one rtt-207 run in an assertion in mouse.kindMouse's clamp during a client's speculation, the leak not seen in the eight runs of this tree after them (the full soak, each rtt alone, single seeds), the assertion not in the two full runs after it, and neither in three full runs of the base (by reading neither touches a slot: in the report); daemon.py plain, --far, --games, --window-clients, --upgrade both ways against pardes-tree's base prefix pass; test/cross_replay.py (tui records, gui replays): 27 digests agree in each of three replicas; rollback-bench runs; the macOS library for Linux and aarch64-macos and the FreeBSD cross-build build; frames (gpu/ids-2 against tree1) 77/77 byte-identical in Debug, unit-test 1618/1622 there too, perfab corpus2x -0.059% (session noise 0.134%, threshold 0.4%), pictures identical in all 10 runs, perfops 97 counts within 0.1% (largest image-frame on longline +0.0274%), key-down on medium 10,040,104 -> 10,039,959 an operation (-0.0014%), render on medium 11,455,764 -> 11,455,707 (-0.0005%)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
(P21, pardes-ids change 1; the user, reading the tape's inputs: "why the id is an u8 though?", and "the id to be typed too"): each a distinct non-exhaustive `enum(u8)` (`pub const Id` inside `Pane` in core/panes.zig and inside `Pardes.View` in core/Core.zig, side by side with the thing whose slot it is), with the one conversion each way the boundary needs, named once: `Id.at(i)` the id of a slot the core holds (`@fromBackingInt(@intCast(i))`, so a slot past a byte panics in a safe build) and `id.index()` the slot as a `u8` (which widens to the `usize` half the core indexes with, so no caller casts); nothing uses them yet; one test at the end of core/views.zig, "a pane's id and a view's id are two types: neither is taken for the other, nor for an integer" (an enum coerces only into itself, so it shows the two are distinct, a byte each and non-exhaustive, and every slot round-trips; a probe that assigned a `View.Id` to a `Pane.Id` failed to compile with "expected type 'panes.Pane.Id', found 'Core.View.Id'"); 46 lines added in three files, no line changed; nothing a step runs is touched, so the frame and perf gate was not run on it and the semantics word does not move (313a99190b93a8c5); gate (load 5 to 10, a drat build beside): tui core-test 841/984 (143 skipped), shell-test 1020/1023, gui unit-test 1618/1622 (the perf check's BaselineHarnessMismatch, the base's 1617/1621 with it), each the base's plus this test
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |\ \
| |/
|/|
| |
| |
| |
| | |
asked for: pardes-regex-2 (mvzr's reads past a pattern cut short patched as it is fetched; the leak of a pattern that does not compile; the soak's corpus check comparing what is visible) and pardes-draw-2 (a step's notice bands and a markdown text's tables made from the step's own state, never from the last frame; a load under way in another live process no crash; an idle pair silent), merged without a conflict; gates in the coordinator's ledger
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
whoever asks first, never a reading under way that a frame moved (the audit of what a frame writes and a step reads, after Pane.notices): a step read a big text's table pads (a click's byte, a `j` over a table, through File.geometry -> Tables.ensure) from `File.State.tables`, which is derived (in no digest, no dump) yet carried a reading's progress: the first look read 4096 lines, the session's ticks read on 4 ms at a time, and an edit after a look took the short way past the read point; so a core that drew a frame before an edit (the frame's geometry made the first look at that revision) read on past line 4096 where one that had not drew began again and stopped there, and a client joined from a dump began from nothing where its session had read the text whole (then its tick asked the tape for a budget its session never read); the test `tables: a click on a big text's table is the same state whichever frame this process drew last` (a session that drew once and a replica joined from its dump that drew nothing, the same paste and a click on each cell of a table at line 5001) failed on the base (`expected 4, found 5`: the click put the caret on another byte) and passes; the fix reads the whole text at once in `Tables.ensure` (an edit still reflows only its block), deleting the budgeted reading (`pending`, `step`, `busy`, `frame_ns`, `first_lines`, the tick's call and `nextWake`'s, the key's word): its cost is the read at open, measured in ReleaseFast at 40 ns a line of prose and 18 ms for 2.7 MB of 2000 tables (docs/next-tables.md's stress text, generated), where it was 4096 lines then 4 ms a frame; and the class is kept closed two ways: `root.zig`'s `kept_out` names every `.local` and `.derived` field of core/ (68) with who writes it and why a step's read of it is the step's, a test failing on a new one not listed, and `draw.zig`'s `a frame changes nothing a step reads` steps a core that draws after every input (each frame at its own later time, and `presented`) and one joined from its dump that never draws through 600 random keys, clicks, wheels, pastes, commands, ticks and disk changes over a 4500-line markdown text with a table and a second pane, their digests equal after every step (16 seeds of 3000 steps agree); the audit's table is in the report (.scratch/sketch/reports/pardes-draw-2.md); the gates on this change: tui core-test 841/984 (143 skipped), shell-test 1020/1023, term 15/15, pane 183/184, kitty 45/45, behaviour-test 275/275 and --replay 275/275, process-test the base's two (lspcomplete, lspcompletemoved), gui unit-test 1618/1622 + BaselineHarnessMismatch (the base's); replicas --clients 5, the session drawing after every pump: diverged 0/0/0, unequal 0/0/0, deltas checked/wrong 2113/0, 1773/0, 1775/0, quiet checks 800/0, 794/0, 893/0, stops not on may_wait 0/0/0 (rtt 30/80/207), corpus through a client 22/22; daemon.py plain, --far, --games, --window-clients, --upgrade both ways (against pardes-tree/pfx-base) pass; cross_replay 28 digests agree each; macOS lib and FreeBSD rc 0; the frame and perf gate ran on the three changes together (d2-i3): frames 77/77 byte-identical, corpus2x +0.005% (noise 0.044%, bar 0.4%), the 97 per-operation counts within 0.1% (largest +0.031%)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
the last frame left them, and the soak's session draws after every pump as a terminal's does (the user's rule: replica bugs caught by a soak that does what real use does): drawn so, `replicas --seeds 2 --rtt 30 --clients 5` diverged client 5 on seed 1 (`the tape's answer to addon is short (tape byte 145, in mouse)`, then every key of it stopped at `a key into a kind's pane`): another client's wheel_up over the PDF's pane in view 3 was `inside` on client 5 (top 23, no band) and not on the session (top 24, one message band), so the session called no addon (kindLeave and the rest) where the client called mouse; the read is `kindMouse`'s `pane.notices.span()` (core/mouse.zig, the same read as `edit.pointerTextSelection`'s chip test), and `notices` is derived (core/panes.zig's replica `.derived`, views.zig's PaneView: in no digest and no dump, which says "recomputed from the rest whenever it is wanted") yet was written outside every step, by a frame (`draw.place` -> `Messages.collectNotices`, at the frame's time and in the drawn view), and inside a step only for the live view at its end (`sync`), so what a step found there was the last frame this process drew, the band of a view as it stood when that view was last live, or nothing in a client joined from a dump since (client 5's case: the session's view-3 band was made by view 3's last step, client 5 joined after it); now `updateInner` (and `presentedInner`, whose look-hover reads the same chip test) makes every pane's bands again from the step's state before it reads them (core/Core.zig, a line each), so a step's calls no longer depend on whether a frame was drawn, and the soak's `watchedHost` is true (the `at_frame` field gone); a test, `a press on a notice's chip is the same state whichever frame this process drew last` (core/mouse.zig: a session that drew its frame once Del's question was due, a replica joined from its dump that drew none, a B1 press on the chip): before the fix the session swallowed it (drag .none) and the replica began a sweep (.select), after it both alike; the soak drawing after every pump: diverged 0/0/0, unequal 0/0/0, deltas checked/wrong 2078/0, 1773/0, 1775/0, quiet checks 932/0, 794/0, 893/0, stops not on may_wait 0/0/0 (rtt 30/80/207), corpus through a client 22/22; tui core-test 839/982 (143 skipped), shell-test 1018/1021, term 15/15, pane 183/184, kitty 45/45, behaviour-test 275/275 and --replay 275/275, process-test the base's two (lspcomplete, lspcompletemoved), gui unit-test 1616/1620 + BaselineHarnessMismatch (the base's); daemon.py plain, --far, --window-clients pass, --games fails as on the base (item 2, load 6-7), cross_replay 27 digests agree each; the frame and perf gate against tree1 (dd-i1b): PASS, frames 77/77 byte-identical, corpus2x +0.264% (bar 0.4%, noise 0.094%), the 97 per-operation counts within 0.1% (largest +0.038%)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
handle's step 4, P20, pardes-handle-sizing section 3's fourth noun): Core.zig's twelve (the state file off in a replica, `p.tape.replaying()`; the config directory, the startup file and Recent by hash asked of the authority, `p.tape.authority`; the focus report under a speculation of screen state, `p.tape.speculating and p.tape.screen_state`; a missing interpreter, the session's facts (its directory, home and shell), a command's prompt and a greeting, the next wake, `p.tape.value`), Messages.zig's two clocks (a message said, the unattended expiry: `p.tape.value(.clock, ..)`), dump.zig's two (a terminal's kind refused to a speculation, a slot revived on a replica); every function among them holds the core, so none gains the parameter; the sizing's three handed none: Core.parentTrouble and config.Runtime.apply took the tape in step 2, and Messages.Message.stamp is no step's at all: its only callers are hosts (dev/file_watch.zig, dev/host_io.zig, dev/tui/tui.zig, dev/gui/gui.zig, runtime/macos.zig: a file reloaded, a save, a language server's status), between steps, handing the text to `setMessage`, an input the tape carries, so its `tape.value(.clock, timeOfDay)` recorded nothing anywhere (a host's call is the host's side: `call` goes straight through) and is now the host's own `timeOfDay()`, no tape, no parameter, no `&tape.none` in five host files; left on the global with the entries, for step 9: init's and initFromDump's startFromEnv, deinit's `current` and `forget` (a client's core freed between its steps would write `forget` into its idle tape, the rule of this line's first change), Restore's `adopt`, and the hand-written entries' enter and leave; config.zig has no other tape call; no file of these four imports `tape` (Core.zig and dump.zig say `pardes.tape.`, config.zig's is a parameter); the five numbers: (1) functions that gained the parameter 0 (row: 3, two of them done in step 2, the third off the tape); (2) the 97 per-operation counts within 0.1%, the largest image-frame on longline +0.0232%; no function on a per-row path touched; (3) nothing stopped compiling for want of an io; (4) global io uses 7 (unchanged), free calls into the tape 63 -> 45, machine_lines rows unchanged (Messages.zig's 6: timeOfDay's libc lines are the same lines); (5) lines changed: tests 0, code +21/-19. Lines in files not this work's: none. Gate: tui core-test 840/983 (143 skipped), shell-test 1018/1021, pane-test 183/184, term-test 15/15, kitty-test 45/45, behaviour-test 275/275 and --replay 20 seeds 0 failures, process-test lspcomplete and lspcompletemoved (the base's; winch and headersweep failed once, passed on the runner's retry), replicas --clients 5 diverged 0, unequal 0, deltas wrong 0 (2033/0, 1978/0, 1682/0), quiet 568/0, 581/0, 748/0, stops not at may_wait 0 (its "corpus through a client" fails as on the base, steps 18 to 21), gui unit-test 1616/1620 (BaselineHarnessMismatch, the base's), daemon.py plain, --far, --games, --window-clients pass, test/cross_replay.py tui to tui: 28 digests agree in each of the three replicas, semantics 313a99190b93a8c5 (unmoved); frames (gpu/handle2-4 against tree1) 77/77 byte-identical in Debug, gui unit-test 1616/1620, perfab corpus2x +0.112% (session noise 0.068%, threshold 0.4%), pictures identical in all 10 runs, perfops PASS
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|