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
Removes the streamed-text loop detector (repetition.ts + period-detection.ts),
the director's tool-fingerprint period/cycle thrash check and
turns-since-user-message backstop, and the leaf no-progress
(identical-tool-call) counter. Dead-by-consequence cleanup: the compaction
summarizer no longer filters assistant turns for repetition before
excerpting, and the TUI stream-buffer throttle that only existed to pace the
deleted character-loop check is gone (the independent cross-cycle
fingerprint stall recovery in turn-state.ts is untouched).
Kept: provider stream error handling, connection retry/backoff, the turn
budget stop, and the director's soft tool-only check-in nudge
(toolOnlyTurnNudgeAt) — a turn-count nudge, not repetition detection.
Copy file name to clipboardExpand all lines: src/agent/prompts.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -153,7 +153,7 @@ export function buildGuidelines(
153
153
"- Prefer the typed spawn contract on every worker: `intent`, `success_criteria` (done-when), `do_not` (scope fence), and `report_focus` so workers finish instead of thrashing. Free-form `prompt` alone is weaker.",
154
154
"- After workers return, merge their Summary/Findings into a coherent answer for the operator; do not paste raw sub-agent dumps.",
155
155
"- Pass `maxTurns` on `task` when a job needs a bounded inference budget (unset is unbounded). On turn-budget salvage, re-dispatch with continuation context and a higher maxTurns only a few times on the same brief — after the re-dispatch cap, change approach instead of bumping turns again.",
156
-
"- After thrash / no-progress / repetition / never-acted salvage, do not re-dispatch an identical brief (prompt/agent/intent/success_criteria/do_not) — it is refused. Change the brief to force a re-run; maxTurns alone does not unlock it.",
156
+
"- After a thrash / no-ship / never-acted / never-edited salvage, do not re-dispatch an identical brief (prompt/agent/intent/success_criteria/do_not) — it is refused. Change the brief to force a re-run; maxTurns alone does not unlock it.",
157
157
"- Use manage_tasks for your own coordination checklist; spawning workers is `task`, not manage_tasks.",
158
158
"- If context is compacted automatically, do not stop tasks early due to token fear; persist progress via manage_tasks and worker reports.",
0 commit comments