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
{{ message }}
Repository navigation
A model's question after the declined-work hold is replaced by a failure notice and then by the backstop's generic question #4391
The declined-work hold on create_node (agent_loop.rs, decision_may_settle_this; is_declined_work_hold) has the same exposure that #4389 fixed for the unread-schema hold: it returns an error record that failed_tools keeps, so when the model answers with a good question that has no error words, the turn-end rewrite replaces it with "I couldn't create...", and declined_work_backstop (which runs after the rewriter) then replaces that with its own generic decision question. The user still gets a sensible question, but the model's own wording is lost, and a reply that already names the decision loses it the same way.
Fix: exempt is_declined_work_hold(r) in the failed_tools filter and in the others list of undeclared_refusal_backstop (the two sites #4389 changed for the schema hold; the declined hold is marked by its error key, so no new constant is needed), so the backstop's "reply names the decision" check does the right thing. Add the same kind of test: a model that stops after the declined hold to ask the user is heard unchanged, plus a mutation check on each site. Optional: have summarize_executions (empty-text exits) treat both holds as not failed.
Activity