Refine discussion closure messaging

This commit is contained in:
zhi
2026-04-02 05:48:00 +00:00
parent 16daab666b
commit b40838f259
4 changed files with 112 additions and 10 deletions

View File

@@ -31,10 +31,11 @@ export function buildDiscussionIdleReminderMessage(): string {
"[Discussion Idle]",
"",
"No agent responded in the latest discussion round.",
"If the discussion goal has been achieved, the initiator should now:",
"If the discussion goal has already been achieved, the initiator should now:",
"1. write the discussion summary to a file in the workspace",
"2. call discuss-callback with the summary file path",
"",
"This reminder does not mean the discussion was automatically summarized or closed.",
"If more discussion is still needed, continue the discussion in this channel.",
].join("\n");
}
@@ -46,6 +47,7 @@ export function buildDiscussionClosedMessage(): string {
"This discussion channel has been closed.",
"It is now kept for archive/reference only.",
"Further discussion in this channel is ignored.",
"If follow-up work is needed, continue it from the origin work channel instead.",
].join("\n");
}