Exhibit
Decimal Iron replay
Pause a checked Decimal Iron reference trace after commit but before acknowledgement, then inspect the EUR rounding residue that lights the beacon. Every displayed state comes from the repository's scenario runner.
Software assurance / Published Nov 13, 2026 / Revised Nov 20, 2026
On this page
A payment has committed. The reply has not reached the client. The processor can show one transaction while the client still has no answer.
This is a recorded run of the Decimal Iron reference implementation. The controls select its exported states. The browser does not contain a second payment engine.
Recorded Python reference trace · synthetic business days
Step 3 of 14
The journal commit exists; the client has no acknowledgement.
- Client acknowledgement
- Unknown to client
- Processor transaction count
- 1
- Synthetic business date
- 1982-10-01
- Machine phase / key
- OPEN / OPEN
Recorded action
Payment T001: FI01 → FI02; 1,200 penni (FIM)
Terminal result
No terminal reply was received.
| Scope | Recorded status | Difference |
|---|---|---|
| FIM · penni | Not current | 0 penni (FIM) |
| EUR · cent | Inactive | 0 cents (EUR) |
The beacon lights when a reconciliation finds a difference, and stays lit until a fresh reconciliation finds none.
Recorded EUR conversion statement
- Source items
- Individually rounded items
- Sum of rounded items
- Rounded aggregate
- Declared adjustment
- Rate
- Rounding policy
Inspect recorded positions and journal
Participant positions remain in FIM penni.
FI01: -1,200 penni (FIM) FI02: 1,200 penni (FIM)
3 journal events · head 80c90402846372c45daeb0037808be0b7e6d3d3c3758aa32f135e410e00c582a
4 fixture assertions passed at this recorded step.
Navigation selects recorded states. The physical installation, RTL scenario adapter and KESKUS game were not exercised by this trace.
Stop between commit and acknowledgement
The initial checkpoint is inside the payment operation. The processor’s journal
contains payment T001, its participant positions changed once, and the client
has received no terminal reply. The next checkpoint discards that reply. Inquiry
then resolves the original identity through the terminal.
Select the duplicate step after the inquiry. It retains one transaction and the same posting sequence. The fixture’s negative control retries with a new identity instead; the transaction count becomes two, and the expected positions fail. An unanswered request is not evidence that nothing happened.
The export also contains an interruption before delivery. That run has no
committed payment at its first checkpoint. Inquiry returns NOT_FOUND, and the
adapter retries with the same identity. The two interruptions look uncertain to
the client for different reasons, so the fixtures retain both.
Change the era, then inspect the cent
Choosing the fictional 2002 scenario selects its first EUR reconciliation break. The beacon lights because that recorded reconciliation found a difference. Previous step shows the EUR statement before reconciliation, when the beacon was still off.
Three FIM 1.00 postings become three individually rounded EUR 0.17 items. Their sum is EUR 0.51. Conversion of the FIM 3.00 aggregate produces EUR 0.50. The statement initially omits the minus-one-cent adjustment. Its FIM scope is clear; its EUR scope differs by one cent. The close command refuses that state.
Declaring the adjustment does not immediately clear the beacon. It makes the EUR reconciliation stale. Only the next reconciliation establishes that both scopes are current and clear, after which the business day can close. The currency and minor unit remain attached to each scope throughout.
What ran
The upstream scenario runner exercised the file-backed Python machine, its byte
terminal, payment adapter and journal replay. It checked independent
expectations from decimal_iron/fixtures/replay-scenarios.json, then exported
the observed states, assertions, source revision and file digests. The site
checks those recorded values against their expectations and projects them
without recalculating the financial result. Browser checks verify the selected
step, acknowledgement, currency scope and beacon together.
Three upstream mutations must be rejected: retry with a new payment identity, omit the rounding adjustment, and suppress the EUR reconciliation break. The site’s checks also reject a trace whose displayed state has been changed while its pass labels remain intact. A green label is cheap; the disagreement it can detect is the useful part.
This trace does not exercise the RTL scenario adapter, physical meters, printer, UART timing or the 300-baud link. Those are part of the installation’s evidence boundary. It also does not execute KESKUS. The scenario fixture provides a shared contract for those adapters; the export reports them as skipped until they run. The browser replay is one view of the checked reference, not completion of those other implementations.
Reproduce and challenge this result
Use Git and Node 24.16 or later within Node 24. The calculation and trace checks below use only Node's standard library; no package installation is needed. Work in a new directory.
This recipe selects the source revision used by this page: b8038887288c27f52ab7fc0163f61000b7c15ab6.
git clone --no-checkout https://github.com/bayleafwalker/kotona.app.git kotona-reproduce
cd kotona-reproduce
git checkout --detach b8038887288c27f52ab7fc0163f61000b7c15ab6
node scripts/reproduce-exhibit.mjs decimal-iron-replay
Expected result.Three recorded scenarios pass their trace checks. The committed payment and its same-identity retry each show one transaction. The EUR discrepancy is 1 cent with the beacon on; fresh reconciliation reduces it to 0 cents with the beacon off. A successful run exits 0.
Make one wrong change
The mutation switches off the recorded beacon while retaining the assertion that observed it on. The command must exit 1 and identify state.beacon_on. This challenges the trace checker; it does not rerun the payment machine.
node scripts/reproduce-exhibit.mjs decimal-iron-replay --mutation hide-beaconThe mutation changes a copy in memory and leaves the checked expectations untouched. It writes no source or fixture files. Run the first command again to return to the unchanged case. Exit 1 must identify the disagreement described above. Exit 3 means the mutation escaped its check or execution failed elsewhere; it does not establish rejection of the wrong behavior.
Rerun the Python payment reference
Use Python 3.11 or later and Git, in a separate new directory. These commands execute the file-backed reference machine, its byte terminal, payment adapter, journal replay and three harmful mutations. They need no installed packages or running service.
git clone --no-checkout https://github.com/bayleafwalker/decimal-iron.git decimal-iron-reproduce
cd decimal-iron-reproduce
git checkout --detach 76d5e70f9b43c6de57deb7ea8ee30349bf39c93c
python3 -m unittest discover -v
python3 -m decimal_iron replay --output artifacts/replay.json
python3 -m decimal_iron replay --check artifacts/replay.json
The export must report verification status passed, three passed scenarios, and three rejected negative controls. The final command executes the cases again and compares the export. Hardware, RTL scenario execution and KESKUS remain skipped.
To compare the published fixture itself, download its JSON from the evidence links below and pass that file to python3 -m decimal_iron replay --check. Object-key order and whitespace may differ; the checked values must agree.
Check the browser presentation too
From the same pinned Kotona checkout, install the locked site dependencies and Chromium, then run the focused browser checks. These check the controls and visible results separately from the calculation or trace checks above.
npm ci
npx playwright install chromium
npx playwright test tests/browser/decimal-iron-replay.spec.mjsThe link opens an email draft with the note and revisions. Add the case, expected and observed results, and runtime. A successful reproduction establishes these cases under the stated assumptions; the source bindings below are not a record of your run.
Optional exploration template
Portable task language, not part of the note.
A post-hoc prompt for applying and extending this note. It is not a reconstruction of how the note was written.
How can a client recover from an interrupted operation while preserving uncertainty about its outcome? In a checked payment reference, a journal commit survives a lost acknowledgement. Inquiry using the original identity resolves the outcome; retrying with a new identity creates a second posting and fails the fixture. A separate conversion case shows why reconciliation must name its units and scope: declaring an adjustment makes a previous reconciliation stale until checked again. The browser displays exported reference states; hardware and game adapters remain outside the executed evidence. Apply these questions to an operation in a system you own. Identify its commitment boundary, acknowledgement path, stable identity and available inquiry mechanism. Establish inquiry authority, consistency and retention; an inconclusive negative result preserves uncertainty. A queryable identity does not itself establish idempotent retries. State where the example does not transfer: inquiry may be unavailable, retries may lack idempotency, or there may be no conversion or separate reconciliation scope. Derive an appropriate recovery or compensation rule from those differences rather than copying the payment sequence. Produce a bounded scenario table with interruption points, independently expected outcomes, one harmful mutation that the checks reject, and an evidence matrix separating implementations that ran from those only represented. Bind any replay view to those same checked inputs or exported states.