Skip to content

feat: add safe reference-script pre-submit capture - #464

Open
colll78 wants to merge 1 commit into
tx-validationfrom
safety/reference-script-pre-submit-capture
Open

feat: add safe reference-script pre-submit capture#464
colll78 wants to merge 1 commit into
tx-validationfrom
safety/reference-script-pre-submit-capture

Conversation

@colll78

@colll78 colll78 commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add a diagnostic pre-submit capture path that signs once and records exact signed CBOR without submitting
  • validate transaction and script hashes, Flat encoding, deployment session identity, batch coverage, and input lineage
  • persist private capture artifacts atomically with fsync-backed completion

Safety model

The capture path is structurally non-submitting. It aborts before any provider submission and produces durable evidence suitable for deployment diagnostics.

Verification

  • frozen offline install with pnpm 9.15.4
  • Aiken testnet build
  • Node 22 typecheck and production build
  • 14 focused capture-safety tests
  • 47 existing reference-script and deployment regression tests
  • two real PostgreSQL-backed emulator paths
  • independent final review

@colll78
colll78 marked this pull request as ready for review July 15, 2026 20:42
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