fix: Improve summary prompt clarity and consistency in language

This commit is contained in:
Alex Newman
2025-10-23 14:21:31 -04:00
parent 33d2422faa
commit 37cd8b8328
2 changed files with 10 additions and 10 deletions
+5 -5
View File
@@ -471,7 +471,7 @@ MEMORY PROCESSING SESSION START
<tool_output>${JSON.stringify(r,null,2)}</tool_output>
</tool_used>`}function gg(a){return`THIS REQUEST'S SUMMARY
===============
Think about the observations you just wrote for this request, and write a summary of what was built/fixed/deployed/configured, what was learned, and what's next.
Think about the observations you just wrote for this request, and write a summary of what was done, what was learned, and what's next.
IMPORTANT! DO NOT summarize the observation process itself - you are summarizing a DIFFERENT claude code session, not this one.
@@ -479,7 +479,7 @@ User's Original Request: ${a.user_prompt}
WHEN NOT TO SUMMARIZE
----------------------
Do not summarize if the request is conversational and unrelated to the work being done.
Do not summarize if the request is conversational and unrelated to the work that was just completed.
If skipping, **output only**: <skip_summary reason="[brief reason]" />
@@ -495,11 +495,11 @@ If skipping, **output only**: <skip_summary reason="[brief reason]" />
Output this XML:
<summary>
<request>[What did the user want to build/fix/deploy? Use their original words from: ${a.user_prompt}]</request>
<investigated>[What code/systems were explored?]</investigated>
<request>[What did the user request? Use their original sentiment from: ${a.user_prompt}]</request>
<investigated>[What was explored?]</investigated>
<learned>[What was discovered about how things work?]</learned>
<completed>[What shipped? What does the system now do?]</completed>
<next_steps>[What remains to build/fix/deploy?]</next_steps>
<next_steps>[What are the next steps?]</next_steps>
<notes>[Additional insights]</notes>
</summary>