Roll out in shadow mode¶
A concrete sequence for putting the gate in front of a real agent without stopping anything on day one. The reasoning is in Shadow-first adoption.
Day 1: shadow, audit on¶
aeon init # writes aeon.toml (mode = "shadow") and aeon_axioms.py
aeon doctor
Wrap the executor with enforce (see plain Python or an adapter) and ship. Nothing is stopped. Every decision goes to .aeon/audit.jsonl. If you cannot write to local disk, use audit = "memory" or an sqlite: path, and keep in mind that "off" means no record.
First week: read the log¶
aeon audit tail -n 200 --type decision
aeon audit export --format csv -o decisions.csv
aeon audit verify
Questions to answer from real traffic:
- Which axioms fire, how often, on which tools?
- For the verdicts at
BLOCK, would stopping have been right? Count the wrong ones. - What does the baseline look like?
GET /v1/status(oraeon_statusover MCP) shows each agent's calibration progress,deviation,accumulatedand level. - Is
audit.gapappearing? Then your event rate exceeds the queue.
Then: promote one rule at a time¶
- Set the budget's thresholds from what you saw (How to calibrate a budget). Keep it at
ALERTfirst. - Switch the rules you trust to
LIMITand wire an approval path. - Switch to
enforcefor one agent, with oneBLOCKrule you can explain. Keep the others in shadow. The mode is gate-wide, so use a separate gate or deployment if you need per-agent modes. - Rehearse the exit:
gate.reset("agent")and the kill-switch, so the first Safe State is not the first time anyone used them.
Rolling back¶
Set mode = "shadow" (or AEON_MODE=shadow, or POST /v1/mode). The change is recorded in the audit log as a mode event.
Before you trust a verdict¶
Run a campaign with a fault that matters to you, in staging. And read What BLOCK guarantees and Known limits.