You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow-on design ticket from #5676 — its decomposition sketch names this as a separate design, and the parent's acceptance requires these tickets to be filed and linked. Filed in the 2026-11-04 gap pass (WS-F) so the design work exists and can be prioritised on its own merits; implementation timing is a separate decision, possibly months out.
What this design must settle
The TigerBeetle adapter mapping and the Stage B→C migration/cutover plan.
Context from the parent
The parent design fixes the staged currency scaling path — Redis hot store, multi-Turso sharding, TigerBeetle — and the invariants every stage must preserve. The parent issue carries the surrounding decisions this ticket must not re-decide; where this ticket's answer would change a parent decision, record that explicitly rather than silently forking it.
Decision record expected
Close this design with a recorded decision (on this issue or in a doc/ record linked from it): the chosen shape, the alternatives rejected and why, and the invariants implementation must hold. If the design splits further, file the splits and link them here rather than growing this issue.
Relations
Parent: #5676. Programme: epic #2056. Filed by WS-F (2026-11-04 ID design gap & expansion pass).
🤖 Agent note · triage findings (task 10230, lane code-u, direct lane)
Verdict: VALID design ticket, correctly filed and linked — LAST IN ITS STAGE ORDER: behind the parent record, Stage A, and Stage B. Not superseded, not yet actionable.
Next action: when those three land, a design pass on this issue records the Stage C decision (TigerBeetle adapter mapping, migration/cutover plan, invariant preservation across the cutover). Implementation timing is a separate decision, possibly months out (per the filing), so this triage enqueues no implementation follow-up.
No Drew-only decision needed at this step; the blocker is sequencing, not escalation. Label set to status/blocked naming this ordering; it clears as the stage predecessors land.
This triage (task 10230) completes as triaged; issue #5827 stays open as the design ticket of record.
🤖 Agent note · picked up (task 13037, lane code-h, openchamber scheduled lane)
Resuming where lane code-b parked: gate #5826 is CLOSED (Stage B decision landed as doc/2026-11-16_design_id5826.md via PR #10769), so this task is now the vehicle for the Stage C design work itself. Plan: write the Stage C decision record (TigerBeetle adapter mapping + B→C cutover) in doc/ following the #5824/#5826 shape, land via PR, link here, close per the issue closing rule.
Stage C decision record is written and under review: PR #10797 (branch queue/13037-5827-stage-c-design, record doc/2026-11-16_design_id5827.md, Fixes #5827).
What the record settles (per this issue's brief): TigerBeetle adapter mapping (ledger-per-currency, native pending lifecycle, linked-batch conversions per #5828 §3.3, tb_ledger binding decisions generalised) + per-currency B→C cutover (shadow dual-run with zero-divergence comparison, then the Stage B migration shape reused: freeze → drain → fence → copy/verify → directory flip, rollback only before the flip). Answers parent #5676 open question 5: Stage C is the committed terminal stage. No parent decision changed.
Next: merge on green CI, verify this issue closes, complete task 13037.
PR #10797 MERGED (merge bfbb546, 2026-11-16T15:19:25Z) — record doc/2026-11-16_design_id5827.md is on main. This issue closed via Fixes #5827 at 15:19:27Z, per its closing rule (recorded decision: chosen shape + rejected alternatives + why + implementation invariants).
Result: Stage C (TigerBeetle adapter mapping + B→C cutover) decided; parent #5676 open question 5 answered (Stage C is the committed terminal stage); no parent decision changed. Task 13037 completing as done.
Activity
developing-today commentedon Nov 5, 2026
CODE-1510
dezren39 commentedon Nov 5, 2026
🤖 Agent note · picked up
dezren39 commentedon Nov 5, 2026
🤖 Agent note · triage findings (task 10230, lane code-u, direct lane)
Verdict: VALID design ticket, correctly filed and linked — LAST IN ITS STAGE ORDER: behind the parent record, Stage A, and Stage B. Not superseded, not yet actionable.
Evidence (fresh, 2026-11-05):
doc/2026-10-28T23-34-15Z_investigation_tigerbeetle_currency_backend) as input, but no Stage C adapter/cutover decision record exists (searcheddoc/at 04f7869).Ordering / blocker (recorded per triage acceptance):
status/blockednaming this ordering; it clears as the stage predecessors land.This triage (task 10230) completes as
triaged; issue #5827 stays open as the design ticket of record.dezren39 commentedon Nov 5, 2026
🤖 Agent note · done
26 remaining items
dezren39 commentedon Nov 16, 2026
🤖 Agent note · picked up (task 13037, lane code-h, openchamber scheduled lane)
Resuming where lane code-b parked: gate #5826 is CLOSED (Stage B decision landed as doc/2026-11-16_design_id5826.md via PR #10769), so this task is now the vehicle for the Stage C design work itself. Plan: write the Stage C decision record (TigerBeetle adapter mapping + B→C cutover) in doc/ following the #5824/#5826 shape, land via PR, link here, close per the issue closing rule.
Design Stage C: TigerBeetle adapter + B→C cutover (from #5676)
dezren39 commentedon Nov 16, 2026
🤖 Agent note · PR opened (task 13037, openchamber scheduled lane)
Stage C decision record is written and under review: PR #10797 (branch
queue/13037-5827-stage-c-design, recorddoc/2026-11-16_design_id5827.md,Fixes #5827).What the record settles (per this issue's brief): TigerBeetle adapter mapping (ledger-per-currency, native pending lifecycle, linked-batch conversions per #5828 §3.3,
tb_ledgerbinding decisions generalised) + per-currency B→C cutover (shadow dual-run with zero-divergence comparison, then the Stage B migration shape reused: freeze → drain → fence → copy/verify → directory flip, rollback only before the flip). Answers parent #5676 open question 5: Stage C is the committed terminal stage. No parent decision changed.Next: merge on green CI, verify this issue closes, complete task 13037.
dezren39 commentedon Nov 16, 2026
🤖 Agent note · done (task 13037, openchamber scheduled lane)
PR #10797 MERGED (merge bfbb546, 2026-11-16T15:19:25Z) — record
doc/2026-11-16_design_id5827.mdis on main. This issue closed viaFixes #5827at 15:19:27Z, per its closing rule (recorded decision: chosen shape + rejected alternatives + why + implementation invariants).Result: Stage C (TigerBeetle adapter mapping + B→C cutover) decided; parent #5676 open question 5 answered (Stage C is the committed terminal stage); no parent decision changed. Task 13037 completing as done.