From 5c8df5973ecd3bc63c429bbd9745c1ff833fafdb Mon Sep 17 00:00:00 2001 From: 7Sageer Date: Tue, 18 Aug 2026 15:02:17 +0800 Subject: [PATCH] test: drop the assertion for the removed ambiguous-means-task example (#3030) #3028 removed the 'treat ambiguous requests as tasks' rule and its 'locate the method in the code' example from the default system prompt. The profile test pinned that example verbatim, so it now fails on main. The removal was intentional; update the test to the new contract. --- packages/agent-core/test/profile/default-agent-profiles.test.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/agent-core/test/profile/default-agent-profiles.test.ts b/packages/agent-core/test/profile/default-agent-profiles.test.ts index a732f3181..d7824fcc6 100644 --- a/packages/agent-core/test/profile/default-agent-profiles.test.ts +++ b/packages/agent-core/test/profile/default-agent-profiles.test.ts @@ -153,7 +153,6 @@ describe('default agent profiles', () => { // render this same paragraph, so it must not tell them editing files is free. expect(prompt).toContain('Local, reversible work your role permits'); // Concrete one-line examples anchoring high-frequency abstract rules. - expect(prompt).toContain('locate the method in the code'); // ambiguous instruction -> edit code, not echo text expect(prompt).toContain('update the related tests'); // preamble phrasing example expect(prompt).toContain('premature abstraction'); // MINIMAL-changes counterexample }