Files
hermes-agent/tools
liuzikaii c99dbba33e fix(code-execution): remote kernels are keyed by their sandbox tool set (#97263)
The hermes_tools stub module a remote kernel imports is generated from sandbox_tools once,
at spawn, but the registry key was (owner, env_type, task_env_id) only: a later
execute_code call with a different tool set (skill loaded, toolset toggled) reused the
kernel and got stale stubs. The tool set is now part of the key; a different set gets
its own kernel and the over-cap eviction keeps the newest.

Salvaged from #97265 by @Liuzikaii.
2026-09-05 18:46:53 +05:30
..