HERMES-GIELIE/docs
Isla Liu 9870e8f111 fix(session): address Copilot review — scope tool-card dedupe by stream id + tighten docs
Four code-review comments from the automated Copilot reviewer on this PR:

1. `_journal_tool_already_present` dedupe was session-wide, so a
   legitimately-repeated tool (e.g. a second `terminal: ls` in an
   earlier turn) could cause the retry path to falsely skip
   materializing the recovered tool card.  The helper now takes a
   keyword `stream_id` argument; when supplied, a tool card whose
   `_recovered_stream_id` is set AND differs from the candidate is no
   longer treated as a duplicate.  Untagged tool cards (live tools, or
   tool cards carried over from a pre-tagging core transcript) still
   match, preserving the existing 'core transcript already has this
   tool, don't duplicate' invariant.  Two new tests in
   `TestJournalToolDedupeScoping` cover both legs of the rule.

2./3. The troubleshooting FAQ pointed at `~/.hermes/webui/sessions/session_<sid>.json`
   and `~/.hermes/_run_journal/...`.  The actual sidecar filename has
   no `session_` prefix and the run-journal lives under the WebUI
   sessions dir (`~/.hermes/webui/sessions/_run_journal/<sid>/<stream>.jsonl`,
   default).  Both paths fixed and an explicit note added about
   `HERMES_WEBUI_STATE_DIR` overriding the state root.

4. Drop unused `json` / `queue` / `Path` imports from
   `tests/test_session_lost_response_regression.py` so the file stops
   carrying noise that future linting would flag.
2026-05-20 12:18:03 +08:00
..
images Fix board selector label overlap 2026-05-18 16:02:56 +08:00
pr-assets fix(ui): restore rail-era app titlebar state (v0.50.226) (#1163) 2026-04-27 11:43:32 -07:00
pr-media Move PR #2548 screenshots into docs/pr-media/2548 (project convention) 2026-05-19 03:14:04 +00:00
rfcs feat(runtime): add runner adapter facade 2026-05-19 12:06:57 -07:00
ui-ux docs: align uiux demo theme controls 2026-05-18 12:50:25 +08:00
CONTRACTS.md docs: include Geist Contrast in contracts index 2026-05-20 00:09:06 +00:00
docker.md Stage 382: PR #2503 2026-05-18 03:45:42 +00:00
EXTENSIONS.md Opus pre-release follow-ups for PR #1445 2026-05-02 03:49:40 +00:00
ISSUES.md fix(#1195): route sessions to profile dir even when dir doesn't exist yet (#1373) 2026-04-30 23:24:31 +00:00
onboarding-agent-checklist.md docs: add agent onboarding entrypoint 2026-05-13 16:47:14 +08:00
onboarding.md docs: add agent onboarding entrypoint 2026-05-13 16:47:14 +08:00
supervisor.md fix: harden persistent WebUI health checks 2026-05-04 15:30:37 -07:00
troubleshooting.md fix(session): address Copilot review — scope tool-card dedupe by stream id + tighten docs 2026-05-20 12:18:03 +08:00
UIUX-GUIDE.md feat: add Geist Contrast skin 2026-05-20 00:09:06 +00:00
wsl-autostart.md docs: add WSL WebUI autostart helpers 2026-05-05 01:12:07 +00:00