Skip to content

Phase 2: Financial Operations, API, Security and Offline

Goal: real money operations as versioned posting templates, a secured REST API, tamper-evident audit, offline escrow settlement and reconciliation.

Milestone at the end of this phase: M2 Functional and secured (tag v0.2.0-functional)

Step Topic
2.01 Operations Layer and Posting Templates
2.02 Deposits, Withdrawals, Clearing and Suspense Accounts
2.03 Transfers, Merchant Payments and Fees
2.04 Refunds and Disputes
2.05 Accounting Periods, Closing and Trial Balance
2.06 REST API Design (Contract First)
2.07 REST API Implementation (Axum)
2.08 Authentication, Authorization and Privilege Separation
2.09 Audit Logging and Tamper Evidence
2.10 Offline Architecture and Protocol Design (Design Only)
2.11 Device Registry and Voucher Issuance
2.12 Receipt Ingestion and Settlement
2.13 Gaps, Conflicts, Expiry, Rejections and Disputes
2.14 Offline Deterministic Simulation
2.15 Reconciliation (Internal, External, Offline)
2.16 Phase 2 Security Review and Exit

Steps run in order. Each one closes only when its Exit Gate is met and the evidence is committed under docs/evidence/. Target dates are in the schedule.