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.
This commit is contained in:
7Sageer 2026-08-18 15:02:17 +08:00 committed by GitHub
parent d6021fa036
commit 5c8df5973e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
}