The Backend of LuckTrainingRoadmaps

Cash-Flow Integrity: The First 30 Minutes (Chapter 35b)

Cash-Flow Integrity: The First 30 Minutes (Chapter 35b) A workflow diagram generated by Archify. 01 / On-call / IC 02 / Engineering Preserve + Identify Contain Remediate Cash-Flow Violation · I-CF-04 repeats · On-call / IC › Preserve + Identify Cash-Flow Violation I-CF-04 repeats Preserve: Snapshot · T+0-5, before any action · On-call / IC › Preserve + Identify Preserve: Snapshot T+0-5, before any action Identify: Top-50 Query · T+5-10, net-to-player · On-call / IC › Preserve + Identify Identify: Top-50 Query T+5-10, net-to-player Classify + Contain · T+10-15, narrowest scope · On-call / IC › Contain Classify + Contain T+10-15, narrowest scope Freeze Withdrawals · top-N, not revoked · Engineering › Contain Freeze Withdrawals top-N, not revoked Remediate · rollback or hotfix, canary · Engineering › Remediate Remediate rollback or hotfix, canary freeze top-N winners T+20, containment complete pattern in top-50 T+5, run query T+0, before mitigation Legend Trigger Playbook step Containment Remediation

Preserve, Not Stop

  • • The first action is a snapshot, not a shutdown; mitigation erases forensic state
  • • snapshot_state.sh captures ledger, Redis, logs, and RNG seed audit trail
  • • A medium invariant firing for 12 windows with $1M cumulative loss is not medium

Narrowest Scope Wins

  • • Most incidents concentrate in one game or one operator, not the whole platform
  • • A game-level kill switch is preferred; platform-wide requires VP approval
  • • Freeze withdrawals, never revoke: a frozen balance is reviewable

Two Escalation Paths

  • • A negative balance skips triage: it is a SEV-1 wallet-integrity break immediately
  • • Internal paging and regulatory pre-clock notification start in parallel at T+15
  • • Forensic replay compares computed payout to recorded payout on every suspect round