diff --git a/plugin/scripts/worker-service.cjs b/plugin/scripts/worker-service.cjs index 637a8be4..e6e64984 100755 --- a/plugin/scripts/worker-service.cjs +++ b/plugin/scripts/worker-service.cjs @@ -471,7 +471,7 @@ MEMORY PROCESSING SESSION START ${JSON.stringify(r,null,2)} `}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**: @@ -495,11 +495,11 @@ If skipping, **output only**: Output this XML: - [What did the user want to build/fix/deploy? Use their original words from: ${a.user_prompt}] - [What code/systems were explored?] + [What did the user request? Use their original sentiment from: ${a.user_prompt}] + [What was explored?] [What was discovered about how things work?] [What shipped? What does the system now do?] - [What remains to build/fix/deploy?] + [What are the next steps?] [Additional insights] diff --git a/src/sdk/prompts.ts b/src/sdk/prompts.ts index 9f15a580..d9d2e710 100644 --- a/src/sdk/prompts.ts +++ b/src/sdk/prompts.ts @@ -158,7 +158,7 @@ export function buildObservationPrompt(obs: Observation): string { export function buildSummaryPrompt(session: SDKSession): string { 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. @@ -166,7 +166,7 @@ User's Original Request: ${session.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**: @@ -182,11 +182,11 @@ If skipping, **output only**: Output this XML: - [What did the user want to build/fix/deploy? Use their original words from: ${session.user_prompt}] - [What code/systems were explored?] + [What did the user request? Use their original sentiment from: ${session.user_prompt}] + [What was explored?] [What was discovered about how things work?] [What shipped? What does the system now do?] - [What remains to build/fix/deploy?] + [What are the next steps?] [Additional insights]