You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Remove maxTurns entirely from Config, director, renderer, and all tests;
agent now runs until submit_output is called
- TUI header shows session title (truncated from initial task) and live
latest-user-prompt row that updates as the agent runs
- Detect malformed (_raw) tool call arguments in path-escape plugin and
return an actionable error instead of a cryptic type failure
- Add system prompt rule discouraging large single-file writes
- Raise max_tokens to 16384 on both headless and TUI agent sources to
prevent JSON argument truncation on large write_file payloads
Copy file name to clipboardExpand all lines: src/prompts.ts
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ export function buildSystemPrompt(): string {
8
8
"4. You MUST call submit_output when the task is fully complete. No other action signals completion.",
9
9
"5. If tests are failing, you MUST NOT submit. Fix the tests first.",
10
10
"6. Do not re-read a file you already read. The tool will return an error if you try.",
11
+
"7. Never write large files in a single write_file call. If a file exceeds ~200 lines, write it in sections using run_shell (printf or cat heredoc) or break the work into edit_file calls on an existing scaffold.",
0 commit comments