A duplicate counts towards the watermark; a failed insert stops it¶
Decision 297 · accepted · 2026-09-13
A watermark that refused to move past a record already in the ledger would ask the pod to send it forever. A watermark that moved past a record that failed to insert would lose it. Records are therefore applied in sequence order and the batch halts at the first real error.
Governs: apps/troupe_plane/lib/troupe/plane/team_budget.ex, apps/troupe_plane/lib/troupe/plane/ledger.ex, apps/troupe_plane/lib/troupe/plane/ledger/