Skip to content

fix(platform): plan every settings writer's refusals before applying a change - #4753

Merged
yannickmonney merged 2 commits into
mainfrom
fix/mcp-settings-review-2
Oct 10, 2026
Merged

yannickmonney merged 2 commits into
mainfrom
fix/mcp-settings-review-2

Conversation

@yannickmonney

Copy link
Copy Markdown
Contributor

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:

  • a model the organization can't call;
  • a second or disabled default credential;
  • another reviewer for an enrolled task;
  • a description mentioning someone the task can't mention.

Fix:

  • The plan now runs each writer's read-only checks. It reads what earlier changes of the same kind in the call leave behind, so a new default is accepted once an earlier change clears the old one, and not before.
  • A change of an agent's model is named as one that changes what serves the agent (MCP-R11).

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

  • Tests: new ones for the agent-model, credential and task writers' refusals, all planned before anything is applied.
  • Gates: platform tsc; oxlint on changed files; the whole platform server and pii projects; UI automations and settings; shared; docs tests; lint:links; lint:manual; oxfmt check.
  • knip: red only on main's own CLI warningCode export, from a4098a8.

…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.
@yannickmonney
yannickmonney merged commit f15509e into main Oct 10, 2026
@yannickmonney
yannickmonney deleted the fix/mcp-settings-review-2 branch October 10, 2026 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant