Repository navigation
fix: harden tool controls and persisted handoffs - #61
Merged
Merged
Conversation
skhaz
marked this pull request as draft
October 7, 2026 15:20
- process: reject a malformed tool _control before any side effect and settle it through the existing error path; it crashed the session process before - process: return reader refresh errors after durable writes in control, context command, title, checkpoint, agent, and model handlers - process: pass a per-session stop_check to agent steps and end the response when the step stops before generation - persist: reduce metadata update reads, scope message updates to the owning session, and use affected-row checks for session updates - test: confirm session exit before deleting rows after a fixture failure - bench: fail on cleanup errors and remove stale benchmark reports - ci: pin the Framework revision with the matching runtime changes Adds runtime and real SQLite regression tests for each fix.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Malformed tool controls can crash a Session turn, and a Stop committed while the next agent builds its prompt can still start another provider request. Validate controls before their effects, pass a current-state Stop callback into Agent, and stop continuation when Agent reports it stopped.
7a485e9b59fc4d59720104bf55157adb3a01a386.Validation on Wippy v0.3.48a:
Release and publication remain separate.