| Commit message (Collapse) | Author | Age |
| ... | |
| |
|
|
|
|
|
| |
is instant (the reorganisation's 12b, the design round's answer 1; the user's rulings P14 and P16: motions and layout instant far away): `update` and a 9P request end in reportFocus, which tells a program that asked (DECSET 1004) that its pane took or gave up the keyboard, a pty write, so on a client every switch into or out of such a shell (a click, Up, Del of the pane beside it, Esc or Last out of it, a word that opens a pane, the window's keyboard lost) stopped at `pty_write` and waited a round trip; now a client's own step (screen-state, speculating) records what it told and writes nothing, and the session's step makes the write, off the tape on both sides already (tape.hostCall's pty_write), so the switch shows at once and the program hears of it a round trip later; a write parked behind an earlier one (`pending_write`, digested) would differ between the two and is not handled: it needs the shell's queue full at the switch; the three `pty_write` rows of `may_wait` that item 1 listed for it are gone (the walk named them stale), and a test at the end of core/replica.zig (a client's click into the shell applied at once, the session's two units confirming it fast, the program told `CSI I` once, no misprediction), shown failing without the change (stopped 1); with 12a's Recent stat put back the walk now names Del, DelAbove, DelBelow and Delcol of a file pane at `kind` (7 unlisted); the semantics word did not move; tui core-test 832/975 (143 skipped), shell-test 1010/1013, pane-test 183/184, behaviour-test 275/275 and --replay 275/275, process-test 2 of 144 failed (lspcomplete, lspcompletemoved, the base's), replicas --clients 5 diverged 0 unequal 0 deltas wrong 0 (1827/0, 1596/0, 1803/0) quiet differ 0 (422/0, 563/0, 655/0) at 30/80/207 ms, stopped 89/73/108, mispredicted 37/34/36 (the soak's shells ask no focus events), gui unit-test 1608/1612 (its perf check's BaselineHarnessMismatch the base's), daemon.py plain, --far, --games, --window-clients pass; gate-w seam-b-2 against tree1: 77/77 frames byte-identical in Debug, its unit-test 1608/1612, perfab corpus2x -0.044% (pictures identical in all 10 runs), perfops 97 counts within 0.1% (largest +0.0095%, image-frame on large)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |
|
|
|
|
|
| |
reorganisation's 12b, the design round's step 2; the user's ruling P14: on a far client motions, edits and layout are instant, what has a side effect on the system may wait): one list, `may_wait`, at the end of core/replica.zig, each row a word, key or gesture, a kind of pane, the stop's name and why, and one test that walks, through the replica's own surface (a client joined from the session's dump, its own input, did it stop and at what, taken back before the next), every word of the builtin registry (the enum walked at compile time, a sample argument where one is required) and every key (printable, the specials, F1-F12; plain, with Ctrl, with Alt; and after each prefix key, config's `*_prefix`, the leader and Ctrl-w) on a file's pane, a plain kind's, a shell's raw and a shell's in normal mode, and the gestures between panes (a click on each pane's body, each grip dragged, the window's keyboard lost, and found again) beside a shell whose program asked for focus events (DECSET 1004), against a session host with every entry (FullHost: a client's tape offers only the entries its session's host has, so the old test host hid every pty write); an input that stops at a name not listed fails it, naming what far away waits a round trip, and a row nothing walked stopped at fails it as stale (where every kind of pane was walked: with a terminal compiled in); 8,228 inputs in core-test (no terminal), 16,464 in shell-test and the window build, about 3 s; shown failing twice before it lands: with 12a's Recent stat put back in noteClosed (Delcol and DelBelow of a file pane stopped at `kind`, 5 unlisted, and Delcol's `close a terminal` row stale) and with the focus report's three rows taken out (53 unlisted: a click into or out of the shell, Up, Del and DelAbove of the file beside it, Esc, Last, Newcol, New and every word that opens a pane from the shell in normal mode, the window's keyboard lost, each stopped at `pty_write`: the focus report, which the next change fixes); what the walk does not reach: a word's other arguments, a key after two prefixes (a count, `mi`, a leader path's second level), Del of the last pane, an undo of a rename, a kind's own keys (Still takes none), the mouse beyond the gestures named, an input stopped at two names (the tape keeps the last); also found: a window's keyboard found again asks the session's host whether a newer build is installed (`newer_build`), so a far client's first keys after a window refocus wait a round trip; no product line changed; tui core-test 832/974 (142 skipped), shell-test 1009/1012, gui unit-test 1607/1611 (its perf check's BaselineHarnessMismatch the base's)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |
|
|
|
|
|
| |
reorganisation's 12a; the user's ruling P14: motions instant on a far client): they walked Look's candidates across every result and output pane, and a word or a row with no place of its own was look-able only if the disk said it named a file (look.wordSpan and lineSpan through look.resolve to fs.resolve's realpath: 33 of the soak's 43 `resolve` stops); lookWalk now takes `disk`, and the key in a kind's pane walks without it: only the places the rows already hold (a row's location, a command row's whole line), so it steps the kind's +Search, references, errors and the like at once and skips words that might name a file, while LookNext and LookPrev (words, a Look's walk, which may wait) and the walk to a kind's first hit keep asking the disk as before; a test at the end of core/replica.zig (a client's n in a plain kind's pane, a scratch whose words name files standing first in the walk, lands on the kind's +Search row at once, confirmed fast), shown failing on the change before (stopped 1); the semantics word did not move; tui core-test 831/973 (142 skipped), shell-test 1008/1011, pane-test 183/184, behaviour-test 275/275 and --replay 275/275, process-test 2 of 144 failed (lspcomplete, lspcompletemoved, the base's; headersweep and cmdexit flaked and passed again), replicas --clients 5 diverged 0 unequal 0 deltas wrong 0 quiet differ 0 at 30/80/207 ms, stopped 89/75/108 (the base 104/133/147), mispredicted 37/34/36 on a run whose inputs now differ from the base's (the probe's 2-seed run with every host entry classed each one, before and after: a join's view, a clock's millisecond, a file's second, never a host call's: reports/pardes-seam-a.md), gui unit-test 1606/1610 (its perf check's BaselineHarnessMismatch the base's), daemon.py plain, --far, --games, --window-clients pass; gate-w seam-a-3 against tree1: 77/77 frames byte-identical in Debug, perfab corpus2x +0.045%, perfops 97 counts within 0.1% (largest +0.0012%)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |
|
|
|
|
|
| |
ruling P16: closing a pane instant on a far client): whether a pane's file is one Recent keeps is now a fact the core holds, File.State.on_disk, learned where a read or write of the file already runs (File.open, a get, a preview promoted, a Put, an Edit's clean write, a scratch saved to a path; a name given by the tag or 9P keeps its stat, being a name's question to the disk), carried by Zerox and kept equal among twins, dumped with the pane; Pardes.onDisk reads it (a kind's pane: its path a local one, its open having read it), so noteClosed (Del, Delcol, a pane's close), events.announce (Zerox and every pane installed) and with them the path every step can take through bootFirst ask the disk nothing, and a client's own Del and Zerox of a file pane are instant; Recent shows what it showed but in one case: a file deleted while open that the watch has not said gone is noted closed all the same (Recent's reader, Jump.jumpBy, still skips a deleted file, asking where the list is read); a test at the end of core/replica.zig (a joined client's Zerox, Del of the twin and Del of the file each applied at once, confirmed, none stopped or mispredicted, the session's Recent holding the file), shown failing with noteClosed's stat put back; test/panes.zig's PDF test that counted the Del's stop (the stat's) now says the Del goes at once, its kind's close still never guessed; the semantics word did not move; tui core-test 830/972 (142 skipped), shell-test 1007/1010, pane-test 183/184, behaviour-test 275/275 and --replay 275/275, process-test 2 of 144 failed (lspcomplete, lspcompletemoved, the base's), replicas --clients 5 diverged 0 unequal 0 deltas wrong 0 quiet differ 0 at 30/80/207 ms, stopped 94/112/138, mispredicted 44/33/29 (the base's), gui unit-test 1605/1609 (its perf check's BaselineHarnessMismatch the base's), daemon.py plain, --far, --games, --window-clients pass; gate-w seam-a-2 against tree1: 77/77 frames byte-identical in Debug, perfab corpus2x +0.141%, perfops 97 counts within 0.1% (largest +0.0079%), its unit-test the PDF test's before it was changed
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |
|
|
|
|
|
| |
speculation (the reorganisation's 12a, S1; the user's rulings P14 and P16): in tape.hostCall a speculating client records such a call as made and goes on, and the session's unit confirms the record, or records more where its host wrote the core during the call (an input it made inside it, a watched field) and the client rolls back as for any misprediction; one list, `keeps_stopping`, names the entries that still stop, each with its reason (pty_write: a shell's input, a device by P14 and off the tape with screen-state terminals; spawn, write_file, write_dump, dump_themes: their hosts write the core on every call, write_file also outside any record; upgrade, hand_over, detach: the session's own; search: a host with no worker writes the rows outside any record and a client cannot know which host the session has; wait_input, present, post_present, poll_frame: the loop's), and watch_theme stops only turned on (its host loads the theme file into the core outside any record); and a client's yank, paste and link are its own frontend's (P16): Effect.perform counts each in the view the step is in (View.yanks, pastes, links and the link itself, digested, the same on both sides), and the session's host is not called for a view a client draws (`undrawn`), the record unchanged so nothing mismatches; the frontends that act on those counts are another agent's files (the lines are in reports/pardes-seam-a.md); four tests at the end of core/replica.zig through the replica's surface (a ClipYank goes on at once and is confirmed fast; the same with a host that says something into the core during the call rolls back once and agrees; ThemeFile stops and the Theme after it does not; a joined client's ClipYank and ClipPaste move its view's counts on both sides and the session's host is asked neither, while the session's own view's yank is still its host's); the semantics word did not move (adacca2db2b39264); tui core-test 829/971 (142 skipped), shell-test 1006/1009, pane-test 183/184, behaviour-test 275/275 and --replay 275/275, process-test 2 of 144 failed (lspcomplete, lspcompletemoved, the base's), replicas --clients 5 diverged 0 unequal 0 deltas wrong 0 quiet differ 0 at 30/80/207 ms, stopped 104/133/147 -> 96/114/140, mispredicted 44/33/29 -> 44/34/29, gui unit-test 1604/1608 (its perf check's BaselineHarnessMismatch the base's), daemon.py plain, --far, --games, --window-clients pass; gate-w seam-a-1 against tree1: 77/77 frames byte-identical in Debug, perfab corpus2x -0.106%, perfops 97 counts within 0.1% (largest +0.0173%)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |\
| |
| |
| |
| |
| |
| | |
faults fixed, with the gutter's ~ for the slot after a text's last newline: pardes-globals (the faults a closed terminal's kitty image and a far client's own Del of a non-plain kind's pane each crashed a client on after a rollback; config.tab_now, Addon's distrust list and Kind's draw tokens into the core; the check in core/root.zig) and pardes-tilde, 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
|
| | |
| |
| |
| |
| |
| |
| | |
as helix's gutter does: the slot the cursor can sit on there is no line yet (File.endSlot: the index's last row, starting at the text's end, never the first row), so the row writer puts `~` under the number's last digit and the gutter never lights it as the cursor's line (helix draws it in ui.linenr, never ui.linenr.selected); a text with no final newline has no such row and an empty text keeps its 1; the slot is found once a paint and each numbered row compares with it (asked of every row it cost body-appends +0.18%: 23,101,945 -> 23,142,809 instructions an operation); 36 tty goldens follow, regenerated and then filtered line by line so that only a number become `~` was kept (75 lines; callstack's and diffview's style rows start a cell later, msg's delta lists row 4 where `~` becomes 2; lspcomplete's and lspcompletemoved's failing rows are the base's still), the macOS drop golden's three rows by reading (not run here); tui core-test 823/964 (141 skipped), shell-test 999/1002, pane-test 183/184, behaviour-test 275/275 (one new: the row after a file's last newline), process-test 2 of 144 failed (lspcomplete and lspcompletemoved, the base's; winch, headersweep and grep each failed once in a whole run and pass alone: grep's golden pins a search count caught as 0+); gui unit-test 1597/1601 (the four addon tests), its perf check passing; the frame corpus: 5 of 77 frames differ from the base's (57 to 61), each in a glyph-sized box of the gutter where 2 or 3 became ~; pardes-perf's 97 per-operation counts within 0.1% of the base's (the largest terminal on all +0.055%; body-appends -0.04% to -0.06%)
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
reorganisation's 12c): a test at the end of core/root.zig walks core/, finds every container-level var in each file (at the top, in a container, a function's struct's static; comments, strings, characters and \\ lines skipped, test blocks skipped whole) and fails the ordinary test run, naming file:line, on any not on allowed_vars beside it: 85 names on 31 lines, each line with why none is a core's state (the addon libraries and the start's scan, memos of pure functions, set once at start, set and put back within a call, the stepped core's context, the memory regions themselves, a test's); shown failing on a deliberate top-level var and a function's static in Messages.zig (both named, expected 0 found 2), then removed; tui core-test 825/967 (142 skipped), shell-test 1002/1005, gui unit-test 1599/1603 (its perf check's BaselineHarnessMismatch the previous change's)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| | |
| |
| |
| |
| |
| |
| | |
(pardes-probes P3, the reorganisation's 12c): config.tab_now goes, a tab's width is the core's settings.tab handed to every width function as `tab` (File.graphemeDisplayWidth and the 73 functions above it, test helpers among them, that had no core to read it from gained the parameter; an Editor, a Surface and the hunks' Ctx carry it; render sets Surface.tab; graphemeDisplayWidth asks its one printable ASCII byte before the tab, the two disjoint: with the tab first, as before, the parameter cost 0.2-1.7% instructions an operation in pardes-perf, with ASCII first the measured cells use 2-16% fewer than the base), so a rollback can no longer leave a stale width and replica.zig's hand-made put-back in toConfirmed goes; Addon.distrusted/ndistrusted become Addon.Distrusted, the client's own list, which its frontend owns across its joins and hands each core as Options.distrusted (in no tape, dump or digest: Options' replica .local); Kind.draw_tokens becomes each slot's `draws` (local: a draw is a frame's, so each process's count differs and no digest may hold it; the copy saves it with the slot); the two turn reads in a step stay, being shown unable to reach a client's state (the report); the soak's Proc keeps only the client's list (its tab_now and the global swaps go, forced); test/perf.zig follows three signatures, so unit-test's perf check now says BaselineHarnessMismatch until the baselines are recorded again; tui core-test 824/966 (142 skipped), shell-test 1001/1004, pane-test 183/184, behaviour-test 274/274 and --replay 274/274, process-test 2 of 144 failed (lspcomplete, lspcompletemoved), replicas --clients 5 diverged 0 unequal 0 deltas wrong 0 quiet differ 0 at 30/80/207 ms, gui unit-test 1598/1602, lib-test, daemon.py plain, --far, --games, --window-clients pass
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |/
|
|
|
|
|
| |
shown by a test that fails on the base, and fixed: (a) a terminal's kitty-image cache (TerminalImages.converted, RGBA made of an RGB or grey image) was made with the drawing core's allocator, so on a far client, whose emulator is outside its rollback epoch, a frame drawn under a speculation left the emulator holding epoch-born memory that the rollback freed (reachable since a closed terminal brought back loads the session's dump of it, its images with it): the next frame read the freed map (SIGSEGV in TerminalImages.draw on the base), so the caches are now the emulator's own allocator's and a terminal's close takes none; (b) a far client's slot of a kind whose state is not plain was on the C heap (initDump's image_allocator), so its own Del of such a pane freed the slot outside the epoch, and the rollback by another client's unit put back a pane pointing at it (a general protection fault in Jump.trackJump on the base), so a far client's image_allocator is now its epoch, as every other of its allocators: the free is put off and the Del stays instant; two tests at the end of core/replica.zig; tui core-test 824/966 (142 skipped), shell-test 1001/1004, pane-test 183/184, behaviour-test 274/274 and --replay 274/274, process-test 2 of 144 failed (lspcomplete, lspcompletemoved; winch failed once under load and passed alone), replicas --clients 5 diverged 0 unequal 0 deltas wrong 0 quiet differ 0 at 30/80/207 ms, gui unit-test 1598/1602 with its perf check passing, daemon.py plain, --far and --games pass (--games once timed out at its teardown and passed again; --window-clients failed on the gate's own TMPDIR, a socket path past 108 bytes, and passed on the next change)
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
|