Repository navigation
fix(session): give redrob/free a keep-going system prompt - #197
Merged
Merged
Conversation
redrob/free matched no model family and got default.txt, which says to
answer in under four lines and to just stop after editing a file. The
small model followed it: on Terminal-Bench it wrote a one-line plan
("now I will create X") with no tool call and the run ended with no
files written. redrob-free.txt keeps the default rules and adds: work
with tools until the task is done, never end on a plan, write files to
disk, run and fix before stopping.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What's done
redrob/freegets its own system prompt,packages/redrob/src/session/prompt/redrob-free.txt, chosen inSystemPrompt.providerwhen the model id isredrob/free. Other models are unchanged.It keeps the default rules (URLs, conventions, no commits unless asked) and adds a keep-going section: work with tools until the task is done, never end the turn on a plan or "I will ...", write files to disk, run and fix before stopping. It is about 3,100 characters against default.txt's 8,532, which matters on a 65,536-token window.
What's not done
No automatic continue when a turn ends without a tool call.
What to review
The prompt text and the id match in
system.ts.Intentions
On Terminal-Bench, redrob/free followed default.txt's "answer in under four lines" and "just stop": it wrote a one-line plan with no tool call and the run ended with no files written (headless-terminal, cancel-async-tasks).
Checked:
bun run typecheck,bun test test/session(459 pass).