Commit graph

7 commits

Author SHA1 Message Date
6ffc7d5d71 leo: add diagnostics — evolution tracking, weekly report, classified PR log
Some checks are pending
Mirror PR to Forgejo / mirror (pull_request) Waiting to run
- What: New diagnostics/ folder with three files:
  - evolution.md: phase narrative, daily heartbeat table, milestones, flags
  - weekly/2026-03-25-week3.md: Week 3 synthesis (Mar 17-23)
  - pr-log.md: 1,211 classified commits (44 HIGH, 862 MED, 305 LOW)
- Why: No visibility into how the KB is evolving. This is the first
  retrospective analysis of all 1,939 commits across 20 days.
  Weekly reports Mon-Sun, numbered from codex epoch (Week 1 = Mar 3-9).

Pentagon-Agent: Leo <A3DC172B-F0A4-4408-9E3B-CF842616AAE1>
2026-04-14 18:12:18 +00:00
9fea4fc7df Delete stale diagnostics/ report files — data lives in pipeline.db
Removed pr-log.md (1,211 entries from Mar 25), evolution.md, weekly report,
and PATCH_INSTRUCTIONS.md (superseded by ops/AGENT-SOP.md). All regenerable
from pipeline.db on demand.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 16:19:24 +01:00
0d718f0786 Session capture: 20260414-114853 2026-04-14 12:48:53 +01:00
4e20986c25 ship: add agent SOP, auto-deploy infrastructure, cleanup stale files
- AGENT-SOP.md: enforceable checklist for commit/review/deploy cycle
- auto-deploy.sh + systemd units: 2-min timer pulls from Forgejo, syncs
  to working dirs, restarts services only when Python changes, smoke tests
- prune-branches.sh: dry-run-by-default branch cleanup tool
- Delete root diagnostics/ (stale artifacts, all code moved to ops/)
- Delete 7 orphaned HTML prototypes (untracked, local-only)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 12:46:25 +01: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
33e670b436 argus: add active alerting system (Phase 1)
Three new files for the engineering acceleration initiative:
- alerting.py: 7 health check functions (dormant agents, quality regression,
  throughput anomaly, rejection spikes, stuck loops, cost spikes, domain
  rejection patterns) + failure report generator
- alerting_routes.py: /check, /api/alerts, /api/failure-report/{agent} endpoints
- PATCH_INSTRUCTIONS.md: integration guide for app.py (imports, route
  registration, auth middleware bypass, DB connection)

Observe and alert only — no pipeline modification. Independence constraint
is load-bearing for measurement trustworthiness.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 22:45:07 +00:00
01b539a484 leo: add diagnostics — evolution tracking, weekly report, classified PR log
- What: New diagnostics/ folder with three files:
  - evolution.md: phase narrative, daily heartbeat table, milestones, flags
  - weekly/2026-03-25-week3.md: Week 3 synthesis (Mar 17-23)
  - pr-log.md: 1,211 classified commits (44 HIGH, 862 MED, 305 LOW)
- Why: No visibility into how the KB is evolving. This is the first
  retrospective analysis of all 1,939 commits across 20 days.
  Weekly reports Mon-Sun, numbered from codex epoch (Week 1 = Mar 3-9).

Pentagon-Agent: Leo <A3DC172B-F0A4-4408-9E3B-CF842616AAE1>
2026-03-25 15:44:59 +00:00