You can query a session's detections over HTTP, but there's no CLI shortcut. A one-liner would be handy for incident triage.
Task
Add a detections subcommand in apps/orchestrator/cli/__init__.py that calls GET /api/v1/audit/detections/{correlation_id} and prints the results as a readable table (rule, severity, summary). Mirror how the existing replay command reads from the API.
Acceptance criteria
You can query a session's detections over HTTP, but there's no CLI shortcut. A one-liner would be handy for incident triage.
Task
Add a
detectionssubcommand inapps/orchestrator/cli/__init__.pythat callsGET /api/v1/audit/detections/{correlation_id}and prints the results as a readable table (rule, severity, summary). Mirror how the existingreplaycommand reads from the API.Acceptance criteria
agentmetry detections <id>prints ranked detections, or "no detections" cleanly.replay/statsdo it).