From 81794c4a5e95b3f711bfccda4d4ce3c3813e3bf0 Mon Sep 17 00:00:00 2001 From: Ripley Date: Sun, 10 May 2026 19:41:22 -0500 Subject: [PATCH] =?UTF-8?q?docs:=20bump=20to=20v0.0.3=20=E2=80=94=20Phase?= =?UTF-8?q?=202=20monitoring=20models?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HISTORY.md | 19 +++++++++++++++++++ VERSION.md | 15 +++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/HISTORY.md b/HISTORY.md index e251f71..c1acaf1 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,5 +1,24 @@ # Mission Control — Changelog +## v0.0.3 + +### Added +- **Phase 2: Monitoring database models** — 7 new SQLModel tables for gateway data collection +- **CostSnapshot** — Timestamped cost readings from gateway RPC (per-model, per-provider breakdown) +- **CronJobStatus** — Cron job state, schedule, failure tracking +- **SessionEvent** — Session lifecycle events with model, channel, context%, token counts +- **SubAgentRun** — Sub-agent execution records with duration, cost, token tracking +- **SystemHealthMetric** — CPU, RAM, swap, disk, gateway status metrics +- **AlertRule** — Configurable alert thresholds with comparison operators and cooldown +- **AlertEvent** — Triggered alert instances with acknowledgment and resolution tracking +- **Alembic migration 7a8b9c0d1e2f** — Creates all 7 monitoring tables with FKs and indexes +- **Alembic migration 8f9a0b1c2d3e** — Adds ON DELETE CASCADE to all FKs, SET NULL on acknowledged_by, 14 composite indexes +- **Security audit passed** — Hudson: 1 CRITICAL (CASCADE), 2 HIGH (mass assignment, indexes), 3 MEDIUM — all remediated + +### Changed +- Frontend dev port changed from 3080 to 3037 +- Migration env.py updated for transaction-per-migration to prevent failure chaining + ## v0.0.2 ### Added diff --git a/VERSION.md b/VERSION.md index e5b638c..a945c33 100644 --- a/VERSION.md +++ b/VERSION.md @@ -1,5 +1,20 @@ # Mission Control — Version History +## v0.0.3 — 2026-05-11 +- **Phase 2: Monitoring database models** +- Add 7 new SQLModel tables for monitoring data collection +- CostSnapshot: timestamped cost readings from gateway RPC +- CronJobStatus: cron job state, schedule, failure tracking +- SessionEvent: session lifecycle events with token counts +- SubAgentRun: sub-agent execution records +- SystemHealthMetric: CPU, RAM, swap, disk, gateway status +- AlertRule: configurable alert thresholds with cooldown +- AlertEvent: triggered alert instances with acknowledgment +- Security: ON DELETE CASCADE on all FK constraints, SET NULL on acknowledged_by +- Performance: composite indexes on (org_id, created_at) and (org_id, gateway_id) +- Two Alembic migrations: table creation + CASCADE/index follow-up +- Frontend port changed to 3037 + ## v0.0.2 — 2026-05-10 - **Phase 1 CRITICAL: Base platform forked and running locally** - Copied base platform (Python/FastAPI backend + Next.js frontend) into src/