---
title: "Deliberate abstraction gaps - Refinement note: WAL durability lifecycle to production"
url: "https://nsta1.github.io/Orleans.Lattice/spec/wal/refinement/deliberate-abstraction-gaps.html"
source: "https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/spec/wal/Refinement.md?plain=1#L320-L647"
documents: "Orleans.Lattice 10.5.0 (release line 10.5)"
built: "2026-12-05"
all-pages: "https://nsta1.github.io/Orleans.Lattice/llms.txt"
---
# Deliberate abstraction gaps

Part of [Refinement note: WAL durability lifecycle to production](../Refinement.md).

These are modelled abstractly or not at all. **No conclusion about them may be drawn
from this specification.**

- **The re-seed reads the store and the calls in motion in one step.** `Resync` and
  `ShardRecover` take `RecoveredNext` and the orphans' ends atomically. Production
  reads the store's highest offset and the registry's unsettled window ends
  separately, so a window can settle, landing, between them; it snapshots the ends
  before the tail read and takes the maximum with those read after it. That ordering
  is pinned by `WalShardGrainTests.A_window_that_settles_during_the_tail_read_is_still_skipped`,
  not by this model.
  Production symbols: `WalShardGrain.RecoveredNextOffsetPastAbandoned`, `WalAbandonedFlushRegistry`.
- **The TAIL commit fence is one flag per provider instance, over two instances.**
  `curFresh` and `prevFresh` stand for `WalShardCommitFence`'s held `TAIL` ETag,
  generation and known flag together. A commit is admitted only while its
  instance's flag is set; a commit clears the other instance's flag, and a re-seed's
  reconcile, which reads `TAIL` and re-stamps it, sets its own and clears the other's. The generation, which refuses every claim made before a
  refused write, is abstracted by `Resync` waiting for the in-flight flushes, each
  of which is refused while the flag is clear. The guard bound (`bound`) is
  abstracted to the allocator (`next`), so `GuardCoversFence` states the fence's
  `bound >= ftail` as `ct < next`. The `TAIL` value written is `Max(ct, o)`;
  production writes the maximum of the batch's end, the instance's highest commit
  and its fenced `TAIL`, which is the same value while the fence is current. Only
  the current activation's instance and one predecessor's are modelled: a second
  cross-silo move needs a second fault, and the `CrossSilo` variant has one.
  Production symbols: `WalShardCommitFence`, `WalShardCommitFence.Fill`, `WalShardCommitFence.TryClaimAboveWritten`, `WalShardCommitFence.TryGetCondition`, `WalShardCommitFence.Advance`, `WalShardCommitFence.Invalidate`, `WalShardCommitFence.Reset`, `PhaseTwoWorker.CommitBatchAsync`, `AzureTableWalStorageProvider.ClaimOverlapFreeAsync`.
- **Batches are shaped coarsely.** A successor's batch is a run of acknowledged
  offsets each continuing the one before it (`ackedMid`); a predecessor's late call
  is a one-offset batch. The predecessor's instance commits its late calls in any
  order, as production's phase-2 worker commits in arrival order rather than offset
  order, so a lower batch can land after a higher one (issue #5825); the successor's
  recovery re-stamps `TAIL` before it serves a read, which refuses every such late
  commit, and `LogPrefixAppliedRecoveryLeavesTailUnstamped` shows the re-stamp is
  load-bearing. Production pipelines phase-2 commits, and under pipelining a claim at
  or below the fenced `TAIL` is legitimate: the fence's guard, not the `TAIL` value,
  admits it. The in-memory and file providers are per process, so a cross-silo move
  never shares their store.
  Production symbols: `AzureTableWalStorageProvider.PhaseTwoWorker`, `WalAbandonedFlushRegistry`.
- **A roll-forward is one landing, and the successor's is not separate.**
  `ReconcileAsync` rolls a late phase-1 batch contiguous above `TAIL` forward, and
  `CommitRollForwardAsync` commits a long one in chunks, each a conditional `TAIL`
  write chained on the ETag the previous chunk produced. The model lands one offset
  per step, so the chaining is abstracted. A roll-forward of the reconciling
  instance's own call is `LateLand`, fenced like any other commit. A successor rolling
  forward its predecessor's batch is not a separate action: it commits the
  predecessor's rows contiguous above `TAIL`, under the successor's own fence, while
  its recovery runs. Every state it reaches but one is reached by the predecessor's
  `LateLand` while the predecessor's view of `TAIL` is current, between the move and
  `ShardRecover`. The exception is a predecessor whose view was already out of date,
  whose batch the successor still commits. That entry lands contiguous above `TAIL`
  before the re-seed, which reads it and re-seeds above it, with no read served in
  between, so no reader can have passed it. The same holds on the resync path. Phase 1
  is not fenced, so a predecessor's phase-1 rows at `TAIL + 1` collide with the
  successor's append there, which is refused and fails the successor into its
  resync; the resync's reconcile then rolls the predecessor's batch forward,
  contiguous above `TAIL` and before the re-seed, while reads stay clamped below
  every unsettled offset. **Bounded out, by the fault budget:** the model's stand-in
  for that roll-forward, a predecessor's landing during the successor's `Resync`
  after the successor recovered, needs a second fault, and the `CrossSilo` variant
  has one.
  Production symbols: `AzureTableWalStorageProvider.ReconcileAsync`, `AzureTableWalStorageProvider.CommitRollForwardAsync`.
- **A refused batch's rows are outside `occ`.** A batch whose phase-2 commit the
  fence or a collision refused leaves phase-1 entry rows with no manifest row. Reads
  walk the manifest, so no reader sees them, and the reconcile reclaims them
  (`ReclaimFailedBatchesAsync`). `occ` holds only committed entries, so those rows are
  not modelled.
  Production symbols: `AzureTableWalStorageProvider.ReclaimFailedBatchesAsync`.
- **Which write's content a reader read is not tracked.** A leaf's projection is a
  set of offsets, so a reader that read an offset's late call and the reissue that
  later displaced it would look the same. `AckedOccupies` names the occupant, which
  covers acknowledged writes, and `OffsetWrittenOnce` a second occupant; the content
  a reader read is not modelled. Under the re-seed no offset is reissued while a
  visible call is in motion, the store's create-only rows keep a batch start's first
  occupant, and the TAIL commit fence keeps a second batch off every offset, so no
  displacement happens.
  No production symbol: a modelling abstraction of the projection's contents, with no single production owner.
- **The replay read may be served from a shared per-partition cache (#5877 A, #5896).**
  `ReadStep` reads the shared stream itself. Production may serve the same slice from a
  page ring on the partition's replay coordinator, filled only through the existing
  clamped unfiltered read (A-g), so a leaf's apply, checkpoints and trim are unchanged and
  the refinement holds by slice equivalence: a ring-served slice is the provider's filtered
  read of the same window - the budget counts examined entries, a last excluded entry is
  yielded routing-only, records with no single key reach every reader, and the slot index
  only accelerates (A-a). A ring-served slice may examine up to a fixed multiple of the
  budget (issue #5997), including a serve that misses and fills the pages it lacks when the
  reader owns at most one entry of a full page (issue #6166, which reads ahead only as many
  pages as the reader's share of the cache holds, each from its own low bound and stitched only
  where contiguous), while returning at most the budget plus one trailing routing-only
  marker. It equals the concatenation of consecutive budget-sized filtered reads with their
  intermediate markers elided, each examined entry being one `ReadStep`, and its trailing
  marker never passes the covered run, the clamped tail or its last examined offset; it widens
  only over pages at the incarnation the serve verified. A page covers only through the last entry its fill actually
  returned, never the planned high, and a request is served from the ring only within the
  covered run starting at its low bound; anything above is fetched, never assumed empty
  (A-b). A hole can therefore lie only above the covered offset, which is what a direct
  reader advancing by its last received offset already sees; a page claiming its planned
  high would serve a hole as empty and let a leaf's read position pass an unread record,
  which is `ReadStep`'s refinement obligation. Pages are served only at the partition's
  current durable incarnation, verified per serve (A-c): every reset, truncate or rewrite path bumps a durable
  per-partition incarnation in the WAL shard's state before new appends, each page carries
  the incarnation its fill read, unchanged across the fill, and every serve checks it, a
  mismatch dropping the ring. A same-id reset whose leaves restart low would otherwise hit
  pages inside the old coverage without a fill and be served stale entries at reused
  offsets, and a transient duplicate coordinator activation is beyond the reach of any
  invalidation call, so only the per-serve check closes both. Concurrent serves and fills
  may share one incarnation read, but only one issued after each of them asked (issue
  #6166), never the read already in flight when it asked, so every check still observes
  the incarnation at a point inside its own serve or fill. Shared pages are never mutated (A-d).
  Eviction, including the leaves' advisory demand declarations that order it (issue #5877),
  decides only which pages stay cached, never what a serve returns: a page that is not cached
  is fetched, so demand changes the number of storage reads and not the refinement. Heap
  pressure (issue #6166) only lowers the bytes pages may occupy, and relief raises them again,
  so it too changes reads and not what a serve returns.
  Before it fills a page for a filtered reader, the coordinator may ask the WAL shard to
  skip (issue #6166): the shard keeps, in memory and per activation, a summary of each
  contiguous run of offsets one append batch was assigned - a batch that waits mid-way
  resumes in a new run, so runs never overlap - with its keys' ordinal span, which slot
  buckets they hash to, and whether it holds a record no filter excludes, written in the same
  locked step that assigns each offset, dropped at activation, by a failure resync and by an
  incarnation advance. A skip passes only whole runs below the durable gap-free tail that
  cannot hold a record the filter keeps, ending at a run's last offset, and returns that record
  routing-only, so it is the filtered read of the span with its intermediate markers elided
  (A-a); a span it cannot pass is read, never assumed empty, and a reader below the first
  summary reads as before. A leaf with no shard map judges keyed records by their stamped
  shard index, so the summaries also record which stamped shards their keyed records carry,
  and such a leaf's skip may also pass records stamped for other shards: the slice then
  differs from the filtered read only by records the replay's judge rejects, so the leaf's
  apply, checkpoints and trim are unchanged. A skip that fails - a WAL shard hosted by a silo
  built before it existed, during a rolling upgrade - proves nothing, and the span is read.
  The shard answers with a plan of up to a bounded number of consecutive steps, each a run it
  passes or a span the reader reads, every step exactly what a single skip asked from the
  previous step's end answers; a plan is used only at the ring epoch it was fetched at. A
  serve under half the reader's budget may be served on from within the same call, a bounded
  number of times: the result is the consecutive slices concatenated with intermediate
  markers elided (A-a), cut to the budget, a prefix of which is itself a slice.
  Production pins it:
  `LeafReplayCoordinatorGrainTests.Ring_projection_equals_provider_filtered_read_for_random_windows_filters_budgets_holes_and_tails`,
  `LeafReplayCoordinatorGrainTests.A_page_filled_at_tail_t_never_serves_entries_appended_after_t_as_absent`,
  `LeafReplayCoordinatorGrainTests.A_page_that_closes_a_gap_is_used_whatever_its_position_in_the_run`,
  `LeafReplayCoordinatorGrainTests.A_reset_that_lands_while_a_page_is_read_never_inserts_that_page`,
  `LeafReplayCoordinatorGrainTests.A_same_id_reset_then_regrow_serves_requests_inside_the_old_coverage_from_storage`,
  `LeafReplayCoordinatorGrainTests.A_duplicate_coordinator_activation_never_serves_pre_reset_pages_after_a_reset`,
  `LeafReplayCoordinatorGrainTests.Concurrent_requests_share_one_incarnation_read_issued_after_they_asked`,
  `WalShardIncarnationSiteTests.Every_wal_reset_path_advances_the_partition_incarnation_before_new_appends`,
  `LeafReplayCoordinatorGrainTests.One_leafs_apply_leaves_another_leafs_slice_byte_identical`,
  `LeafReplayCoordinatorGrainTests.A_waiter_past_the_aging_bound_issues_its_own_fill`
  `LeafReplayCoordinatorGrainTests.The_ring_never_exceeds_its_byte_budget_under_random_fills`,
  `LeafReplayCoordinatorGrainTests.Indexed_projection_equals_the_linear_reference_byte_for_byte_for_random_runs_filters_budgets_and_cuts`,
  `LeafReplayCoordinatorGrainTests.Indexed_projection_matches_the_linear_reference_for_two_virtual_shard_counts_on_one_page`,
  `LeafReplayCoordinatorGrainTests.A_wide_ring_slice_equals_its_narrow_slices_concatenated_with_intermediate_markers_elided`,
  `LeafReplayCoordinatorGrainTests.Replaying_through_wide_ring_slices_leaves_a_leaf_in_the_state_narrow_slices_leave_it`,
  `LeafReplayCoordinatorGrainTests.A_wide_ring_slice_never_widens_across_a_page_read_at_another_incarnation`
  and `LeafReplayCoordinatorGrainTests.A_page_that_closes_a_gap_is_used_whatever_its_position_in_the_run_at_the_wide_budget`;
  the miss path by `LeafReplayCoordinatorGrainTests.A_filtered_reader_crosses_a_cold_window_it_barely_owns_in_one_call`;
  the skip by `WalShardGrainTests.A_skip_equals_the_filtered_read_of_its_span_for_random_batches_filters_and_folds`,
  `WalShardGrainTests.A_skip_never_passes_a_record_no_filter_excludes`,
  `WalShardGrainTests.A_skip_answers_only_below_the_durable_tail_and_proves_nothing_after_activation`
  `WalShardGrainTests.Interleaved_batches_keep_their_own_runs_so_an_owned_batch_is_read_only_at_its_own_offsets`
  `WalShardGrainTests.A_stamped_skip_never_passes_a_record_the_stamped_judge_keeps_for_random_batches`,
  `WalShardGrainTests.Folding_keeps_old_history_as_fine_as_new_so_a_seed_span_is_read_only_near_its_owned_records`,
  `WalShardGrainTests.A_multi_step_plan_is_the_single_skips_it_replaces_for_random_batches`,
  `LeafReplayCoordinatorGrainTests.A_reader_owning_scattered_records_crosses_the_window_with_few_skip_plans_in_one_call`,
  `ReplayPageRingColdRestartCensusTests.A_range_only_reader_passes_batches_stamped_for_other_shards_without_reading_them`,
  and `ReplayPageRingColdRestartCensusTests.A_reader_owning_one_sorted_batch_passes_the_others_without_reading_them`.
  Production symbols: `LeafReplayCoordinatorGrain.ReadSliceThroughRingAsync`, `LeafReplayCoordinatorGrain.VerifyRingIncarnationAsync`, `LeafReplayCoordinatorGrain.ReadIncarnationAsync`, `ReplayPageRing.FillAsync`, `ReplayPage`, `ReplayPage.Incarnation`, `ReplaySliceProjection.Project`, `ReplaySliceProjection.ProjectWide`, `ReplayPageIndex`, `ICommitLogReader.ReadAsync`, `WalShardFloorState.Incarnation`, `WalShardGrain.AdvanceIncarnationAsync`, `IWalShardGrain.SkipUnownedAsync`, `ICommitLogReader.SkipUnownedAsync`, `IWalShardGrain.GetIncarnationAsync`, `ICommitLogReader.GetIncarnationAsync`.
- **Scheduling and admission.** Weak fairness applies to `ScheduleReplay`, then
  to a requested `ReadStep`, not to an unsolicited WAL read. Each read consumes
  its request. The timer must be enabled and registered after durable identity
  seeding; finite stall thresholds, admission refusals and backoff are delay,
  not states. Eventual successful admission and responsive storage are assumptions:
  the model proves neither a wall-clock bound nor progress under permanent refusal.
  Its one-entry slices abstract the production drive's bounded replay budget.
  No production symbol: the gap states an environment premise of the model, not
  a production mechanism.
- **Values, keys, HLCs and CRDT merge.** A write is an offset and a projection is a
  set of offsets, so replay idempotence (applying an entry twice leaves the
  projection unchanged) is true by construction here and asserts nothing. It is the
  LWW and CRDT cores' property, not this model's; see the excluded candidate below.
  No production symbol: the gap is a modelling abstraction with no single
  production owner.
- **The checkpoint is NOT durably monotone.** The issue proposed
  `CheckpointMonotonicDurable`. It is false of production by design: rehydrating a
  snapshot older than the persisted checkpoint lowers the checkpoint to the
  snapshot's coverage (#2280, #2404), and the next persist writes the lower value.
  The durable quantities that ARE monotone are the pin store (by max merge) and
  snapshot coverage (`SnapshotCoverageMonotonic`); the model states those instead.
  No production symbol: the gap records a candidate property that is false of
  production by design, so it is not checked.
- **Saga state.** Prepared buckets, deferred terminals, the unresolved-replay-work
  ledger and the prepare clamp on checkpoint advance (`BPlusLeafGrain.PendingTx`)
  are not modelled; the atomic-commit module covers the saga.
  Production symbols: `BPlusLeafGrain.PendingTx`.
- **Splits, merges and resharding.** Split handoff, checkpoint hints
  (`BPlusLeafGrain.ApplyCheckpointHintAsync`), moved-away slots and the warm-cache
  rescue are not modelled; the shard ownership module (#4434) owns them.
  Production symbols: `BPlusLeafGrain.ApplyCheckpointHintAsync`.
- **Replication, view maintainers, log subscribers and backup capture.** They are
  WAL consumers the offset floor does not speak for. They are absent here, which
  only over-approximates the trim, so nothing here speaks for them. Production
  bounds the trim for each retention reader in offset space, on every silo, as
  `WalMove.tla`'s consumer states (`t - 1 <= cons`): the replication shipper and
  every view maintainer register with the log's durable
  `IWalOffsetConsumerRegistryGrain` before they read it, and each GC pass refuses
  any entry at or above the lowest per-partition read position they publish
  (`WalGcTrimCore.ClassifyEntry`, `consumerOffsetFloor`; issues #4579, #4584).
  Their HLC cursors, which are not an offset bound and which only the silo they
  run on can see, no longer carry that guarantee. An incremental backup capture is
  deliberately not a retention reader: the GC may trim past it, and its fall-off
  decision is exact by offset and made against what was actually read
  (`WalLogSubscriber` probes the tail again when a read jumps an offset), so a
  trim it misses makes the capture fall back to a full backup, whose cut is read
  from leaf state the durable pins protect and is newer than the window it replaces
  (`IncrementalDeltaCollectorTests.A_trim_landing_after_the_tail_probe_makes_the_capture_fall_back_rather_than_skip_entries`).
  A configured retention TTL may trim past a reader; see "Retention TTL" above.
  Production symbols: `IWalOffsetConsumerRegistryGrain`,
  `WalGcTrimCore.ClassifyEntry`, `WalLogSubscriber`.
- **HLC stamps, several partitions and the empty release: checked by a Coyote
  model.** Stamps and frontiers are abstracted away here and the instance has one
  partition, so the GC arms that admit by stamp (the cursor, the offset admission's
  uncovered cursor, the retention ceiling capped at an uncovered frontier), the
  `ReleaseEmpty` arm of `LeafDurablePinCore.Resolve` for a leaf whose clock is live
  but which holds no row in a partition (the abstaining `(clock, -1)` release,
  #1490's narrowest arm; issue #4433, finding F08), the `walProvenEmpty` arm (#3103),
  and writes stamped below the leaf's clock (issue #4641) are not expressible in
  TLC. `WalPartitionReleaseModel` checks them together on a leaf whose writes span
  two partitions, driving the production cores `LeafDurablePinCore.Resolve` and
  `WalGcTrimCore.IsEntryEligible` with the replay barrier of #4677 and the override
  hold of #4679 (trigger, store-side prune, and the GC's three reads as separate
  steps): `WalPartitionReleaseCoyoteTests.Empty_releases_lose_no_acknowledged_write_under_the_replay_barrier_and_the_frontier_capped_ttl`
  holds, from a normal start and from a WAL reset, and each of its guards is red with
  one rule removed (see the Retention TTL table). The production detectors are
  `LeafEmptyReleaseBeforeReplayTests`, `WalOverrideHoldTests`, and for the two
  arms `LeafDurablePinCoreTests.An_empty_partition_with_nothing_applied_releases_with_its_sentinel_checkpoint`
  and `LeafDurablePinCoreTests.Live_never_checkpointed_rows_over_a_proven_empty_wal_release_the_block_issue_3103`.
  Production symbols: `LeafDurablePinCore.Resolve`,
  `WalGcTrimCore.IsEntryEligible`.
- **A purge is a contract, not a loss (issues #4654, #4700).** A purge reaches a
  leaf by first making a marker durable on the leaf's own row record; from then on
  the writes that leaf owned are deleted, and a leaf recovery re-creates empty is
  the intended outcome. `ReadPositionHonest` is carved out for exactly those
  writes (`deleted`), and for nothing else: a leaf the purge never reached keeps
  every write, and `RecoveryNeverFallsOffLog` has no carve-out. Production records
  the marker per leaf (`LeafRowRecordState.PurgeCleared`) since #4710; before it, one
  shard-wide flag named leaves the purge never reached and was dropped after a reseed
  that might not have re-created every cleared leaf. The model's purge composes with one environment fault (it is charged once to
  the fault budget, and one purge is taken per behaviour) to keep the variant within
  CI's budget. While a marker is outstanding the tree is deleted, so the action
  constraint `PurgeFreezesProtocol` explores only the purge, the recovery, the GC,
  environment faults and leaf (de)activation; once recovery has reset every marker
  the whole lifecycle resumes, which is what found that a re-created leaf must seed a
  fresh block pin (`RecoveryNeverFallsOffLogRecreateSeedsNoBlockPin`).
  Production symbols: `LeafRowRecordState.PurgeCleared`.
- **The row record.** `ILeafRowRecordGrain` is not modelled. It is defence in
  depth: a lost row with a surviving record already fails closed on the intent rule
  alone, and the model shows the intent rule closes the double loss of the row and
  its record without it.
  Production symbols: `ILeafRowRecordGrain`.
- **Shard moves.** Specified in `WalMove.tla`, not here.
  No production symbol: the behaviour is `WalMove`'s, mapped in that module's
  own refinement note.
- **Atomicity of a grain turn: a modelling abstraction, covered at the
  implementation level.** Each action is one atomic step. Production interleaves
  grain turns at await points (`[AlwaysInterleave]` methods, timers, the background
  replay task of #2909); the model's actions are coarser, so an interleaving
  *inside* a persist, a capture or a rehydrate is not explored here. Those
  interleavings are covered where they live: a capture racing the replay or the
  rehydrate by `BPlusLeafGrainTests.Capture_during_a_cold_rebuild_never_claims_coverage_its_rows_lack`
  and `BPlusLeafGrainTests.Capture_while_the_snapshot_rehydrate_is_in_flight_never_claims_coverage_its_rows_lack`;
  `#4017`'s persist that failed across an await by
  `BPlusLeafGrainTests.Failed_checkpoint_persist_publishes_no_durable_pin_past_the_last_durably_written_checkpoint`
  and the lifecycle Coyote guard `NoRollbackOnFailedPersist`; and the WAL shard's own
  in-turn races by the Coyote models that explore them -
  `WalOffsetContiguityCoyoteTests.Split_read_advance_hands_two_appends_the_same_offset`
  (offset assignment), `WalMoveQuiesceCoyoteTests.Split_fence_check_strands_an_offset_past_the_fence`
  (the fence check and the assignment), `WalShippingWatermarkCoyoteTests.Raw_tail_without_watermark_strands_an_in_flight_offset`
  (flush completions against reader polls) and
  `WalCommitLogWriterDrainCoyoteTests.Checking_the_token_before_parking_loses_a_wakeup`
  (the drain against parked callers).
  No production symbol: the gap is a modelling abstraction with no single
  production owner.
- **The replay barrier and data operations: a modelling abstraction.** Readers of
  the projection are not modelled; `ReadPositionHonest` is stated over the
  projection a reader WOULD be served once the barrier releases, which is stricter
  than production's barrier needs while a replay is still running. That no data
  operation is served before the barrier releases is pinned by
  `BPlusLeafGrainTests.Every_data_entry_point_waits_for_the_replay_barrier`.
  No production symbol: the gap is a modelling abstraction with no single
  production owner.

- **The live checkpoint advance (epic #5605).** The model's checkpoint advances only
  by `ReadStep`. Production also advances an armed leaf's checkpoint over its own
  applied appends without a replay (`BPlusLeafGrain.TryAdvanceLiveCheckpointAsync`,
  `LeafLiveAdvanceCore.TargetFor`). This model cannot state when that is safe: its one
  owner activation is always the current epoch, so the stale duplicate, the hand-off
  initiator and the unstamped writer that the arming rules exclude are not
  expressible here, and adding an activation dimension to every leaf would push
  `SnapshotLoss` (already 5,070,839 states) well past CI's budget. The safety argument is
  the checked module `WalLiveAdvanceCore` ([`WalLiveAdvanceCore.tla`](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/spec/wal/WalLiveAdvanceCore.tla),
  mapped in [`LiveAdvanceCoreRefinement.md`](../LiveAdvanceCoreRefinement.md)), promoted from
  the design model `WalLiveAdvance` (`spec/wal/design/WalLiveAdvance.tla`): production
  advances only when its `Armed(a)` holds, one conjunct per argument of `TargetFor` -
  the claim raised (`LeafAppendEpochFence.TryGetArmingView`), read to the claim head,
  no hand-off open and read to every close (`ShardRootGrain.GetLiveAdvanceViewAsync`),
  read past every reported unstamped offset, and every own append applied. #5578's
  `LiveAdvance` and `NewbornPinEventuallyUsable` are deliberately not re-landed here:
  `WalLiveAdvanceCore` checks `NewbornPinEventuallyUsable` on its base configuration,
  and the latency of an armed newborn is pinned in production by
  `LiveCheckpointAdvanceIntegrationTests.A_live_written_leaf_banks_its_snapshot_without_a_replay_drive`.
  The arming detectors are
  `LiveCheckpointAdvanceIntegrationTests.A_stale_duplicates_append_before_the_claim_is_read_before_the_leaf_advances_past_it`,
  `LiveCheckpointAdvanceIntegrationTests.A_foreign_unstamped_append_reported_after_arming_is_read_by_replay`,
  `BPlusLeafGrainTests.A_leaf_that_has_not_read_to_its_claim_head_advances_only_by_replay`,
  `BPlusLeafGrainTests.An_open_shard_marker_token_holds_only_the_leaves_it_overlaps`,
  `BPlusLeafGrainTests.A_close_head_above_the_checkpoint_holds_the_advance_until_a_replay_reaches_it`,
  `BPlusLeafGrainTests.A_reported_unstamped_append_holds_the_advance_until_a_replay_reads_past_it`,
  `BPlusLeafGrainTests.A_live_advance_waits_until_every_issued_append_is_applied` and
  `LeafLiveAdvanceCoreTests.The_advance_is_taken_exactly_when_the_leaf_is_armed`.
  An orphan sharing a live leaf's bounds is covered by the rule that an unreachable
  leaf never appends stamped (#5709): it proves it is reachable by descent before its
  first claim (`BPlusLeafGrain.ProveStampReachabilityAsync`,
  `ShardRootGrain.IsReachableByDescentAsync`), so its appends are the model's unstamped,
  reported `OldAlloc`, pinned by
  `LiveCheckpointAdvanceIntegrationTests.An_orphans_append_is_unstamped_so_the_reachable_owner_reads_it_before_it_advances`;
  a split sibling born under its donor's open marker keeps its claim
  (`BPlusLeafGrainTests.A_sibling_born_under_an_open_split_marker_still_claims_and_stamps`).
  Production symbols: `BPlusLeafGrain.TryAdvanceLiveCheckpointAsync`, `LeafLiveAdvanceCore.TargetFor`, `LeafAppendEpochFence.TryGetArmingView`, `ShardRootGrain.GetLiveAdvanceViewAsync`, `BPlusLeafGrain.ProveStampReachabilityAsync`, `ShardRootGrain.IsReachableByDescentAsync`.

Previous: [Retention TTL](retention-ttl.md). Contents: [Refinement note: WAL durability lifecycle to production](../Refinement.md).
