HERMES-GIELIE/static
nesquena-hermes 4e5eebd0d6 feat(#2941): add read-only LLM Wiki browser in the Insights panel
Surfaces the Hermes agent's LLM Wiki as a read-only knowledge-base
observability section in Insights (status counts + browsable read-only
pages). Unconfigured shows a clear "Unavailable" empty state.

Strictly read-only, auth-gated. The wiki file-serving path is hardened
against the full traversal/symlink/TOCTOU class (Codex + Opus review, each
vector regression-tested + toothless-checked):
- _llm_wiki_page_files resolves the wiki root once as the trust base;
  skips a section whose resolved path escapes the root; requires each *.md
  target's RESOLVED path under both real root and real section; rejects
  dot-prefixed segments on lexical AND resolved-relative paths (closes
  symlink-to-hidden/out-of-tree + symlinked-section escapes). Browse + read
  share this allowlist.
- /api/wiki/page rejects abs paths + a real '..' SEGMENT (legit v1..v2.md
  still opens); requires the resolved target in the allowlist; reads the
  resolved path with O_NOFOLLOW; and fstat-verifies the open fd's
  (st_dev, st_ino) against the identity captured at allowlist time — closing
  final-component AND parent-directory symlink-swap TOCTOU races. Any
  mismatch/vanish -> clean 404, never a 500.

Co-authored-by: Rod Boev <rod.boev@gmail.com>
2026-06-17 19:47:45 +00:00
..
vendor
apple-touch-icon.png
assistant_turn_anchors.js Add assistant turn anchor renderer snapshot adapter 2026-06-14 02:03:45 +08:00
boot.js Release v0.51.475 — ElevenLabs TTS engine (#3510) 2026-06-17 05:50:37 +00:00
commands.js fix(autocomplete): support slash commands after non-ASCII prefix and multiple slashes (#3924) 2026-06-14 19:57:17 +00:00
favicon-32.png
favicon-192.png
favicon-512.png
favicon-512.svg
favicon.ico
favicon.svg
i18n.js feat(#2941): add read-only LLM Wiki browser in the Insights panel 2026-06-17 19:47:45 +00:00
icons.js feat(#4226): display symlinks in workspace file tree (#4228) 2026-06-16 23:24:15 +00:00
index.html Release v0.51.475 — ElevenLabs TTS engine (#3510) 2026-06-17 05:50:37 +00:00
login.js
manifest.json
messages.js Release PB: honest notification-permission controls (#4118) (#4265) 2026-06-15 13:42:46 -07:00
onboarding.js
outline.js fix(outline): keep outline valid on the todos sidebar panel (Opus follow-up) 2026-06-10 23:55:05 +00:00
panels.js feat(#2941): add read-only LLM Wiki browser in the Insights panel 2026-06-17 19:47:45 +00:00
pwa-startup.js
sessions.js Release v0.51.474 — reconcile WebUI session detail source flags (#4348) 2026-06-17 05:11:45 +00:00
style.css Release v0.51.471 — searchable settings (#3850) 2026-06-17 04:05:00 +00:00
sw.js fix: focus the existing chat tab when a notification is clicked instead of opening a new tab 2026-06-13 14:42:41 -07:00
terminal.js Release v0.51.297 — stage-3711 (terminal remote-backend guard #3711) (#3745) 2026-06-06 14:17:17 -07:00
ui.js fix: report non-git installs as "can't check" instead of "up to date" (#4356) 2026-06-17 16:36:26 +00:00
workspace.js feat(#2941): add read-only LLM Wiki browser in the Insights panel 2026-06-17 19:47:45 +00:00