Skip to content

fix(session): give redrob/free a keep-going system prompt - #197

Merged
its-janghoon merged 1 commit into
developfrom
fix/free-prompt-keep-going
Oct 28, 2026
Merged

its-janghoon merged 1 commit into
developfrom
fix/free-prompt-keep-going

Conversation

@its-janghoon

Copy link
Copy Markdown
Member

What's done

redrob/free gets its own system prompt, packages/redrob/src/session/prompt/redrob-free.txt, chosen in SystemPrompt.provider when the model id is redrob/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).

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.
@its-janghoon
its-janghoon merged commit 517cc6b into develop Oct 28, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant