summaryrefslogtreecommitdiff
path: root/docs/next-run.md
Commit message (Collapse)AuthorAge
* docs: PARDES_PAIR, what it is (pardes-pair-3's item 3e): docs/next-run.md a ↵Gabriel Schneider7 days
| | | | | | | 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
* last word: a session's last frame on a link says which of two things ↵Gabriel Schneider7 days
| | | | | | | happened (wire `ended CODE` 0x0b and `left NAME` 0x0c, working names): a Detach typed in a client queues `left` and lets its writer end after it (Peers.detach, Peer.last), a session's end tells every client `ended` with its code before the links are let go (Peers.ended, from runtime/session.zig after the loop; refuseAll and it share the 200 ms flush); a client that typed Detach prints "pardes: detached from 'NAME', which is still running; come back with `pardes attach NAME`" and exits 0 again (the attach's regression to exit 1 and "let this client go" undone, for every client, no variable), a client whose session ended exits with the session's code quietly, a pair's client after reaping its session (EDITOR=pardes waits for the session's end); client.Ended a union (left, ended CODE); a Detach with no daemon is refused in a client too (tui.zig `detach`: the daemon checked first), since a pair with none ends with its last link; test/daemon.py: the client Detach expectations (0 and the line), a session's Exit (0, no let-go line), `pair` Exit 0 and the session reaped, `pair_rows` the rows of the design's tables 1.1 and 2.2 B (Detach said, exit 0, the session listed; a client ended by TERM with its terminal put back, by KILL and by its terminal's HUP: the session runs on; no daemon: Detach refused, the terminal closed ends the session; nothing left); docs/next-run.md and core/CHANGELOG.md say so (the CHANGELOG's `new --detach` line is the first change's); `kept` NOT built: no terminal behaviour turns on it while a hangup and a killed client are losses and Exit ends the session (see the report) Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
* docs: an attach is always a client, and a session registers again with a ↵Gabriel Schneider8 days
| | | | | | | 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
* docs: the design notes cite this tree: next-run.md's 46 citations found ↵Gabriel Schneider8 days
| | | | | | | again and read (paths from the repository root; the session's daemon link now the one session loop's, runtime/session.zig) and its date moved to 2026-11-19, its --detach today saying that pardes-gui --detach runs the pardes beside it, and its glide's "still say" no longer naming next-daemon.md; next-drag.md's handover reads the dump before the session loop listens (gui.localSession is gone) and names dev/Inbox.zig and runtime/main.zig; next-winmode.md's test is core/layout.zig's; the plan itself (an attach always a client) stays a plan, unbuilt; 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
* core: src/ becomes core/, pardes.zig its root.zig (the reorganisation's ↵Gabriel Schneider9 days
| | | | | | | 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
* kinds: the Shadow path deleted (the session painting a pane of a kind for ↵Gabriel Schneider9 days
| | | | | | | 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
* docs: three sentences the measurements and the user proved wrong, corrected: ↵Gabriel Schneider10 days
| | | | | | | 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
* docs: next-run.md, the ruled direction not built: an attach is always a ↵Gabriel Schneider10 days
client (a session's own frontend only the one it was born with), what it removes with this tree's lines (the upgrade record's terminal and window fields stay, against the plan), what a client lacks today checked (+25 MB measured 2026-11-06; an addon's code runs in no replica; a window client's notch is whole rows, but its touchpad's fractions are local and it follows the session's font by name now), a session registering again with a restarted daemon, --detach forking, Rex beside pardes, and the figure of today's four meanings of attach beside the one after (next-run.typ, rendered to next-run.svg) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T