Repository navigation
fix(platform): plan every settings writer's refusals before applying a change - #4753
Merged
Merged
Conversation
…a change A settings call planned its changes against each kind's schema alone, so a change the writer itself refuses — a model the organization cannot call, a second or disabled default credential, another reviewer for an enrolled task, a description mentioning someone the task cannot mention — failed only while applying, after earlier changes of the call had already been written. The plan now runs each writer's read-only checks, reading what the call's earlier changes of the same kind leave behind, and a change of an agent's model is named as one that changes what serves the agent.
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.
What
Finding 4 of the post-merge review of #4685 (settings over MCP).
A settings call planned its changes against each kind's schema alone, so a change the writer itself refuses failed only while being applied, after earlier changes of the same call had been written:
Fix:
Findings 5 (removes-human-approval when an auto-approve decision appears) and 6 (REST cursors and pages, contract) remain on
fix/mcp-settings-review.Verified
warningCodeexport, from a4098a8.