diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-17 22:24:45 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-17 22:47:38 -0300 |
| commit | b1b69886cce63c53f8407d2a37e29fd8876b5fe8 (patch) | |
| tree | b3eda0a305f99fc6309dc4240895e4331c48c71a /docs/typ/running.typ | |
| parent | 920110be4c597b4b93fc2d38179c09b335186253 (diff) | |
| download | pardes-b1b69886cce63c53f8407d2a37e29fd8876b5fe8.tar.gz pardes-b1b69886cce63c53f8407d2a37e29fd8876b5fe8.zip | |
words: what a person reads says the ruled words (PARDES.md ruling 1): `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
Diffstat (limited to 'docs/typ/running.typ')
| -rw-r--r-- | docs/typ/running.typ | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/docs/typ/running.typ b/docs/typ/running.typ index 0686dce5..65498380 100644 --- a/docs/typ/running.typ +++ b/docs/typ/running.typ @@ -245,20 +245,19 @@ started it. After an #word("Upgrade"), a session's command line starts with [*stub*], [the process your shell waits on when the session is not it], ) -The code, its messages and the older notes still use other words for the -same things, until the code is renamed: +The code says these words too, each for one thing of its own (the older +notes, `docs/next-daemon.md` among them, still say `remote` for a client +and `headless` for detached): -// tui.zig:622-667, gui.zig:769-776, main.zig:1683-1687 (remote); -// main.zig:1523, gui.zig:765-829, :2381-2384 (headless, parked); -// replica.zig:1850-1852 (alone_unattended); replica.zig:1-19 (authority); -// tui.zig:1189, gui.zig:2379 (Shell); replica.zig:1832-1876, :2809-2812 -// (Peers, Link, Joining); daemon.zig:799 (ps's attached and detached). +// replica.zig:1-19 (authority); replica.zig:1832-1876, :2812 (Peers, Link, +// Joining); tui.zig:1189, gui.zig:2379 (Shell); Core.zig:269-271, +// replica.zig:1850-1852 (unattended against detached); daemon.zig:283, +// :363, :799 (the daemon's attached and detached), main.zig:1616 (`ps` +// says "has a frontend"). #pairs( - [`remote`, `Remote`], [a client, on this machine too; another machine's is *far*], - [`headless`, `parked`, `unattended`, `alone_unattended`], [detached, or nobody looking], [`authority`], [the session's core, inside the replica engine; `replica`, a client's core], [`Peers`, `Peer`; `Link`, `Joining`, `Joined`], [a session's clients, seen from the session; a client's connection, seen from the client], [`Shell`], [a frontend's host object (`tui.zig`, `gui.zig`); elsewhere the user's shell], - [`attached`, `detached` in `pardes ps` and #file("/sessions")], [whether the session has a frontend of its own], - [a daemon that "keeps" a session], [one it has on its list], + [`unattended`], [a detached session with no client either: nobody looks, so a message goes on the clock], + [`attached` in #file("/sessions")], [the daemon's word for a session with a frontend of its own; `pardes ps` says "has a frontend"], ) |
