From d62a586be4df5d97363c8e6a9b7ca3158fd2dbef Mon Sep 17 00:00:00 2001 From: Winona Bryan Date: Wed, 11 Mar 2026 02:13:21 -0400 Subject: [PATCH] fix(momus): make keyTrigger specify file-path-only invocation requirement MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The previous keyTrigger ('Work plan created → invoke Momus') was too vague — Sisyphus would fire Momus on inline plans or todo lists, causing Momus to REJECT because its input_extraction requires exactly one .sisyphus/plans/*.md file path. The updated trigger explicitly states: - Momus should only be invoked when a plan file exists on disk - The file path must be the sole prompt content - Inline plans and todo lists should NOT trigger Momus --- src/agents/momus.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/agents/momus.ts b/src/agents/momus.ts index 4d2a704c9..ca03dd4f5 100644 --- a/src/agents/momus.ts +++ b/src/agents/momus.ts @@ -342,5 +342,6 @@ export const momusPromptMetadata: AgentPromptMetadata = { "When user explicitly wants to skip review", "For trivial plans that don't need formal review", ], - keyTrigger: "Work plan created → invoke Momus for review before execution", + keyTrigger: + "Work plan saved to `.sisyphus/plans/*.md` → invoke Momus with the file path as the sole prompt (e.g. `prompt=\".sisyphus/plans/my-plan.md\"`). Do NOT invoke Momus for inline plans or todo lists.", };