<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pardes.git/docs/next-daemon.md, branch main</title>
<subtitle>Pardes</subtitle>
<id>https://git.0x4200.cafe/pardes.git/atom?h=main</id>
<link rel='self' href='https://git.0x4200.cafe/pardes.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/'/>
<updated>2026-11-10T12:30:17Z</updated>
<entry>
<title>docs/next-daemon.md: the remote-bugs log gains fix4, the kinds work's two (a kind's open was the one call into a kind a replica guessed, now authority-only in Kind.reopen; a view's facts read Pane.notices, derived and undumped, so a joiner's kind was told other rows and the join diverged, now Messages.bands from dumped state), and restates the rule they broke</title>
<updated>2026-11-10T12:30:17Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-11-10T12:30:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=5033138d9e93e05dc961c0f7b93e46208d5df33d'/>
<id>urn:sha1:5033138d9e93e05dc961c0f7b93e46208d5df33d</id>
<content type='text'>
Co-Authored-By: Claude Fable 5.1 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
</content>
</entry>
<entry>
<title>client #2, one frontend a session: the daemon answers `other &lt;name&gt;` for an attach to a session attached already (as it did for one of the other kind), so a second `pardes --attach` or `pardes-gui --attach` on this machine is a replica client through the replica socket, the path a remote one takes; a session tells the daemon its clients (SO_PEERCRED on each replica socket, at every join and leave) and `--ps` lists `client &lt;pid&gt; &lt;command&gt;` under it; the tty's per-terminal Screens (Screen.create/drop/destroy, primary, its stub and Killed slot), the Poster and its `from` input, the Gui's window-fields swap (window_fields, GuiWindow, copyWindow, freshWindow, follow, route, openAnotherWindow, closeView, windowsOpen, closeOtherWindows, resumeWindows), drawOthers and every harness's extra terminals (snapshot.zig's `start ... views=N` and `view &lt;k&gt;`, e2e_harness's initView and drainOthers, PARDES_TEST_VIEWS in both frontends, the GUI feed's `view;&lt;k&gt;`, the monkey's --views) go; the pump draws the one view this process shows (views.shown), through drawOne when a client's input was the last; an Upgrade from a build that kept a second terminal of its own lets it go (its stub told it is detached) and closes its view; deleted: views.snap, views-term.snap and views-pan.snap with their goldens (the in-process second terminal they drove is gone; views.zig's unit tests keep the per-view cursor, layout, register, sizing, closing and panning behaviour, test/replicas.zig and the soak the views of clients); the two views.zig tests that drew through drawOthers draw through drawOne; daemon.py's second terminal is a client listed by --ps, typed into in both terminals, detached from inside and closed; its second window a client listed by --ps and closed; the reference and next-daemon.md say so; no golden changes; gates: core-test 956/956 both, behaviour-test 248/248 both, unit-test 1487/1488 tui and 1530/1531 gui, pane-test 171/172 both, snap all 102 ok, process-test 0 of 37 failed on both, hxdiff 19 and hxparity 6 mismatches (the base's names), hxgolf 0, replicas, addon-test, gui-golden and monkey-gui 0 of 1 failed, daemon.py main, --window-clients and --gui ok, soak local pass (differ, mispred, view_bad, lost 0)</title>
<updated>2026-11-06T07:13:33Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-11-06T06:20:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=4c2125ecf47588d33f9894c1fdf2833d0512f3b4'/>
<id>urn:sha1:4c2125ecf47588d33f9894c1fdf2833d0512f3b4</id>
<content type='text'>
Co-Authored-By: Claude Fable 5.1 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
</content>
</entry>
<entry>
<title>docs: step 6 of the architecture as it landed (next-daemon.md's notes on the rollback and the digest through the journal): a replica's core writes its texts in place and its rollback writes back what a speculation wrote, a digest takes a blob of 4 KiB and up by its length, and what stays and why: the epoch and the copy's walk until the core's state is pointer-free, the join's pins and its stream (its writer reads texts after the step, and the journal cannot say what changed since a revision), and so the byte walker; the costs from the replicas harness and a join of a session with a 1.1 MB file before and after</title>
<updated>2026-11-06T00:26:48Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-11-05T23:27:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=ce7273b3de52b3d42fedf21fc8cc96316ccab9ed'/>
<id>urn:sha1:ce7273b3de52b3d42fedf21fc8cc96316ccab9ed</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
</content>
</entry>
<entry>
<title>rollback: a replica's core writes a file's text and its line index in place, as the session's does, and its rollback copy keeps none of their bytes: the epoch notes what each write into a text or an index that was there when the copy was taken took out (rollback.Epoch.wrote, from File.edit and shiftIndex), and putting the copy back writes that back, the newest first, before the saved bytes go back (unwrite), where a replica's edit made a whole new text and a whole new index at every key so that the copy could pin the old ones; the bridge the journal left for this goes with it: rollback.isEpoch, File.keepsBytes (a text a join is still sending is copied on write as before, memory.isPinned), the replica's copy-on-write in File.edit and shiftIndex's `keep` (its in-place shift is File.shiftStarts, which the rollback runs turned round); the journal's steps, its `done` and its entries come back as the copy saved them, an entry a speculation merged into and the redo entries it dropped being saved bytes and put-off frees; File.State's content and line_starts are annotated `.journal`, which the copy neither saves nor pins (line_starts leaves `.blob`); a write that could not be noted (no memory) fails the replica at its rollback; tests: rollback.zig's 'a text written in place under a copy comes back byte for byte: typed into its room, undone, cut, and grown past it' is new, and File.zig's 'a line index shifted in place equals a rebuilt one' becomes '..., and the edit turned round gives the one before back' (its every tenth shift made anew, as a replica's core made them, gives way to the shift turned round in a copy, as a rollback makes it)</title>
<updated>2026-11-05T23:49:41Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-11-05T22:47:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=9e504559356ed985999d8625947d9b08ad582792'/>
<id>urn:sha1:9e504559356ed985999d8625947d9b08ad582792</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
</content>
</entry>
<entry>
<title>rename: the terminal frontend is the tui (-Dplatform=tui, src/tui/tui.zig, --tui with --tty kept as its old spelling, the process tests' backend .tui and --backend=tui, docs/typ/builtins-tui.json, the Settings report's platform), and the builtin Tty is Term (its registry entry, SPC n t, every default tag, the docs, tests and snap scripts), Tty still run as Term through exec.acme_words, Tty+fish too on a tag and a ctl; tty as a pane's raw mode and as the OS's terminal unchanged</title>
<updated>2026-11-05T00:12:33Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-11-04T23:54:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=0ff1fc99eb870f8a1e714a71c1a853066737c822'/>
<id>urn:sha1:0ff1fc99eb870f8a1e714a71c1a853066737c822</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
</content>
</entry>
<entry>
<title>docs/next-daemon.md: the query pane's two: a speculated Enter that panicked in Query.land (a current item outliving its row: a frozen pane's rows edited, an Esc's `saved` of them), and a window joined from a dump making a `/` query's rows plain where its session had coloured them (a row's colours painted from the derived highlights and locations cache); the fixes, the tests, the gates and the seed-7 box soak with no rejoin</title>
<updated>2026-10-31T04:30:31Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-10-31T04:07:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=4c761893e5b3fdae422622cfa02104ab36633045'/>
<id>urn:sha1:4c761893e5b3fdae422622cfa02104ab36633045</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>docs/next-daemon.md: a window that joined late diverged at the next key that moved another view's pane (`pane 23.file.scroll`: a pane's `view` was derived, never dumped, read before the step's sync, the default in a core loaded from a dump; the tty's `SPC t w` at 243 s, its lines unwrapped in the session and wrapped in the joiner), the fix, the test, a 120-seed exploration before and after; not this one: the box run's query-pane divergence (`location_rows`) and `Query.land`'s panic; the gates</title>
<updated>2026-10-31T03:29:37Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-10-31T02:54:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=10cedf97c90d6a11a89d7e682e243b77fd6b6f1f'/>
<id>urn:sha1:10cedf97c90d6a11a89d7e682e243b77fd6b6f1f</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>docs/next-daemon.md: the box soak's divergences and its clean quit: the session that quit at its 1093rd input was asked to (window mode left open took `imike quebec `, `SPC q` in a tag); a FreeBSD session's +Help one row short of its Linux clients' (Tty9p a Linux build's word alone), the hunt's `pane 2.file.scroll` gone with it, before and after at seeds 32 and 41 on the box; a Debug replica of a release session at every Grep (Names' query buffer past its length); the gates</title>
<updated>2026-10-31T01:28:08Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-10-31T00:54:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=e9b5d21e56aa0f9dfe68a4051a80cd9f13e37ade'/>
<id>urn:sha1:e9b5d21e56aa0f9dfe68a4051a80cd9f13e37ade</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>views: a client that joins again has its own view back, layout, focus and the panes opened in it: an Upgrade's clients and one whose bye says it joins again (a divergence's, wire 19's `bye.again`) leave their view kept for them (`views_away`, digested and dumped, so an Upgrade's new build has it; taped `awayView`), the client names it in its next hello (`Hello.view`, handed on by the daemon with the connection) and its join takes it back (taped `rejoinView`) rather than a copy of the session's; the live view is never a kept one, `views.count` counts the others, and a join with every view taken lets one go (every Upgrade made each client's own panes leave its view: the hunt's 80 ms cell lost `+Search` and `+New`)</title>
<updated>2026-10-31T00:53:52Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-10-31T00:00:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=d00c40694dc239854263616f710b4a197d25d145'/>
<id>urn:sha1:d00c40694dc239854263616f710b4a197d25d145</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>dump: a closed terminal brought back on a screen-state replica gets its emulator on the C heap, as terminal.create makes one (terminal.emulatorGpa): loadPane named no `.terminal` allocator, so its emulator was the rollback epoch's, and its screen replica's blobs, made with State.gpa, were freed with the C heap's behind the epoch at a client's end and again by it (H21: `double free or corruption` in Epoch.deinit at a hangup, `free(): invalid pointer` at a rejoin), and a rollback freed what a delta under a held copy made of them</title>
<updated>2026-10-31T00:28:49Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-10-31T00:04:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/pardes.git/commit/?id=e6a114eed043dd1ca50be1cab912662fa9150fda'/>
<id>urn:sha1:e6a114eed043dd1ca50be1cab912662fa9150fda</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
