Files
hermes-agent/tests
teknium1 fbe85963de fix(tui): session-bound config.set persists into the session profile, not the launch profile
Desktop app-global remote mode and the Ink TUI send `config.set` with `session_id` and no
`profile` param. `@_profile_scoped` only bound `params["profile"]`, so a write from a focused
worker session round-tripped `_load_cfg_raw()`/`_save_cfg()` against the LAUNCH profile's
config.yaml while the worker profile kept its old value (and reverted on restart).

The decorator now falls back to the named session's `profile_home` when `profile` is absent,
binding the full runtime scope (home + secrets + terminal) the same way an explicit profile
does. `config.set cwd` from a profile-bound session no longer publishes `TERMINAL_CWD` into
the shared process env (that variable belongs to the launch profile).

Closes #85669. Supersedes #85676 (its diff predates the methods_* split).

Co-authored-by: worlldz <cryptoworlldz@gmail.com>
2026-09-18 15:12:27 -07:00
..
…