mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-09 13:21:42 +00:00
Instead of an external watcher chasing 5-10 concurrent session pids, every TUI samples ITSELF at 1Hz (rss/heap/external + windowing mounted/peak-mounted counters) into ~/.hermes/logs/memwatch/, gated by HERMES_TUI_MEMLOG (defaults to the HERMES_TUI_DIAGNOSTICS master switch) — one shell-rc export covers every session a dev ever starts. Unref'd timer, every failure path silently disables, 14-day retention. bench/memwatch-report.mjs aggregates the fleet: per-session baseline/peak/last, steady-state MB/h slope, peak mounted rows, and SLOPE/PEAK/MOUNTED anomaly flags. Verified live: two fake-gateway smoke sessions logged and aggregated (102MB base, mounted ≤60). |
||
|---|---|---|
| .. | ||
| design | ||
| kanban | ||
| middleware | ||
| observability | ||
| plans | ||
| security | ||
| hermes-kanban-v1-spec.pdf | ||
| opentui-env-flags.md | ||
| opentui-memory-story.md | ||
| opentui-upstream-alignment.md | ||