Conversation
Full flow: issue -> computeReceiptRef -> attachReceiptToMeta -> extractReceiptFromMetaAsync -> verifyLocal. No network calls, no clock dependencies; uses deterministic key material for reproducible failures. Tests: - Full round-trip with offline verification - Tampered receipt_ref detection (DD-129) - Legacy org.peacprotocol/receipt extraction with receipt_ref computation - Round-trip carrier field preservation - Null return for missing _meta Also re-enables tests/smoke in vitest config and adds @peac/mappings-mcp alias for root-level test resolution.
9d54e79 to
d63bfce
Compare
Evidence Carrier Contract + A2A Mapping release. - Bump all 65 workspace packages to 0.11.1 - CHANGELOG entry for Evidence Carrier Contract, A2A mapping, MCP _meta carrier, ACP/UCP/x402 carrier adoption, discovery profile - AGENTS.md: v0.11.1 carrier format, A2A metadata example - Normative specs: EVIDENCE-CARRIER-CONTRACT.md, A2A-RECEIPT-PROFILE.md, MCP-EVIDENCE-PROFILE.md - Registry: a2a, ucp, stripe entries (version 0.10.0) - Spec fixes: embed-only HTTP in v0.11.1, MCP dual-legacy wording, softened RFC 9711 analogy, DD-129 producer/consumer split, Node >= 20 runtime vs >= 22 dev baseline, fixture description clarity, removed duplicate UCP registry entry PRs: #414-#421 (8 merged) Design decisions: DD-124 through DD-131
d63bfce to
f947949
Compare
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
_metacarrier attachment, extraction, and offline verificationa2a,ucp,stripeentries (removed duplicate UCP)Two commits (surgically revertable):
test(smoke): MCP carrier e2e round-trip- 5 tests covering full flow, tampered receipt_ref (DD-129), legacy format, field preservationchore(release): v0.11.1- version bump + CHANGELOG + specs + AGENTS.md + all alignment fixesSpec alignment fixes (squashed into release commit):
_meta["org.peacprotocol/receipt"]and top-levelpeac_receiptvalid-http-reference.jsondescription clarifies schema-validity vs transport-attachabilityGate results: 185 test files, 4456 tests passing. Build (78 targets), lint, typecheck, 26/26 guards, planning leak check, format check, fixture validation, version sync, publish list all green.
Test plan
pnpm build && pnpm lint && pnpm typecheck:core && pnpm test./scripts/guard.sh && ./scripts/check-planning-leak.shnode scripts/check-version-sync.mjsnode scripts/validate-fixtures.mjspnpm format:checkbash scripts/check-publish-list.shgit tag v0.11.1+ push (triggers publish workflow)