fix(qa): checkpoint receipts print the report link for their exploration file

qa-functional-webhook-report failed in two of three censuses because the
report linked .qa-evidence/NNN capture folders as "checkpoints" and never
linked exploration-NNN.json. The checkpoint receipt now prints
link: [checkpoint NNN](exploration-NNN.json), and the functional report
template says capture folders are not checkpoints.
This commit is contained in:
garrytan committed 2026-09-29 21:49:46 +00:00
1 parent 958d1ceba6
commit 8dd3c44fc6
3 files changed
+4 -2

No files matched your search

+2 -1
View File
@@ -193,7 +193,8 @@ function checkpoint(root: string, checkpointId: string, source: string | Record<
const captured = readQaCapture(root, intent.capture);
const value = { observationCommand: intent.observationCommand, observed: captured.observed, hypothesis: intent.hypothesis, nextCommand: intent.nextCommand };
const sha256 = publish(root, `exploration-${checkpointId}.json`, value);
return { action: 'checkpoint', id: checkpointId, status: 'complete', sha256, capture: intent.capture, captureSha256: captured.sha256, intentSha256: hash(bytes), exitCode: 0 };
return { action: 'checkpoint', id: checkpointId, status: 'complete', sha256, capture: intent.capture, captureSha256: captured.sha256, intentSha256: hash(bytes),
link: `[checkpoint ${checkpointId}](exploration-${checkpointId}.json)`, exitCode: 0 };
}
function materialize(root: string, source: string) {