hermes-agent/web/src
Shannon Sands 6977d21fa7 feat(gateway): disk-usage telemetry + dashboard disk-pressure banner (NS-656)
Extends the NS-656 memory-pressure surface to cover disk exhaustion
(OOF-2 / OOF-107 lineage: agents fill their data volume — SQLite writes
fail, sessions stop persisting — while every dashboard looks healthy).

- gateway/disk_status.py (new): collect_disk_status() samples
  shutil.disk_usage(HERMES_HOME) and classifies pressure
  (critical: <256 MB free or >=95% used; elevated: <512 MB free).
  Never raises — degrades to pressure="unknown" with null telemetry,
  same contract as collect_memory_status().
- /api/status: sibling `disk` block next to `memory`, advisory only —
  not folded into component/overall health.
- web: DiskPressureStatus type; MemoryPressureBanner generalized to a
  resource banner with worst-first triggers (disk critical > memory
  critical > OOM restart > disk elevated > memory elevated) and
  cascading dismissals — hiding the top trigger surfaces the next one
  instead of silencing everything. All dismissals stay boot_id-scoped.
- i18n: diskCriticalBanner / diskElevatedBanner (en, optional fields
  with English fallback per existing pattern).

Tests: gateway/test_disk_status.py (14), web_server disk-block
presence/degradation, banner disk trigger/priority/dismissal-cascade
suite (21 total).
2026-08-13 20:30:12 -07:00
..
components feat(gateway): disk-usage telemetry + dashboard disk-pressure banner (NS-656) 2026-08-13 20:30:12 -07:00
contexts fix(sec): update npm deps to resolve `npm audit` warnings 2026-07-31 13:42:03 -04:00
hooks Merge remote-tracking branch 'origin/main' into refactor/use-ds-primitives 2026-05-28 14:20:49 -04:00
i18n feat(gateway): disk-usage telemetry + dashboard disk-pressure banner (NS-656) 2026-08-13 20:30:12 -07:00
lib feat(gateway): disk-usage telemetry + dashboard disk-pressure banner (NS-656) 2026-08-13 20:30:12 -07:00
pages fix(dashboard): bound WS ticket minting on the events + PTY sockets (supersedes #81931) (#81978) 2026-08-08 16:01:02 -04:00
plugins fix(plugins): keep loading gate when cached manifests include a /chat override 2026-08-03 18:48:04 +05:30
themes fix(web): theme terminal foreground and restore backdrop plugin slot 2026-06-29 12:30:24 -07:00
App.tsx fix(memory-status): review follow-ups — incident-keyed dismissal, honest copy, single mobile offset (NS-656) 2026-08-13 20:30:12 -07:00
index.css feat(web): add Arabic (ar) locale with RTL support 2026-07-24 12:10:00 -05:00
main.tsx fix(sec): update npm deps to resolve `npm audit` warnings 2026-07-31 13:42:03 -04:00