Agent alerts
Agents can now raise alerts when something needs a person. Define alert schemas per agent, raise and clear with severity and a structured payload through the API and CLI, and get every lifecycle event recorded as a span so the history is auditable.
Alerts are raised and cleared by name against an agent instance, so an instance only ever has one live alert per condition — re-raising updates it in place instead of piling up duplicates. Each alert carries a severity from info to critical, a payload validated against an alert schema you define alongside your span schemas, and a short summary rendered from the schema's template with sensitive fields redacted.
Every raise, clear, and update also writes an alert span, including which fields changed — so an alert's full history is reconstructable from the span stream and you can prove what was raised, when, and why. List, read, raise, and clear through the REST and JSON-RPC APIs or the CLI, with filtering by agent, instance, environment, status, severity, and name.