Runs / P8 / p8-45-invoice-over-limit-declined

p8-45-invoice-over-limit-declined · P8

Declined at approve_payment

This console checked the run's output files against its record, and they match what the record says. It does not show when the record was made (see Anchored), and it does not judge the outputs.

Not anchored: no outside service recorded when the run's record was made, so this console cannot show it was not written later. Most runs are recorded this way; it is not a fault.

3 of 3 declared stages · closed: by exit · recorded in the format stage-receipt-chain/0.4 · ran · received by this console

  • Records agree Yes
  • Ran as approved a straight-line run: there is no plan to compare
  • Signed by a known recorder Yes
  • Committed by a known time Not anchored

Records agree: this console's check held, with the run's output files required. Every check behind this is on Proof

What changed?

Not compared. The run it would be compared with is p8-42-invoice-tolerance-2pct, the nearest earlier benchmark of this pipeline. A benchmark, taken over p8-44-invoice-quantity-changed, which the rules take without benchmarks. benchmark

This demo compares nothing; it offers the comparisons it holds.

Other runs with the same inputs: 0

The case

Run
p8-45-invoice-over-limit-declined
ran
→
What it was for
read_invoice → match → approve_payment
This answer's trail was checked on — each check that ran held.

Held under the checks that ran; not anchored, so it can't be shown to be the record that was made.

Repeat the check

Run it from the run's folder:

onetrace-verify --trust trust.json --decisions decisions.jsonl --permit-issuers permit-issuers.json MANIFEST.json

The run stopped at approve_payment: the step declined by its own rule, and recorded why: an invoice of 3840.00 is over the approver's limit of 2500.00. No declared step was left without a receipt.

What the evidence establishes

Each rung is a separate question, with its own evidence.

Records agreeYes · 111 checks made — all hold.
Signed by a known recorderYes · demo key (public seed: proves the record wasn't changed since signing, not who signed it) ·
sha256:6e20550ae0dc…sha256:6e20550ae0dc6b4471d54336d09d74d14f3f623b735045eddd053c444ec3b14c
Nothing declared is missingYes · Each declared step left a receipt, as the receipts themselves state.
Ran as approveda straight-line run: there is no plan to compare
Re-runnable stages reproducedNot checked · No re-check from the record was run, so this page does not say whether anything comes out the same.
Action authorized, effect confirmedCouldn't check · onetrace-verify's decisions rows, as the Gated steps section lists them: 3 PASS, 2 NOT-RUN NOT-RUN decisions: a step that acted cites a permitting decision NOT-RUN decisions: the permit covers the recorded action Gated steps
Committed by a known timeNot anchored · no anchor beside the chain

None of these says the run's output or action was correct.

The execution graph

recorded as a straight line (no graph recorded)

Show as table
NodeStageRecorded position
read_invoiceread_invoice1
matchmatch2
approve_paymentapprove_payment3
FromToNote
matchapprove_payment
read_invoicematch

A link shows which recorded output a stage read. It does not by itself prove that one stage caused the next.

Recorded order

What happened, in the order the receipts give

Held under the checks that ran; not anchored, so none of these steps can be shown to be the record that was made.

StepWhenWhat was checked and what was notOutcome
read_invoice
step 1 of 3
→

Checked — it holds.

Completed.
match
step 2 of 3
→

Checked — it holds.

Completed.
approve_payment
step 3 of 3
→

Checked — it holds.

declined — an invoice of 3840.00 is over the approver's limit of 2500.00
Receipt · step 1 of 3 · read_invoice
step 1 of 3

read_invoice

What went in
invoice · 150 bytes
What came out
invoice.json · 86 bytes
When
→

Completed.

Ran as invoice-reader, version 1.0.0.

Receipt · step 1 of 3 · read_invoice
Version
invoice-reader · 1.0.0
What went in
invoice · 150 bytes
sha256:923e5bc4d6d2…sha256:923e5bc4d6d2a85e755dcee49adcd8ce1f0c4ed7797ffaed6814785cd028a200
What came out
invoice.json · 86 bytes
sha256:6f89e0b46dbf…sha256:6f89e0b46dbf3f18b01f0d550999c5177cb39e217a2d818d089dcaa24782e6ff
Fingerprint
sha256:aa4ec427b71e…sha256:aa4ec427b71e0f9441e14ebf7b6b9ad740c216ccff046d72cb9936ade639484b
Settings it ran with
{
 "data": "invented example data",
 "onetrace.kept_inputs": "invoice"
}
The receipt, exactly as recorded
{"anchor":{"reason":"a demo record; anchoring is not part of this demo","state":"unanchored"},"assertions":{"constants":{"data":"invented example data","onetrace.kept_inputs":"invoice"}},"coverage":{"boundaries":[],"completeness":"incomplete","declared_stages":["read_invoice","match","approve_payment","onetrace.close"],"emitting_stages":["read_invoice"]},"digest_source":"emitter","emission":{"gaps":[],"policy":"fail-closed"},"format":"stage-receipt/0.4","inputs":[{"bytes":"150","digest":"sha256:923e5bc4d6d2a85e755dcee49adcd8ce1f0c4ed7797ffaed6814785cd028a200","media_type":"application/json","name":"invoice","trust_class":"externally-sourced"}],"instrument":{"config_digest":"sha256:b80d11206e532440dec5331fb86ffeedb8018955a09fbc9c08915706689e6863","id":"invoice-reader","kind":"reader","manifest_digest":"sha256:43f476ae5633b5211654b860dd44d77735f9fa128581277243fbe886abc9ed10","rederivable":"true","version":"1.0.0"},"outcome":{"class":"ok"},"outputs":[{"bytes":"86","digest":"sha256:6f89e0b46dbf3f18b01f0d550999c5177cb39e217a2d818d089dcaa24782e6ff","media_type":"application/json","name":"invoice.json","trust_class":"operator-authored"}],"prev":null,"run_id":"p8-45-invoice-over-limit-declined","stage":{"index":"1","name":"read_invoice"},"time":{"ended":"2026-11-10T00:00:07.651+00:00","started":"2026-11-10T00:00:07.650+00:00"},"trace":{"span_id":"908c229c70047074","trace_id":"f96d204696afa5859179c4694f845af8"}}
The check's own words
[PASS   ] receipts/01-read-invoice.json: receipt format
[PASS   ] receipts/01-read-invoice.json: bytes are canonical
[PASS   ] receipts/01-read-invoice.json: required field 'format'
[PASS   ] receipts/01-read-invoice.json: required field 'run_id'
[PASS   ] receipts/01-read-invoice.json: required field 'stage'
[PASS   ] receipts/01-read-invoice.json: required field 'prev'
[PASS   ] receipts/01-read-invoice.json: required field 'time'
[PASS   ] receipts/01-read-invoice.json: required field 'coverage'
[PASS   ] receipts/01-read-invoice.json: required field 'emission'
[PASS   ] receipts/01-read-invoice.json: required field 'anchor'
[PASS   ] receipts/01-read-invoice.json: required field 'instrument'
[PASS   ] receipts/01-read-invoice.json: required field 'inputs'
[PASS   ] receipts/01-read-invoice.json: required field 'outputs'
[PASS   ] receipts/01-read-invoice.json: required field 'assertions'
[PASS   ] receipts/01-read-invoice.json: required field 'outcome'
[PASS   ] receipts/01-read-invoice.json: time.started carries its zone
[PASS   ] receipts/01-read-invoice.json: time.ended carries its zone
[PASS   ] receipts/01-read-invoice.json: instrument is named and pinned
[PASS   ] receipts/01-read-invoice.json: inputs/invoice declares a trust class
[PASS   ] receipts/01-read-invoice.json: outputs/invoice.json declares a trust class
[PASS   ] receipts/01-read-invoice.json: assertions name their constants
[PASS   ] receipts/01-read-invoice.json: outcome class is one of ['error', 'ok', 'refused']
[PASS   ] receipts/01-read-invoice.json: coverage declares completeness
[PASS   ] receipts/01-read-invoice.json: anchor state is declared, not absent
[NOT-RUN] receipts/01-read-invoice.json: originality -- record is declared unanchored; this verifier can establish consistency, not originality
[PASS   ] receipts/01-read-invoice.json: digest matches the manifest
[PASS   ] receipts/01-read-invoice.json: chain link
[PASS   ] receipts/01-read-invoice.json: output artifact 'invoice.json' matches
Receipt · step 2 of 3 · match
step 2 of 3

match

What went in
receipt:read_invoice · 1426 bytes
invoice.json · 86 bytes
What came out
match.json · 66 bytes
When
→

Completed.

Ran as three-way-match, version 1.0.0.

Receipt · step 2 of 3 · match
Version
three-way-match · 1.0.0
What went in
receipt:read_invoice · 1426 bytes
sha256:aa4ec427b71e…sha256:aa4ec427b71e0f9441e14ebf7b6b9ad740c216ccff046d72cb9936ade639484b
invoice.json · 86 bytes
sha256:6f89e0b46dbf…sha256:6f89e0b46dbf3f18b01f0d550999c5177cb39e217a2d818d089dcaa24782e6ff
What came out
match.json · 66 bytes
sha256:50f40df769cd…sha256:50f40df769cd38bbc6205bf5cc1b0968a0f0807ffa9800bb52e29af5fedd5749
Fingerprint
sha256:1b9c53f3f402…sha256:1b9c53f3f4026294b716e88c940adea0ff42bc39c2e9b11035c02e066db3e4cf
Settings it ran with
{
 "order_quantity": "300",
 "order_unit_price": "12.50",
 "price_tolerance": "5.00%",
 "received_quantity": "300"
}
The receipt, exactly as recorded
{"anchor":{"reason":"a demo record; anchoring is not part of this demo","state":"unanchored"},"assertions":{"constants":{"order_quantity":"300","order_unit_price":"12.50","price_tolerance":"5.00%","received_quantity":"300"}},"coverage":{"boundaries":[],"completeness":"incomplete","declared_stages":["read_invoice","match","approve_payment","onetrace.close"],"emitting_stages":["read_invoice","match"]},"digest_source":"emitter","emission":{"gaps":[],"policy":"fail-closed"},"format":"stage-receipt/0.4","inputs":[{"bytes":"1426","digest":"sha256:aa4ec427b71e0f9441e14ebf7b6b9ad740c216ccff046d72cb9936ade639484b","media_type":"application/json","name":"receipt:read_invoice","trust_class":"operator-authored"},{"bytes":"86","digest":"sha256:6f89e0b46dbf3f18b01f0d550999c5177cb39e217a2d818d089dcaa24782e6ff","media_type":"application/json","name":"invoice.json","trust_class":"operator-authored"}],"instrument":{"config_digest":"sha256:824a2366fff3ce418a48864bb0501ff02b8396b0cfede1f37935ae87b389a060","id":"three-way-match","kind":"checker","manifest_digest":"sha256:43f476ae5633b5211654b860dd44d77735f9fa128581277243fbe886abc9ed10","rederivable":"true","version":"1.0.0"},"outcome":{"class":"ok"},"outputs":[{"bytes":"66","digest":"sha256:50f40df769cd38bbc6205bf5cc1b0968a0f0807ffa9800bb52e29af5fedd5749","media_type":"application/json","name":"match.json","trust_class":"operator-authored"}],"prev":"sha256:aa4ec427b71e0f9441e14ebf7b6b9ad740c216ccff046d72cb9936ade639484b","run_id":"p8-45-invoice-over-limit-declined","stage":{"index":"2","name":"match"},"time":{"ended":"2026-11-10T00:00:07.652+00:00","started":"2026-11-10T00:00:07.651+00:00"},"trace":{"span_id":"908c229c70047074","trace_id":"f96d204696afa5859179c4694f845af8"}}
The check's own words
[PASS   ] receipts/02-match.json: receipt format
[PASS   ] receipts/02-match.json: bytes are canonical
[PASS   ] receipts/02-match.json: required field 'format'
[PASS   ] receipts/02-match.json: required field 'run_id'
[PASS   ] receipts/02-match.json: required field 'stage'
[PASS   ] receipts/02-match.json: required field 'prev'
[PASS   ] receipts/02-match.json: required field 'time'
[PASS   ] receipts/02-match.json: required field 'coverage'
[PASS   ] receipts/02-match.json: required field 'emission'
[PASS   ] receipts/02-match.json: required field 'anchor'
[PASS   ] receipts/02-match.json: required field 'instrument'
[PASS   ] receipts/02-match.json: required field 'inputs'
[PASS   ] receipts/02-match.json: required field 'outputs'
[PASS   ] receipts/02-match.json: required field 'assertions'
[PASS   ] receipts/02-match.json: required field 'outcome'
[PASS   ] receipts/02-match.json: time.started carries its zone
[PASS   ] receipts/02-match.json: time.ended carries its zone
[PASS   ] receipts/02-match.json: instrument is named and pinned
[PASS   ] receipts/02-match.json: inputs/receipt:read_invoice declares a trust class
[PASS   ] receipts/02-match.json: inputs/invoice.json declares a trust class
[PASS   ] receipts/02-match.json: outputs/match.json declares a trust class
[PASS   ] receipts/02-match.json: assertions name their constants
[PASS   ] receipts/02-match.json: outcome class is one of ['error', 'ok', 'refused']
[PASS   ] receipts/02-match.json: coverage declares completeness
[PASS   ] receipts/02-match.json: anchor state is declared, not absent
[NOT-RUN] receipts/02-match.json: originality -- record is declared unanchored; this verifier can establish consistency, not originality
[PASS   ] receipts/02-match.json: digest matches the manifest
[PASS   ] receipts/02-match.json: chain link
[PASS   ] receipts/02-match.json: output artifact 'match.json' matches
Receipt · step 3 of 3 · approve_payment
step 3 of 3

approve_payment

What went in
receipt:match · 1733 bytes
match.json · 66 bytes
What came out
nothing
When
→

It declined to answer, and says why: an invoice of 3840.00 is over the approver's limit of 2500.00.

Ran as payment-approval, version 1.0.0.

Receipt · step 3 of 3 · approve_payment
Version
payment-approval · 1.0.0
What went in
receipt:match · 1733 bytes
sha256:1b9c53f3f402…sha256:1b9c53f3f4026294b716e88c940adea0ff42bc39c2e9b11035c02e066db3e4cf
match.json · 66 bytes
sha256:50f40df769cd…sha256:50f40df769cd38bbc6205bf5cc1b0968a0f0807ffa9800bb52e29af5fedd5749
What came out
nothing
Fingerprint
sha256:dbf507a80857…sha256:dbf507a808573a37e89119fdf50dfff40809e08bd1e96a2ed0e10fc88f5628da
Settings it ran with
{}
The receipt, exactly as recorded
{"anchor":{"reason":"a demo record; anchoring is not part of this demo","state":"unanchored"},"assertions":{},"authorization":{"decisions":[{"ref":{"decision_digest":"sha256:3189d1b12e53e0f6bf563c59b9701744958316588aac65c2b925e9181ef8e1a4","format":"onedoor-decision-ref/1","issuer":"https://payments-approver.example/issuer","request_id":"p8-45-invoice-over-limit-declined/approve_payment","verdict":"deny"}}]},"coverage":{"boundaries":[],"completeness":"incomplete","declared_stages":["read_invoice","match","approve_payment","onetrace.close"],"emitting_stages":["read_invoice","match","approve_payment"]},"digest_source":"emitter","emission":{"gaps":[],"policy":"fail-closed"},"format":"stage-receipt/0.4","inputs":[{"bytes":"1733","digest":"sha256:1b9c53f3f4026294b716e88c940adea0ff42bc39c2e9b11035c02e066db3e4cf","media_type":"application/json","name":"receipt:match","trust_class":"operator-authored"},{"bytes":"66","digest":"sha256:50f40df769cd38bbc6205bf5cc1b0968a0f0807ffa9800bb52e29af5fedd5749","media_type":"application/json","name":"match.json","trust_class":"operator-authored"}],"instrument":{"config_digest":"sha256:84566ae6a0fff7aa8af09def3657bb9858b7ab7d7d92c4e9c7054a770c42f8f6","id":"payment-approval","kind":"policy","manifest_digest":"sha256:43f476ae5633b5211654b860dd44d77735f9fa128581277243fbe886abc9ed10","rederivable":"true","version":"1.0.0"},"outcome":{"class":"refused","reason":"an invoice of 3840.00 is over the approver's limit of 2500.00"},"outputs":[],"prev":"sha256:1b9c53f3f4026294b716e88c940adea0ff42bc39c2e9b11035c02e066db3e4cf","run_id":"p8-45-invoice-over-limit-declined","stage":{"index":"3","name":"approve_payment"},"time":{"ended":"2026-11-10T00:00:07.652+00:00","started":"2026-11-10T00:00:07.652+00:00"},"trace":{"span_id":"908c229c70047074","trace_id":"f96d204696afa5859179c4694f845af8"}}
The check's own words
[PASS   ] receipts/03-approve-payment.json: receipt format
[PASS   ] receipts/03-approve-payment.json: bytes are canonical
[PASS   ] receipts/03-approve-payment.json: required field 'format'
[PASS   ] receipts/03-approve-payment.json: required field 'run_id'
[PASS   ] receipts/03-approve-payment.json: required field 'stage'
[PASS   ] receipts/03-approve-payment.json: required field 'prev'
[PASS   ] receipts/03-approve-payment.json: required field 'time'
[PASS   ] receipts/03-approve-payment.json: required field 'coverage'
[PASS   ] receipts/03-approve-payment.json: required field 'emission'
[PASS   ] receipts/03-approve-payment.json: required field 'anchor'
[PASS   ] receipts/03-approve-payment.json: required field 'instrument'
[PASS   ] receipts/03-approve-payment.json: required field 'inputs'
[PASS   ] receipts/03-approve-payment.json: required field 'outputs'
[PASS   ] receipts/03-approve-payment.json: required field 'assertions'
[PASS   ] receipts/03-approve-payment.json: required field 'outcome'
[PASS   ] receipts/03-approve-payment.json: time.started carries its zone
[PASS   ] receipts/03-approve-payment.json: time.ended carries its zone
[PASS   ] receipts/03-approve-payment.json: instrument is named and pinned
[PASS   ] receipts/03-approve-payment.json: inputs/receipt:match declares a trust class
[PASS   ] receipts/03-approve-payment.json: inputs/match.json declares a trust class
[PASS   ] receipts/03-approve-payment.json: outcome class is one of ['error', 'ok', 'refused']
[PASS   ] receipts/03-approve-payment.json: coverage declares completeness
[PASS   ] receipts/03-approve-payment.json: anchor state is declared, not absent
[NOT-RUN] receipts/03-approve-payment.json: originality -- record is declared unanchored; this verifier can establish consistency, not originality
[PASS   ] receipts/03-approve-payment.json: digest matches the manifest
[PASS   ] receipts/03-approve-payment.json: chain link

Where it changed

No comparison with another run was made, so this page does not say where anything changed.

Gated steps

Shown as the record holds them. What is checked is onetrace-verify's, in its rows below.

Gated step approve_payment

  1. Decision 1: verdict deny, request p8-45-invoice-over-limit-declined/approve_payment

    • format onedoor-decision-ref/1
    • issuer https://payments-approver.example/issuer
    • decision digest
      sha256:3189d1b12e53…sha256:3189d1b12e53e0f6bf563c59b9701744958316588aac65c2b925e9181ef8e1a4

    No permit recorded with this decision.

    No action digest recorded with this decision.

The decisions, as checked

Open the run's Authorization page

onetrace-verify's own rows about the decisions this run records:

  • PASS decisions: gated steps cite a decision — 1 gated step(s), each citing a decision
  • PASS decisions: references are well formed — 1 reference(s), each a well-formed onedoor-decision-ref/1
  • NOT-RUN decisions: a step that acted cites a permitting decision — no references on a step that acted
  • NOT-RUN decisions: the permit covers the recorded action — no permit recorded
  • PASS decisions: the decision is in the export — 1 reference(s), each matching a row in the export by digest

Span context

The span context the app reported, as the run recorded it. onetrace does not check it.

The traceparent, trace id and span id are pointers into the app's own tracing tool: they are how to find this run's spans there. This is a public console: it links to no tracing tool.

  • the run's traceparent 00-f96d204696afa5859179c4694f845af8-908c229c70047074-01
  • read_invoice
    • trace id f96d204696afa5859179c4694f845af8
    • span id 908c229c70047074
  • match
    • trace id f96d204696afa5859179c4694f845af8
    • span id 908c229c70047074
  • approve_payment
    • trace id f96d204696afa5859179c4694f845af8
    • span id 908c229c70047074

Configuration against the reference

Runs are compared within their pipeline, as this console groups them by their declared stages.

This run's configuration, step by step, against the pipeline's reference run, p8-42-invoice-tolerance-2pct · c0eeaf2cdfae: the run the reference
sha256:5146f3cdb66e…sha256:5146f3cdb66e490dafec87b36e19f0a1532db9d0ae780c06f0b9f31a2e6cf60f
was made from.

Inputs and outputs are not compared here.

  • read_invoice: configuration same
    • configuration fingerprint: same
    • declared setting data: same
    • code fingerprint: same
  • match: configuration differs: configuration fingerprint, declared setting order_quantity, declared setting price_tolerance, declared setting received_quantity
    • configuration fingerprint differs: reference run
      sha256:3e1015e3c7ba…sha256:3e1015e3c7bae9e3fb83fd2c50b8bea9bea38f7103e5ac22e0a3e8b502b6586b
      , this run
      sha256:824a2366fff3…sha256:824a2366fff3ce418a48864bb0501ff02b8396b0cfede1f37935ae87b389a060
    • declared setting order_quantity differs: reference run 40, this run 300
    • declared setting order_unit_price: same
    • declared setting price_tolerance differs: reference run 2.00%, this run 5.00%
    • declared setting received_quantity differs: reference run 40, this run 300
    • code fingerprint: same
  • approve_payment: configuration same
    • configuration fingerprint: same
    • code fingerprint: same
    • policy version behind decision 1: not recorded in neither run (read only where both runs' decision rows are held in decision exports this console reads)
  • A configuration difference is a fact about the records, not a reason for any output.
  • Equal configuration does not mean an equal environment: data sources and external services are not covered.

Verdict against this pipeline's reference

onetrace's own verdict of this run against the pipeline's reference, in its words: the run's word, then each step's with the record item it rests on.

  • verdict: diverged at read_invoice
  • run p8-45-invoice-over-limit-declined against the pipeline's reference
  • read_invoice: output differs (the step's output digests)
  • match: output differs (the step's output digests)
  • approve_payment: output differs (the step records no outputs in the run)
  • a verdict is derived from the record and the reference's declared rule; a step slower than its range is a view, never a divergence

The reference

Made by onetrace from this pipeline's benchmark, p8-42-invoice-tolerance-2pct · c0eeaf2cdfae.

  • seal
    sha256:5146f3cdb66e…sha256:5146f3cdb66e490dafec87b36e19f0a1532db9d0ae780c06f0b9f31a2e6cf60f
  • format onetrace-reference/1
  • made from 1 run(s): p8-42-invoice-tolerance-2pct
  • signature: none

What could be re-checked

No re-check from the record was run, so this page does not say whether anything comes out the same.

This record shows what was verified and evaluated at the time — not what was ultimately true.

Where this answer came from