From e9b5d21e56aa0f9dfe68a4051a80cd9f13e37ade Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Fri, 30 Oct 2026 21:54:00 -0300 Subject: 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 Co-Authored-By: Claude Opus 5.5 --- docs/next-daemon.md | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) (limited to 'docs/next-daemon.md') diff --git a/docs/next-daemon.md b/docs/next-daemon.md index c7be4b5a..434e1da4 100644 --- a/docs/next-daemon.md +++ b/docs/next-daemon.md @@ -4423,3 +4423,47 @@ else watched it. `test/daemon.py` 20 cycles, `--upgrade` (against a `-Dstamp-commit` build), `--window-clients` and `--gui`; ReleaseSafe `--upgrade` (from the Debug build) and `--window-clients`: all pass. + +After the line, the box soak's divergences and its clean quit: +- **The session that quit at its 1093rd input was asked to.** Seed 32's + window typed `Ctrl-W h`, then `imike quebec `. Window mode stays open + until Enter, Esc, `:` or a label, so `i`, `m` and `i` went nowhere. `k` + at a column's top went to its tag, and there `e SPC q` ran Exit, with + nothing unsaved. The soak now leaves window mode with Enter. +- **A FreeBSD session's +Help had one row fewer than its Linux + clients'.** The box soak's rejoins after a divergence were + `pane 4.file.content`, and `.splice` over a +Help made again. Each was + at a `?` after SPC, which runs Help. Help's rows are the build's words, + and Tty9p was a Linux build's alone (`enabled` asked the OS), so a + Linux replica made a `SPC n 9 Tty9p` row its session never had. H19 + made the enum's digest the same in every build; the set of words was + still not. + - Fix: Tty9p is a word of every hosted build. Whether the host is + Linux is the authority's answer (`tape.authority`), so a replica of + a FreeBSD session refuses Tty9p as its session does. + - Test: test/cross_replay.py's session runs Help. Main's FreeBSD tape, + replayed by a Linux ReleaseSafe build, diverged at it (`pane + 5.file.content`); with the fix, 30 digests agree in Debug and in + ReleaseSafe. +- **A Debug replica of a release session diverged at every Grep's query + pane** (`pane 2.query`: cross_replay.py's ReleaseSafe tape replayed by + Debug). `Names.query_buf` was digested whole, and past `query_len` it + is undefined: 0xAA in Debug, something else in a release build. Fix: a + replica `len` on it. The same tape now agrees in Debug (30 digests). +- **The hunt's `pane 2.file.scroll` (seed 41) went with the Help fix.** + On main (zponxort) it came again at the same unit: tty207-1's `SPC ?` + (1/596, 1/597) made a +Help, a window client joined, and tty207-1's `%` + (1/713) diverged that window at `pane 2.file.scroll`. With the fix, the + same keys and units pass with no rejoin, on lppumkvm and on zznqlptu. + Not traced: which field the joined window got wrong, and why the window + that replayed the Help unit itself did not diverge there. +- **Box** (traced, ReleaseSafe at both ends): seed 32 (win,tty), 3 min. + On main: four rejoins in three clients. The traces put three of them at + the two Helps; the fourth, in the window that typed the first Help, + gave no reason. With the fix: no rejoin. Seed 41 (tty,win), 3 min, the same before and + after (one rejoin on main, none with the fix). +- **Gates** (on zznqlptu): Debug `core-test` tty, `replicas` (none + diverged or unequal), `test/daemon.py` 20 cycles and + `--window-clients`, cross_replay.py with tty and window recorders, and + the FreeBSD tape replayed by Debug tty, ReleaseSafe tty and Debug gui; + ReleaseSafe `test/daemon.py` 20 cycles: all pass. -- cgit v1.3