TheFlow
|
285e62d601
|
feat(audit): integrate validate-file-write with audit logging and add data quality insights
- Added audit database logging to all 7 validation check points in validate-file-write.js
* CSP violations (inst_038)
* Pre-action check failures (inst_038)
* Overwrite without read (inst_038)
* Instruction conflicts (CrossReferenceValidator)
* Boundary violations (inst_020)
* GitHub URL protection (inst_084)
* Success logging (no violations)
- Added data quality insights section to audit analytics dashboard
* Detects and explains when violations > blocked decisions
* Shows average violations per block
* Counts decisions with multiple violations
* Provides user-friendly explanation that this is expected behavior
- Added scripts/add-instruction.js tool for safe instruction management
* Bypasses inst_027 protection
* Full CLI with argument parsing
* Auto-generates instruction IDs
Resolves dual hook system logging gap - all validators now log to MongoDB
|
2025-10-28 12:22:10 +13:00 |
|