hermes-agent/tui_gateway
Teknium 8babfe95b4 fix(gateway): only follow settles into same-repo worktrees; never override an explicit cwd
Builds on #72787's current_root guard (cherry-picked with authorship
preserved). Two further hardenings for #72776:

- require the settled cwd and the workspace to share the same common .git
  dir (the shape 'git worktree add' produces), so a git workspace visiting
  an UNRELATED repo is a browsing visit, not a re-home (repro'd by
  Johnny-xuan in the issue thread);
- never reconcile over an explicitly chosen workspace (explicit_cwd),
  while a settle-adopted cwd stays followable via a cwd_from_settle
  marker cleared by _set_session_cwd / project switch.

Fixes #72776
2026-08-01 10:51:30 -07:00
..
__init__.py
_stdin_recovery.py
compute_host.py fix(tui): preserve queued image ownership 2026-08-01 15:58:42 +05:30
entry.py feat(gateway): generalize the skin watcher into a change watcher (pet/cron/sessions broadcasts) 2026-07-28 17:21:57 -05:00
event_publisher.py
git_probe.py
host_supervisor.py fix(windows): widen utf-8 subprocess decode guard to sibling desktop-backend sites 2026-07-24 09:48:28 -07:00
loop_noise.py
method_ctx.py refactor(tui): split @method handlers into methods_* modules (mechanical move, registry set-equality verified) 2026-07-29 11:46:31 -07:00
methods_complete.py feat(tui): rank the slash menu by the skills you actually use 2026-08-01 01:17:41 -05:00
methods_config.py fix(tui): rebind extracted config handler to shared indicator constants 2026-07-31 22:33:16 -07:00
methods_prompt.py fix(gateway): fail prompt.submit when session storage hits a full disk 2026-08-01 00:27:17 -05:00
methods_session.py fix(tui): preserve queued image ownership 2026-08-01 15:58:42 +05:30
methods_tools.py refactor(tui): split @method handlers into methods_* modules (mechanical move, registry set-equality verified) 2026-07-29 11:46:31 -07:00
project_tree.py feat(gateway): group unplaced sessions into a Home bucket in the project tree 2026-07-27 16:04:57 -05:00
render.py
server.py fix(gateway): only follow settles into same-repo worktrees; never override an explicit cwd 2026-08-01 10:51:30 -07:00
slash_worker.py
synthetic_turn.py
transport.py
turn_marker.py feat(desktop): crash-survivable in-flight turn journal 2026-07-24 23:31:55 -05:00
ws.py Merge pull request #70509 from NousResearch/hermes/hermes-29661bf6 2026-07-28 17:58:33 -07:00