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 --- test/snapshots/dump.snap | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'test/snapshots') diff --git a/test/snapshots/dump.snap b/test/snapshots/dump.snap index 29e7b09e..5a602304 100644 --- a/test/snapshots/dump.snap +++ b/test/snapshots/dump.snap @@ -1,4 +1,6 @@ -# Dump serializes the session to this fixture's $DUMP path. +# Dump writes the whole session to this fixture's $DUMP path, a dump of the +# walk (src/walk.zig), and `-l` of it is that session again: the text typed +# into a terminal over its history comes back where it was. file d.txt x start 31 100 -n 3 wait 8000 d.txt @@ -14,4 +16,7 @@ stable 400 5000 press middle @Dump 1 release middle @Dump 1 stable 600 8000 -snapfile dump $DUMP +start 31 100 -l $DUMP +wait 8000 typed-marker +stable 700 20000 +snap loaded -- cgit v1.3