What problem does it solve?
audit-cache helps you prevent your accounting system from operating on outdated or inconsistent cached metadata that can silently skew results.
Core Features & Use Cases
- Cache invalidation strategy review: Checks whether caches for PDFs and XML are invalidated correctly using mtime/size or hashes, rather than relying on fragile assumptions.
- Cache corruption handling assessment: Verifies how JSON cache read failures (e.g., JSON decoding issues) are handled and whether corrupted cache files are cleaned up.
- Hacienda cache coherence check: Audits access patterns around hacienda_cache usage to confirm whether it is treated consistently and read-only where intended.
Quick Start
Ask the auditor AI to run an audit of the current cache coherence for pdf_cache, xml_cache, and hacienda_cache.db and report any stale-data or corruption-handling issues it finds in the relevant source files.