feat(monitoring): routing-decision persistence, /metrics, monitoring TUI, router-cli #4
Reference in New Issue
Block a user
Delete Branch "neuralwatt-router-service"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds a monitoring/observability stack to the local LLM model router:
route_decisionstable, gated bylogging.log_route_decisions, never persisting session_dir or conversation text, and never regenerating the live DB (guardedCREATE TABLE IF NOT EXISTSensured on the write path).quota_burn/scoring_coveragemoved into a read-only aggregator (breaking a would-be circular import), plusrecent_decisions/per_model/verdict_mix/top_proficiency;/healthimports from it;GET /metricsexposes a 7-key, window-bounded, loopback-only JSON view.Full offline test suite green (505 passed). No auth added; nothing beyond pinned textual; live DB never regenerated.