test: make GitTerminalPromptOnIsNotAgent hermetic
main·
Commit

Clear sibling agent-detection env vars (GEMINI_CLI, COPILOT_CLI, PI_CODING_AGENT) so the test does not depend on parent environment. Fixes flakiness when running inside pi, gemini-cli, or copilot-cli.
Entire-Checkpoint: eb5e53e98303
Checkpoints
Checkpoint 1