Repository navigation
feat(platform): read and change write allowances over MCP - #4894
Merged
Merged
Conversation
A coding agent can read which writes an automation may make without a person approving each run, and an owner's or admin's key can allow or withdraw them, through the new settings kind automation-approval. - Read by the automation's name: the writes allowed, the ones its latest version makes, those a rule of the approval policy still requires a person for, and who allowed each by name, never by address. Developers read; other members are refused; a hidden automation reads as absent. - Changed by the acts grant and revoke through the writer the General tab saves with, against the set that was read. The hash covers the automation and its allowed writes alone, so a new version never makes a plan stale and another person's change does. Allowing a write plans as removes-human-approval at critical risk unless a rule of the policy already decides it; an act that changes nothing plans as unchanged. - The settings registry reads an act's arguments through a schema, pointing at /args, and the reference describes a kind with no operations. - Contract 3.42.0, docs in English, German and French, spec MCP-R38 and MCP-R39, manual reference rows and real-Postgres probes.
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
A coding agent can read which writes an automation may make without a person approving each run, and an owner's or admin's key can allow or withdraw them, through the new MCP settings kind
automation-approval(contract 3.42.0).allowed,used(the writes the latest version makes),requiredByPolicy(those a rule of the approval policy still requires a person for) andgrants(who allowed each, by name — never by address). Owners, admins and developers read; any other member is refused; an automation the person cannot see reads as one that does not exist.grantandrevoke(args.types), through the writer the General tab's "Runs without approval" saves with — the same name lock, audit rows (automation.approval_allowance.granted|revoked, made over MCP) and editor hint — against the set that was read. The hash covers the automation and its allowed writes alone: a new version or a policy edit never makes a plan stale, another person's change does (SETTINGS_STALE).removes-human-approval(critical) unless a rule of the policy already decides it; a withdrawal names nothing; an act that changes nothing plans and applies asunchanged; a name that is no write of the connector catalog isAPPROVAL_ALLOWANCE_INVALID./args), and the reference describes a kind that has acts and no operations.Specs MCP-R38 and MCP-R39; docs in English, German and French; manual reference rows; contract, MCP schema snapshot, skill snapshot and OpenAPI version moved together.
Proof
checkMcpSettingsConfigandcheckApprovalAllowances(92/92): a developer's key reads and is refused a change, a member's read is refused, an owner's key allows a write (critical plan, audited as coming through MCP, granter named) and the approval gate then lets that automation's write pass while another still asks, a moved set is stale, withdrawing makes the write ask again.