Skip to content

fix(platform): name a new approval waiver as removing human approval - #4754

Merged
yannickmonney merged 1 commit into
mainfrom
fix/settings-auto-approve-effect
Oct 10, 2026
Merged

yannickmonney merged 1 commit into
mainfrom
fix/settings-auto-approve-effect

Conversation

@yannickmonney

Copy link
Copy Markdown
Contributor

What

Finding 5 of the post-merge review of #4685 (settings over MCP).

A settings change of the approval policy was named removes-human-approval only when a target that required approval stopped requiring it. But without a rule, a write that leaves the platform waits for a person. So adding an auto_approve rule for a connector or an action that had none lifted that approval without naming it, and the call asked for no more confirmation than a routine change.

A newly waived target now counts as well. Keeping an existing waiver, or adding an approval, names nothing. The effect's docs ("an approval rule or a review requirement no longer asks a person") already cover it.

Verified

  • Tests: a first policy that waives, a waiver added beside an approval, and a kept waiver plus an added approval (no effect). They failed before the fix.
  • Gates: platform tsc; oxlint on changed files; the whole platform server and pii projects (87,332 tests); 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 settings change of the approval policy was named removes-human-approval only when a target that required approval stopped requiring it. Without a rule a write leaving the platform waits for a person, so adding an auto_approve rule for a connector or an action that had none lifted that approval unnamed, and the call asked for no more than a routine change. A target newly waived now counts too.
@yannickmonney
yannickmonney merged commit 196b84d into main Oct 10, 2026
@yannickmonney
yannickmonney deleted the fix/settings-auto-approve-effect branch October 10, 2026 21:03
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