From 538a5d926fa626a00cc3dc12c555f11f82867efd Mon Sep 17 00:00:00 2001 From: t Date: Mon, 22 Jun 2026 18:18:28 -0600 Subject: libpanto ponytail-audit simplifications --- libpanto/src/session.zig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libpanto/src/session.zig') diff --git a/libpanto/src/session.zig b/libpanto/src/session.zig index 843989a..35fd09b 100644 --- a/libpanto/src/session.zig +++ b/libpanto/src/session.zig @@ -15,8 +15,8 @@ //! is recorded in entries but does NOT round-trip into the in-memory //! conversation, because providers don't need it for request serialization. //! -//! Format version: 1 (see `CURRENT_VERSION`). Migrations live in -//! `session_manager.zig`. +//! Format version: 1 (see `CURRENT_VERSION`). No prior versions exist; +//! when v2 lands, a migration step on load can transform v1 entries. const std = @import("std"); const Allocator = std.mem.Allocator; @@ -73,8 +73,8 @@ pub const WireStamp = struct { }; /// Bumped whenever the on-disk format changes in a way that older readers -/// cannot tolerate. Older files are upgraded by `migrate()` on load and -/// the file is rewritten once. +/// cannot tolerate. When that happens, add a load-time migration that +/// upgrades older files and rewrites them once. pub const CURRENT_VERSION: u32 = 1; // ============================================================================= -- cgit v1.3