Guard OS Telemetry Adapter: Extracting Unified Risk Scores from Raw Agent Execution Logs for Bounded Circuit-Breaking and Shadow Audit
This technical guide and reproducible Python reference implementation addresses a practical gap in deploying Guard OS in production: how to compute a unified risk score directly from raw agent execution telemetry (such as citation coverage, multi-branch disagreement, tool side-effect level, consecutive tool calls, schema validation errors, and token entropy). Evaluated over a 120-step benchmark (dt = 0.05 s, seed = 42, unsafe threshold = 0.60) featuring both a grounding/disagreement window and a high side-effect/loop window, it provides a telemetry risk extractor (extract_risk_from_telemetry), a bounded 4-state circuit breaker (decide_adapter_circuit_action), and an end-to-end CSV shadow auditor (run_telemetry_adapter_shadow_audit). Included in this practical adapter guide:- Multi-signal raw telemetry risk extraction (extract_risk_from_telemetry) and 4-state circuit breaker (decide_adapter_circuit_action).- 120-step benchmark comparing Uncontrolled (peak risk 0.655, 5 unsafe steps >= 0.60), Single-Metric Rule, and Telemetry Guard OS (peak post-guard risk 0.436, 0 unsafe steps).- End-to-end raw telemetry CSV shadow auditor (run_telemetry_adapter_shadow_audit) and deployment steps. License & Commercial Inquiries:Released under a Non-Exclusive Open Research License for academic, evaluation, and non-commercial use. For commercial deployment, industrial integration, or licensing inquiries, please contact: [email protected]
Authors
- Shizuka Itou
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-01
- DOI
- https://doi.org/10.5281/zenodo.24712456
- Primary Topic
- Software System Performance and Reliability
- Type
- article
- Field-Weighted Citation Impact
- 0.00