0b01599eef
Both failed only in the full Linux suite, which the targeted local battery never ran: - test_update_zip_two_phase.py's AST guard (#76105) flags any code literal "Scripts" in hermes_cli as an open-coded venv layout. migrate_windows_bin_path's legacy PATH key now derives it via venv_bin_dir(root / "venv", windows=True) — same value, canonical helper. The literal `venv` component stays: the key must match what the pre-#83797 installer wrote to the registry, not where the venv lives now. - The managed-bin marker tests built expected PATH entries from tmp_path, so on a POSIX host they compared forward-slash strings against the backslash markers and could never match. Markers match Windows registry PATH entries, so the tests now feed Windows-shaped literals — host-independent, same contract.