docs(observability): document phase-0 telemetry and baseline workflow

This commit is contained in:
William Valentin
2026-02-25 09:22:56 -08:00
parent 0b8f7c7299
commit 8b5266c66c
8 changed files with 179 additions and 1 deletions
+10
View File
@@ -1494,6 +1494,16 @@ Session lifecycle now includes proactive context maintenance events:
- `session.checkpoint` when proactive checkpoint summaries are written to memory
- `session.auto_compact` when proactive critical-threshold auto-compaction runs
Phase 0 baseline observability adds:
- `run.state` (start/complete/cancel_requested/cancelled/error)
- `run.cancel` (cancel intent/ack + latency)
- `reaction.match` / `reaction.skip` (reaction decision outcomes + skip reasons)
Baseline summaries can be generated from audit logs:
```bash
pnpm audit:phase0-baseline --audit ~/.local/share/flynn/audit.log --since 2026-02-25T00:00:00Z --format markdown
```
## Gateway Lock
Single-client mode for the WebSocket gateway. When enabled, only one WebSocket connection is allowed at a time. Additional connections are rejected with close code `4003`.