feat(audit): record user action events across gateway and channels

This commit is contained in:
William Valentin
2026-02-16 13:21:15 -08:00
parent 3f627cc1ad
commit 9b76c75e82
8 changed files with 192 additions and 1 deletions
+16
View File
@@ -822,6 +822,22 @@ When the selected backend is unavailable (for example embedding provider errors)
| `top_k` | no | Max QMD results returned by `memory.search` (default: `8`) |
| `min_score` | no | Minimum relevance score (0.0-1.0) for QMD matches (default: `0.15`) |
## Session End Summary
Optionally summarize conversations when a WebSocket session ends and append the summary to memory.
```yaml
sessions:
end_summary:
enabled: true
tier: fast
memory_namespace: session/summaries
```
## Audit Trail
Flynn writes structured audit events to `audit.path`, including tool execution, session lifecycle, and user actions (`user.action`) from both channel and gateway requests.
## 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`.