From e86ed805eecb576ceee998c10fd97b989ed72455 Mon Sep 17 00:00:00 2001 From: Gabby Morgan Date: Fri, 9 Oct 2026 09:40:56 +0000 Subject: [PATCH] tests: stop flagging a literal 'the box' as a deployment leak The machine-descriptor rule matched the Harvard-sentence recording prompts (scripts/voice-prompts-en.txt: "The box was thrown beside the parked truck."), where 'the box' is a literal box, not a colloquial dev machine. Drop the bare phrase; keep the explicit dev/staging markers that are never generic English. --- tests/test_no_env_leaks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_no_env_leaks.py b/tests/test_no_env_leaks.py index c0a7f42..7a33d9a 100644 --- a/tests/test_no_env_leaks.py +++ b/tests/test_no_env_leaks.py @@ -39,7 +39,7 @@ DENYLIST = { "stale llm default": r"qwen2\.5:3b", "absolute home path": r"/home/abby", "old venv path": r"semif-venv", - "machine descriptor": r"\b(?:the box|dev box|dev machine|staging box)\b", + "machine descriptor": r"\b(?:dev box|dev machine|staging box)\b", }