<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pardes.git/test/fs.py, branch macos</title>
<subtitle>Pardes</subtitle>
<id>https://git.0x4200.cafe/pardes.git/atom?h=macos</id>
<link rel='self' href='https://git.0x4200.cafe/pardes.git/atom?h=macos'/>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/'/>
<updated>2026-10-30T00:13:33Z</updated>
<entry>
<title>dump: one walker dump of the whole session, by name across builds, for Restore, -l, Handover and the store; dump.zig's hand-written schema gone</title>
<updated>2026-10-30T00:13:33Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-10-29T20:01:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=70de5ec5ff3dad01afcc45244ad5e5a481486da6'/>
<id>urn:sha1:70de5ec5ff3dad01afcc45244ad5e5a481486da6</id>
<content type='text'>
A dump is walk.zig's walk of the core with a table of every type it reaches
(fields, enum and union names, number widths), read back by name; terminals
are ghostty's snapshot (screens, history, kitty images); a failed load frees
what it made.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>test/fs.py: a new +Pager each run, its colours through the theme until Filter, SYSTEMD_PAGER read by the shell, and no pager of the caller's</title>
<updated>2026-10-29T17:27:42Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-10-29T17:27:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=7bd678868901ec9ae7c8e4369c16c53d30282e41'/>
<id>urn:sha1:7bd678868901ec9ae7c8e4369c16c53d30282e41</id>
<content type='text'>
Since 046979b8 (committed 2026-10-22) `pardes -` makes a new +Pager for
each paged text, one already there keeping its page, and maps its
colours through the theme as a terminal's until Filter shows them as
sent; the test still expected one +Pager refilled and the colour as
given. coreutils 9.12's printenv quotes a value with a blank on a
terminal, so the shell prints SYSTEMD_PAGER instead. And a session's
shells no longer inherit the caller's pagers: a PAGER naming the user's
own pardes-gui ran instead of the binary under test.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>tests on FreeBSD: Linux's /proc/1 fixtures, the builtins lists, daemon.py and fs.py without /proc</title>
<updated>2026-10-29T16:11:16Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-10-29T15:32:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=7e6834ba5eff5c0e61891ec1935e5e0ca8291c2f'/>
<id>urn:sha1:7e6834ba5eff5c0e61891ec1935e5e0ca8291c2f</id>
<content type='text'>
- The refusing directory some tests name is Linux's /proc/1/root: that
  part skips elsewhere. The committed builtins-*.json are Linux builds'
  (Tty9p): their check skips, and a key the docs give a word this build
  leaves out is found in the other's list.
- kitty: a shared memory object is sized before it is written (FreeBSD's
  write does not grow it); a FIFO in /dev/shm is Linux's case.
- daemon.py asks ps and procstat where there is no /proc, and finds bash
  on PATH. fs.py runs printenv once a name, and skips two permission
  checks as root, who searches and writes anywhere.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>sessions register with the daemon: a terminal's session forked off its stub, Detach and --attach in place for terminals and windows, pty masters kept, Adopt</title>
<updated>2026-10-29T15:01:27Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-10-29T13:48:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=4ffe5c93b3087f245f5b57a822ab0ecf41cc085c'/>
<id>urn:sha1:4ffe5c93b3087f245f5b57a822ab0ecf41cc085c</id>
<content type='text'>
pardes in a terminal reaches (or starts) the daemon, opens /dev/tty and forks: the child is the session, in a session of its own (setsid), drawing on that terminal (tty.Term.fd, a raw vaxis Tty made from the fd); the parent stays as its stub, the job the shell waits on. Not the daemon spawning it from a passed fd, env and argv: the user's terminals each run in a 9ns user and mount namespace, which a session spawned by a per-user daemon would not share, and a fork costs one small process's page tables where the spawn cost an IPC and an exec. GUI windows and --detach sessions just register.

tty: Detach (and a terminal's end: EOF, EIO, a hangup the stub passes on, taken on the signal thread) puts the terminal back, drops it and the stub's stdio, tells the stub (which ends, exit 0), and leaves the session running with nothing drawn (Host.watched), its messages on the clock and `size` its own. pardes --attach[=name] hands its terminal through the daemon; the session enters it as the first one, sized, queried and drawn whole, and that process is its stub until it leaves. A hangup never ends a kept session; TERM and INT do, telling the daemon so the shells go with it (one async-signal-safe send).

gui: Detach closes the window (its swapchain or renderer) and keeps the device, atlas and pipelines; the loop sleeps on SDL's queue; pardes-gui --attach[=name] opens a window again. Closing a window still quits.

--detach is a session started detached: the tty host with no terminal yet, the GUI with a hidden window closed at once. forkShell sends the daemon a dup of every master and the hosts tell it what they close, so a session killed outright leaves its shells running; the new Adopt word takes them in as terminal panes (the Tty word's pane, its spawn taking the pty, a 1x1 size then the pane's to make it redraw).

The Attach word, which switched a session's own terminal to a detached session through the frames, goes, with its effect and request in the core. PARDES_DAEMON=off (the e2e harness's) runs a session as before. test/daemon.py: 50 detach/attach cycles at a level fd count with no stale socket, kill -9 and Adopt, and nothing left; --gui the same for a window. test/fs.py: a forked session's socket is found by its own pid, and a hangup leaves a kept session running.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>merge: the 9P workflow canary reads Grep's rows as they are now written, the place as text before the line</title>
<updated>2026-10-25T15:29:45Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-10-25T15:29:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=469e40606125f59567e0ed9345b1bc1c5e474791'/>
<id>urn:sha1:469e40606125f59567e0ed9345b1bc1c5e474791</id>
<content type='text'>
Co-Authored-By: Claude Fable 5.1 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_016u3hBPFfja5pK4EBRC1UVD
</content>
</entry>
<entry>
<title>merge: fs.py's workflow_canary reads Recent from the store file (Store.zig renamed recent to store); converge 7/6 and Store were built apart</title>
<updated>2026-10-24T18:54:44Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-10-24T18:54:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=05d03191a8bfdb7c76176a91fddd97f389ab6dc3'/>
<id>urn:sha1:05d03191a8bfdb7c76176a91fddd97f389ab6dc3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Store 2/3: one bounded store every window shares (Store.zig): Recent as records read on use, the panes a session closes kept as one-pane dumps; Panes lists them (closed), Enter or a look at @pN brings one back beside the pane that took its rows</title>
<updated>2026-10-24T18:43:44Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-10-24T16:47:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=f3405aaef8db79094b2741a9caaeaa5328ab6288'/>
<id>urn:sha1:f3405aaef8db79094b2741a9caaeaa5328ab6288</id>
<content type='text'>
An append-only log under $XDG_STATE_HOME/pardes/store, framed records with
a CRC, flock on store.lock (never blocking a step), a stat on use, garbage
passed over and compacted away by the next writer, compaction by rename,
100 MiB cap. dump.dumpPane/restorePane lifted out of dumpState/initDump;
layout.giveBack; Options.recent_path is store_path. Host calls yield one at
a time; /recent refreshes only when no step is out. Tests: two windows and a
busy lock, the cap, garbage/torn/partial records, a closed pane's reopen
with the layout invariant; fs.py: two live sessions over 9P.
</content>
</entry>
<entry>
<title>Search converge 7/6: a script's Grep or Find that misses opens nothing, a dumped query pane restores as plain text; fs.py's Recent and canary to the query pane</title>
<updated>2026-10-24T17:26:04Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-10-24T17:16:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=f3b5bd10ceb4c4db7263739770d5e4bdb879ba75'/>
<id>urn:sha1:f3b5bd10ceb4c4db7263739770d5e4bdb879ba75</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pardes --wait with no FILE says it needs one; --detach over a name another session's socket holds (a plain session is named by its pid) says so plainly, and any other failure of it in words, never a Zig error trace</title>
<updated>2026-10-02T03:56:05Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-10-02T03:56:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=6637d8df988f8cff9d054c39d3781f4a1ede3b8e'/>
<id>urn:sha1:6637d8df988f8cff9d054c39d3781f4a1ede3b8e</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Edit's w to a file changed on disk since read is refused once, as Save is (w again to overwrite), the rest of an X/'/w written and the refused named; Edit filters get a pane command's environment ($PARDES_MOUNT, $PARDES_9P, $PARDES_PID, $winid); an Edit with no commands runs beside one whose commands run unless it touches a file that one changes, refused busy (EBUSY) as is a second Edit with commands</title>
<updated>2026-10-02T01:58:12Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-10-02T01:58:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=3ddd34bcd94ba95d9cacbf6afcb9f89a16a414ce'/>
<id>urn:sha1:3ddd34bcd94ba95d9cacbf6afcb9f89a16a414ce</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
