| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
| |
section (the experiment behind its variable, how to turn it on, kept and what `ps` says, the lifetime table as built: Detach, a close, a loss, no daemon, in the columns not kept and kept), docs/typ/running.typ the same as a section "An experiment: PARDES_PAIR" with the table (the book compiles with typst), core/CHANGELOG.md one entry (and the one change without the variable: a TERMed terminal client's goodbye and exit 0); `pardes help` says nothing of it yet
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |
|
|
|
|
|
| |
restarted daemon, in the documents: the manual's "How pardes runs" (docs/typ/running.typ: one Attach section, its figure of the in-place attach deleted from figures.typ, the glance and survival tables, the words), the guide's Sessions, the reference's /sessions and command line, the building chapter's daemon, the cheatsheet's line, `pardes help attach` (runtime/main.zig, docs/typ/command-line.txt from builtins-json), the Detach word's doc (core/builtins.zig, both builtins JSONs), docs/next-run.md as built (what went, counted on the change: 305 lines deleted, 94 added; the re-registration as built; --detach forking still not) with its figure (Before / Now), and the changelog's Unreleased; the book and the cheatsheet render (typst), tui shell-test 1046/1049 (3 skipped), core-test 855/1005 (150 skipped: the base's 856/1006 less the deleted `find` test)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |
|
|
|
|
|
| |
cite this tree (84 citations: every path from the repository root, every line range found again and read, the far client's now in runtime/client.zig, nothing left that the code contradicts), its client section says what a client applies at once and what waits for the session, whose machine a client's words read (~, the shell, the directory) and whose its view acts on (a yank, ClipPaste, a link: the client's), that the picture and the PDF run in a client as the games do, and its words name the two loops; the reference's addons say a plain kind runs in the client from its own addons, the session sending no pictures (it said a client runs no addon's code and shows the session's frames), and that a load is marked with its process, another pardes's load under way being no crash; the cheatsheet, the book and the site build (zig build cheatsheet, book, site, -Dplatform=tui, to a scratch prefix), core-test's drift test (docs/typ names only words, keys and default tags that exist) passes, and every path, identifier and line cited in the added lines exists on pardes-merge22 (the checker in .scratch/sketch/reorg/pardes-docs-arch/check.py: 454 ok, 0 bad); no code changed, so the suites and the corpus were not run
Co-Authored-By: Claude Opus 5.5 <[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
|
| |
|
|
|
|
|
| |
each client and sending its frames, the rasters as strips, the client's picture cache): no kind in the tree reached it but a test's since the PDF and the picture run where they are shown (PA_PLAIN); a kind that is not plain shows a line in a client saying it runs in the session alone, its keys and mouse still the session's; Kind.zig 1,743 -> 1,367 lines (the Shadow section, Slot.shadow, draw's Shadow branch, the three Shadow tests), replica.zig 4,579 -> 4,477 (Screens.shadows and the kind_shadow/kind_raster/kind_want messages, PeerOf.shadow, Replica.blobs; Screens.flush keeps its view argument, unread now), the Counter kind's test rewritten for the line, draw.zig's pointer from the Shadow, dump.zig's comments; the manual (running.typ) and next-run.md say what a client shows; net -472 lines; tui core-test 817/956 (139 skipped; the three Shadow tests gone), shell-test 991/994, behaviour-test 274/274, --replay 20 seeds 0 failures, pane-test 181/182, replicas pass, addon-test 1/1, process-test 2 of 144 failed (lspcomplete and lspcompletemoved, the base's), test/daemon.py, --games and --window-clients pass, --far timed out once at load 10-12 (the ssh client's first frame) and passed alone; gui unit-test 1586/1590 (its perf check's BaselineBuildMismatch, the base's), the frame corpus 77/77 against mbase2
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |
|
|
|
|
|
| |
session draws nothing, and a window's binary started SDL, the GPU device and its fonts for it (348.7M instructions before the client could join, 288.8 MB RSS and 60 ms of CPU every 10 s idle); now every detached session is a terminal's (ps says tty) and a window shows it as a client, the ruled direction; with no pardes beside it the window's binary carries on as before. Fresh start, pardes-gui --detach session + window client to its first frame, offscreen: 448/484 ms -> 246/255 ms min/median (own window 241/249: +2.3%), the session's instructions 348.7M -> 18.4M, the client's 376.5M (own 396.5M); the session's RSS 288.8 -> 91.6 MB, idle CPU 59.6 -> 0 ms per 10 s. The manual's How pardes runs says so
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |
|
|
|
|
|
| |
veil): its head says its whole state is the one block its open allocates, plain bytes changed only by its calls, each a function of the block and what the call is handed (no statics, clock, randomness or file of its own; tick is not told PA_FRAMED); the core keeps the block (Kind.Slot.plain, the core's memory, a client's rollback epoch, which the copy saves) and its hash after each call is the call's taped outcome and in the digest (Slot.state), so a client whose block came out otherwise is caught at that call, joins again, and runs the session's frames of it from then (Addon.distrust); a client loads its own code for the kind by name, version, ABI and functions (Addon.plainOps; its scan only when the session has one), opens each such pane from the session's block byte for byte (dump.plainHere; the block is the dump's record, the kind's load given it at a Restore alone), speculates its keys, mouse and the tick after them, and draws it; one without the addon draws a line saying so; the session sends no Shadow for these panes; snake, life, snake_shader and veil say PA_PLAIN; test/liar.zig, a kind whose tick reads the clock; test/daemon.py --games: snake and life focused in two clients while a third types text for 30 s, keys stopped 0 and 0 of 451 and 450 (the base: 33 of 36 stopped in a tty client), rollbacks 385, 345, 366, every digest agreed, and the liar caught at its tick, its client joined again once and agreed; the GPU snake focused in a window client (offscreen) of a terminal's session and of a window's steps every 200 ms (2, 3, 4, 5, 7, 8, 9, 10, 12, 13), keys stopped 0 of 27, its digest agreed; the snake_shader's load tidying hover and timers made a client's block another than the session's at the first tick, caught so, hence the block itself in the dump; running.typ says a plain addon runs in a client; perf --only medium --reps 10 instructions:u 2,459.25M (base) -> 2,459.23M, --terminal-mib 8 3,928.50M -> 3,928.50M; tui core-test 811/950 (139 skipped), shell-test 993/996, pane-test 180/181, replicas pass (diverged 0, checked/wrong 0), behaviour-test 269/273 (the four addon ABI tests the base fails), --replay 20 seeds 0 failures, addon-test 157/157 steps 5/5, process-test 2 of 144 failed (lspcomplete and lspcompletemoved, the base's; winch failed once under load and passes alone), test/daemon.py, --far and --games pass; gui unit-test 1582/1590 (the base's), the frame corpus 77/77 against mbase, test/daemon.py --window-clients passes (its PDF window case skipped: no pdf.so built)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |
|
|
|
|
|
| |
running.typ's window client "moves whole rows, with no glide" is "glides as the session's own window does: whole rows go to the session, and the picture moves between them on the client's own clock", and the chapter says what a client costs (10-16 MB a terminal's, about 110 MB a window's, the same as any window, mostly the GPU and display libraries); next-run.md's "+25 MB a client" made the measured figures (true for a terminal's, four or five times too small for a window's; the core is 1-2 MB of it), its "half true" wheel made "not so" (with the face-missing divergence), its Rex client row no longer a thin view: Rex replays the server's stream into its own libghostty and draws locally (the user's correction; the binary links libghostty), the same principle as pardes's, which adds a client applying its own input before the session confirms it; its open question on ps's word brought up to date; each cites .scratch/sketch/reports/pardes-measure.md; the book and the site compile (no code changed, so the suites and the corpus were not run again)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
| |
|
|
|
|
|
| |
`pardes ps` prints a session with a frontend of its own as "(tty, has a frontend)" where it said "(tty, attached)" ("detached" stays, its clients listed under it as before; the daemon's list keeps its wire word `attached`, so /sessions and an older daemon read the same); `pardes help ps` "What the per-user daemon lists: ... whether it has a frontend of its own or is detached" (it said "keeps" and "whether one is attached"), `pardes help attach` "One with a frontend already" ("One attached already"), `--detach`'s help "One pardes --daemon per user lists them, for attach" ("keeps sessions"); Detach's refusals "no pardes daemon lists this session" ("keeps") in the terminal and the window, and "Detach: detached already (no terminal of its own)" ("no terminal is attached"); the README's /sessions line names `attached` (a frontend of its own) and the `client <pid>` lines the daemon sends; docs/typ/command-line.txt written again from `pardes help --all` (the golden that moved: its ps, attach, --detach and sessions lines); test/daemon.py's window case reads "(gui, has a frontend)"; the manual follows: running.typ's list of older words keeps only the code's own (authority, Peers/Link, Shell, unattended, /sessions's attached), reference.typ's /sessions and Sessions, guide.typ's ps line ("lists"); NOT renamed: the daemon's hello and state words (wire), the 9P file /sessions's content, the builtins Detach, Adopt and Unattach; tui core-test 811/950 (139 skipped), shell-test 993/996 (the command-line.txt test with it), behaviour-test 269/273 (the four addon ABI tests the base fails), process-test 2 of 144 failed (lspcomplete and lspcompletemoved, the base's), daemon.py main passes; gui frame corpus 77/77 byte-identical against mbase, unit-test 1582/1590 (the base's 8 failures); the book and the site compile
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|
|
|
(session, client, daemon, stub) and what each holds, a figure for each way of starting pardes (pardes in a terminal, pardes-gui, --detach, attach to a detached session, attach to one with a frontend, a far session, no daemon), the table of who holds the truth, what draws and what a closed terminal or window does, what survives what, and the words ruled on 2026-11-17 with the older ones the code still says; what is built only, each fact's file:line in a comment beside it; the cheatsheet's pointer for sessions goes there (cheatsheet-a4.pdf rendered again, still one page)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
|