Skip to content

1.03 Invariants, Threat Model and Regulation: Exit Evidence

Evidence · Step: 1.03 Invariant Catalogue, Threat Model v0, Regulatory Applicability

Step 1.03 Invariant Catalogue, Threat Model v0, Regulatory Applicability
Date 2026-11-10
Result Passed. Regulatory answers are pending a legal advisor (see below).
Deliverable Required Delivered
Invariant catalogue Rewrite spec §2 as docs/invariants.md, each invariant with statement, enforcement and tests invariants.md: 26 invariants in 7 groups, plus 3 monitored conditions. Spec §2 now points to it.
Traceability matrix Every invariant has at least one planned test ID Traceability matrix: 49 planned tests, each with a kind and a roadmap step
Threat model Actors and assets; at least 20 threats, each with an owner and a control threat-model.md: 27 threats across six actors, six assets, three owner roles
Regulatory file Questions, sources, answers and status regulatory.md: 21 questions, six candidate sources
Criterion Result
At least 15 invariants Pass: 26
The catalogue covers balance, immutability, idempotency, non-negative balances, period closure, holds, reversal uniqueness, refund cap and offline Pass: INV-1–4, INV-9, INV-13, INV-8, INV-10, INV-16–18, INV-14, INV-15 and INV-19–23 respectively
Every invariant has at least one planned test Pass: checked by script
At least 20 threats, each with an owner and a control Pass: 27, checked by script
Regulatory questions logged with a status Pass: 16 open, 4 with a source found, 1 answered

Gate: the invariant list is reviewed and frozen at v1. Changes go through ADRs from now on.

The 26 invariants were reviewed in plain language on 2026-11-10, together with three decisions to accept explicitly:

Decision Outcome
Safeguarding is a monitored condition (MON-1), checked daily, not an invariant checked on every posting Accepted
INV-8 lets an account go negative only when it is explicitly allowed; merchant debt remains an open question for the accounting review Accepted
Can a reversal itself be reversed? No. Added to INV-14, with test T-14c. If a reversal was a mistake, the original is posted again as a new entry.

Result: passed. The catalogue was approved and is frozen at v1.

No regulatory answer is confirmed yet, and none is treated as binding. The 21 questions wait for a legal advisor. When answers arrive, they are recorded in regulatory.md, and any that change the design get an ADR.