?

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.yaml unless the file is encrypted at rest and its permissions are 0600. 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.db before every upgrade. It's a single SQLite file — cp is enough.
  • Deny by default. agent.approver.default: deny with explicit allow rules is safer than default: allow with deny exceptions.
  • Log to journalctl, not >logs/rousseau.log. systemd rotation is battle-tested.

Related pages

Type to search 150+ pages. Ranking: BM25 with title/description boost.