pingqiuandClaude Opus 5.5 56300cc6c1 chunkstore: attempt-bound retention, fork holds, rolling windows
- Retain deletes the exact attempt it planned: the attempt's entry is
  marked deleting conditionally and the name record is removed only
  while it names that attempt; a replacement is reported as replaced.
- Fork records a hold (forkholds/<name>/<attempt>/<target>) before it
  reads the parent. Retain marks first, then reads the holds: a live
  hold reverts the mark (fork_held); a fork holding after that read
  finds the attempt deleting and refuses before installing anything.
  A hold counts while its target has no HEAD and its VOLUME records the
  fork, or while it is younger than the operation deadline.
- A pass stopped after a mark finishes (or reverts) it on the next run.
- Log-spaced keeps use rolling windows anchored at now.
- Exclusive bytes resolve "@owner/key" refs and count every volume's
  HEAD and live snapshots as holders; documented as eligible for GC
  subject to its grace period and intents.
- Retain reports confirmed deletions, the failing snapshot (uncertain
  or not) and what it never reached; the CLI prints them with the
  error and exits nonzero.
- chunkControl.Snapshot validates the class before any cut;
  invalid_class and invalid_policy map to 400.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 15:36:46 -08:00
Languages
Go 84.5%
Rust 7.9%
Shell 2.7%
templ 1.6%
Java 1%
Other 2%