The salvaged test was marked platforms("posix"), which makes
list_os_marked_tests.py hand tests/ci/test_prompt_surface.py to the
macOS lane. There the render dies before the symlink matters: the
sys.platform pin breaks sysconfig (ModuleNotFoundError:
_sysconfigdata__linux_darwin), so the lane goes red on this PR. Open
#148366 fixes that pin; widen the marker to posix once it lands.
The test fabricates its own symlink, so Linux exercises the fix fully.
On mini (macOS 27.2.1, arm64) with #148366's preload applied to a
private copy, the base render failed this test and
test_committed_prompt_surface_is_current (10 stale files), and the
fixed render passed all four tests that need no .git checkout.