From 3f4df1363d3051bf8c4665fdf4898d59ab365b27 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Fri, 6 Nov 2026 03:54:49 -0300 Subject: client #3, wire 21: the views in the dump and the digest (client #1) are another replica stream, which the semantics hash did not see (it hashes the tape's types, not the core's), so a replica of the base could join and load a dump by names that no longer hold its views; daemon.py's Replica dials an older daemon again in its protocol (as across an Upgrade), and its Upgrade case, run from the base onto this build, takes the base's second terminal of its own being let go (its stub told, two fds fewer) and the base's client told to run the same pardes; gates: core-test 956/956, unit-test 1487/1488 tui and 1530/1531 gui, replicas ok, daemon.py main, --window-clients, --gui and --upgrade ok Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- src/wire.zig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/wire.zig b/src/wire.zig index fda526ce..91e805e7 100644 --- a/src/wire.zig +++ b/src/wire.zig @@ -9,6 +9,8 @@ const builtin = @import("builtin"); const pardes = @import("pardes.zig"); const config = @import("pardes_config"); +/// 21: a session's views are `Pardes.views` in its dump and its digest +/// (src/views.zig), the panes' shares of the others under `shares`; /// 20: a digest takes a blob of 4 KiB and up (a file's text, a register's, /// an undo entry's bytes) by its length, not its bytes (src/walk.zig): a /// text's revision says what it holds; @@ -27,7 +29,7 @@ const config = @import("pardes_config"); /// part B); 14: the hello names a session and /// carries the semantics hash, and a ping is answered (phase 5's /// groundwork); 13: the frames went (phase 3). -pub const version: u16 = 20; +pub const version: u16 = 21; /// The terminal's build and the window's step alike (`semantics`). const family = switch (config.platform) { -- cgit v1.3