Packs / e-signing-public
audit-trail
Hash-chained JSONL audit trail for signing (created, sent, viewed, signed, completed) with document hashes and a verifier.
Install
logicpacks pack use e-signing-public/audit-trailget_pack e-signing-public/audit-trailThe second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.
Keys it needs (names only)
None.
Playbooks included
- Spec:
spec/SPEC.md(goal, steps, edge cases, don’ts) - Routes:
local-pypdfself-hosted-esigndocusign - Checks: 4 in
outcome/checks.yaml - Code:
audit.py - Tools: python3
Usage, last 8 weeks
New: no recorded use yet.
Purpose (from spec/SPEC.md)
Goal
Evidence of who did what and when, where any edited or deleted entry, or a swapped final PDF, is detected.
Steps
python3 code/audit.py log trail.jsonl created sender@example.com --doc draft.pdf.- Log sent / viewed / signed (with
--docafter each change to the PDF) / completed. python3 code/audit.py verify trail.jsonl --doc final.pdfbefore sending the completed copy.- Attach the trail (or a rendered certificate of completion) to the final PDF package.
Edge cases
- Clock skew between machines: use UTC timestamps from one server.
- The chain proves integrity, not identity; identity comes from the login/email step.
Don'ts
- Don't store signer IDs, IPs or documents of real clients in this repo.
- Don't call a typed/drawn stamp a 'digital signature'; it is an electronic signature mark.
- Don't rewrite a trail to fix a typo; append a correction event.