diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-30 18:26:04 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-30 19:12:48 -0300 |
| commit | 7d989e485a38b025d0d6639afdcb4890d572f7cd (patch) | |
| tree | 100e019e9501aba0656b3db37e72de28e25bdef3 /docs/next-daemon.md | |
| parent | ef0fb2f9614bd6ad35991022d7be1cb40ca156ae (diff) | |
| download | pardes-7d989e485a38b025d0d6639afdcb4890d572f7cd.tar.gz pardes-7d989e485a38b025d0d6639afdcb4890d572f7cd.zip | |
docs/next-daemon.md: two leaks the soak showed after the first round, a resize made inside a step and a loaded search's regex, their fixes and tests, and a breach not confirmed
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'docs/next-daemon.md')
| -rw-r--r-- | docs/next-daemon.md | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/docs/next-daemon.md b/docs/next-daemon.md index 820e5e17..892d38a6 100644 --- a/docs/next-daemon.md +++ b/docs/next-daemon.md @@ -4083,6 +4083,36 @@ before it. second's turn, or the millisecond clock the steps of Ctrl-W, Ctrl-O and Ctrl-U read. Not fixed: a guess of the session's clock is the design's ceiling there; reading a coarser clock in those steps is the next step. +- **Two leaks the soak showed after that (its local80 and local207 cells):** + - A client typing into a terminal at another size than its last typist + sized it in that key's update (sync), and the session's emulator + reflowed at once while its replicas' wait for the delta. The rows the + step read that a replica held as holes then went to it in the new + grid's numbering, which it cannot take, so its replay read them blank + (`jumps`, `pane 1.body` at a `b`). Fix: an authority with screen-state + replicas makes the size after the step's unit (`resize_to`, in + `Peers.unit`); the step reads the grid it had on both sides, and the + next flush brings the new one; `create` sets `resize_to` null, as it + sets every field by hand (fixer 2 found a Debug session's terminals + asked to be 43690 by 43690, the heap's 0xAA). Tests: replica.zig's, + which reads history in the resizing step in the session's order of + flush, fill and unit; terminal.zig's, a terminal made from 0xAA memory. + - A client that joined had its panes' places loaded without their regex + (`re` is derived: in no dump and no copy), took a search for a list's + and found nothing an edit made, so it diverged at the next edit and at + every rejoin after (`pane 3.places.hits`; `pane 17.cwd` too, which + inherits pane 2's and hashes it whole). Fix: the regex is made again + from the pattern when a set holds none. Test: Places.zig's, a dump + loaded and the same edit made in both. + - Not confirmed: "panes [5, 8] left its view while still open" in local0 + came at 104 s, before any client of that cell had left (the rejoins' + joins were at units 2028 and 2029, near its end), so neither + `leaveView` nor a closed view's settle moved them. The soak compares + pane ids (/index, /layout), and a slot is taken again by the next pane + made: two panes the terminal's view showed, closed, and the window's + Looks just before (Enter on a row) opening panes into those slots, in + the window's view only as a view's new pane goes, reads the same. A + serial a pane in /layout would tell the two apart. - **Gates, on this line over fix2's (uxwrlzlw):** Debug `core-test` tty and gui, `unit-test` tty and gui (only the two GUI tests main already failed: the tagline pointer mapping and the tag caret), `snap` 113/113, |
