Mapae docs
Contents · Search
Tech (English) · 6. Verification status and roadmap

6. Verification status and roadmap

This records what has been verified, and to what level, together with the grade of evidence. By the same rule as the §2 evidence table, what was mined, what completed on a fork, and what was confirmed by simulation are never mixed in the same sentence.

The settlement ledger, the daily gas budget and transaction-hash recovery for the same payment are implemented in SQLite. Hashes are stored before sending, a restart looks up the original receipt, and a success is counted once. This is locally regression-tested code, separate from evidence of a production rollout. One facilitator process per signer is required, for that signer's nonce and budget handling.

Settlement automation's triggers, scheduler, execution history and retry policy are implemented in apps/payment-scheduler (§1): interval slots and nextAt, the payment_runs history with its runs query, maxAttempts/retryDelayMs, and the two failures that are retried automatically. Their reasons differ: TRANSPORT_ERROR is a connection that died before the payment header left the process, while SELLER_UNAVAILABLE is the seller answering 503 — the header did go out, and the answer says nothing was charged. What makes the second safe to retry after the header is on the wire is that its ground is the seller's answer rather than the transport. A slot whose outcome is unresolved keeps its reservation, stops, and is never resumed automatically.

To be built: