From b6bdbe586a46f2b83612385a5b356533232e6520 Mon Sep 17 00:00:00 2001 From: Mikael Hugo Date: Sat, 2 May 2026 23:01:44 +0200 Subject: [PATCH] docs(sf): align refine-slice "Autonomous execution" footer with siblings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The autonomous-mode footer in refine-slice.md was the short version ("Document assumptions in the plan") while plan-slice / execute-task / complete-slice all carry the full explanation: agents are in auto-mode, no human is available, document assumptions in the artifact, note human-input-required decisions in the relevant artifact and proceed with the best available option. Refine-slice gets sketches refined into full plans — same autonomy contract as plan-slice. Aligning the language so an agent reading any of these prompts gets the same self-help instructions about ask_user_questions / secure_env_collect. Markdown-only. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/resources/extensions/sf/prompts/refine-slice.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resources/extensions/sf/prompts/refine-slice.md b/src/resources/extensions/sf/prompts/refine-slice.md index 18df6f24e..34dc19d6e 100644 --- a/src/resources/extensions/sf/prompts/refine-slice.md +++ b/src/resources/extensions/sf/prompts/refine-slice.md @@ -72,7 +72,7 @@ Then: The slice directory and tasks/ subdirectory already exist. Do NOT mkdir. -**Autonomous execution:** Do not call `ask_user_questions` or `secure_env_collect`. Document assumptions in the plan. +**Autonomous execution:** Do not call `ask_user_questions` or `secure_env_collect`. You are running in auto-mode — there is no human available to answer questions. Make reasonable assumptions and document them in the plan. If a decision genuinely requires human input, write a note in the relevant task's description and call `sf_plan_slice` with what you have. **You MUST call `sf_plan_slice` to persist the planning state before finishing.** After it returns successfully, the pipeline will automatically clear the sketch flag on the next state derivation (the on-disk PLAN file is the signal).