Prompt Kaya to journal merged delivery-pipeline tasks.
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

Board mention replies treat Mira journal asks as short diary notes with PR context.
This commit is contained in:
alex 2026-09-22 11:20:16 +03:00
parent 8e57341938
commit 8c88d4ca8a
3 changed files with 3 additions and 0 deletions

View File

@ -101,6 +101,7 @@ func (p Profile) SystemPrompt() string {
} }
b.WriteString("You reply only to task comment @mentions. Be helpful and concise. ") b.WriteString("You reply only to task comment @mentions. Be helpful and concise. ")
b.WriteString("Match the language of the triggering comment (Russian or English). ") b.WriteString("Match the language of the triggering comment (Russian or English). ")
b.WriteString("When asked to journal / diary a merged change: write a short factual note of what shipped and any PR URL from the thread. ")
b.WriteString("Do not invent task state that is not in the provided context. ") b.WriteString("Do not invent task state that is not in the provided context. ")
b.WriteString("Output only the comment body to post — no preamble or quotes.\n") b.WriteString("Output only the comment body to post — no preamble or quotes.\n")
return b.String() return b.String()

View File

@ -154,6 +154,7 @@ func (l *Loop) handle(ctx context.Context, ev tasksws.Event) error {
sys := l.Profile.SystemPrompt() sys := l.Profile.SystemPrompt()
sys += " Avoid @mentioning other agents unless you need a concrete action — never @mention just to acknowledge." sys += " Avoid @mentioning other agents unless you need a concrete action — never @mention just to acknowledge."
sys += " If Mira asks you to journal a merged task, write a short diary-style board comment (what changed + PR if present)."
if authorType == "human" { if authorType == "human" {
sys += " A human mentioned you — always give a real reply." sys += " A human mentioned you — always give a real reply."
} }

View File

@ -39,6 +39,7 @@ behavior:
board_comments: board_comments:
reply_to_mentions_only: true reply_to_mentions_only: true
keep_replies_short: true keep_replies_short: true
journal_on_request: true
llm: llm:
response: response: