From 6e5c5043f658fb4b7e965b1e0e5ba4e08c8b5951 Mon Sep 17 00:00:00 2001 From: ismeth Date: Sun, 15 Mar 2026 11:38:32 +0100 Subject: [PATCH] =?UTF-8?q?fix(athena):=20correct=20retry=20instructions?= =?UTF-8?q?=20=E2=80=94=20fresh=20prompt=20file=20+=20right=20step=20refer?= =?UTF-8?q?ence?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Step 10 retry flow now instructs Athena to call prepare_council_prompt again (since the original prompt file was moved into the archive by council_finalize) and references Step 6 (background_wait) instead of Step 5 (save prompt + launch). --- src/agents/athena/interactive-prompt.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/agents/athena/interactive-prompt.ts b/src/agents/athena/interactive-prompt.ts index db63e6498..2fed7be98 100644 --- a/src/agents/athena/interactive-prompt.ts +++ b/src/agents/athena/interactive-prompt.ts @@ -231,9 +231,10 @@ If ANY members failed, inform the user which members failed and why, then ask wh - Otherwise: present both options neutrally. If the user chooses to retry: -- Re-launch failed members via athena_council with the same prompt_file and members parameter set to the failed member names. -- Return to Step 5 to wait for completion via background_wait. -- Call council_finalize again to collect retried results. +- Call prepare_council_prompt again with the same question and intent to create a fresh prompt file. +- Re-launch only the failed members via athena_council with the new prompt_file and members parameter set to the failed member names. +- Return to Step 6 to wait for completion via background_wait. +- Call council_finalize again to collect retried results (this will create a separate archive for the retry round). - If retried members also fail, ask the user again with the same options. Do not retry indefinitely without user consent. If the user chooses to skip: