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
refactor(agent): derive recall guidance from the tool set, drop the flag
The prompt's "Recall rules" block and the recall tools (recent_entries/
get_entry) were two switches that had to be flipped together: the renderer
carried RecallEnabled while the tools were wired off the agent's RecentEntries
buffer. They could drift — a prompt advertising a recall ability the tool set
doesn't back.
Make the tool set the single source of truth: PromptRenderer.Render now derives
the recall guidance from whether input.Tools advertises recent_entries (which
the harness already populates each turn from the runner's tool registry). The
RecallEnabled field and buildBookEngine's recall parameter are gone; wiring the
recall tools is what turns the guidance on.
No behavior change: TUI wires the recall tools (guidance on), book-run/bench
don't (off).
0 commit comments