Files
hermes-agent/scripts/move
alt-glitch ca771e9650 fix(move-shims): an old-name python -m launch on a healthy tree no longer runs the whole bootstrap
The generated old-path file imported the root hermes_bootstrap on every python -m launch, so light targets that never imported it (an old updater's abort recovery, uninstall) ran launch preparation and dependency activation, and exited 1 when activation failed.
It now forwards first and imports hermes_bootstrap only when forwarding fails during a python -m launch (a torn or moved-aside hermes_agent), then forwards once more. The torn-update test tears the compat package itself, so it fails when the repair comes after the compat import.
2026-11-13 18:45:33 +00:00
..