docs: evidence carrier contract spec, registry, and AGENTS.md#415
Merged
jithinraj merged 3 commits intofeat/evidence-carrier-typesfrom Feb 23, 2026
Merged
docs: evidence carrier contract spec, registry, and AGENTS.md#415jithinraj merged 3 commits intofeat/evidence-carrier-typesfrom
jithinraj merged 3 commits intofeat/evidence-carrier-typesfrom
Conversation
…-124) Add normative EVIDENCE-CARRIER-CONTRACT.md spec covering PeacEvidenceCarrier type definitions, CarrierAdapter interface, transport size limits (DD-127), receipt_ref integrity (DD-129), and ASI-04 extraction defense (DD-131). - spec: EVIDENCE-CARRIER-CONTRACT.md with RFC 2119 keywords - registry: bump version 0.9.19 -> 0.10.0; add a2a, ucp, stripe entries - AGENTS.md: update A2A Agent Card to v0.3.0 capabilities.extensions[] array - AGENTS.md: update MCP _meta to carrier format (receipt_ref + receipt_jws) - AGENTS.md: add peac-issuer.json and agent-card.json to discovery table
Transport table: remove stale body-embed rows for ACP and x402. Both use PEAC-Receipt header (compact JWS, 8 KB limit) in v0.11.1. Sections 7.3 and 7.5 rewritten to match shipped adapter behavior.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
EVIDENCE-CARRIER-CONTRACT.mdspec covering the universal evidence carry interface (DD-124, DD-127, DD-129, DD-131)registries.json(version 0.9.19 -> 0.10.0): addsa2a(Linux Foundation),ucp, andstripeentriesAGENTS.mdfor A2A v0.3.0:capabilities.extensions[]array format, carrier metadata layout, updated discovery pathsKey Changes
Evidence Carrier Contract Spec
Normative specification covering:
PeacEvidenceCarrierfield definitions (MUST/SHOULD/MAY per field)CarrierAdapter<TInput, TOutput>interface with extract/attach/validateConstraintscomputeReceiptRef()algorithm (SHA-256 of UTF-8 JWS bytes via WebCrypto)verifyReceiptRefConsistency()tamper detection (DD-129)_meta, A2Ametadata[URI], ACP/UCP/x402/HTTPPEAC-Receiptheader spellingRegistry Updates
agent_protocols:a2a(Agent-to-Agent Protocol, Linux Foundation),ucp(Universal Commerce Protocol)payment_rails:stripe(Stripe payment processing)AGENTS.md
extensionsobject to v0.3.0capabilities.extensions[]arrayorg.peacprotocol/receiptto carrier format (receipt_ref+receipt_jws)peac-issuer.json, updatedagent.jsontoagent-card.jsonTest plan
pnpm buildpasses (77/77, cached)pnpm lintpassespnpm format:checkpassesguard.shpassescheck-planning-leak.shpassesStacked on: PR #414 (
feat/evidence-carrier-types)