Skip to content
Press / to search

Fleet Governance (Tower & ctx CLI)

Operate fleets of contextosd gateways: audit-computed inventory, shadow detection, two-person lifecycle approvals, 4-scope kill switches, posture dashboard, and offline audit packs.

Implementation GuideLast reviewed:
At a glance

Runtime · v0.1.0-alpha.24Implemented in contextosai/ContextOS (Rust gateway & Tower). APIs and storage formats still evolve between alpha tags.
Guarantees & limits

Governing a single tool call stops immediate incidents, but security teams and auditors ask fleet-level questions: Which agents are running? What tools and models did they touch? Who approved risky calls, and are approvers rubber-stamping them? How do we stop a misbehaving agent everywhere at once?

Tower (towerd + console) and the ctx CLI answer those questions from the verified audit chain published by contextosd.

Inventory and shadow detection

Tower computes its live inventory on read from verified audit entries and configured declarations for connected runtimes.

  • Any tool an agent reached for outside its Context Pack, or any undeclared model, surfaces as a shadow finding.
  • Run ctx inventory --fail-on-shadow offline against an audit export in CI to block undeclared agents, tools, or models from shipping.

Lifecycle, kill switches, and break-glass

  • Two-person lifecycle approvals (on by default): moving an agent across proposed → approved → active → suspended → retired requires a second operator. Suspending or retiring revokes the agent across every connected runtime; resuming restores only what the suspension placed so incident revocations stay active.
  • Four-scope runtime kill switch: revoke one agent, one tool capability or adapter, one tenant, or all tenants. Global revocation requires a named principal. Tower can send fleet revocations to the runtimes it controls.
  • Time-bounded break-glass: a separate incident credential can lift a change freeze or open circuit breaker for named capabilities for at most one hour. Every permitted call is audited and stays open as a Tower finding until reviewed by a second person. Break-glass never bypasses approvals, budgets, shared ceilings, revocations, or tenant isolation.

Operations, approvals, and simulation

  • Posture dashboard & incident cases: view held effects, refusals by reason, pending approvals, ceilings near capacity, MCP drift quarantines, active waivers, unreviewed break-glass, and audit-chain health. Open incident cases with timelines and hashed report exports.
  • Approval analytics & relay: track denial and override rates alongside time-to-approve to flag rubber-stamp approvers. A reference approval relay routes requests to Slack, Teams, and email with signed callbacks, tier escalation, and out-of-office delegation.
  • Evaluation-gated releases: admit a covered agent’s runs only after required evaluation suites (including case counts, suite versions, and ctx reliability-gate paired pass^k checks) pass on that exact release.
  • Dry-run with ctx simulate: replay recorded runs under a candidate Context Pack and list every decision that would change before rollout.
  • Access reviews & chargeback: attest to used/unused grants and stale delegations, and export CSV spend chargeback grouped by business unit, owner, and tenant (separating measured, self-reported, and uncovered usage).

Compliance evidence and offline audit packs

  • ctx audit-pack: generates one signed folder containing audit entries, keys, and a standalone verify.py script that an external auditor runs using only Python’s standard library and an out-of-band public key.
  • Compliance mappings: ctx evidence-pack maps controls for SOC 2, ISO/IEC 42001, the EU AI Act, and the OWASP Agentic list, labeling each control explicitly as covered, partial (naming gaps), or organizational.
  • SIEM & telemetry sinks: ship audit events to Splunk HEC, Datadog, and Elasticsearch bulk, and emit OpenTelemetry GenAI evaluation and duration metrics.
  • Privacy controls: apply legal holds by run, tenant, or subject. Subject holds and erasure cover indexed runs. Set subject_key_env to use keyed HMAC subject digests and preserve audit chain verification.