AAA Doctrine
What AAA Is
AAA (Agent Authentication & Authorization) is the protocol layer that governs how agents identify themselves, prove their authority, and execute actions within the arifOS Federation.
AAA is not a authentication system in the traditional sense. It is a constitutional trust layer — it answers the question: "Is this agent permitted to do this thing, by whom, under what constraints?"
The Three Layers
actor_id is not a governed session.constitution_hash + invariants_hash at boot. This proves the agent is running under F1–F13 floors, not a stripped-down variant.Authorization Model
arif_session_init with actor_id. Receives constitution_hash, session_id, and next_allowed_tools.Federation Agent Roles
Within the arifOS Federation, agents have distinct roles with bounded authority:
- OPENCLAW (AGI) — Executor. Manages infra, Docker, config, secrets, VPS ops. Cannot claim constitutional verdicts; routes to APEX.
- Hermes (ASI) — Deliberative relay. Synthesizes architecture, briefings, world events. Cannot edit config files without OpenClaw present.
- Domain Organs (GEOX, WEALTH, WELL) — Domain intelligence. Each has a public MCP surface. Cross-organ actions require arifOS gateway routing.
Failover Protocol
If OpenClaw goes dark: Hermes becomes active executor for infra tasks, with 15-minute timeout before Arif is notified.
If Hermes goes dark: OpenClaw becomes active executor for human-life tasks, attempts revival sequence.
If both go dark: Neither agent acts unilaterally. VAULT999 is written with failure state. Arif is notified.