Include the checked Cursor profile fixture in the combined candidate

Co-Authored-By: Paperclip <noreply@paperclip.ing>

* commit '4d6e2c00b88af9902facb20ad9177fb70a3a26e0':
  Keep the next Cursor profile fixture within the typed contract
This commit is contained in:
DottaandPaperclip committed 2026-09-30 05:23:15 -05:00
commit 6e0f54f565
1 file changed
+3 -1
@@ -94,7 +94,9 @@ describe("accepted Cursor plan passive-wait authority", () => {
const facts = fixture();
expect(nativeCursorPlanWaitFromFacts(facts)).not.toBeNull();
const current = resolveQualifiedAcpxProfile("cursor", "gpt-5.6-luna[context=272k,reasoning=medium,fast=false]");
const resolver = vi.spyOn(runner, "resolveQualifiedAcpxProfile").mockReturnValue({ ...current, agentProfileVersion: current.agentProfileVersion + 1, commandDigest: `sha256:${"b".repeat(64)}` });
const next = { ...current, agentProfileVersion: 9, commandDigest: `sha256:${"b".repeat(64)}` } satisfies typeof current;
expect(next.agentProfileVersion).toBeGreaterThan(current.agentProfileVersion);
const resolver = vi.spyOn(runner, "resolveQualifiedAcpxProfile").mockReturnValue(next);
try { expect(nativeCursorPlanWaitFromFacts(facts)).toBeNull(); }
finally { resolver.mockRestore(); }
});