Skip to content

feat: optional prebind assurance and replayable receipts - #198

Merged
tcconnally merged 1 commit into
mainfrom
feat/issue-197-prebind-receipts
Aug 3, 2026
Merged

feat: optional prebind assurance and replayable receipts#198
tcconnally merged 1 commit into
mainfrom
feat/issue-197-prebind-receipts

Conversation

@tcconnally

Copy link
Copy Markdown
Contributor

Summary

  • perseus-ledger-prebind/v1 construction, validation, persistence
  • Prebind hash bound into existing receipt/hash-chain path
  • Non-mutating replay comparison via replay_receipt_prebind
  • Legacy usage rows preserved when no prebind provided
  • Rejects forbidden raw payload fields and invalid digests

Verification

  • Full pytest suite: 613 passed, 3 skipped

Closes #197

- Add perseus-ledger-prebind/v1 construction, validation, persistence
- Bind prebind hash into existing receipt/hash-chain path (db/metering)
- Add non-mutating replay comparison API (replay_receipt_prebind)
- Reject forbidden raw payload fields and invalid digests
- Preserve legacy usage rows when no prebind is provided
- Add receipt and replay API regression tests

Closes #197
@tcconnally
tcconnally merged commit d6d1e25 into main Aug 3, 2026
8 checks passed
@tcconnally
tcconnally deleted the feat/issue-197-prebind-receipts branch August 3, 2026 19:28
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.

feat: add prebind assurance and replayable context/action receipt bindings

2 participants