fix(compaction): reword prompt that Opus 5.5 refuses as distillation (#13340)
Co-authored-by: Worker Bee (Opus) <4a3bc7fd57a7b2c126e4f3d3462dd16f375242e1c176b4b3f25ca93e3edb6a84@buzz.block.builderlab.xyz>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
## Task Context
|
||||
- An llm context limit was reached when a user was in a working session with an agent (you)
|
||||
- Distill the conversation below into a structured summary with only the most verbose parts removed
|
||||
- Include user requests, your responses, all technical content, and as much of the original context as possible
|
||||
- Write structured working notes from the conversation below, leaving out only the most verbose parts
|
||||
- Include the user's requests, the work done so far, all technical content, and as much of the original context as possible
|
||||
- This will be used to let the user continue the working session
|
||||
- The summary will be read by an agent (you) on a next exchange to allow for continuation of the session
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
{{ messages }}
|
||||
|
||||
Wrap reasoning in `<analysis>` tags:
|
||||
- Review conversation chronologically: user goals, your methods, key decisions, files, errors, fixes
|
||||
- Review conversation chronologically: user goals, methods used, key decisions, files, errors, fixes
|
||||
- Keep this brief - the analysis is discarded, so it is a checklist of what to include, not the place for detail
|
||||
|
||||
After the closing `</analysis>` tag, output exactly one ```json code block and nothing else, matching this schema:
|
||||
@@ -39,7 +39,7 @@ Rules for the JSON:
|
||||
- Order every list from most to least important
|
||||
- Every list entry must be a plain string, not a nested object - except `files`, whose entries are objects shaped as shown above
|
||||
- Quote error messages, panic text, and failing test output verbatim in `errors_and_fixes` - exact strings including numbers, identifiers, and paths, not paraphrases
|
||||
- This summary will only be read by you, so it is ok to make it much longer than a normal summary you would show to a human: spend your entire length budget on the JSON fields, and quote liberally - full output blocks, complete code snippets, exact user wording
|
||||
- This summary will only be read by you, so it is ok to make it much longer than a normal summary you would show to a human: use as much length as the JSON fields need, and keep full output blocks, complete code snippets, and the user's exact wording
|
||||
- Do not exclude any information that might be important to continuing a session working with you
|
||||
- Omit a field rather than inventing content for it
|
||||
- No new ideas unless user confirmed
|
||||
|
||||
Reference in New Issue
Block a user