From 12e6def200ade15a617732af3f722795b37bcd4f Mon Sep 17 00:00:00 2001 From: Dotta Date: Mon, 2 Nov 2026 20:31:11 -0600 Subject: [PATCH] test(evals): mutate readonly context only through fixture setup Keep the exhausted-budget negative while respecting the readonly public context type. No production observer or grader changes. Co-Authored-By: Paperclip --- .../chat-catalog-domains/integrator-skill-authoring-v2.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/runner-e2e/chat-catalog-domains/integrator-skill-authoring-v2.test.ts b/tests/runner-e2e/chat-catalog-domains/integrator-skill-authoring-v2.test.ts index acf67a8889f..fd9d3195598 100644 --- a/tests/runner-e2e/chat-catalog-domains/integrator-skill-authoring-v2.test.ts +++ b/tests/runner-e2e/chat-catalog-domains/integrator-skill-authoring-v2.test.ts @@ -60,7 +60,7 @@ it("rejects invented inspection receipts and keeps other skill cases on their or expect(integratorSkillsCases.find(x=>x.scenarioId==="skills.explicit-restriction")!.oracleVersion).toBe("paperclip.chat-catalog.integrator.v1"); }); it("cannot extend an exhausted original case budget to inspect a finished artifact",async()=>{ - const f=fixture();f.ctx.observationDeadlineAt=Date.now()-1; + const f=fixture();Object.assign(f.ctx,{observationDeadlineAt:Date.now()-1}); await expect(inspectAuthoredSkill(f.ctx,f.state,f.o)).rejects.toThrow("budget");expect(f.events).toEqual([]); });