Skip to content

Architecture & Workflow — GRH

Draft: verify all components and interactions against active source code.

External transaction API
           |
           v
   Processing / validation
           |
           v
     Data recording
           |
           v
 Reconciliation / issue state
           |
           v
  Recheck and safe recovery

Technical inventory to collect

Component Verified deployment/file Owner Notes
GAS entrypoint Pending Pending Confirm main router
Deposit processor Pending Pending Confirm idempotency
Withdraw processor Pending Pending Confirm idempotency
Recheck/scheduler Pending Pending Confirm time zone
State store Pending Pending Confirm Sheets/DB use

Invariants

Never assume that missing transaction data can be reconstructed safely without verifying API IDs, date sections, duplicate protection, and lock ownership.