mirror of
https://github.com/vxcontrol/pentagi.git
synced 2026-07-12 07:07:07 +00:00
d5a86ff27b
Disabled-by-default audit feature (EVIDENCE_RECEIPTS_ENABLED): appends a hash-chained JSONL receipt per finished/failed toolcall under <DATA_DIR>/flow-<id>/evidence/receipts.jsonl, recording toolcall provenance plus SHA-256 hashes of args/result (no raw content). Integration adapted to current main: the original PR built the receipt from a database.Toolcall returned by ce.db.UpdateToolcall*Result, which the executor no longer uses after the ToolCallLogProvider (tclp) refactor. Receipts are now built from the in-scope toolcall data at the tclp log sites and recorded non-fatally, so a receipt failure is logged and never fails an otherwise-successful toolcall. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>