Repository navigation
feat(agent): add strict tool-state mode with isolated views and deterministic merges (T37) - #265
Open
XianReallyHot-ZZH wants to merge 3 commits into
Open
XianReallyHot-ZZH wants to merge 3 commits into
XianReallyHot-ZZH wants to merge 3 commits into
Conversation
Opt-in strictToolState on the graph path: tools receive a read-only state view (store preserved), failed calls never contribute state via the shared StrictPatchAdmission, sequential merges go through the declared KeyStrategies via a shared mergeEntry, and parallel merges enforce declared-strategy rules for every conflicting key before mergeAll. Default off: legacy behavior pinned by tests. Refs agentic-ai-java#140
Opt-in strictToolState on the independent ReAct path: tools receive a read-only view of the invocation state (writes escape only through the patch channel) and the shared StrictPatchAdmission enforces the hard failure-discard rule plus policy validation. Sequential merging stays last-write-wins by design - documented in the builder javadoc - since the ReAct state is invocation-local and execution is sequential. Refs agentic-ai-java#140
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.
确认 (Acknowledged) contribution to ARGI: add the opt-in strictToolState mode delivering read-only tool state views, patch+result update units with a hard failure-discard rule, KeyStrategy-honoring sequential merges, and strategy-explicit conflict handling for parallel merges across the graph and ReAct paths as the second T37 slice for #140.