Stores durable facts in a categorized, plain-markdown vault on disk, alongside your agent's built-in memory.
Coding
settlement-witness
Try itConfirm a SAR v0.1 settlement receipt is cryptographically valid before acting on it.
What it does
Verifies signed SAR v0.1 settlement receipts entirely on your machine — no network needed. Recomputes the canonical digest from signed core fields (RFC 8785), checks it against `receipt_id`, and verifies the Ed25519 signature against a bundled public key registry. Returns JSON with `valid`, `receipt_id`, `kid`, a `PASS`/`FAIL`/`INDETERMINATE` outcome, and any errors. Bundled fixtures let you confirm the tool works (`--self-test`) and that tampered receipts are actually rejected.
When to use it
- Verifying an agent's task-complete claim before trusting it
- Checking a receipt before chaining it to a downstream action
- Validating a receipt before using it as evidence
- Confirming a settlement- or payment-adjacent claim offline
The skill document
New in 0.1.0: local-first verification. Receipt cryptography is verified entirely on your machine — no network required. Network is optional and only used when you explicitly request remote receipt issuance or resolution.
SettlementWitness
Verify SAR v0.1 settlement receipts locally. Optionally request DefaultVerifier-signed receipts.
When to use
- Before trusting a task-complete claim from another agent
- Before chaining downstream actions to an agent output
- Before using a receipt as evidence
- Before acting on a settlement- or payment-adjacent claim
- When you prefer a local, offline verifier
First run (offline, no network needed)
Run the self-test against all bundled fixtures:
python3 scripts/verify_receipt.py --self-test
Expected output: self_test_passed: true with all four fixtures [OK].
Verify a single receipt
python3 scripts/verify_receipt.py fixtures/sar-v0.1-pass.json
Returns JSON:
{
"valid": true,
"receipt_id": "sha256:...",
"kid": "sar-prod-ed25519-01",
"verdict": "PASS",
"errors": []
}
Tamper test (should fail)
python3 scripts/verify_receipt.py fixtures/tampered-receipt.json
Returns valid: false with errors listing the digest mismatch and signature
failure. This proves the verifier actually rejects tampered receipts.
How to interpret results
| Field | Meaning |
|---|---|
valid: true | Receipt digest and Ed25519 signature both verified |
valid: false | Receipt failed cryptographic verification |
verdict: PASS | The signed outcome claims the spec was met |
verdict: FAIL | The signed outcome claims the spec was not met |
verdict: INDETERMINATE | The issuer signed an honest uncertainty state |
errors: [...] | What specifically failed |
PASS, FAIL, and INDETERMINATE are all valid signed outcomes when
valid: true — they represent what the issuer attested, not post-hoc
interpretation.
What works offline vs what uses the network
Fully offline (no network):
- Parsing a SAR v0.1 receipt JSON
- Recomputing the canonical digest from signed core fields
- Verifying
receipt_idmatches the digest - Verifying the Ed25519 signature against the bundled public key registry
- All four bundled fixture checks (
--self-test)
Optional network (only when you explicitly ask):
- Requesting a new DefaultVerifier-signed receipt — signing keys stay server-side by design, so issuance requires the remote service
- Resolving a receipt ID
- Refreshing the public key registry
- Chain or correlation lookups
If DefaultVerifier is offline, local verification of existing receipts still works. The service being unavailable does not invalidate receipts you already have.
Optional remote receipt issuance
To request a signed receipt from DefaultVerifier (requires network):
curl -sS https://defaultverifier.com/settlement-witness \
-H "Content-Type: application/json" \
-d '{"task_id":"your-task-id","spec":{"expected":"value"},"output":{"expected":"value"}}'
The REST endpoint returns a signed SAR v0.1 receipt. You can then verify it
locally with scripts/verify_receipt.py.
Public key registry: https://defaultverifier.com/.well-known/sar-keys.json
Receipt explorer: https://defaultverifier.com/verified
Safety boundaries
DefaultVerifier issues signed evidence about whether a receipt is cryptographically valid. It does not:
- Execute user tasks
- Approve or reject actions
- Release, hold, or custody funds
- Prove legal settlement finality
- Prove payment finality
- Control downstream agent behavior
Acting on a verified receipt is the responsibility of the system or agent that reads it.
Environment
Override the public key registry path if needed:
SAR_KEYS_REGISTRY_PATH=/path/to/keys.json python3 scripts/verify_receipt.py receipt.json
Provenance
Operator: Default Settlement Verifier
Repository: https://github.com/nutstrut/default-settlement-verifier
Homepage: https://defaultverifier.com
Related skills
Join a video meeting as an AI bot with voice, avatar, and screenshare across four operating modes.
Find why your productivity system keeps failing, then apply the smallest fix — capacity math, bottleneck routing, durable local notes.
Write, debug, and tune Playwright specs with locator strategy, trace diagnosis, and CI-aware timeouts.
Generate and edit Draw.io, Mermaid, and Excalidraw diagrams from natural language using a structured JSON spec.
Run Git operations — commits, branches, merges, rebases, conflict resolution, and recovery — with safety rules enforced.
More from nutstrut
Browse all skillsGet a structured risk report on a skill package before installing or publishing it.
Legacy verification-guided task discipline. Helps structure task claims so they can be checked against evidence, receipts, or review criteria. Does not itsel...
Legacy verification-guided rewriting skill. Makes AI-generated text more natural while encouraging claims to stay grounded and attributable. Does not perform...