test(FN-4223): fix disambiguation assertion for negative experiment-loop phrasing

Fusion-Task-Id: FN-4223
Fusion-Task-Lineage: bc114ff2-ee0f-4e96-b1d2-6ba3112a48e4
This commit is contained in:
Fusion
2026-05-13 05:23:23 -07:00
committed by gsxdsm
parent 5225300c6d
commit fbef97ef8c

View File

@@ -1980,7 +1980,9 @@ describe("fn pi extension (runnable structured-output regression slice)", () =>
])("%s uses disambiguated cited-research wording", (toolName) => {
const tool = api.tools.get(toolName)!;
expect(tool.description).toMatch(/cited-research pipeline/i);
expect(tool.description).not.toMatch(/\bautonomous experiment loop\b/i);
if (/experiment loop/i.test(tool.description)) {
expect(tool.description).toMatch(/not\s+.*experiment loop/i);
}
});
it("fn_research_run treats builtin as configured when no provider is explicitly set", async () => {