Prioritize comment wake prompts

This commit is contained in:
dotta 2026-03-28 10:23:19 -05:00
parent 91e040a696
commit b825a121cb
4 changed files with 11 additions and 2 deletions

View file

@ -355,6 +355,10 @@ describe("codex execute", () => {
commentIds: ["comment-1", "comment-2"],
});
expect(capture.prompt).toContain("## Paperclip Wake Payload");
expect(capture.prompt).toContain("Treat this wake payload as the highest-priority change for the current heartbeat.");
expect(capture.prompt).toContain(
"acknowledge the latest comment and explain how it changes your next action.",
);
expect(capture.prompt).toContain("First comment");
expect(capture.prompt).toContain("Second comment");
} finally {