Skip to content

Reassess work after tool batches - #503

Merged
fazxes merged 9 commits into
mainfrom
fazxes/reassess-after-tools
Aug 31, 2026
Merged

Reassess work after tool batches#503
fazxes merged 9 commits into
mainfrom
fazxes/reassess-after-tools

Conversation

@fazxes

@fazxes fazxes commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Tell the user what fx will do next while continuing the original task with tools.
  • Prevent progress-only updates from ending an unfinished turn.
  • Return the result when work is complete and explain genuine blockers when work cannot continue.
  • Keep post-tool decision guidance transient across provider retries and restored confirmed-tool recovery.
  • Preserve existing tools, permissions, saved session content, and completion validation.

Ask the model to identify concrete remaining work after each completed tool batch before selecting more tools.

Keep post-tool decision guidance transient and consistent across provider retries and restored confirmed-tool recovery.

Preserve existing tools, permissions, saved session content, and completion validation.
@fazxes fazxes added the type: improvement Improves existing user-facing behavior label Aug 28, 2026
fazxes added 4 commits August 28, 2026 13:54
Treat the internal post-tool decision prompt as transient guidance when fake providers identify current user intent and tool results.

Update Vision and WASM fixtures for the new post-tool request shape.
Retain post-tool decision guidance after denied or review-held results and after duplicate confirmed-provider suppression.

Cover both continuation paths with runtime regressions.
Derive post-tool decision state from restored execution memory so continued requests keep the guidance without persisting prompt text.

Cover the durable local-tool checkpoint path with an exact-once regression.
The post-tool decision prompt already keeps selected-model requests user-ended, so the older assistant-prefill rejection recovery path is unreachable.
@fazxes
fazxes marked this pull request as ready for review August 28, 2026 22:22
fazxes added 4 commits August 30, 2026 21:52
Tell the model to continue the original task after each completed tool batch and defer its final response until the task is complete. Update request projection fixtures to match the new guidance.
Keep the Node and WASM workspace fake gateway aligned with the transient post-tool guidance so tool results remain associated with the original user request.
Tell the model to pair brief progress with the next tool action, avoid ending unfinished turns with progress-only prose, and explain genuine blockers normally. Update every exact-string fixture to match.
@fazxes
fazxes merged commit 1321852 into main Aug 31, 2026
66 of 71 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: improvement Improves existing user-facing behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant