diff --git a/EVENTS.md b/EVENTS.md
index 1a41017..c9e7095 100644
--- a/EVENTS.md
+++ b/EVENTS.md
@@ -4,7 +4,7 @@ The events system provides a real-time text stream of all AnviLLM activity using
## Architecture
-
+
Multiple clients can read from `agent/events` simultaneously, each consuming the same event stream for different purposes: notifications (desktop, SMS, WhatsApp), logging/auditing, custom integrations, etc.
diff --git a/README.md b/README.md
index 9168ab9..0072129 100644
--- a/README.md
+++ b/README.md
@@ -120,7 +120,7 @@ Templates use `{VARNAME}` syntax. Any environment variable can be referenced.
**Config** (`~/.config/anvillm/`): Layered YAML files, most permissive wins:
-
+
- Default role: `roles/default.yaml`
@@ -136,13 +136,13 @@ Set `best_effort: true` for unsandboxed fallback (⚠️ if no Landlock support)
**Session lifecycle:**
-
+
State transitions: `idle` ↔ `running` cycle via CLI hooks (`userPromptSubmit` when user sends prompt, `stop` when agent finishes). Crash → `error` → auto-restart → `starting`. Note: any state can transition to `stopped` or `killed` (not shown); `stopped` can restart → `starting`.
**Self-healing:** Auto-restarts crashes every 5s (preserves context/alias/cwd), skips intentional stops
-
+
┌─────────┐ crash ┌─────────┐ 5s wait ┌─────────┐
│ running │─────────►│ error │──────────►│ running │
└─────────┘ └─────────┘ └─────────┘
@@ -228,7 +228,7 @@ agent/
**Client Interactions:**
-
+
Different clients interact with different parts of the filesystem: frontends read state, control files manage sessions, scripts consume events.