Skip to content

Require audit and attention evidence in verified receipts - #364

Merged
aruintelligence merged 1 commit into
mainfrom
fix/complete-receipt-evidence-20261015
Oct 15, 2026
Merged

aruintelligence merged 1 commit into
mainfrom
fix/complete-receipt-evidence-20261015

Conversation

@aruintelligence

Copy link
Copy Markdown
Owner

Change

  • Require the runtime audit stream and attention ledger to be present in every verified execution receipt; missing artifacts invalidate a refreshed outer hash and prevent signing.
  • Reject non-array audit entries in the audit verifier, matching the Python capsule verifier's structural rule.
  • Align the receipt JSON Schema, TypeScript shape, and API/evidence documentation with the verifier.

Reproduction and proof

Before this change, deleting either artifact and recalculating the receipt hash left verifyExecutionReceipt(...).verified true and signExecutionReceipt signed it. Replacing audit entries with an empty string, recalculating audit/receipt hashes, also passed signing. The Python capsule verifier rejected all three shapes.

The regression tests now reject those cases. Three additional cross-runtime capsule fixtures recalculate the outer capsule digests and Ed25519 receipt signatures; JavaScript and Python both reject all three. Local checks: 808 Node tests, 42 capsule cases, 28 HTTP exchange cases, 13 enterprise pilot cases, installed-package compatibility, API and upgrade contract checks, and Markdown links.

This checks presence and structure of these artifacts, not the truth of declared intent, policy correctness, or whether a real user saw the rendered output. The checks are project-authored.

@aruintelligence
aruintelligence merged commit 4cbf15b into main Oct 15, 2026
60 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant