Hermes source: tools/approval_floors.py, tools/approval.py, tools/approval_smart.py, tools/checkpoint_manager.py.
Mechanics to implement (ARGUS and capability doctrine as one ordering rule the loop cannot skip):
- Floors first, unconditional in every mode including any yolo or off setting: a hardline command list, deletion of the runtime itself, sudo with a piped password, and the operator's own deny patterns, which outrank every shortcut.
- Only after the floors: mode, permanent allowlist, whether a person is present, dangerous-command patterns, then the human decision. Unattended modes default to deny. A guardian-model mode (approve, deny, escalate) sits behind a circuit breaker.
- File checkpoints in one shared bare git store, one snapshot per directory per turn, plus a ledger of the agent's own writes, so a rollback restores only what the agent changed and leaves the operator's own edits alone.
Acceptance: an operator deny pattern blocks a command in every mode with a test per mode; a rollback after mixed operator and agent edits restores only the agent's files.
Parent: aien-dev/aien-architecture#267. Research note: aien-architecture docs/research/hermes-agent-prior-art.md. Prior art: Hermes Agent, Nous Research, MIT, commit 5480918 (2026-10-18). No Hermes code is copied; the mechanism is re-implemented from reading. The module header credits Hermes Agent, Nous Research, the MIT licence and the commit. Rust now, pure part effect-free and content-addressed so it can move to Omega (ADR 0024). No Python.
🤖 Generated with Claude Code