Commit graph

2 commits

Author SHA1 Message Date
13a6b60c21 add patch audit and orphan inventory to consolidation diff log
7 root patch scripts audited (2 applied, 2 superseded, 3 abandoned).
All 7 safe to delete. 2 root orphans (extract.py, cascade.py) confirmed
stale vs canonical copies. Argus's 8 diagnostics patches listed but
not audited (his responsibility).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Pentagon-Agent: Epimetheus <0144398E-4ED3-4FE2-95A3-3D72E1ABF887>
2026-04-13 10:33:12 +02:00
5514e04498 Consolidate diagnostics Python files to ops/diagnostics/
Move vitality.py/vitality_routes.py from root diagnostics/ to ops/diagnostics/ (canonical location).
Overwrite ops/diagnostics/alerting.py and alerting_routes.py with root versions (newer: SQL injection protection via _ALLOWED_DIM_EXPRS, proper error handling + conn.close).
Remove root diagnostics/*.py — all code now in ops/diagnostics/.
Include diff log documenting resolution of each multi-copy file.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 10:12:04 +02:00