Files
hermes-agent/tools/environments
John Paul Soliva 136135e653 fix(cron): overlay the routed no_agent scope inside build_subprocess_env
Main moved the no_agent script env to the factory (build_subprocess_env(strip_launch_profile=True),
e1c0896518) so the spawn site takes no raw os.environ snapshot. The restored routed-fire overlay
(installed scope, then managed keys, both before the scrub) now lives behind that same flag instead
of a dict(os.environ) copy at the spawn site: strip -> overlay -> sanitize, unchanged order, and a
no-op outside multiplex semantics, so a single-profile child stays byte-identical. The flag's only
caller is the cron script runner.

(cherry picked from commit 800c37e7323443c4d4719c0d6a43e028018286e3)
2026-09-29 22:57:48 -04:00
..
…
…
…
…