pingqiuandClaude Opus 5.5 7b47dd72ff feat(storage): an opt-in gate that defers BASE retirement (row 12a retired-BASE)
Descriptor-owner ruling on codex03's row 12a retired-BASE RED (6f545aad):
once a completed BASE retires to none, nothing durable tells the provider
that the local image is complete rather than a lazy seed. Retirement may
now be deferred, opt-in per store, so the installed descriptor stays that
evidence until the chunk layer has durably recorded local presence:

- DeferBaseRetirementV3 (the provider, at open, before Recover and any
  publication) and AllowBaseRetirementV3 (the chunk layer, after durable
  local presence) set an atomic gate on the publisher;
- retireBaseV3 is skipped while the gate is deferred; once allowed,
  retirement happens on the next ordinary publication;
- every successful begin re-arms a lifted deferral, so a later install in
  the same open needs its own durable presence before it may retire.

The publisher only reads the atomic under descMu: no new lock edge, no
format or durable field. Stores that never set the gate retire as
before, so a volume without a chunk layer cannot be stuck installed.

Control: a deferred store stays installed through publications whose
8.4 conditions hold, retires on the first one after Allow, and a second
install in the same open is deferred again. Mutants: a publisher that
ignores the gate; a begin that does not re-arm it.

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