The Verdict That Files Itself
说明与用途
为合同检查添加持久化收据文件,消除审计缺口,确保控制台输出与文件证据始终一致。
问题
Audit findings lacked verifiable evidence because contract checks produced console output without persistent receipts, making it impossible to confirm results after the terminal closed.
结果
Implemented persistent receipts for contract checks, eliminating audit gaps and ensuring verifiable evidence of each check outcome.
工作流
- Run contract check tool
- Tool prints verdict to console
- Tool writes receipt file in radars directory with microsecond timestamp, exit code, and verbatim output
- If receipt missing, tool exits with code 2 and logs warning
- Audit journal records receipt name alongside verdict
证据
Every run of the check now writes its own receipt alongside its report: a file in the radars directory, stamped to the microsecond, containing the exit code and the exact text it printed — verbatim from the same buffer
- 记录日期: 2026-09-11T16:47:18.875Z