Repository navigation
Releases
records-verify 0.2.0
records-verify 0.2.0
probity-records 0.16.0
The url_safe constraint now refuses every address literal under denyPrivate, and neither reader keeps its own table of which addresses are private, so Python and the TypeScript twin give one URL one verdict. A grant that must reach an address literal sets denyPrivate to false and names the address in hosts. An allow that names a grant key but carries no possession record is refused with possession_record_missing, grants.tools_problem validates a grant's tools member on its own, and constraint nesting is bounded at depth 32 in both verifiers. The refusal registry gains peer_forwarded_wrong_credentials under peer.forwarded and credential_header_repeated under the new check gateway.request; no code that 0.15.0 registered changes. The full list is in the changelog.
probity-records 0.15.0
The refusal registry now carries the peer certificate, forwarded certificate, channel and receiver request refusals. refusal_codes.json registers 21 codes, so a verifier or a receiver that reports one names a registered code instead of keeping its own table. No code that 0.14.0 registered changes.
probity-records 0.14.0
probity-records 0.14.0 is a minor release, because some calls and files that 0.13.0 accepted are now handled differently.
probity_records.witness now covers the whole C2SP witness surface, and every refusal carries a registered code. A new offline verifier, authority_registry, checks a proof that a receipt emitter key was listed in a transparency log.
This release also fixes faults in the witness, the policy reader, the checkpoint feed, the witness server and the note readers of earlier releases, so upgrade witnesses, feeds and readers. Most are in every release from 0.2.0 to 0.13.0. Two are in 0.4.0 to 0.13.0: with an ML-DSA-44 log key trusted, a witness cosigned extension lines that the log had not signed, and verify_note counted a subtree signature as a checkpoint cosignature. The CHANGELOG names the releases for each fault.
Before you upgrade: do not run an earlier release again on a witness state directory that 0.14.0 has written, because the earlier release does not read the new state files and would cosign a log again from size 0. A feed directory whose files were converted to CRLF line endings needs LF endings again. subtree_message now takes the subtree start, the arguments of sign_checkpoint after the signer are keyword arguments, verify_inclusion takes root_hash in place of tree_root, refusals carry codes in place of the old message texts, and Witness.add_checkpoint returns one line per key.
Every behaviour change is listed in the CHANGELOG.
agent-evidence-verify 0.11.0
agent-evidence-verify 0.11.0 is a minor release. An agent audit record is now judged under a draft revision that the consumer names, and every decision says which revision it applied.
agent_audit_record/v1 and audit_principal/v1 take an optional revision: draft-gilda-audit-agent-audit-record-04, the published text and the default, or draft-gilda-audit-agent-audit-record-05-proposed, the rules proposed for revision 05, which a consumer can check before that revision is published. Nothing in a record selects the revision. A proposed decision names the proposal texts by SHA-256. Some records reach different verdicts under the two texts. Under the proposed revision a principal may declare its identity provider, which is checked against the provider its issuer names, and may pin its key thumbprint.
Before you upgrade: under the default revision there are five exceptions to "same decision as 0.10.0". A record that 0.10.0 raised an exception on now gets a verdict. audit_principal/v1, and idp_log_witness/v1 through it, read every time as an RFC 3339 date-time and nothing else, so a verdict can change in either direction. A refusal that 0.10.0 gave as unhandled-shape may now have a named code of the same verdict. A tree-head time in the trust document that cannot be read is now invalid input for every record. A sequence set lists at most 1000 missing numbers and counts the rest in missingCount.
Each exception is described in full in the changelog.
Install: uv add agent-evidence-verify or pip install agent-evidence-verify.
probity-records 0.13.0
probity-records 0.13.0 is a minor release, because some inputs that 0.12.0 accepted now get a different verdict.
The Python package and its TypeScript twin now read each received text by one grammar: a grant's URL constraints, request targets, timestamps, integer claims, tokens, public keys and base64. Where the two readers used to disagree, they now give the same answer. An approval that counted several people can name all of them as a list, and strict grading needs every counted approver named. Erasure seals that list one member at a time, so destroying one approver's key leaves the others readable. Constraint values are compared by their RFC 8785 bytes, so true is never 1.
Before you upgrade: a 0.12.0 schema with a rule on principals.approver no longer lints until that rule declares members. Six 0.12.0 erasure vectors give a different output for their 0.12.0 inputs for that reason.
The new refusal codes, the new shared vectors and every behaviour change are listed in the CHANGELOG.
agent-evidence-a2a 0.2.0
Every verifier built on agent-evidence-a2a now reaches the same verdict on every card signature. One function reads a served card's signatures and signing payload from a single parse, one judges each signature, and one applies the signer policy. A signatures member that is not an array is named as such, a protected header the JOSE library refuses is reported as a malformed signature and never as one that does not verify, and an expired pinned key beside a verifying signer counts as key rotation. verify_detached exposes the byte-level check for callers that resolve their key another way, such as an x5c leaf. TrustedKey.invalid_reason is replaced by outside_window, which takes any record with key, not_before and not_after. Install: pip install agent-evidence-a2a==0.2.0
probity-records 0.12.0
- The C2SP note verifier agrees with the reference on three cases; two of them refuse input it accepted before.
A cosignature dated more thanmax_skewseconds after the verifier's clock (verify_notewithnow) is now skipped
instead of rejecting the whole note, so a witness whose clock runs ahead neither vetoes a quorum the other
witnesses meet nor completes one; before,verify_noteraisedNoteError.parse_policynow refuses any control
character other than tab and newline (NoteError); before, such a policy parsed.cosignature_messagenow refuses a
timestamp outside0..2**63-1(NoteError); before, it encoded any integer.verify_lineis now public (it was
_verify_line): it checks one signature line against one known key. Minor, not patch, because a policy or a
probity-records 0.11.1
0.11.1 (2026-11-26)
A writer stopped mid-append no longer leaves a journal that cannot be read or appended to. Bytes after the last newline are an append that never returned and that nothing acted on.
Journal.statements(),verify_journal, thekeys.jsonlreader andotel.export_journalread only whole lines. Before,statements()andexport_journalraisedJSONDecodeErroron the torn tail, andverify_journaland the keys reader counted it as a failed record.Journal.appendand the session-key certificate writer cut a torn tail under the journal lock, and fsync the cut, before writing. Before, the next line was glued onto the torn bytes and the file stayed unreadable.verify_journalreports the torn tail's length astornTailBytesand no longer counts it inrecords.- The witness feed cuts a torn entry from
checkpoints.logbefore the next note, and writes itswitness-*.sizefiles whole. - The TypeScript command line verifies only whole lines and reports
tornTailBytes.
No wire format or shared vector changes.
probity-records 0.11.0
0.11.0 (2026-11-26)
- Breaking: a canonical identity names every sponsor.
CanonicalIdentity.sponsor: Ref | Noneis replaced by
sponsors: tuple[Ref, ...](TypeScript:sponsors: Ref[]), sorted by each rendered ref with no entry twice, and
empty when no sponsor answers for the agent; there is nosponsorattribute any more. An agent acting for no user
still needs at least one sponsor, sosponsors=()there is refusedidentity_attribute_missing. In the string, the
sponsorattribute lists the refs joined by+; one sponsor is written exactly as before, so a single-sponsor
string and every access-list entry naming it are unchanged, and a reader that predates the list refuses a string
with two. In the structured form,sponsoris now a non-empty list of refs even when it holds one, so a policy that
readidentity.sponsor.subjectmust iterateidentity.sponsor; a rule that denies one sponsor then fires whatever
others are named. The structured form'sversionis now 2 (DOCUMENT_VERSION; the string grammar stays version
1),document()always writes it, andfrom_documentrefuses version 1 withidentity_version_unknown. A policy
consumer refuses a structured identity whoseversionis not 2, because a version 1 rule oversponsoris
undefined on the list and would stop denying silently.+is never part of a ref (it is not unreserved, so it is
written%2Binside a component), so the list always splits into the refs that were joined. New refusal codes:identity_sponsor_order(unsorted),identity_sponsor_repeated(a sponsor
twice) andidentity_sponsor_malformed(not a tuple, or a document member that is not a non-empty list).
vectors/shared/canonical_identity.jsonadds CI11 to CI13 (two sponsors, and a sponsor whose subject holds+),
CR29 to CR35 and CD6 to CD11, and every document vector carries version 2 and, where it names a sponsor, the list. build_approval_bindingwrites the members the agent-evidence-vectors 0.38 approval-binding reader judges, each from
the party that holds it:issued=(keyword, required) is the server's issuance register, written as
issuedApprovalIds;enforcement=(keyword, required, one ofENFORCEMENT_MODES:enforce,observe,monitor)
is the mode the gate ran in. The approval body carries its ownoutcome(approved,approved-with-correctionsor
a refusal) andrequestId, which the approver signs; an approval with norequestIdis refused with
approval_request_id_missing. Nothing is defaulted: an approval the server never issued is denied
approval_not_issued, a refused oneapproval_not_granted, and one taken in observe or monitor mode
approval_not_enforced. Every caller passes the two new keywords.judge_approval_bindingdenies a record the reader cannot read (a missing or mistyped member) with
approval_binding_malformed(BINDING_MALFORMED), so one malformed binding is a failure of its line instead of an
exception that endsverify_journal.- The dependency range of
agent-evidence-vectorsis>=0.38.0,<0.40. - The TypeScript twin
@probityai/records-verifyjudges approval bindings with the 0.38 reader's twenty-two checks in
its order.vectors/shared/approvals.jsonadds AV29 to AV37 (not issued, refused, approved with corrections,
observe and monitor modes, one request answered twice, a lost request identifier, a retired key and a key used
before its retirement), and every approval vector was regenerated under the 0.38 reader.