mirror of
https://github.com/elder-plinius/G0DM0D3.git
synced 2026-11-16 07:02:25 +00:00
Compaction script (P0 restart-safe migration): - Derives stable run ID from hash of sorted source file paths - Archives stored under versioned archive/legacy/<runId>/ path - Manifest includes full sourceFilePaths list for resume detection - On rerun: detects existing manifest, verifies archives, resumes deletion from the original source list — never rebuilds from a partial file set - Verifies ALL artifacts (manifest + archives + invalid-records) - Post-deletion relist confirms every manifest source is gone - Idempotent upload: skips if manifest checksum already matches Telemetry writer (memBufferFirstTs bug): - On flush failure, restore snapshotTs instead of Date.now() so cross-midnight retries don't change partition paths Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>