Commit Graph

1 Commits

Author SHA1 Message Date
Alexander Whitestone
a39f4fb1ab feat: audit trail - local logging of inputs, sources, confidence (#794)
Some checks failed
Agent PR Gate / gate (pull_request) Failing after 21s
Self-Healing Smoke / self-healing-smoke (pull_request) Failing after 18s
Smoke Test / smoke (pull_request) Failing after 18s
Agent PR Gate / report (pull_request) Has been cancelled
SOUL.md compliance: 'Every response I generate should be logged locally
with the inputs that produced it, the sources I consulted, and the
confidence assessment I made.'

scripts/audit_trail.py:
  AuditTrail class with log_response(), query(), get_stats(), get_by_session()
  Content-addressed IDs, JSONL storage, local-only (never sent anywhere)
  User can query: 'why did you say X?' -> search trail for matching entries

tests/test_audit_trail.py: 7 tests passing
2026-04-17 01:34:15 -04:00