railyard/apps/abacus/crates/abacus-proxy/migrations/0003_recovery_receipt_context.sql
caelum0x 894359e5ff feat(railyard): per-app completion pass — money-correct settlement + crate cores
- rago: exactly-once prepaid settlement (deterministic idempotency, unique partial index + in-tx ON CONFLICT guard) — closes the double-charge risk
- mint: double-entry + reserve conservation verified (14 tests)
- ledgerline: atomic settlement outbox + partial recovery index (37 tests)
- abacus: hard per-agent budget enforcement + kill-switch (54 tests)
- vend: crash reaper / in-flight session reconciliation
- turnstile/agent-runtime/ranguard/rit/game-economy/context-passport/rithub: core advanced + tests
2026-09-07 17:17:54 +03:00

5 lines
243 B
SQL

-- Exact request/principal context is captured before forwarding so a recovery
-- worker can write the same signed released receipt as the normal terminal path.
ALTER TABLE abacus_open_holds
ADD COLUMN IF NOT EXISTS receipt_context JSONB;