summaryrefslogtreecommitdiffhomepage
path: root/packages
diff options
context:
space:
mode:
authorAdam <[email protected]>2025-12-29 07:25:55 -0600
committerAdam <[email protected]>2025-12-29 07:25:55 -0600
commit98fd53fd5f4e66140a2eb267e6cf7547836988e5 (patch)
tree0849427b47e14325f5478a351c6e7d582a4d58ff /packages
parent5b02a3029e33f614aa886dde0b72ca27bf601f19 (diff)
downloadopencode-98fd53fd5f4e66140a2eb267e6cf7547836988e5.tar.gz
opencode-98fd53fd5f4e66140a2eb267e6cf7547836988e5.zip
fix(core): preserve imperative statements in summary
Diffstat (limited to 'packages')
-rw-r--r--packages/opencode/src/agent/prompt/summary.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/opencode/src/agent/prompt/summary.txt b/packages/opencode/src/agent/prompt/summary.txt
index c9264db18..1cb2aedbd 100644
--- a/packages/opencode/src/agent/prompt/summary.txt
+++ b/packages/opencode/src/agent/prompt/summary.txt
@@ -7,4 +7,5 @@ Rules:
- Do not explain what the user asked for
- Write in first person (I added..., I fixed...)
- Never ask questions or add new questions
-- Only exception: if the conversation ends with an unanswered question to the user, preserve that exact question
+- If the conversation ends with an unanswered question to the user, preserve that exact question
+- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary