diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-19 17:05:16 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-19 18:17:17 -0300 |
| commit | cbc9634091cf314d9cafeeb36ff274979d1cbc8f (patch) | |
| tree | dd37aab8e294c246c0f5b8ca020debf0c00b8f6d /runtime/root.zig | |
| parent | 230999248d8c3045451f46d7c28c2fb46d20b419 (diff) | |
| download | pardes-cbc9634091cf314d9cafeeb36ff274979d1cbc8f.tar.gz pardes-cbc9634091cf314d9cafeeb36ff274979d1cbc8f.zip | |
replicas: the corpus scene compares a cell as a frontend reads it, not the bytes of its text past its length (pardes-regex item 3; the gate of pardes-merge20: "step 21 (resize): the client's frame is not the own frontend's: 1 cells, the first at 15,19"): reproduced at will by the TMPDIR's length, the scene's files' paths being in its tags and notices (20 of 20 runs fail at a 120-character TMPDIR, at steps 18 to 21, 7, 3, 3 and 1 cells; 0 of 200 at /tmp/claude-1000/ry, 18 characters; at 18 to 30 characters each length fails or passes as the pid's digits lay the rows out: 9 or 20 cells at step 21, or none); both frames' rows printed where they differ: the same text, the same styles, the cell at 15,19 a tagline cell holding " " (`Zerox: only a file pane takes it`, the notice row after the resize to 70x20), its `text` {32, 0, 0, 0, 0, 0, 170} in the own frontend's frame and {32, 170, 170, 170, 170, 170, 170} in the client's, `len` 1 in both: the bytes past `len` are whatever that cell held before (Surface.set copies the grapheme's own bytes, a layer's cells come from an arena, 0xAA in a safe build), and no frontend reads them (the terminal draws `cell.grapheme()`, the window the same, glide.sameRow and Cell.visuallyEqual compare grapheme, style and blankness), so neither side is wrong and no user could see it; Shown.differ compared whole cells with std.meta.eql and now compares them with Cell.visuallyEqual; the earlier agents' 34-35 cells on row 20 with a long TMPDIR are the same thing (other cells, other stale bytes): with the check fixed the scene passes at every TMPDIR length tried (20 to 161 characters, 5 runs each, the base failing 5 of 5 at each), so its verdict no longer depends on the directory's name; gate: replicas --clients 5 three runs in a row on all three changes (TMPDIR /tmp/claude-1000/rx, load 5 to 12): each ENDS with no leak report, diverged 0/0/0, unequal 0/0/0, deltas wrong 0 (1799/0 1832/0 1681/0, 1799/0 1832/0 1626/0, 1799/0 1832/0 1681/0), quiet differ 0, stops unlisted 0, the corpus scene 22 of 22 in each; the frame and perf gate against tree1 on all three changes (gpu/regex-1, load 4 to 16): PASS, frames 77/77 byte-identical in Debug, gui unit-test 1619/1623, perfab corpus2x +0.015% (session noise 0.057%, threshold 0.4%), pictures identical in all 10 runs, perfops 97 counts within 0.1% (largest image-frame on large +0.0307%); lines in a file another agent is in: test/replicas.zig, Shown.differ's one comparison and the 4 comment lines above it, nothing else
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'runtime/root.zig')
0 files changed, 0 insertions, 0 deletions
