Skip to content

The agent that grows with you

fix(tests): drop the prompt-substring change-detector from the MoA stale-guidance tests

teknium126277966af86
diff --git a/tests/agent/test_moa_stale_guidance_note.py b/tests/agent/test_moa_stale_guidance_note.py
index 9a36961797a..82b65a9b4b0 100644
--- a/tests/agent/test_moa_stale_guidance_note.py
+++ b/tests/agent/test_moa_stale_guidance_note.py
@@ -92,10 +92,3 @@ def test_fresh_guidance_carries_no_note(monkeypatch, tmp_path):
assert _STALE_GUIDANCE_NOTE not in first["guidance"]
assert _STALE_GUIDANCE_NOTE not in second["guidance"]
-
-def test_reference_prompt_forbids_emitting_tool_calls(monkeypatch, tmp_path):
- """The advisor holds no tools; a tool-call object in its text gets replayed by the
- aggregator, so the prompt has to rule it out explicitly."""
- from agent.moa_loop import _REFERENCE_SYSTEM_PROMPT
-
- assert "never emit a tool call" in _REFERENCE_SYSTEM_PROMPT.lower()