From 70de5ec5ff3dad01afcc45244ad5e5a481486da6 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 29 Oct 2026 17:01:35 -0300 Subject: dump: one walker dump of the whole session, by name across builds, for Restore, -l, Handover and the store; dump.zig's hand-written schema gone A dump is walk.zig's walk of the core with a table of every type it reaches (fields, enum and union names, number widths), read back by name; terminals are ghostty's snapshot (screens, history, kitty images); a failed load frees what it made. Co-Authored-By: Claude Opus 5.5 --- src/Pipe.zig | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Pipe.zig') diff --git a/src/Pipe.zig b/src/Pipe.zig index 239a94e4..903c1dba 100644 --- a/src/Pipe.zig +++ b/src/Pipe.zig @@ -15,6 +15,10 @@ const Key = pardes.Key; const Pardes = pardes.Pardes; const Pipe = @This(); +/// A pipe's run, an Edit's and its writes, out with the host: errands of +/// the session that performs them, not a dump's (src/walk.zig). +pub const replica = .{ .authority = .{ "wait", "edit_run", "writes" } }; + /// Bumped for every request, so a late answer to an older one is ignored. seq: u32 = 0, /// The request in flight, and what it needs to apply its answer. -- cgit v1.3