Overview
Best-practice guides in rousseau distil the operational patterns we've watched hold up under real conditions: secrets that survive a rotation, egress rules that don't accidentally block your daemon, session stores that survive an outage, cost dashboards that catch prompt-loop bugs.
Guide index
| Guide | Audience |
|---|---|
| Secret management | Every operator |
| Network egress | Platform / security team |
| Session hygiene | Individual operators |
| Approval rules | Everyone; distinct patterns per role |
| Multi-tenant | Platform teams |
| Disaster recovery | SREs |
| Cost control | Finance / platform |
First principles
- Never store an API key in
config.yamlunless the file is encrypted at rest and its permissions are0600. Prefer env vars,AWS_PROFILE,GOOGLE_APPLICATION_CREDENTIALS, or a secrets manager. - Approve tools, not conversations. The pattern-mode approver runs before every tool invocation. Prefer narrow allow-rules over broad ones.
- Backup
sessions.dbbefore every upgrade. It's a single SQLite file —cpis enough. - Deny by default.
agent.approver.default: denywith explicit allow rules is safer thandefault: allowwith deny exceptions. - Log to journalctl, not
>logs/rousseau.log. systemd rotation is battle-tested.