Skip to content

Add scheme-agnostic SHA-256 hash-chaining to receipts (additive, non-breaking) #55

@RBKunnela

Description

@RBKunnela

Spun off from the #49 roundtable decision. The valuable part of #49 — a replayable, tamper-evident receipt audit log — does not require changing the signature scheme.

Scope (additive only, no breaking change to EIP-191 receipts):

  • Add an optional prevReceiptHash field to the receipt schema.
  • Each receipt commits the SHA-256 of the prior receipt → replayable hash-chain.
  • Keep EIP-191 signing exactly as shipped in 0.3.0.
  • Mirror in both runtimes (TS + Python); add a cross-runtime canonical-output conformance test (we don't have one yet).

Why: enables agent-to-agent reputation on an auditable chain without touching the signer or breaking 0.3.0 consumers. Minor version bump.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions