Skip to content

counter-sign 0.1.1

Pre-release
Pre-release

Choose a tag to compare

@haridarman-star haridarman-star released this 08 Jul 19:55

counter-sign 0.1.1

Adds an opt-in ReceiptLog — a persistent, append-only, tamper-evident approval history stored where the runtime is installed. counter-sign stays stateless by default; pass a log and every resolution is durably remembered.

Added

  • ReceiptLog — each line is the canonical JSON of one Countersignature, so the file is a portable audit trail: replay and re-verify every decision offline with read(), history(), and verifyAll(). Pass one to wrapAction({ receiptLog }) and every resolution (approval, veto, or timeout Default) is recorded before the guarded action runs (fail-closed audit).
  • ReceiptSink interface — back the history with a file (ReceiptLog), SQLite, Postgres, or a log pipeline without changing call sites.

Notes

  • No change to the protocol or wire format — v0.1.0 receipts still verify unchanged.
  • In-process writes are queued (concurrent records never interleave); corrupt lines fail loud on read.
  • 89 tests pass (+15 for ReceiptLog).

Full changelog: https://github.com/countersign-labs/counter-sign/blob/main/CHANGELOG.md