Clarify issue-scoped comment wake prompts

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
dotta 2026-03-28 11:40:43 -05:00
parent b9b2bf3b5b
commit 27accb1bdb
4 changed files with 9 additions and 1 deletions

View file

@ -497,6 +497,9 @@ describe("openclaw gateway adapter execute", () => {
expect(String(payload?.message ?? "")).toContain(
"Treat this wake payload as the highest-priority change for the current heartbeat.",
);
expect(String(payload?.message ?? "")).toContain(
"Do not switch to another issue until you have handled this wake.",
);
expect(String(payload?.message ?? "")).toContain("First comment");
expect(String(payload?.message ?? "")).toContain("\"commentIds\":[\"comment-1\",\"comment-2\"]");
expect(payload?.paperclip).toMatchObject({