strategy: extract AdvanceCommittedPrimary helper

main

Commit

pfleidi3mo ago

AdvanceCommittedPrimary sets refs.Primary to hash and best-effort advances refs.Mirror. Replaces (SetReference + MirrorBestEffort) pairs across EnsureMetadataBranch, metadata_reconcile, cleanup, condensation, attribution, finalization, and the post-fetch mirror site. The best-effort mirror wrapper becomes unexported and takes refs explicitly. MirrorCommittedMetadataRef (strict) stays exported for attach and explain summary writes, where surfacing failure is more useful than silent best-effort.

Entire-Checkpoint: 7ab1391b8aad

Checkpoints

Streamline Checkpoint Version Mirroring with refs.Primary

Claude Code
View session
Checkpoint 1