Closing the Loop on Metrics Workflow

Closing the Loop on Metrics Workflow A workflow diagram generated by Archify. 01 / Telemetry & Observability 02 / Deterministic Detection 03 / Headless Claude Agent 04 / On-call Human Triage & Governance Anomaly Detection Stateless Diagnosis SDLC Re-entry Telemetry Stream · Prometheus & CI stats · Telemetry & Observability › Anomaly Detection · rolling baseline Telemetry Stream Prometheus & CI stats rolling baseline Deterministic Script · bands.yaml sigma rules · Deterministic Detection › Anomaly Detection · no LLM in check Deterministic Script bands.yaml sigma rules no LLM in check Headless Diagnosis · read logs & git history · Headless Claude Agent › Stateless Diagnosis · stateless run Headless Diagnosis read logs & git history stateless run Generate intent.md · anomaly evidence & proposal · Headless Claude Agent › Stateless Diagnosis · proto-spec Generate intent.md anomaly evidence & proposal proto-spec On-call Triage Gate · fix now, schedule, dismiss · On-call Human Triage & Governance › SDLC Re-entry · human judgment On-call Triage Gate fix now, schedule, dismiss human judgment Stage 1: Plan Ingestion · spec.md & plan mode kickoff · On-call Human Triage & Governance › SDLC Re-entry · loop restarted Stage 1: Plan Ingestion spec.md & plan mode kickoff loop restarted draft incident invoke claude -p queue item 3-sigma breach approved intent Legend User UI Agent logic Policy Tool action Context / trace

Closing the Loop Contract

  • • Stage 6 Maintain tự động phát hiện lỗi và khởi tạo intent.md
  • • Con người đánh giá độ ưu tiên mà không cần túc trực bắt đầu thủ công

Deterministic Bands

  • • 1σ: Chỉ ghi log hệ thống
  • • 2σ: Kích hoạt Claude chẩn đoán read-only
  • • 3σ: Sinh intent.md hoặc kích hoạt rollback runbook đã phê duyệt