fix: clarify presentation demo proof surfaces

This commit is contained in:
lda
2026-07-09 21:15:15 +07:00 Verified
parent fe8e4cee40
commit 7ce81c8f23
11 changed files with 349 additions and 31 deletions
@@ -73,6 +73,16 @@ describe("demo-run-facts", () => {
expect(facts.interrupt.reportMarkdownPreview).toContain("workflow substrate is ready");
});
it("projects interrupt payload from recorded events when transient state is absent", () => {
const facts = projectDemoRunFacts(controller({ interruptPayload: null }));
expect(facts.interrupt.proposedIssues[0]).toMatchObject({
id: "risk-1",
title: "Prepare the defense walkthrough",
});
expect(facts.interrupt.reportMarkdownPreview).toContain("workflow substrate is ready");
});
it("projects resume payload and output after resume", () => {
const recording = loadCanonicalDemoRecording();
const facts = projectDemoRunFacts(controller({