Repository navigation
0.9.135
worktree-audit.mjs now reads the .jsonl.zst rollouts under Codex's sessions and archived_sessions. It used to skip them, so a worktree whose latest chat sat in a compressed rollout showed no LAST_CHAT and could be reported safe. Plain .jsonl transcripts are read as before, and find-transcript.mjs lists compressed files only for a caller that passes includeCompressed, so the reflect skill's search is unchanged. @EthanYoQ found and fixed this in #425.
The audit decodes in the process with zlib.zstdDecompressSync when that decoder reads every frame of a file and rejects a truncated one. It checks both once at start-up. Node 26.13.0 passes the check. Bun 1.4.4 returns the partial output of a truncated frame without an error, so the audit runs the zstd command there, as it does on a Node that has no Zstd decoder. Only a machine that has compressed rollouts needs a decoder.
A compressed rollout that cannot be decoded, because it is corrupt or truncated or because no decoder is available, leaves LAST_CHAT unknown for every worktree. The audit warns transcript scan failed with the file's path, and no worktree reaches safe until the file decodes or is removed.