From 3b5808109ce2d0b9d17ce9e5e93ded56062faba6 Mon Sep 17 00:00:00 2001 From: Dotta Date: Sun, 27 Sep 2026 17:14:47 -0500 Subject: [PATCH] test(instructions): package canonical API evidence for live proof Co-Authored-By: Paperclip --- tests/runner-e2e/instruction-persistence.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/runner-e2e/instruction-persistence.ts b/tests/runner-e2e/instruction-persistence.ts index e77227220a8..0483b74cefb 100644 --- a/tests/runner-e2e/instruction-persistence.ts +++ b/tests/runner-e2e/instruction-persistence.ts @@ -98,6 +98,7 @@ export async function runInstructionPersistenceFlow(input: { const final = await api.get(filePath); expect(final.revision.id).toBe(after.revision.id); const checks = gradeInstructionPersistence({ before, after, firstRunId, expectedContent, proof, expectedProof: instructionNonceLine(nonce) }); + await input.evidence("api-state.json", { issue, runs, checks, canonicalInstructions: final, attachments }); await input.evidence("instruction-persistence.json", { checks, before, after, final, issues: [runs[0]?.nativeIssueId, issue.id], runs, attachments }); await expect(page.getByTestId("task-chat-agent-bubble").filter({ hasText: execution.task.buildVisibleMarker(nonce) }).last()).toBeVisible(); await input.capture("final-state", "Fresh task downloaded the persisted instruction nonce", "final-state.png");