Standard History Derivation, v0
Rendered from
spec/standard-history-v0.mdinaction-state-group/agent-action-capsuleat commit563dcb8010e5942c07c14453bd22bbc397cca0e3. The repository is the source of record; this page changes only when the site’s pinned commit does.
Status. Informational, pre-Internet-Draft, kept in this repository beside the Personal-Agent
History Profile (spec/personal-agent-history-profile-v0.md, cited here as PH). It changes no
Internet-Draft, no part of the Minimum Evidence Interoperability Profile
(spec/interop-profile-v0.md, cited as IP) and no part of PH or its Outcome level. Where it needs
a rule that no other document states, it states the rule as its own and lists it under
Open points (SH-1, SH-2, …).
This document defines three things:
- the derivation
standard_history/1(§3 to §6): one signed card, as of one anchor, that counts the holder’s deals in a window the holder’s policy sets. It is recipient-free: every requester the holder answers gets the same bytes. Its revisionstandard_history/2counts, in the same card, the deals whose agreed amount the holder’s records do not give (§4, §5.3); a card under/1cannot count them. Its revisionstandard_history/3(§11) counts the deals of a shelf log of book facts from each deal’s term rows, in the same three outcomes, counts among the deals that did not hold those the holder remedied and those where it did not honour a ruling, and carries the coverage start of that shelf log;/1and/2are unchanged by it. Its revisionstandard_history/4(§12) is/3except that it leaves no deal out for want of a witness time;/1to/3are unchanged by it. Its revisionstandard_history/5(§14) is/4except that it counts every deal in the window, shop purchases paid up front included, and says how many of them it counted;/1to/4are unchanged by it; - the deal member
counterparty_class(§7), which under/1to/4decides whether a deal is counted, and under/5is disclosed in a count of its own; - the record kind
receipt_document(§8): a document the holder holds, sealed by its digest; - the card statement and its check
card_registered(§13): an opt-in registration of a card on a transparency service, whose Receipt shows that the card existed at a time.
A card is counts and nothing else. It never carries a name, an item, an amount, a counterparty,
a deal reference, a record digest or a ratio of two counts. Its only date is since, a year and
month (§4).
Dependency boundary
Owns: the derivation tokens standard_history/1 to standard_history/5 and their registry
rows (spec/REGISTRY.md §16),
the deal entry and the counting rules (§5, §11, §12, §14), the card and its members (§4, §11.6,
§12, §14), the card properties (§6, §11.7, §12, §14), the member counterparty_class and its three values (§7), the record
kind receipt_document (§8), and the card statement and the check card_registered (§13).
Uses unchanged:
| Tag | Document | What this document takes from it |
|---|---|---|
| ER | draft-mih-agent-evidence-request -00 | the full_history subject [ER §3.1], a derivation named by a registered token and its declared field set [ER “Derivation”, “Derivation-Scoped Disclosure”] |
| IP | spec/interop-profile-v0.md (evidence-interop/0) | the request and envelope (§6.1, §6.2), anchor_inclusion for a derivation (§6.2), the value conventions (§5.2), lifecycle statements and their issuers (§11.2), the per-property vocabulary (§7.1) |
| IP1 | spec/interop-profile-v1.md (evidence-interop/1) | only the witness Receipt over an anchor, cll-witness-receipt, and its check anchor_witnessed (§6.2.2); and, for §13, that Receipt’s one form, its receipt encoding rule, its check procedure and its witness policy, with another leaf entry. The request and envelope stay evidence-interop/0’s |
| SCITT | RFC 9943 (SCITT architecture) and RFC 9942 (COSE Receipts) | §13 only: the Signed Statement and its CWT iss and sub, the Transparent Statement, and the receipts header parameter (394) |
| PH | spec/personal-agent-history-profile-v0.md | the holder, the holder key and the deal (§1, §2) |
| EL | draft-mih-agent-evidence-layer -00 | the record header, its record_type and its correlation identifier, the epistemic types |
| SR | draft-mih-agent-settlement-records -00 | the amount triple (value, assetCode, assetScale) (“Amounts”), the counterparty half citation (“Citations Between Legs”) |
| RES | spec/evidence-result-v0.md | the claim verdict met, not_met, not_evaluable, out_of_scope (§4) and the grade self-attested (§1) |
| EB | spec/draft-mih-zhang-agent-disclosure-bundle-02.md (evidence-bundle/v2) | only the Bundle, its records, its completeness members (missing), the disclosure overlay (“Bundle-Level Disclosures”), the padding leaf (“Non-Record Leaves”) and the interval coverage and per-record membership claims (“Completeness Claims and Log Membership”), as the carriage of the material counts_recompute needs (§6 “Handing the material”) |
| HF | spec/history-frame-v0.md | the History frame: its rules (§4), its parameters (§3), and this derivation’s counting table and wording pack (§5, §6.1) |
| SF | spec/shelf-forms-v0.md | /3 to /5 only: the shelf log, its book facts and journal facts, the status value a fact commits to, the format-switch marker and the coverage start (§1, §3, §4.2), as the basis /3 to /5 count from (§11, §12, §14) |
| EBL | the evidencebook library, https://github.com/action-state-group/evidencebook , commit a443a83a7f9dcf781b1a54ada98e37a286423ebe | /3 to /5 only: the rule that computes a term row’s status (rowstatus/rowstatus.go, design §4.2 of evidencebook#461), whose results a /3 deal entry carries (§11.2, SH-11), and the whole-shelf handover and its checks (shelf_handover.go; its design docs/design/461-shelf-facts.md §2.7), the material of /3’s counts_recompute (§11.7) |
Interop profile revision. This profile stays on evidence-interop/0: IP is
spec/interop-profile-v0.md as of commit 1456285979bd759b7828fd3ccc4a24296074e552, which is
frozen, not spec/interop-profile-v1.md (evidence-interop/1). The IP sections it cites (§5.2,
§6.1, §6.2, §7.1, §11.2) are the same in evidence-interop/1, which changes only the ER pin, the
refusal reasons and their mapping (IP v1 P-65), and its requests name evidence-interop/0.
Re-pinning to evidence-interop/1 is a revision of this profile. The one exception is the
witness Receipt beside a card (§3 “Inclusion”), which this profile takes from
spec/interop-profile-v1.md §6.2.2 (cited as IP1): it is checked over the anchor, outside any
request or envelope, so it changes neither. The card statement of §13 uses the same Receipt form
over another leaf, also beside the card, and changes neither either.
Does not define: any record format of a deal, any disclosure policy format (it reads two
members of one, §5.1), who may receive a card, any trust policy, any ordering, score or grade of
holders, deals or counterparties, or what a recipient should conclude. It does not change
history_card/1 [ER “The History Card”], the Basic level personal_history_basic/1 or the
Outcome level personal_history_outcome/1.
Instance of the History frame
standard_history/1 and standard_history/2 are instances of the History frame (HF), with the
same parameters. This section names their values; it changes no member, value, identifier or
vector of this document.
- Parameters (HF §3; the SH column of HF §6.1):
identificationtoken;levelrecipient_free(§3);subject_formfull_history;coverage_kindpolicy_window, carried asinstance_text: a card covers every deal of the holder’s book at the anchor whoseagreed_atis in the window the policy sets (§5.1), completeness is not asserted, and the card carries no coverage member;aggregationwindow;answer_anchorany_checkpoint;streamsone;embedsreceipt_beside(§3 “Inclusion”: nohistory_card/1is carried);stated_byresponder(§2);claimsnone;interop_pinevidence-interop/0;non_recipient_refusalnone;policy_digestpolicy_octets(§5.1);containernone. - Counting table:
spec/history-frame/standard-history-1-table.json, digest31122b837d2bea44dd3f559ca90a69f666c146ebb3f1b4d9f7df1c1fd3d47c53: the deal entry (§5.2), the card members and tallies (§4), the units deals and disputes, the card properties (§6), and the properties that may beNOT_CHECKED:window_from_policy,as_ofandcounts_recompute. - Wording pack:
spec/history-frame/standard-history-1-pack.json, digestdcea1ee99942d0b4dc78b380b63f7854964d132925de18fdeb30b336e9877b74: the display strings of §6 “What a verifier shows”. /3’s,/4’s and/5’s parameters are/1’s, all of them: SH’s column of HF §6.1 holds for the five tokens. Its anchor is a shelf checkpoint, the checkpoint of one log (streamsone), and the coverage start it carries (§11.5) is a card member, not a coverage kind:coverage_kindstayspolicy_window, carried asinstance_text./3’s documents: the counting tablespec/history-frame/standard-history-3-table.json, digest9672d76a964d863b50596a4c8f0fc8f7823fd157a30f225ec258c724b3d6b670, and the wording packspec/history-frame/standard-history-3-pack.json, digest86da7c4ec596e54cd289cd3df857e4cba32af50e1cba313f63bcd05b1d8ed802(§11)./4’s documents: the counting tablespec/history-frame/standard-history-4-table.json, digest38406ce224eaff3088759f07c0ec06fe63577bad742a60fdc86f6b5b7dec6bea, and the wording packspec/history-frame/standard-history-4-pack.json, digestb3c8273673decfaeb38945f5c90a3b99b0ac633a0a291c3acd2cc4e6703bc930(§12)./5’s documents: the counting tablespec/history-frame/standard-history-5-table.json, digestcaa99362eedaf6b326540074aef49f5fb5b1772bc57f6293cdd4d08e9695f767, and the wording packspec/history-frame/standard-history-5-pack.json, digest012162aa88de462f70e2448c6f058c34e2f0b4fd960fc70d4f28a73b4798ff1a(§14)./2’s documents: the counting tablespec/history-frame/standard-history-2-table.json, digestc18c28b9830440fddb0d2963c6731da698b019d00606e3f3e4205dfb34c48a1a, which adds to/1’s table the card member and tallyunpriced(§4); and the wording packspec/history-frame/standard-history-2-pack.json, digest212fa32bf4a5193f4161ecc86059cf4b79bac9af183350a1800a05834797a564, which adds the string that words it (§6).- Pinning. Each token pins both of its documents’ bytes (HF §5.4): any change to either of
/2’s is a new token, and/1’s stay as they are;standard_history/3,standard_history/4andstandard_history/5each pin their own two documents (§11, §12, §14), and any change to either of them is a new token too. Where a document and this text disagree, HF §6.3 applies. - Frame rules. One holder key per card (HF §4.1), envelope acceptance (HF §4.3), card properties outside the IP §8 mapping (HF §4.4), acceptance (HF §4.5: a standard card, §6), no score, grade, ratio or ordering (HF §4.6) and differencing (HF §4.8; §9 “Differencing”) are the frame’s, and this document states each again where it applies them. Composition only by an evidence-backed key link (HF §4.7) is the frame’s rule, which this document did not state before: cards under two holder keys compose only by such a link, never by being shown together.
1. Conventions
The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “NOT RECOMMENDED”, “MAY”, and “OPTIONAL” in this document are to be interpreted as described in BCP 14 (RFC 2119, RFC 8174) when, and only when, they appear in all capitals.
Terms from PH §1, IP §1 and ER §2 are used unchanged. This document adds:
- Card: the artifact of an answer under
standard_history/1,standard_history/2(§4),standard_history/3(§11.6),standard_history/4(§12) orstandard_history/5(§14). - Policy: the holder’s disclosure policy in force at the anchor, in whatever format the holder’s host keeps it.
- Window: the span of deals a card counts, set by the policy (§5.1).
- Deal entry: the abstract facts about one deal that the counting rules read (§5.2).
- Counted deal: under
/1to/4, a deal in the window whosecounterparty_classis notshop_preauth(§7), and under/3, not left out either (§11.2); under/5, every deal in the window (§14). - Unpriced deal: under
/2, a deal whose entry carries noamount, because the holder’s records do not give the deal’s agreed amount (§5.2). - Tally: a card member that holds counts. Every tally carries its own denominator,
of.
All values follow IP §5.2: digests are 64 lowercase hexadecimal characters and times are RFC 3339
UTC with Z and seconds precision.
2. What a card says
A card answers “how did this holder’s deals go, recently?” without showing any deal. A /5 card
counts every deal in its window, a purchase whose payment was taken up front included, and says how
many of the deals it counted were such purchases (§14). A card under /1 to /4 counts only the
deals where the holder had to come through for the other party after the agreement: pay
afterwards, deliver, turn up, or describe it truthfully; a purchase whose payment was taken up
front, before anything else happened, is not counted there (§7). Under every token, a counted
deal’s outcome says whether the holder came through for the other party, never whether the other
party did (§11.3). Every count is shown beside the total it is part of, so a reader sees “9 of 12”,
never “75%”.
The holder key signs every card (the envelope, IP §6.2). That is the holder’s statement of the counts. A recipient checks the card’s form and its denominators without any further evidence (§6). It checks the window only against the policy (SH-9), and recomputes the counts only from deal entries, which it holds, shown complete, only when the holder hands it the records they are read from (§6 “Handing the material”). Without them the counts are the holder’s statement, and without the policy so is the window; a verifier shows them as such, as the normal case and not as a warning: the holder signed the counts, and recomputing them needs the whole stream.
3. The derivation
standard_history/1, standard_history/2, standard_history/3, standard_history/4 and
standard_history/5 are registered derivation tokens [ER “Derivation”; spec/REGISTRY.md §16]. A request for any of them is the IP request
[IP §6.1] with:
subject{"full_history": null}[ER §3.1]: the holder’s stream;coverage{"expected_pin": <the anchor>};derivation"standard_history/1","standard_history/2","standard_history/3","standard_history/4"or"standard_history/5";profile"evidence-interop/0".
Everything §1 to §9 say of a card holds under /1 and /2 unless it names one, under /3
as §11 says, under /4 as §12 says, and under /5 as §14 says. A responder answers a request with a card of the token the request names, never of
another one. A
responder whose records do not give a deal’s agreed amount cannot fill that deal’s /1 entry
(§5.2), so it cannot answer /1: it refuses the request with reason no_such_subject [IP §6.3,
ER “The Signed Refusal”]. It never leaves the deal out of a /1 card, and it never fills an
amount it was not given; it can answer /2.
The responder answers with an IP envelope [IP §6.2] whose artifact is UTF-8 of JCS of the card
(§4).
- Recipient-free. The token carries no recipient, and nothing in the card depends on who asked. The card is caller-invariant for (subject, anchor, derivation) [ER §5]: the policy, the deals and their entries are all read from the holder’s book at the anchor.
- Who is answered is the holder’s policy, not this document. A responder that declines a
requester refuses
policy_declinedornot_authorized[IP §6.3]. - Declared field set. The card’s members (§4). The card reveals no record, no record member and no record digest [ER “Derivation-Scoped Disclosure”]. The material of §6 “Handing the material” is not part of this answer: it is handed to one recipient, under the holder’s own disclosure policy, and the card’s bytes are the same with or without it.
- Inclusion. IP registers no verification-material kind for a derivation’s artifact, so
anchor_inclusionisNOT_CHECKEDfor a card [IP §6.2, P-13], as for PH §6.1. A card answer carries noverificationmember. The anchor’s witness Receipts travel beside the card, as forhistory_card/1, each acll-witness-receipt[IP1 §6.2.2]. How they travel is the host’s, as for the policy (SH-9). A verifier that holds them runsanchor_witnessed[IP1 §6.2.2] over the card’sanchor. A Receipt covers the anchor, not the card, soanchor_inclusionstaysNOT_CHECKEDwhatever it reports. A holder MAY also register the card itself on a transparency service and carry that Receipt beside the card (§13); it shows that the card existed at a time, not that it is under the anchor, soanchor_inclusionstaysNOT_CHECKEDwith it too.
4. The card
A /1 card is a JSON object with exactly these members, all REQUIRED. A /2 card has exactly
the same members and unpriced, all REQUIRED:
| Member | Value |
|---|---|
derivation | the token: "standard_history/1" or "standard_history/2" |
holder_kind | "person" or "node": the kind of holder the holder key answers for, as the holder’s own controller declaration states it |
controller_class | the class of that declaration: "person_declared" on a person card and "node_declared" on a node card, and no other value in /1 or /2. Finer classes of a node’s declaration are SH-5 |
anchor | the anchor the card is as of: equal to the envelope’s anchor.digest |
since | the year and month of the holder stream’s first checkpoint, YYYY-MM |
window | the policy’s window (§5.1): {"months": N} with N a positive integer, or {"all": true} |
policy | the digest of the policy in force at the anchor (§5.1) |
in_window | tally: of (deals in the window), counted, not_counted |
class_missing | tally: of (counted deals), count (counted deals that carry no counterparty_class) |
outcomes | tally over counted deals: of, held, did_not_hold, undecided |
bands | an array of band tallies (below) |
unpriced | /2 only. Tally over counted unpriced deals: of, held, did_not_hold, undecided |
roles | tally over counted deals: of, provided, bought |
happened | tally over counted deals: of, stamped_by_both, receipt_only, no_record |
disputes | {"raised": D, "received": D}, each D a dispute tally (below) |
A band tally is {"currency", "decade", "of", "held", "did_not_hold", "undecided"}: the
counted deals in one value band (§5.3), by outcome. currency is an SR assetCode: three
uppercase ASCII letters (an ISO 4217 alphabetic code, or BTC), or a CAIP-19 asset type
(namespace:reference/asset_namespace:asset_reference, each part in CAIP-19’s character set and
length). decade is an integer, negative for amounts below one unit, or null for a zero amount.
bands holds one entry per band that has at least one counted deal, sorted by currency (code
point order), then by decade, the null band first.
A dispute tally is {"of", "by_outcome", "by_forum"}. of is the number of disputes.
by_outcome is {"of", "open", "for", "against", "split", "no_finding", "withdrawn"}, and
by_forum is {"of", "auto", "network", "rail", "external"} (§5.4).
Counts. Every number on a card is an integer of at most 2^53 - 1 in magnitude, and every
number but a band’s decade is 0 or more. The card travels as JCS, which writes the number 75.0
as 75, so what counts is the value, not how it was written. A card never carries a ratio, a share,
a percentage, a mean or a score.
Denominators. Every tally carries of. In every tally but class_missing, the other counts
partition of: they sum to it. class_missing.count is at most its of. The tallies agree with
each other:
in_window.countedequalsclass_missing.of,outcomes.of,roles.ofandhappened.of;- the bands’
ofsum tooutcomes.of, and for each outcome the bands’ counts sum to that outcome’s count. On a/2card, the bands andunpricedtogether do: the bands’ofandunpriced.ofsum tooutcomes.of, and for each outcome the bands’ counts andunpriced’s count sum to that outcome’s count; - in each dispute tally,
by_outcome.ofandby_forum.ofequal itsof.
No other member is allowed in either token’s card, at any level. Any change to a member, a value
list or a counting rule of /2 is /3, and /1 stays as it is. Nothing is extended in place.
Example (members in JCS order):
{"anchor": "<64 hex>", "bands": [{"currency": "USD", "decade": 1, "did_not_hold": 0, "held": 2, "of": 3, "undecided": 1}],
"class_missing": {"count": 1, "of": 3}, "controller_class": "person_declared", "derivation": "standard_history/1",
"disputes": {"raised": {"by_forum": {"auto": 0, "external": 0, "network": 0, "of": 0, "rail": 0},
"by_outcome": {"against": 0, "for": 0, "no_finding": 0, "of": 0, "open": 0, "split": 0, "withdrawn": 0}, "of": 0},
"received": {"by_forum": {"auto": 0, "external": 0, "network": 0, "of": 0, "rail": 0},
"by_outcome": {"against": 0, "for": 0, "no_finding": 0, "of": 0, "open": 0, "split": 0, "withdrawn": 0}, "of": 0}},
"happened": {"no_record": 0, "of": 3, "receipt_only": 1, "stamped_by_both": 2}, "holder_kind": "person",
"in_window": {"counted": 3, "not_counted": 1, "of": 4}, "outcomes": {"did_not_hold": 0, "held": 2, "of": 3, "undecided": 1},
"policy": "<64 hex>", "roles": {"bought": 1, "of": 3, "provided": 2}, "since": "2026-03", "window": {"months": 3}}The /2 card over the same deals, none of them unpriced, has derivation
"standard_history/2" and also carries
"unpriced": {"did_not_hold": 0, "held": 0, "of": 0, "undecided": 0}.
5. Counting
5.1 The policy and the window
The card reads two members of the policy in force at the anchor, through the policy’s own format:
- its digest, the SHA-256 of the policy’s octets as held, which the card carries as
policy; - its window: a number of months
N, or everything.
The window ends at the anchor’s time T, the time of the checkpoint the anchor names. For
{"months": N} it starts at S: the same time of day as T, on the same day of the month, N
calendar months before T; when that month has fewer days, on its last day. A deal is in the
window when its agreed_at (§5.2) is at or after S and at or before T. For {"all": true}
every deal whose agreed_at is at or before T is in the window, and so it is for
{"months": N} when S would fall before year 1, the first year an IP §5.2 time names. A
policy’s N is a whole number: 3.0 is 3, as JCS writes it.
The card’s window is the policy’s window, exactly. A card with any other window is not a
standard card (§6 window_from_policy), whatever its counts. A holder who sends a wider window
to one requester sends a different disclosure, never a standard_history/1 or /2 card (SH-6).
5.2 The deal entry
The counting rules read one deal entry per deal the holder’s stream holds at the anchor. These are names for what the rules need, not record members a deal must carry. A host fills them from its own records (SH-2):
| Member | Presence | Value | Filled from |
|---|---|---|---|
deal | REQUIRED | non-empty text | the deal reference (PH §1) |
agreed_at | REQUIRED | RFC 3339 time | when the holder’s book committed the deal’s terms |
counterparty_class | OPTIONAL | §7’s three values | the deal’s counterparty_class member (§7) |
role | REQUIRED | provided or bought | provided when the holder sold or provided; bought when the holder paid |
amount | REQUIRED in /1; OPTIONAL in /2 | the SR amount triple | the deal’s agreed amount [SR “Amounts”]. Under /2, absent when the holder’s records do not give it |
outcome | REQUIRED | held, did_not_hold or undecided | the verdict of the deal’s outcome claim [RES §4]: met is held, not_met is did_not_hold, and anything else, a missing claim included, is undecided |
happened | REQUIRED | stamped_by_both, receipt_only or no_record | §5.5 |
disputes | REQUIRED | an array, possibly empty, of {"side", "outcome", "forum"} | §5.4 |
A deal entry is never disclosed by a card. A host MUST NOT fill a member from text it was not
given for that member: a deal it cannot classify is undecided, no_record or without
counterparty_class, never guessed. So too for amount under /2: a deal whose records do not
give its agreed amount has no amount, never an estimated or zero one, and a host whose records
give the amount fills it. A zero amount (value "0") is an amount the records give, not a
missing one.
5.3 Counted deals and value bands
- A deal in the window is counted unless its
counterparty_classisshop_preauth. A deal withoutcounterparty_classis counted, and also counted inclass_missing.count. in_windowcounts every deal in the window:counted, andnot_countedfor those whosecounterparty_classisshop_preauth.- Every other tally counts counted deals only. A deal that is not counted adds nothing else to the card: not its outcome, its role, its band or its disputes.
- A counted deal’s value band is (
currency,decade):currencyis its amount’sassetCode, which MUST be of §4’s form;decadeis floor(log10(value/ 10^assetScale)), computed exactly as the number of decimal digits ofvalueminusassetScaleminus one [SR “Amounts”]. So decade 0 is 1 to below 10 units, decade 1 is 10 to below 100, and decade -1 is 0.1 to below 1: 250 satoshi (value"250000",assetScale11) is decade -6. A deal whosevalueis"0"is in its currency’s band whosedecadeisnull. A band shows the size of a deal to a power of ten, never its amount. - Under
/2, a counted unpriced deal is counted like any other counted deal: inin_window,class_missing,outcomes,roles,happenedand its disputes. It has no value band: it is inunpriced, by its outcome, and in no band, not even a zero-amount band. A card carries no amount and no sum of amounts, so it adds to no sum either. A counted deal that is not unpriced is in its band and never inunpriced.
5.4 Disputes
Each entry of a deal’s disputes is one dispute about a record of the deal: an IP §11.2
disputes statement whose target is a record of the deal.
sideisraisedwhen the holder key issued the statement, andreceivedotherwise.outcomeisopenwhile no resolution of it is held, and otherwise what the resolution found for the holder:for,against,split,no_finding, orwithdrawnwhen the issuer withdrew it.forumis the class of the process that resolves it:auto(a rule the two parties agreed to in advance),network(a process the parties’ network provides),rail(the payment rail’s own dispute process) orexternal(anyone else). An open dispute is counted by the forum it was raised in.
A dispute tally counts the disputes of counted deals by side. Within it, by_outcome and
by_forum each count every dispute once. How a host reads outcome and forum from the
resolving process’s statement is SH-7.
5.5 How it happened
happened says how strongly the holder’s book shows that the deal took place:
stamped_by_both: the holder’s book holds the other party’s half of the deal, cited withcitation_purposecounterparty_half[SR “Citations Between Legs”;spec/REGISTRY.md§11], and that half’s own checks accept it;receipt_only: it does not, and it holds the holder’s own record that the deal took place, such as one of its settlement legs or areceipt_document(§8);no_record: neither.
receipt_only is never shown like stamped_by_both, and no_record is not a failure: one side’s
record missing is not disagreement.
6. Card properties
A verifier reports these properties of a card, in the IP §7.1 vocabulary [SH-1]. It checks a card
under the token the request named: a /1 card answering a /2 request, or a /2 card answering
a /1 request, fails card_form.
| Property | Check | Needs |
|---|---|---|
card_form | the card carries exactly §4’s members for the token, at every level, with the values §4 fixes for each; since is YYYY-MM in ASCII digits; each currency is of §4’s form; bands is sorted as §4 says, with no two entries for one band. It does not check that a tally carries of, or that a count is an integer | the card |
counts_integral | every JSON number in the card, at every level, is an integer of at most 2^53 - 1 in magnitude, and 0 or more except a band’s decade (§4 “Counts”) | the card |
denominator | every tally carries of; its counts partition of (for class_missing, count is at most of); every band’s of is 1 or more; the tallies agree as §4 says. NOT_CHECKED when card_form or counts_integral is FAIL | the card |
window_from_policy | the card’s window equals the policy’s window, and its policy the policy’s digest. NOT_CHECKED without the policy | the policy’s two members (§5.1) |
as_of | the card’s anchor equals the anchor the envelope names, and its since is the year and month of the stream’s first checkpoint. NOT_CHECKED without the anchor | the anchor, its time, the first checkpoint’s time |
counts_recompute | every count of the card equals the count §5 derives, over the card’s own window, from the deal entries. NOT_CHECKED without the deal entries of every deal the stream holds at the anchor, shown complete (§6 “Handing the material”), or without the anchor, or when card_form, counts_integral or denominator is not PASS. It does not need the policy: whether the card’s window is the policy’s is window_from_policy | the deal entries of every deal the stream holds at the anchor, shown complete; the anchor’s time |
A card is a standard card when every property is PASS or NOT_CHECKED, and card_form,
counts_integral and denominator are PASS: HF §4.5’s rule, with window_from_policy, as_of
and counts_recompute as the properties that may be NOT_CHECKED. A verifier that does not hold the deal entries
reports counts_recompute NOT_CHECKED and shows the counts as the holder’s statement under the
holder key, not as recomputed. A property FAIL means the card is not a standard card: a
verifier shows none of its counts.
The card properties never change an envelope property or an IP §8 status. A card makes no outcome
claim for a requirement to meet, and a requirement is never SATISFIED from a card alone.
Handing the material (SH-3). A holder that wants a recipient to recompute a card’s counts
hands it evidence-bundle/v2 Bundles [EB], one per log the anchor commits. This adds no member,
derivation or token, and it is not a disclosure of SH-6: it changes neither the card nor its
coverage_kind. Each Bundle’s records are Capsules: the records the deal-entry mapping of the
host’s profile reads (SH-2), including the sealed records whose payloads carry the Results, the
counterparty halves and the dispute statements. The holder includes only the records its own
disclosure policy lets this recipient have, a policy this document does not define; the recipient
learns nothing it may not already see. A Bundle’s root is any record it carries and means
nothing here, and its completeness.records_mode is not read: it describes citation closure from
the root, not coverage.
The recipient’s verifier forms the deal entries (§5.2) by the host profile’s mapping and reports
which mapping it applied; with none for the card’s host, counts_recompute is NOT_CHECKED. It
passes the deal entries to the check only when it has shown coverage:
- (a) the anchor’s own log: every leaf from
seq1 to the anchor is a supplied record with its per-record membership established, or apaddingleaf [EB “Non-Record Leaves”], none listed incompleteness.missing, and the interval coverage claim established against the anchor [EB “Completeness Claims and Log Membership”], neither claim labelledcheckpoint_unverified. A non-record leaf of any type butpaddingis not accepted: EB checks nothing further about it, so it could hide a deal record; - (b) every other log the anchor commits, none excluded: the same, from
seq1 to the extent the anchor commits for it. A recipient cannot tell a log the mapping reads from one it does not unless it holds it. The set of committed logs must be in a form the recipient can check against the anchor. An anchor that commits its logs through a salted or sparse tree does not enumerate them, and this revision defines no disclosed form of that set (SH-10): for such an anchor coverage cannot be shown, andcounts_recomputeisNOT_CHECKED.
With coverage shown, a payload member the mapping reads that a Bundle withholds [EB “Bundle-Level
Disclosures”] still makes the result NOT_CHECKED: a missing input would otherwise read as
undecided, no_record or no counterparty_class (§5.2) and turn an honest card into a FAIL.
Otherwise the check runs: every count equal is PASS, any difference FAIL. A FAIL therefore
never comes from a partial handover, and the holder’s own number of deals, in_window.of, is never
what shows completeness. A card with in_window.of 0 recomputes PASS over coverage with no deal
in it.
The consequence is stated plainly: PASS needs every record of every log the anchor commits, deal
records and others. A disclosure policy that shows a recipient only its own deals leaves
counts_recompute NOT_CHECKED for any holder with other deals; a verifier shows that as the
card’s counts being the holder’s statement (above), not as a defect of the card or the holder.
What a verifier shows for a standard card, in this order: that the counts cover counted deals
in the stated window, how many deals in it were not counted, and how many counted deals are
undecided; on a /2 card, how many counted deals have no recorded amount and so are in no
band, as unpriced.of of outcomes.of; each count with its of on the same line; which checks ran and which did not,
including anchor_inclusion NOT_CHECKED, anchor_witnessed with its status, card_registered
with its status when a card statement came with the card (§13.4), and, without
their inputs, window_from_policy, as_of and counts_recompute NOT_CHECKED. It shows the
bands grouped by currency, each band with its own currency, and never merges bands of two
currencies into one row or shows a band in another currency: amounts in different assets are never equal or converted [SR “Amounts”
rule 4]. It shows unpriced apart from the bands, never as a band, a currency or a zero amount. It shows no ratio of two counts, in figures, words or a graphic, but for the outcome bar
below, which draws the counts and is not itself a ratio; and it never ranks or grades the holder.
The outcome bar. A verifier MAY draw the outcomes tally’s held, did_not_hold and
undecided counts as one bar (HF §4.6 “A count bar”): three segments, in that order, the lengths
of the three counts out of of, drawn with the three counts and each count’s of shown beside
the bar, as above. undecided is drawn in a tone that is neither the colour of
held nor of did_not_hold. No other tally of the card is drawn as a bar, the bar never replaces
the counts, and a card whose outcomes.of is 0 has none. This display rule has no vector: a vector
checks a card’s properties (§6), not how a verifier draws it.
The witness line. A witness Receipt covers the anchor, the snapshot the card states it is as
of, and not the card’s counts (§3). A verifier that ran anchor_witnessed [IP1 §6.2.2] over the
card’s anchor, with a witness policy the relying party set, and got PASS MAY say that the
snapshot was witnessed: at the anchor’s witnessed time and by the witness IP1 §6.2.2 pairs with it,
named as the relying party’s policy names it, or with no time when no passing Receipt has one. It
shows that a witness entered that anchor digest in its log, not that the anchor is a well-formed
checkpoint of the holder’s log, nor that it is the anchor the envelope names; as_of checks that. It says so only of a standard card. It MUST NOT pair one
Receipt’s time with another Receipt’s witness, and it MUST NOT say or imply that the witness
checked, saw or confirmed the counts, the deals or the card: those stay the holder’s statement
under the holder key. Otherwise, with a Receipt that came with the card, the verifier
MAY say that one came with it and that it was not checked, or say nothing about a witness; it
MUST NOT say that a witness saw, checked or witnessed the snapshot or the card.
Vectors. vectors/standard-history-v0/ holds positive cards, among them a window across a
year end, a sub-unit deal with a negative decade and a zero amount, and negatives each failing the
property named: a share stated as a fraction (counts_integral), a percentage member
(card_form), a count without its denominator (denominator), tallies that disagree
(denominator), a shop purchase counted (counts_recompute), a window not in the policy
(window_from_policy), a counterparty member (card_form), a free-text currency
and a free-text node controller_class (card_form), a since finer than a month or in other
digits (card_form), bands out of order or repeated (card_form), an empty band
(denominator), and another anchor (as_of), among others. The /1 cases are in vectors.json.
The /2 cases are in vectors-2.json: a card with two unpriced deals of different outcomes,
which the totals count and no band does, and negatives each failing the property named: the
unpriced deals left out of every tally (counts_recompute), counted in a band (counts_recompute), counted in unpriced
but not in the outcomes (denominator), a /2 card without unpriced, a /1 card with it, a
/1 card answering a /2 request and the reverse (card_form), and unpriced with a currency
(card_form).
7. counterparty_class
counterparty_class is a deal-level member: what kind of party the holder dealt with. Under /1
to /4 it decides whether the deal is counted (§5.3); under /5 every deal in the window is
counted, and the card discloses how many counted deals were shop_preauth (§14). Its value is one
of:
| Value | Meaning | Counted under /1 to /4 | Counted under /5 |
|---|---|---|---|
person_agent | the other party is a person, through their agent | yes | yes |
business_agent | the other party is a business, through its agent, and the holder still had to come through after the agreement | yes | yes |
shop_preauth | a purchase from a shop whose payment was authorized up front, before anything else happened | no | yes, and in shop_preauth.count |
- A deal’s records carry
counterparty_classon at most one record, as a top-level member of that record’s payload. A host reads a deal whose records carry it on two or more records as lacking it. - It is set by whatever recorded how the deal was paid, for example a payment adapter: a card
pre-authorization is
shop_preauth. A payment after the agreement, such as an invoice paid later, is not. Without it a deal is counted, and the card counts the deal inclass_missing.count. - It is the recording party’s own statement. A verifier MUST NOT present it as checked by anyone else.
- Carrying it on a settlement terms leg needs a revision of SR, whose
settlementmember is a closed set (SH-8).
8. receipt_document
A receipt_document record seals, by digest, a document the holder holds about a deal: a
receipt the other party or a payment service sent by mail or through an application, for
example. It is a record kind: its record header’s record_type is "receipt_document" [EL], and
its correlation identifier is the deal reference. Its payload has exactly these members:
| Member | Value |
|---|---|
document_digest | the SHA-256 of the document’s octets exactly as held, 64 lowercase hex characters |
media_type | the document’s media type, for example "message/rfc822" |
- The record never carries the document. The document stays with the holder.
- The record is the holder’s statement that it held a document with that digest when the record
was committed. A claim that rests on it alone has grade
self-attested[RES §1]. Itsepistemic_typeisproducer_claim[spec/REGISTRY.md§17]. - It makes “the holder’s receipt only” checkable later: a holder who releases the document lets
the recipient recompute
document_digestand see that the record committed to it. That shows the document existed when the record was committed, not that what it says is true, and not that its issuer signed it. A signature the document carries (for example a mail signature) is checked, if at all, by the Outcome level’s verifier-statement form (spec/personal-agent-history-outcome-v0.md§5.3), never by this record. - A
receipt_documentrecord is not in PH §3’s or the Outcome level’s closed lists of record kinds, so a History at those levels never carries one. The card counts it only throughhappened(§5.5).
9. Security and privacy considerations
- Counts only. A card carries no deal, deal reference, record digest, amount, item or party,
and no date but
since(§4).bandsshows a deal’s size only to a power of ten, and only in aggregate.unpricedshows only how many counted deals have no recorded amount. Acurrencyis an asset code, never free text, but a CAIP-19 asset type names a token contract, and a token one business issued can name that business. Which deals a card counts, and so which asset codes it shows, is the holder’s control through the policy. - The holder’s levers. The holder’s own records set
counterparty_classand the outcome claim. Under/1to/4, marking a dealshop_preauthtakes it out of every count butin_window; under/5it takes it out of none, and only moves it intoshop_preauth.count(§14). Never recording an outcome claim leaves itundecided. The card shows both, asin_window.not_counted(under/5,shop_preauth.count) andoutcomes.undecided, and a verifier shows them (§6). Under/2, never recording a deal’s amount takes it out of the bands but not out of any other count: the card shows it asunpriced, and a verifier shows that too. Leaving out the amount never hides the deal, and/1gives a host no way to leave the deal out instead (§3). - Small counts. A card with few deals in a band, or one dispute, can still tell a recipient who knows one of the deals something about it. The window and the bands are the holder’s control, through the policy.
- Differencing. A card counts over a window that ends at any anchor, with no floor (§5.1).
Two cards at consecutive anchors can be subtracted, and the difference can isolate one deal:
a recipient that holds both learns about the deals that entered or left the window between
them, even though each card alone shows deals only in aggregate. This document sets no floor
and no period rule (HF-1). A holder key that also serves Standard Histories under
inference-service-history/0or/1serves nostandard_history/1or/2card: a holder that serves both under the same key is out of conformance by ISH’s text already (spec/inference-service-history-profile-v0.md§6.1 item 8; HF §4.8). - Same bytes for every requester. A card is recipient-free (§3): two requesters who compare
their cards learn only that they asked the same holder at the same anchor. A recipient that does
not hold the policy cannot check the window (§6
window_from_policyNOT_CHECKED), so a card with another window is then the holder’s statement too. - The holder’s statement. The holder key signs the counts. Without deal entries shown complete a recipient cannot recompute them (§6). A valid signature never shows that the counts are right, only that the holder stated them.
- Handed material. The Bundles of §6 “Handing the material” hold only records the holder’s
own policy lets this recipient have, so they disclose nothing beyond it. With the anchor’s log in
hand, whether a handover is partial or complete tells the recipient nothing the log sizes the
anchor commits do not already show. The Bundles are per recipient and are not a
standard_history/1answer. - No grading. As HF §4.6: this document defines no score, grade, ratio or ordering, and a verifier that follows it shows none. The outcome bar §6 allows draws the same three counts; it is not a ratio and never a rate.
10. Open points
| # | Point |
|---|---|
| SH-1 | The card properties (§6) as properties in IP’s vocabulary that are not IP §7.2 envelope properties and never enter the IP §8 mapping, as PH’s PA-10. The History frame states this for every instance (HF §4.4). |
| SH-2 | Filling the deal entry (§5.2) from a host’s records: which record gives agreed_at, role and amount, and which claim is a deal’s outcome claim. A host profile states its mapping, as spec/deal-reconcile-contract-v0.md §4.2 does for a half. |
| SH-3 | Closed (§6 “Handing the material”): the carriage is one evidence-bundle/v2 per log the anchor commits, and counts_recompute needs coverage shown. ER asks a derivation’s result to be re-derivable by the requester; this revision meets that only with that material, and only where coverage can be shown (SH-10). |
| SH-4 | Closed for the anchor: a card’s page checks the anchor’s witness Receipts with anchor_witnessed (IP1 §6.2.2, §6 “The witness line”). Closed for the card’s existence: a holder may register the card on a transparency service, and card_registered checks the Receipt (§13). Still open: a verification-material kind that proves a derivation’s artifact against the anchor (IP P-13), as PH’s PA-13, without which anchor_inclusion stays NOT_CHECKED; §13’s Receipt proves inclusion in a service’s log, not under the anchor, and no Receipt says anything about a card’s counts. Also open: carrying the Receipts in the envelope’s verification instead of beside the card. |
| SH-5 | Finer controller_class values for a node’s declaration, and the node’s further counts, such as counts per tier of paired answers and of referee findings. This revision defines a node card with the same members as a person card. The further counts belong in a separate derivation token for nodes, so that /1 and /2 stay the same for every holder. |
| SH-6 | A disclosure wider than the policy’s window, sent to one requester at the holder’s choice. It declares the IP §6.7 coverage kind holder_selected and is never a standard_history/1 or /2 card. |
| SH-7 | Reading a dispute’s outcome and forum (§5.4) from the resolving process’s statement: IP §11.2.6’s statuses (open, upheld, dismissed, conflicting) do not say for whom a resolution found, and IP names no forum. |
| SH-8 | Carrying counterparty_class in SR’s terms leg, whose settlement member is closed in -00. Until a revision lists it, it is carried in another record of the deal (§7). |
| SH-9 | Handing a recipient the policy, or the two members of it the card reads (§5.1), so that window_from_policy can run. Until a carriage is defined, a recipient’s verifier reports it NOT_CHECKED, and the window is the holder’s statement. |
| SH-10 | A disclosed, checkable form of the set of logs an anchor commits, for an anchor that commits them through a salted or sparse tree, such as a batching tree whose root is a parent log’s entry. Without it, coverage (b) of §6 “Handing the material” cannot be shown for such an anchor, and counts_recompute stays NOT_CHECKED. |
| SH-11 | Restating, in this repository, the rule that computes a term row’s status (§11.2). /3 cites EBL’s rule (rowstatus/rowstatus.go at the commit the dependency table pins) and does not restate it; until it is restated, a second implementation of a host computes row results to EBL’s vectors (testdata/row-status/). |
| SH-12 | Closed (§11.2 left_out; §12): /3 follows evidencebook#461 acceptance 9 and leaves out a deal only when its agreement names a witness and the holder holds no time from one; it counts a deal whose agreement names none, its rows local (§11.6 local_times), as acceptance 3 gives a shelf with no witness a card whose statuses are local. The target design’s “a deal with no witness that both accept … a card tallies it as not counted” (§4.1) is not followed. /3 stays as it is (§11.6). /4 follows the later decision that design records (evidencebook#578): a started deal with no witnessed time is counted and disclosed in local_times, whether or not its agreement names a witness, so /4 has no left_out and no not_counted tally, and its deal entry carries no_witness_time (§12). |
| SH-13 | A window membership rule that a reader without status openings can check, such as the first witnessed time of a book’s first fact in place of agreed_at, with a check of a window alone instead of a whole shelf (the target design’s proposal of 2026-11-16 for evidencebook#461, not adopted). /3 to /5 keep agreed_at (§5.1, §11.2, §12, §14). Under /4 a counted deal may hold no witnessed time at all; its agreed_at is then the holder’s own time, and local_times counts it (§12 no_witness_time). agreed_at stays the window key; where a deal has a witnessed time, §11.2 “Agreed no later than witnessed” bounds it from above by its first witnessed time. That check still needs the status openings, so it does not answer this item. |
| SH-14 | The wire form of the whole-shelf handover /3’s counts_recompute reads (§11.7), as SF-7. Until it is defined, the handover is EBL’s form, and a verifier that does not read it reports counts_recompute NOT_CHECKED. |
| SH-15 | A coverage start earlier than the format switch. EBL lets a reader that checks the old ticks’ material against the genesis facts take the shelf log’s first entry as the coverage start (its design §4); a /3 card always carries the switch’s month (§11.5), so such a holder’s card understates its coverage. |
| SH-16 | A remedy made without a ruling. It counts as remedied (§11.4; evidencebook#482 Q5), and the counterparty’s answer is to dispute the row. EBL’s row rule carries a remedy only for a ruled row; the remedy of an unmet row that is not ruled (§11.2) is the host profile’s, read from the holder’s own remedy record of the row, such as a refund (SH-2). |
| SH-17 | Closed: the forum of a dispute under /3. /3 keeps §5.4’s dispute entry and tally, by_forum included, and the dispute and ruling records of the deal profile x-deal-v1 carry a forum (evidencebook#482 Q4). A host profile whose records give no forum cannot fill a /3 deal entry with a dispute. |
| SH-18 | A check that a transparency service carries one card statement per holder key and anchor (§13.5), so that a holder that registers two cards is caught without comparing envelopes. It needs a defined query of a service by iss and sub and a rule for several services, and is only as strong as the services a reader asks; a holder can register the other card on a service the reader does not ask. Until it is defined, card_registered claims existence at a time only. |
| SH-19 | The outcomes of each role’s deals: of the counted deals the holder provided, how many held, did not hold or are undecided, and likewise for those it bought. /1 to /5 carry roles and outcomes as separate tallies over the same counted deals, so unless every counted deal has the same role or the same outcome, a card does not give one role’s outcomes and a page cannot show them without the records. Not adopted (2026-11-01, agent-action-capsule#505) until a reader of a card needs them. Adding them is a new token with its own counting table, pack and vectors, never a member added to an existing token (§4; “Instance of the History frame”, Pinning). |
| SH-20 | A shop purchase whose shop never states on its rows, under /5 (§14). §11.3 covers it unchanged: a row the shop owed that has no statement after its due date is no_statement, which makes the deal undecided unless a row the holder owed makes it did_not_hold first; and a row the shop did not meet is read as met, since the card counts whether the holder came through (§11.3), so the shop’s own failure never makes the purchase did_not_hold. So a holder whose shops do not state on their rows shows those purchases as undecided for good, beside the shop_preauth count; and a purchase whose final rows are all the shop’s, or are the holder’s rows met, is held, whatever the shop did. Whether a purchase paid up front should be decided by the holder’s rows alone, or a shop’s silence read some other way, is not decided here: either is a change to a counting rule, so a new token (§14). Left open for the editor (AAC#682 acceptance 3). |
11. standard_history/3
standard_history/3 counts the holder’s deals in the window its policy sets, as /2 does, from a
different source: each deal’s term rows, read from the holder’s shelf log of book facts [SF] as of
the anchor. Its card has /2’s members, with the three outcomes counted by §11.3’s rules, and four
more: remedied and not_honoured, how many deals that did not hold the holder remedied and how
many it did not honour a ruling on (§11.4); not_counted, the deals not counted by reason (§11.6);
and the coverage start of the shelf log (§11.5). Everything §1 to §9 say of a /2 card holds of
a /3 card, /2’s rules wherever they name a token, except where this section says otherwise.
/1 and /2 are unchanged by it, in every member, value, rule, document and vector.
11.1 The anchor and the deals
- The anchor is a shelf checkpoint [SF §1] at or after the coverage start (§11.5). The
holder’s stream is its shelf log, and
sinceis the year and month of the shelf log’s first checkpoint, as §4 says of the stream. - The deals are the books whose
book_idappears in a book fact [SF §3.2] of the shelf log up to the anchor and whose status value the host’s mapping reads as a deal (SH-2), each at its latest book fact up to the anchor. A journal fact [SF §3.3] is no deal, and neither is a book of profilenone. A deal that has not started, whose book holds no agreement, has no deal entry and is in no tally. - As of the anchor’s time. Each deal’s row results (§11.2) and its
disputes(§5.4) are computed as ofT, the anchor’s time, from the status value of its latest fact [SF §4.2]. A deal whose book has not changed since its last fact is counted by its rows’ dates andT, so its outcome can change from one anchor to the next with no new fact. - One card, one time. A host reads every record a deal’s
disputesrest on, each dispute statement, each withdrawal of one and each record of its resolution, by the test EBL’s rule applies to every record it reads (SH-11): a record whose time is afterTdoes not yet exist, and a record with no time exists. So a dispute whose record has a time afterTis no entry of the deal’sdisputes, a withdrawal whose time is afterThas not withdrawn it, and a resolution whose record has a time afterTis not held. §5.4 then gives each dispute itsoutcomefrom the records held as ofTalone: a dispute withdrawn by then iswithdrawn, and one with no resolution held by then isopen. Where the host’s mapping chooses one resolution among several, such as the first final ruling of the adjudicator the agreement names, it chooses among those held as ofT. A host MUST NOT count in a deal’sdisputesa record that does not exist as ofT, so a card’sdisputestally and its row results read the same records. A record with no time is read as existing by both, so the one time holds for timed records only: an untimed record may have been made afterT. This is a rule on filling the deal entry, as §11.2 “Agreed no later than witnessed” is: it changes no member, value list or counting rule, so/3and/4keep their tokens, documents and vectors. A verifier that applies it may reportFAILfor a card an earlier verifier passed: such a card’sdisputestally holds a record that did not exist as of its own anchor.
11.2 The deal entry
A /3 deal entry has /2’s members (§5.2), with amount OPTIONAL as under /2, except:
| Member | Presence | Value | Filled from |
|---|---|---|---|
outcome | absent | /3 reads no outcome claim | |
rows | REQUIRED | a non-empty array of row results (below) | each term row of the deal, as of T |
left_out | OPTIONAL | "no_witness_time" | present when the deal’s agreement names witnesses and the holder holds no registration time from any of them for the deal’s records (EBL RecordTime; SH-12) |
A row result is {"owed_by", "status", "value", "remedy", "local"}:
| Member | Presence | Value |
|---|---|---|
owed_by | REQUIRED | holder when the holder owed the row, counterparty when the other side did |
status | REQUIRED | one of the ten statuses of EBL’s rule, below |
value | exactly when status is waiting, uncontested, agreed_so_far, agreed or ruled | met or not_met: the value the status carries (for ruled, the ruling’s) |
remedy | exactly when status is ruled, or is agreed_so_far, agreed or uncontested with value not_met | for ruled: none, due, made or not_honoured, the remedy the ruling ordered and its state; otherwise none, or made when the holder’s book holds its own remedy of the row, such as a refund, made without a ruling (SH-16) |
local | OPTIONAL | true when the result rests on a record that has no time from a witness the agreement names (EBL’s rule calls the result local); absent otherwise |
The statuses, as EBL’s rule computes them from both sides’ statements on the row and its dates
(SH-11): not_reached (a date of the row hangs on a record whose time was not known by that
record’s latest date), not_due (no statement, up to and including the due date), no_statement
(no statement after the due date), waiting (one side’s statement, inside the contest window),
uncontested (one side’s statement, after the window), agreed_so_far (both sides’ statements the
same, inside the window), agreed (the same, after it), in_disagreement (the statements differ,
or the row’s recomputed check failed), in_dispute (a dispute in time and not withdrawn, or two
conflicting final rulings) and ruled (the first final ruling of the adjudicator the agreement
names; its remedy not_honoured when the remedy’s date passed without one).
A host fills each row result by that rule, from the status value of the deal’s latest fact, as of
T. It MUST NOT fill a row result it did not compute by the rule, the remedy of an unmet row that
is not ruled excepted, which it fills as SH-16 says; and a host that cannot compute a
row’s result from what it holds cannot fill the deal’s entry, so it cannot answer /3: it refuses
with reason no_such_subject, as §3 says of /1. It never leaves the deal or the row out. A deal is
counted under /3 when it is in the window and neither its counterparty_class is
shop_preauth nor it carries left_out; in_window.not_counted counts both kinds of deal, the
not_counted tally says which (§11.6), and §5.3’s other rules hold unchanged.
Agreed no later than witnessed. A deal’s first witnessed time is the earliest registration
time, from a witness its agreement names, that the holder holds for any of its own records of the
deal (EBL RecordTime); the other side’s records are not read, since the other side may have
agreed first. When a deal has one, its agreed_at MUST NOT be later than it by more than 300
seconds: no witness can have timed a record of an agreement not yet made, and the 300 seconds allow
for the holder’s clock, which gives agreed_at, running ahead of the witness’s. A host whose
records give a later agreed_at cannot fill the deal’s entry, so it cannot answer /3 and refuses
with reason no_such_subject, as for a row result it cannot compute. A verifier that forms the
deal entries from the whole-shelf handover (§11.7) and holds a deal’s first witnessed time checks
it: an entry whose agreed_at is later by more than 300 seconds is not well formed, so the counts
cannot be derived from the entries and counts_recompute is FAIL. A deal with no first witnessed
time is not checked. This is a rule on filling agreed_at, as SH-2 leaves the rest of the entry to
the host’s mapping; it changes no member, value list or counting rule, so /3 and /4 keep their
tokens, documents and vectors. A verifier that applies it may report FAIL for a card an earlier
verifier passed: such a card’s agreed_at contradicts its own witnessed records.
11.3 The outcome
A counted deal has one of §5.2’s three outcomes, by the first rule in this order that applies:
| Outcome | When |
|---|---|
did_not_hold | a row the holder owed is ruled with remedy not_honoured |
did_not_hold | a row the holder owed is agreed, uncontested or ruled with value not_met |
undecided | a row is in_disagreement, in_dispute or no_statement, or is waiting with value not_met |
did_not_hold | a row the holder owed is agreed_so_far with value not_met |
undecided | a row is not_reached or not_due, or is waiting or agreed_so_far |
held | every row is agreed, uncontested or ruled with value met, or is a row the counterparty owed that has value not_met |
- Only the holder’s rows decide
did_not_hold. The card counts whether the holder came through (§2), so each deal’s outcome is decided by the rows the holder owed: a row the counterparty owed that isagreed_so_far,agreed,uncontestedorruledwith valuenot_metis read as if its value weremet, and its remedy is not read. A deal whose only unmet rows are the counterparty’s has the outcome the holder’s own rows give it,heldonce every row is final. - A ruling not honoured comes first. A ruling on a row the holder owed whose remedy’s date
passed without one makes the deal
did_not_holdwhatever its other rows are. - A final unmet row comes before a dispute. A row the holder owed that is final and not met
makes the deal
did_not_holdeven when another row is in disagreement or dispute, so a holder cannot hide a failure it conceded by disputing another row. An unmet row still inside its contest window (agreed_so_far) can still change, so it comes after those rows. - A row not reached. A
not_reachedrow makes the dealundecidedunlessdid_not_holdapplies (evidencebook#482 Q12): its date can no longer be set, so it never becomes due, and leaving it out would let a holder drop a row from its card by never timing the record the row’s date hangs on. It comes afterdid_not_hold, so a row never timed cannot hide a row the holder did not meet. The target design’s text (evidencebook#461 §4.2, “A latest date”) left it out. - Not yet final. When no rule before it applies, a deal with a row not yet due or a contest
window still open is
undecideduntil its rows are final; thedisputestally (§5.4) carries what the outcome does not.
The rules cover every deal: a deal no rule above held applies to has only rows that held names.
11.4 Remedied and not honoured
Two counts say what became of the deals that did not hold; a did_not_hold deal is in at most one:
not_honoured: it did not hold by the first rule of §11.3, a ruling on a row the holder owed whose remedy’s date passed without one. Thedisputestally (§5.4) has no count for this, so the card keeps it here.remedied: its unmet rows, the rows the holder owed that areagreed_so_far,agreed,uncontestedorruledwith valuenot_met, are one or more and all have remedymade, by a ruling or without one (SH-16). A deal with an unmet row whose remedy isnoneordue, and no ruling not honoured, is in neither.
11.5 The coverage start
The coverage start is the shelf checkpoint that ends the format switch’s stamp [SF §3.6]: the
point from which the shelf log carries a fact for every change of every book. The card carries
coverage_start, the year and month of that checkpoint’s time, YYYY-MM, never before since.
A shelf log whose first entry document is its marker has a coverage start in the month its facts
began; one migrated from an older form has since from its first checkpoint and its coverage start
at the migration.
The card claims nothing complete before the coverage start, whatever since says: the books held
at the switch are counted from the genesis facts the switch wrote for them, and what each held
before the switch is the holder’s statement, unless a reader checks the tie of a genesis fact to an
older witnessed checkpoint (EBL design §2.7), which this document does not count.
11.6 The card
A /3 card is a JSON object with exactly these members, all REQUIRED:
| Member | Value |
|---|---|
derivation | "standard_history/3" |
holder_kind, controller_class, anchor, since, window, policy | as §4 |
coverage_start | the year and month of the coverage start (§11.5), YYYY-MM |
in_window | tally: of (deals in the window), counted, not_counted (§11.2) |
not_counted | tally over the deals in the window not counted: of, shop_preauth (its counterparty_class is shop_preauth), no_witness_time (any other, so it carries left_out) |
class_missing | as §4 |
outcomes | tally over counted deals: of, held, did_not_hold, undecided (§11.3) |
remedied | tally: of (counted did_not_hold deals), count (those remedied, §11.4) |
not_honoured | tally: of (counted did_not_hold deals), count (those where the holder did not honour a ruling, §11.4) |
local_times | tally: of (counted deals), count (counted deals with a row result that is local) |
bands | as §4 |
unpriced | as §4 under /2 |
roles, happened, disputes | as §4 |
Denominators. §4’s rules hold as under /2: the bands and unpriced together partition
outcomes, outcome by outcome. Also, not_counted’s parts partition its of, and its of equals
in_window.not_counted; remedied.of and not_honoured.of equal outcomes.did_not_hold, and
their two counts together are at most it; local_times.of equals in_window.counted; and each
count is at most its of.
No other member is allowed in a /3 card, at any level. Any change to a member, a value list or a
counting rule of /3 is a new token, and /3 stays as it is.
Example (members in JCS order):
{"anchor": "<64 hex>", "bands": [{"currency": "USD", "decade": 1, "did_not_hold": 1, "held": 1, "of": 3, "undecided": 1}],
"class_missing": {"count": 0, "of": 3}, "controller_class": "person_declared", "coverage_start": "2026-11",
"derivation": "standard_history/3",
"disputes": {"raised": {"by_forum": {"auto": 0, "external": 0, "network": 0, "of": 0, "rail": 0},
"by_outcome": {"against": 0, "for": 0, "no_finding": 0, "of": 0, "open": 0, "split": 0, "withdrawn": 0}, "of": 0},
"received": {"by_forum": {"auto": 0, "external": 0, "network": 0, "of": 0, "rail": 0},
"by_outcome": {"against": 0, "for": 0, "no_finding": 0, "of": 0, "open": 0, "split": 0, "withdrawn": 0}, "of": 0}},
"happened": {"no_record": 0, "of": 3, "receipt_only": 1, "stamped_by_both": 2}, "holder_kind": "person",
"in_window": {"counted": 3, "not_counted": 1, "of": 4}, "local_times": {"count": 0, "of": 3},
"not_counted": {"no_witness_time": 0, "of": 1, "shop_preauth": 1}, "not_honoured": {"count": 0, "of": 1},
"outcomes": {"did_not_hold": 1, "held": 1, "of": 3, "undecided": 1},
"policy": "<64 hex>", "remedied": {"count": 0, "of": 1}, "roles": {"bought": 1, "of": 3, "provided": 2},
"since": "2026-03", "unpriced": {"did_not_hold": 0, "held": 0, "of": 0, "undecided": 0},
"window": {"months": 3}}11.7 Card properties
A verifier reports §6’s six properties of a /3 card, with these changes:
card_formchecks §11.6’s members and values.coverage_startisYYYY-MMin ASCII digits and not beforesince. A/3card answering a/1or/2request, or a/1or/2card answering a/3request, failscard_form.denominatorchecks §11.6 “Denominators”.as_ofalso checks thatcoverage_startis the year and month of the coverage start’s time, and that this time is not after the anchor’s (§11.1); it needs that time beside the anchor’s and the first checkpoint’s.counts_recomputechecks every count against the count §11 derives, over the card’s own window, from the deal entries of every deal of the shelf log at the anchor, shown complete. For/3, complete is shown by the whole-shelf handover (EBL design §2.7; SH-14), not by §6’s Bundles: every shelf log entry up to the anchor, recomputing the anchor; every entry document after the marker, hashing to its entry; each book fact’s status opening verifying against its commitment [SF §4.1]; each book checkpoint hashing to its fact; and the chain of each book’s facts unbroken. A handover that passes these checks enumerates the books the anchor commits, so §6’s coverage (b) and SH-10 do not arise for/3. The verifier forms each deal entry from the latest fact’s status opening by the host’s mapping (SH-2) and the row rule (§11.2), its rows and itsdisputesas of the anchor’s time (§11.1), and reports which mapping it applied; with none, or without the handover, or when the handover fails a check,counts_recomputeisNOT_CHECKED. A book the card leaves out, or a book counted that the handover does not hold, makes the counts differ:FAIL. A deal entry whoseagreed_atis later than the deal’s first witnessed time by more than §11.2’s allowance, where the handover gives that time, makes the resultFAILeven when every count is equal (§11.2 “Agreed no later than witnessed”).
The properties that may be NOT_CHECKED are window_from_policy, as_of and counts_recompute,
as under /1 and /2.
Unknown format. A verifier that does not implement /3, given a /3 card, reports its
derivation as unknown, checks no property of it and shows none of its counts: never PASS. A
/3 verifier given a /1 or /2 card checks it as §6 says, under the token the request named.
11.8 What a verifier shows
For a standard /3 card, §6 “What a verifier shows” holds, with these additions:
- Remedied and not honoured.
remedied.countandnot_honoured.count, each of itsof, beside thedid_not_holdcount. - Why not counted.
not_counted’s two parts, each with itsof, besidein_window.not_counted. - The coverage start. That the counts are complete from
coverage_starton, and that before it they are the deals the holder carried into its shelf log at the switch (§11.5). - The level reached. Whether the counts were recomputed (
counts_recomputePASS) or are the holder’s statement, and, separately, whether the anchor was witnessed (anchor_witnessedPASSwith a registration time) or not. A card whose anchor has no passing Receipt is shown as unwitnessed: a shelf with no witness is a supported default, and its card is still a standard card. A card neither recomputed nor witnessed is shown as checked for its form only. A Receipt says nothing of the counts (§6 “The witness line”): “witnessed” is said of the anchor only, never of the deals’ rows. - Local results.
local_times.countoflocal_times.of: how many counted deals have a row whose result rests on a record no named witness timed, shown beside the level reached, whether or not the anchor is witnessed. Such a row is never shown as witnessed.
The outcome bar. As §6. Neither remedied nor not_honoured is drawn as a segment of it.
11.9 Security and privacy considerations
§9 holds for /3, and:
- Remedied and not honoured. These counts say more about the deals that did not hold than
/2does. With few counted deals, a recipient who knows one such deal can learn whether the holder remedied it or did not honour a ruling on it. The window and the bands remain the holder’s control, through the policy. - A second date.
coverage_startis a year and month, assinceis: it shows when the holder moved its shelf to book facts, and nothing of any deal. - The holder’s levers. Marking a deal
left_outtakes it out of every count butin_window, asshop_preauthdoes; the card counts it inin_window.not_countedand, apart from shop purchases, innot_counted.no_witness_time, so a reader sees how many it left out. A holder can bring that about by naming only a witness that never registers its checkpoints (SH-12). Never stating on a row leaves itno_statementafter its due date, soundecided, neverheld. - Differencing. As §9. A holder key that serves Standard Histories under
inference-service-history/0or/1MUST NOT serve astandard_history/3card. This is this document’s own rule, since ISH §6.1 item 8 names only/1and/2; its reason is ISH’s: two cards at consecutive anchors could be subtracted to isolate one exchange the periods protect (HF §4.8). - No grading. As §9: the outcomes are counts, never a rate, and a verifier ranks no holder by them.
11.10 Vectors
vectors/standard-history-v0/vectors-3.json holds the /3 cases, each naming its token in
inputs.derivation: a card over deals of every outcome, with a final unmet row that a row in
dispute does not hide, an unmet row still in its contest window behind a row waiting on a statement
of not met, a ruling the holder did not honour that comes before undecided, a row not reached (undecided, and after did_not_hold), a deal where only the
counterparty failed (held), a remedy made
without a ruling, rows that rest on untimed records, a deal left out without a witness time, a shop
purchase that also carries left_out (counted as shop_preauth), two unpriced deals and two bands;
the same deals at a later anchor, where a deal with no new fact moves from undecided to held;
and negatives each failing the property named: a deal counted did_not_hold where undecided
applies first, a row in dispute hiding a final unmet row, a ruling not honoured counted undecided, the deal where only the counterparty
failed counted did_not_hold, a row not reached left out, a row not reached hiding an unmet row, a
ruling not honoured left out of not_honoured, a deal left out counted, the deals with local
results left out of local_times, a remedy made without a ruling not counted as remedied, and the
deals not counted tallied under the wrong reason (each counts_recompute); remedied and
not_honoured tallies whose of is not outcomes.did_not_hold, counts of the two that together
exceed it, and a not_counted tally whose of is not in_window.not_counted (denominator); outcomes and a band counted by five lines, a card
without coverage_start and a coverage_start before since (card_form); a coverage_start
that is not the coverage start’s month and an anchor before the coverage start (as_of); and a
/2 card answering a /3 request and the reverse (card_form).
12. standard_history/4
standard_history/4 is /3 with one counting rule changed: it leaves no deal out for want of a
witness time. A deal whose records hold no time from a witness its agreement names, and a deal
whose agreement names no witness, are counted like any other deal, and the card discloses them in
local_times, whatever their rows say. Everything §11 says of /3 holds of /4, /3’s rules
wherever they name a token, except:
-
The deal entry (§11.2) has no
left_outmember, and has this one:Member Presence Value Filled from no_witness_timeOPTIONAL truepresent exactly when the deal’s agreement names no witness, or names witnesses and the holder holds no registration time from any of them for any of the deal’s records (EBL RecordTime); absent otherwiseA deal is counted under
/4when it is in the window and itscounterparty_classis notshop_preauth, as §5.3 says of/1and/2, andin_window.not_countedcounts the deals in the window of that class. A host never leaves a deal out because no named witness timed its records, or because its agreement names none. Such a deal’s outcome is §11.3’s, from its rows as EBL’s rule computes them; a row that rests on none of its records, such as a row with no statement on it, is notlocal(§11.2), which is why the deal entry carriesno_witness_time. -
local_times(§11.6) counts, among the counted deals, those with a row result that islocalor that carryno_witness_time. So an agreement followed by silence, whose rows hold no statement, is inlocal_times.countas well as inoutcomes.undecided. -
The card (§11.6) has the members of a
/3card exceptnot_counted: with one reason left, that tally would repeatin_window.not_counted. Itsderivationis"standard_history/4". §11.6 “Denominators” holds without its rule fornot_counted. No other member is allowed in a/4card, at any level. Any change to a member, a value list or a counting rule of/4is a new token, and/4stays as it is. -
The window stays keyed by
agreed_at(§5.1; SH-13). For a deal with no witnessed time that is the holder’s own time, as it is the holder’s statement for every deal (§5.2), and the deal is inlocal_times.count. -
Card properties (§11.7):
card_formchecks this section’s members. A/4card answering a/1,/2or/3request, or a/1,/2or/3card answering a/4request, failscard_form.counts_recomputederives the counts by this section’s rule. A verifier that does not implement/4, given a/4card, reports itsderivationas unknown, checks no property of it and shows none of its counts: neverPASS. -
What a verifier shows (§11.8): there is no “Why not counted” line, since every deal not counted is a shop purchase paid up front. “Local results” shows
local_times.countoflocal_times.of: the counted deals with a row that rests on a record no named witness timed, and the deals with no witnessed time at all. -
The holder’s levers (§11.9):
left_outis not one. A holder that names only a witness that never registers its checkpoints, or names none, takes no deal out of the counts: the deal is counted, and shown inlocal_times. -
Differencing (§11.9): a holder key that serves Standard Histories under
inference-service-history/0or/1MUST NOT serve astandard_history/4card either, for §11.9’s reason. -
Documents. The counting table
spec/history-frame/standard-history-4-table.json, digest38406ce224eaff3088759f07c0ec06fe63577bad742a60fdc86f6b5b7dec6bea, and the wording packspec/history-frame/standard-history-4-pack.json, digestb3c8273673decfaeb38945f5c90a3b99b0ac633a0a291c3acd2cc4e6703bc930. They are/3’s withno_witness_timein place ofleft_outin the deal entry, thenot_countedinput list, thenot_countedcard member and tally, and the stringdeals.not_counted.reasonsremoved, and the stringdeals.local_timesnaming the deals with no witnessed time.
/1, /2 and /3 are unchanged by this section, in every member, value, rule, document and
vector. A holder that answers /3 still leaves out a deal as §11.2 says; a requester that wants
such deals counted names /4.
12.1 Vectors
vectors/standard-history-v0/vectors-4.json holds the /4 cases, each naming its token in
inputs.derivation: /3’s shelf with three deals that carry no_witness_time, each counted and in
local_times: one whose agreement names a witness and whose records hold no time from it, one
whose agreement names no witness, and an agreement followed by silence, whose rows hold no statement
and are not local; the shop purchase alone not counted; checked with all the material, without
the deal entries and with nothing beside it. Negatives, each failing the property named: those three
deals left out as /3 would leave them out, and the silent deal left out of local_times (each
counts_recompute); a /4 card carrying not_counted, a /3 card answering a /4 request and
the reverse (card_form).
13. Registering a card
A holder MAY register a card on a transparency service [SCITT] and carry the service’s Receipt
beside the card. Registration is opt-in: this document names no transparency service, and a card
that is not registered is a card like any other. It applies to a card under every token
(standard_history/1 to /5) and changes no card, member, counting rule, card property, counting
table, wording pack or vector of §1 to §12 or §14.
What it shows. A card statement with a passing Receipt (below) shows that the holder key stated exactly these card bytes no later than the Receipt’s registration time, and that a transparency service the relying party accepts entered that statement in its log. A passing Receipt with no registration time shows only that the service logged the statement, not by when. It shows existence at a time, and nothing else:
- it does not show that the counts are right: that is
counts_recompute(§6); - it does not show that the card is under the anchor.
anchor_inclusionchecks the artifact against the holder’s own anchor [IP §6.2]; a Receipt proves inclusion in the service’s log, and a card is derived at the anchor, never an entry under it.anchor_inclusionstaysNOT_CHECKEDfor a registered card (§3 “Inclusion”); - it does not show that the holder registered, or showed anyone, no other card. A holder can
register two cards, on one service or on two. That two requesters were given the same card for
one anchor is
caller_invarianceover their envelopes [IP §7.2], which needs both envelopes, not a Receipt.
13.1 The card statement
A card statement is a SCITT Signed Statement about one card, with its Receipts attached: a Transparent Statement [SCITT]. Its octets are one COSE_Sign1 (RFC 9052) in this one form:
- CBOR tag 18 around an array of four items:
protected,unprotected,payloadandsignature; protected, a non-empty byte string holding a map withalg(1) EdDSA (-8) and CWT_Claims (15, RFC 9597), and optionallykid(4) as a byte string,content_type(3) as a text string, and labels below -65536 (private use) with any value. It carries no other label, so nocrit(2). CWT_Claims is a map that carriesiss(1), the holder key identifier [IP §5.2] as a text string, andsub(2), the anchor the card is as of, the card’sanchor(§4), as a text string, as a Signed Statement requires [SCITT]; it MAY carry other claims, which this document does not read but which fall under the encoding rule below like every other item;payload, attached: the 32 octets of SHA-256 over the card octets, the envelope’sartifact_digest[IP §6.2] as raw octets. The statement is made over the card’s digest, never over the card, as a Capsule ID’s registration statement is made over the Capsule ID (draft-mih-scitt-agent-action-capsule“Registration and Receipts”);unprotected, a map with exactly one label,receipts(394) [SCITT], whose value is an array of one to 16 byte strings, each the octets of one Receipt (§13.2);signature, 64 octets: Ed25519 by the holder key over theSignature1Sig_structure with the protected header, an empty external AAD and the payload (RFC 9052 §4.4).
The COSE_Sign1 and its protected header are each decoded under the receipt encoding rule of IP1
§6.2.2, with the outer tag 18 as the one tag allowed. A Receipt in receipts is a byte string
there, and is decoded on its own (§13.2). A card statement is at most 10,485,760 octets.
The statement entry E of a card statement is the 32 octets of SHA-256 over its Sig_structure,
the octets its signature covers. receipts is not in it, so a holder adds a Receipt to a card
statement without changing E or the signature.
13.2 The Receipt
Each Receipt in a card statement’s receipts is a COSE Receipt in the one form of IP1 §6.2.2,
with one difference: its leaf entry is the statement entry E (§13.1), not an anchor digest. The
leaf hash is SHA-256(0x00 || E), and the root is rebuilt from it as RFC 9162 §2.1.3.2 says. A
service that logged the statement in any other form, such as the card octets or the card digest,
logged other octets, and its Receipt does not cover this statement.
What the relying party must trust. Its transparency policy lists the transparency services it accepts, in the form of IP1 §6.2.2’s witness policy: each with a name and the public keys it signs Receipts under. A relying party SHOULD list only services it holds independent of the holder: a service the holder operates confers nothing, as a witness the producer operates confers no witnessed status [IP1 §6.2.2]. This document does not decide which services those are.
13.3 card_registered
Carriage. A card statement travels beside the card, as the anchor’s witness Receipts do (§3
“Inclusion”), and how it travels is the host’s. It is never an entry of the envelope’s
verification: nothing in the answer signs it, and it changes neither the card’s bytes nor the
envelope. A card statement authenticates itself, so a holder can add one after the card was sent,
and one statement can never take away what another shows.
Check procedure for one card statement. Steps run in order, and the first that yields a status decides:
- If the octets are not of the form of §13.1:
FAIL. - If
payloadis not SHA-256 over the card octets,issis not the envelope’sresponder, orsubis not the envelope’sanchor.digest:FAIL. The statement is about another card, or by another key. The check reads the card only as octets; that itsanchorequals the envelope’s isas_of(§6). - If the signature does not verify under the holder key, the envelope’s
responder[IP §5.2], strictly as IP1 §6.2.2 step 3 verifies EdDSA:FAIL. A verifier that cannot run Ed25519 reportsNOT_CHECKED. - Run IP1 §6.2.2’s check procedure on each Receipt in
receipts, in order, with the leaf entry E and the relying party’s transparency policy. If one or more pass:PASS, with the registration time and the service of the passing Receipt chosen as IP1 §6.2.2 chooses the witnessed time and the witness: the earliest registration time, that Receipt’s service, the first received of two with that time, and with no time the first passing Receipt’s service. - If one or more Receipts fail:
FAIL. Otherwise:NOT_CHECKED.
card_registered. Over every card statement received beside one card:
NOT_PRESENTwhen there is none;- otherwise
PASSwhen one or more statements pass,FAILwhen none passes and one or more fail, andNOT_CHECKEDotherwise.
The report names, for each statement, its status, and when it passed, its service and its
registration time; and for the card, the registration time and the service, chosen over the
passing statements as step 4 chooses over Receipts. A verifier never pairs one Receipt’s time with
another Receipt’s service. A statement that fails takes nothing from one that passes, and a FAIL
is no finding against the card or the holder: anyone can place octets beside a card.
card_registered is not a card property (§6): it is not in any token’s counting table, it is never
a reason a card is or is not a standard card, and it never changes an envelope property or an IP
§8 status. It is reported beside the card properties, as anchor_witnessed is.
13.4 What a verifier shows
A verifier that got card_registered PASS for a standard card MAY say that the holder registered
this card with the service named, as the relying party’s policy names it, at the registration time,
or with no time when the passing Receipt has none. It MUST NOT say or imply that the service checked,
saw or confirmed the counts, the deals or the anchor, or that this is the holder’s only card. It
shows anchor_inclusion NOT_CHECKED as for any card (§6). Registration is not a level of §11.8
“The level reached”: it never makes a card witnessed, never changes “unwitnessed” or “checked for
its form only”, and is shown beside the level reached, not as part of it. With a card_registered other than
PASS, it MAY say that a card statement came with the card and did not pass, or say nothing about
registration; it MUST NOT say the card was registered.
13.5 Security and privacy considerations
- Existence, not uniqueness. A passing statement shows the card existed by a time. A holder that
registers two cards for one anchor, or shows each of two requesters a different card with its own
Receipt, is not caught by
card_registered; today only comparing the cards themselves catches it, ascaller_invariancedoes (§13 “What it shows”). A check that a service carries one card per holder and anchor is SH-18. - What the service learns.
issandsubare in the protected header, so the service, and anyone who reads its log, learns which holder key registered a card for which anchor, when, and how many statements that key registered for each anchor. The log is append-only: a holder cannot withdraw a registration, or the link it makes between its key and the anchor. The statement carries the card’s digest, not the card. A digest does not hide a card from a party that can guess it: a party that holds the anchor, the policy digest andsincecan test guesses of the counts against it, because the counts of a small card are few. A holder registers knowing that, and registers only on a service whose published policy it accepts. - No registration is no finding. Registration is opt-in (this section). A verifier shows a card
with
card_registeredNOT_PRESENTas it shows any card, and never as a defect of the card or the holder.
13.6 Vectors
vectors/card-registration-v0/ holds card statements beside a card of
vectors/standard-history-v0/ and the expected card_registered report. Positive: a statement
with an EdDSA Receipt with and without a registration time, with an ES256 Receipt, with a passing
Receipt after a failing one, with two passing Receipts, with a protected header over 64 KiB, and
a passing statement beside a failing one. NOT_PRESENT and NOT_CHECKED: no statement, and a transparency policy that lists no key of
the Receipt’s type. Aggregation: a statement not checked beside a passing one and beside a failing
one, and a statement with one Receipt not checked and one failing. Negative (MUST reject, FAIL): a statement over another card, a statement
signed by another key, an iss of another key, a sub of another anchor, a tampered statement
signature, a Receipt over the card digest instead of the statement entry, a Receipt by an unlisted
service, and departures from the one form: an untagged COSE_Sign1, another tag, a 63-octet
signature, a text kid, an integer content type, CWT_Claims that is not a map, a byte-string iss
or sub, a Receipt that is not a byte string, alg ES256, a crit, a
payload_hash_alg, no CWT_Claims, no iss or no sub, a payload that is not 32 octets, a
detached payload, an unprotected label besides receipts, no Receipt and 17 Receipts.
14. standard_history/5
standard_history/5 is /4 with one counting rule changed: it counts every deal in the window,
whatever its counterparty_class. A shop purchase paid up front (shop_preauth, §7) is counted
like any other deal, in outcomes, bands or unpriced, roles, happened, disputes (raised
and received), remedied, not_honoured and local_times, by the rules those members follow for
any deal, and the card says how many of the counted deals were such purchases. Everything §12 says
of /4 holds of /5, /4’s rules wherever they name a token, except:
-
Counted. A deal is counted under
/5when it is in the window.counterparty_classno longer takes a deal out of any count: it stays a deal member, filled and read as §7 says, and a deal without it is inclass_missing.countas before. The deal entry is/4’s (§12), so it has noleft_outmember and may carryno_witness_time, and itsagreed_atis bounded by §11.2 “Agreed no later than witnessed”, a shop purchase’s included, with §11.7’scounts_recomputeFAILfor an entry that breaks it. Its row results and itsdisputesare read as ofTby §11.1 “One card, one time”, a shop purchase’s included: a dispute, withdrawal or resolution whose record has a time afterTdoes not yet exist, a record with no time exists (§11.1), andcounts_recomputeforms the disputes the same way. -
The outcome of a counted deal, a shop purchase included, is §11.3’s, from its rows, by the same rules as any other deal; the rules are unchanged (SH-20).
-
The card has the members of a
/4card and one more, all REQUIRED:Member Value shop_preauthtally: of(counted deals),count(counted deals whosecounterparty_classisshop_preauth)Its
derivationis"standard_history/5".in_windowkeeps its three members, so that every token states its deals in the window in the same member, andin_window.not_countedis 0 on every/5card. No other member is allowed in a/5card, at any level. Any change to a member, a value list or a counting rule of/5is a new token, and/5stays as it is. -
Denominators (§11.6, as §12 holds them), and also:
in_window.not_countedis 0, soin_window.countedequalsin_window.of;shop_preauth.ofequalsin_window.counted; andshop_preauth.countandclass_missing.counttogether are at mostin_window.counted, since a deal whose class isshop_preauthcarries a class. A card that leaves the shop purchases out as/4does, within_window.not_countedabove 0, failsdenominator, which reads the card alone (§6). -
Card properties (§11.7, as §12 holds them):
card_formchecks this section’s members. A/5card answering a/1to/4request, or a/1to/4card answering a/5request, failscard_form.counts_recomputederives the counts by this section’s rule. A verifier that does not implement/5, given a/5card, reports itsderivationas unknown, checks no property of it and shows none of its counts: neverPASS. -
What a verifier shows (§11.8, as §12 holds it): that the counts cover every deal in the stated window, in place of how many deals in it were not counted; and
shop_preauth.countofshop_preauth.of, how many counted deals were shop purchases paid up front, beside the outcomes. It shows that count as the recording party’s statement of how the deal was paid (§7), never as checked by anyone else, and never as a grade of the holder or of those deals. -
The holder’s levers (§9, §11.9): marking a deal
shop_preauthis not one. It takes the deal out of no count, and moves it only intoshop_preauth.count. A holder that leaves the class off a deal moves it intoclass_missing.countinstead, which a verifier shows too. -
Differencing (§11.9): a holder key that serves Standard Histories under
inference-service-history/0or/1MUST NOT serve astandard_history/5card either, for §11.9’s reason. -
Documents. The counting table
spec/history-frame/standard-history-5-table.json, digestcaa99362eedaf6b326540074aef49f5fb5b1772bc57f6293cdd4d08e9695f767, and the wording packspec/history-frame/standard-history-5-pack.json, digest012162aa88de462f70e2448c6f058c34e2f0b4fd960fc70d4f28a73b4798ff1a. They are/4’s with the card member and tallyshop_preauthadded afterlocal_times; in the pack, the stringdeals.not_countedremoved, the stringcounts.coversaying that the counts cover every deal in the window, and the stringdeals.shop_preauthadded.
/1 to /4 are unchanged by this section, in every member, value, rule, document and vector. A
holder that answers /4 still leaves a shop purchase paid up front out of every count but
in_window; a requester that wants such purchases counted names /5.
Example (members in JCS order): the card of §14.1’s positive vector, shop-purchases-counted,
with its two digests elided. Its two shop purchases are in outcomes (one held, one
undecided), in the USD band of decade 1, in roles.bought, in happened.receipt_only, and in
disputes: the one the holder raised in raised (forum rail, open), the one the shop raised
in received; and shop_preauth.count is 2.
{"anchor": "<64 hex>", "bands": [{"currency": "BTC", "decade": -7, "did_not_hold": 1, "held": 0, "of": 1, "undecided": 0},
{"currency": "EUR", "decade": 0, "did_not_hold": 1, "held": 0, "of": 1, "undecided": 0},
{"currency": "EUR", "decade": 1, "did_not_hold": 1, "held": 0, "of": 1, "undecided": 0},
{"currency": "USD", "decade": null, "did_not_hold": 0, "held": 0, "of": 1, "undecided": 1},
{"currency": "USD", "decade": 0, "did_not_hold": 0, "held": 1, "of": 1, "undecided": 0},
{"currency": "USD", "decade": 1, "did_not_hold": 1, "held": 2, "of": 6, "undecided": 3},
{"currency": "USD", "decade": 2, "did_not_hold": 1, "held": 0, "of": 2, "undecided": 1},
{"currency": "USD", "decade": 3, "did_not_hold": 0, "held": 0, "of": 1, "undecided": 1}],
"class_missing": {"count": 1, "of": 16}, "controller_class": "person_declared", "coverage_start": "2026-04",
"derivation": "standard_history/5",
"disputes": {"raised": {"by_forum": {"auto": 0, "external": 0, "network": 0, "of": 2, "rail": 2},
"by_outcome": {"against": 0, "for": 1, "no_finding": 0, "of": 2, "open": 1, "split": 0, "withdrawn": 0}, "of": 2},
"received": {"by_forum": {"auto": 0, "external": 1, "network": 1, "of": 3, "rail": 1},
"by_outcome": {"against": 1, "for": 0, "no_finding": 0, "of": 3, "open": 2, "split": 0, "withdrawn": 0}, "of": 3}},
"happened": {"no_record": 4, "of": 16, "receipt_only": 7, "stamped_by_both": 5}, "holder_kind": "person",
"in_window": {"counted": 16, "not_counted": 0, "of": 16}, "local_times": {"count": 5, "of": 16},
"not_honoured": {"count": 1, "of": 5}, "outcomes": {"did_not_hold": 5, "held": 4, "of": 16, "undecided": 7},
"policy": "<64 hex>", "remedied": {"count": 1, "of": 5}, "roles": {"bought": 7, "of": 16, "provided": 9},
"shop_preauth": {"count": 2, "of": 16}, "since": "2026-03",
"unpriced": {"did_not_hold": 0, "held": 1, "of": 2, "undecided": 1}, "window": {"months": 3}}Why a new token. /4 fixes its counting rules (§12: “Any change to a member, a value list or a
counting rule of /4 is a new token”), and HF §5.4 pins its documents’ bytes. Counting the shop
purchases changes a counting rule and adds a member, so it cannot be made to /4 in place.
14.1 Vectors
vectors/standard-history-v0/vectors-5.json holds the /5 cases, each naming its token in
inputs.derivation: /4’s shelf and a second shop purchase, so two deals of the class
shop_preauth, each counted: deal-312, held, with a dispute the shop raised (a received
dispute), and deal-317, undecided because the shop’s row is in dispute, with an open dispute the
holder raised through the payment rail (a raised dispute, forum rail); checked with all the
material, without the deal entries and with nothing beside it. Negatives, each failing the property
named: the two shop purchases left out of the window altogether, the holder’s dispute on deal-317
left out of disputes.raised, and the two shop purchases counted but not in shop_preauth.count
(each counts_recompute); the two shop purchases left out as /4 leaves them out, a
shop_preauth tally over another of than the counted deals, and shop_preauth.count and
class_missing.count together above the counted deals (each denominator); a /4 card answering
a /5 request and the reverse (card_form).