Incidents / p8-50-invoice-permit-other-amount

p8-50-invoice-permit-other-amount · P8

Contradicts itself

I-CONTRADICTS · raised when this console checked the run,

  • Records agree No
  • 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

The signature covers the chain head as recorded. It does not make a changed output file match its receipt again.

What the verifier found

The console's own run of the verifier over the stored record, as it wrote it: its summary, one fix line for each failing row, and its rows.

record NOT intact: decisions: the permit covers the recorded action

fix (decisions: the permit covers the recorded action): record the action the permit was issued for, and verify with --permit-issuers naming the issuer's key; the permit's signature, action digest and lifetime must all hold at the step's time; see https://oneproof.dev/onetrace/errors.md#verify-decision

[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
[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
[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: outputs/payment.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
[PASS   ] receipts/03-approve-payment.json: output artifact 'payment.json' matches
[PASS   ] receipts/04-onetrace-close.json: receipt format
[PASS   ] receipts/04-onetrace-close.json: bytes are canonical
[PASS   ] receipts/04-onetrace-close.json: required field 'format'
[PASS   ] receipts/04-onetrace-close.json: required field 'run_id'
[PASS   ] receipts/04-onetrace-close.json: required field 'stage'
[PASS   ] receipts/04-onetrace-close.json: required field 'prev'
[PASS   ] receipts/04-onetrace-close.json: required field 'time'
[PASS   ] receipts/04-onetrace-close.json: required field 'coverage'
[PASS   ] receipts/04-onetrace-close.json: required field 'emission'
[PASS   ] receipts/04-onetrace-close.json: required field 'anchor'
[PASS   ] receipts/04-onetrace-close.json: required field 'instrument'
[PASS   ] receipts/04-onetrace-close.json: required field 'inputs'
[PASS   ] receipts/04-onetrace-close.json: required field 'outputs'
[PASS   ] receipts/04-onetrace-close.json: required field 'assertions'
[PASS   ] receipts/04-onetrace-close.json: required field 'outcome'
[PASS   ] receipts/04-onetrace-close.json: time.started carries its zone
[PASS   ] receipts/04-onetrace-close.json: time.ended carries its zone
[PASS   ] receipts/04-onetrace-close.json: instrument is named and pinned
[PASS   ] receipts/04-onetrace-close.json: assertions name their constants
[PASS   ] receipts/04-onetrace-close.json: outcome class is one of ['error', 'ok', 'refused']
[PASS   ] receipts/04-onetrace-close.json: coverage declares completeness
[PASS   ] receipts/04-onetrace-close.json: 'complete' is consistent with the stage lists
[PASS   ] receipts/04-onetrace-close.json: anchor state is declared, not absent
[NOT-RUN] receipts/04-onetrace-close.json: originality -- record is declared unanchored; this verifier can establish consistency, not originality
[PASS   ] receipts/04-onetrace-close.json: digest matches the manifest
[PASS   ] receipts/04-onetrace-close.json: chain link
[PASS   ] manifest: chain head matches the last receipt
[PASS   ] the close receipt -- closed: by exit
[PASS   ] signatures/1.json: signature -- signed by demo key (public seed: proves the record wasn't changed since signing, not who signed it) (sha256:6e20550ae0dc6b4471d54336d09d74d14f3f623b735045eddd053c444ec3b14c)
[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
[PASS   ] decisions: a step that acted cites a permitting decision -- 1 acting step(s), each citing a permitting decision
[FAIL   ] decisions: the permit covers the recorded action -- approve_payment: the permit covers a different action than the step recorded
[PASS   ] decisions: the decision is in the export -- 1 reference(s), each matching a row in the export by digest

114 pass, 1 fail, 4 not-run  ->  FAIL
a signature does not show: that the key wasn't stolen or misused; that the run's output is correct; when the record was signed (an anchor's job); who the person behind the key is (the trust list connects a key to a name)

Which file, and how

  • decisions — the permit covers the recorded action: approve_payment: the permit covers a different action than the step recorded

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