pingqiuandClaude Opus 5.5 02d06311f9 chunkstore: fork claims on the parent snapshot entry
Replaces the separate hold objects with one conditional write on the
parent attempt's own entry (codex01's design):

- Fork adds its claim (target/request) to the entry before using it,
  conditioned on {state active, claims as read}; a deleting parent is
  refused. It removes its claim once its HEAD exists (or a sweep's
  tombstone settles the target).
- Retain marks deleting only conditioned on {state active, gen, no
  claims}; a lost condition re-reads and decides again. Claims that
  can never matter (target has a HEAD, or its VOLUME is another
  request's) are cleared conditionally first; any other claim keeps the
  snapshot, with no lifetime. No listing, so no paging.
- A dry run lists attempts a stopped pass left deleting, as apply
  frees them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 15:53:04 -08:00
Languages
Go 84.8%
Rust 7.6%
Shell 2.7%
templ 1.5%
Java 0.9%
Other 2.3%