From 75f478750cbaf1ab3d207a6d3dd2adcd01847d0e Mon Sep 17 00:00:00 2001 From: firefly Date: Fri, 29 May 2026 18:13:45 -0400 Subject: [PATCH] docs(test): correct None-semantics comment in test_runtime_cwd (discovery not skipped) --- tests/agent/test_runtime_cwd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/agent/test_runtime_cwd.py b/tests/agent/test_runtime_cwd.py index 95df92509..f1f8049d5 100644 --- a/tests/agent/test_runtime_cwd.py +++ b/tests/agent/test_runtime_cwd.py @@ -34,8 +34,8 @@ class TestResolveContextCwd: assert resolve_context_cwd() == tmp_path def test_returns_none_when_unset(self, monkeypatch): - # None is load-bearing: it tells the caller to skip context-file discovery - # (don't slurp the gateway install dir's AGENTS.md). + # Unset → None; the caller (build_context_files_prompt) then getcwds — + # the local-CLI #19242 contract. Discovery still runs; it is NOT skipped. monkeypatch.delenv("TERMINAL_CWD", raising=False) assert resolve_context_cwd() is None