summaryrefslogtreecommitdiff
path: root/internal/executor/preamble.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/executor/preamble.go')
-rw-r--r--internal/executor/preamble.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/internal/executor/preamble.go b/internal/executor/preamble.go
index e50c16f..1993361 100644
--- a/internal/executor/preamble.go
+++ b/internal/executor/preamble.go
@@ -46,6 +46,17 @@ The sandbox is rejected if there are any uncommitted modifications.
---
+## Final Summary (mandatory)
+
+Before exiting, write a final summary paragraph (2-5 sentences) as your last output. Start it with "## Summary" on its own line. Describe:
+- What was accomplished
+- Key decisions made
+- Any issues or follow-ups needed
+
+This summary will be extracted and displayed in the task UI.
+
+---
+
`
func withPlanningPreamble(instructions string) string {