Skip to content

feat(audit): add tamper-evident hash-chained audit ledger - #334

Merged
robertocarlous merged 1 commit into
Neurowealth:mainfrom
DevZee404:feat/hash-chained-audit-ledger-315
Aug 24, 2026
Merged

feat(audit): add tamper-evident hash-chained audit ledger#334
robertocarlous merged 1 commit into
Neurowealth:mainfrom
DevZee404:feat/hash-chained-audit-ledger-315

Conversation

@DevZee404

@DevZee404 DevZee404 commented Aug 24, 2026

Copy link
Copy Markdown
Contributor
Screenshot 2026-08-24 161831 - Add src/audit/ domain: canonical serializer, hash chain, block append + verification - Add AuditBlock and AuditPayloadHash schema + migration, genesis bootstrap - Dual-write payload hashes at commit time for events, tax lots, agent logs, admin actions - Reconcile retention: anchor-before-delete in dataRetention.ts - Add GET /api/v1/admin/audit/verify (streaming) and /prove endpoints - Add integrity alerting via alertingService - Add throughput benchmark + property tests for decimal fidelity and determinism - Add docs/audit-ledger.md documenting chain rule, canonical format, retention reconciliation

Closes #315

- Add src/audit/ domain: canonical serializer, hash chain, block append + verification
- Add AuditBlock and AuditPayloadHash schema + migration, genesis bootstrap
- Dual-write payload hashes at commit time for events, tax lots, agent logs, admin actions
- Reconcile retention: anchor-before-delete in dataRetention.ts
- Add GET /api/v1/admin/audit/verify (streaming) and /prove endpoints
- Add integrity alerting via alertingService
- Add throughput benchmark + property tests for decimal fidelity and determinism
- Add docs/audit-ledger.md documenting chain rule, canonical format, retention reconciliation

Closes Neurowealth#315
@robertocarlous
robertocarlous merged commit cbeb9ab into Neurowealth:main Aug 24, 2026
7 checks passed
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.

Tamper-Evident Hash-Chained Audit Ledger

2 participants