René's URL Explorer Experiment


Title: S-018: a confirmed MCP call no grant covers only proposes (Breaking) by shipmill-romamo[bot] · Pull Request #492 · cloudfall-dev/cloudfall · GitHub

Open Graph Title: S-018: a confirmed MCP call no grant covers only proposes (Breaking) by shipmill-romamo[bot] · Pull Request #492 · cloudfall-dev/cloudfall

X Title: S-018: a confirmed MCP call no grant covers only proposes (Breaking) by shipmill-romamo[bot] · Pull Request #492 · cloudfall-dev/cloudfall

Description: Plan Serves: G-2 Files: config/schemas/v1/operator-proposal.schema.json, sdk/src/cloudfall/agent_gate.py, sdk/src/cloudfall/app.py, sdk/src/cloudfall/operator.py, sdk/src/cloudfall/component_lock.py, sdk/src/cloudfall/agent_server.py, sdk/tests/test_s018_ungranted_call.py, sdk/tests/test_owned_postgresql_converge.py, sdk/tests/test_agent_server.py, changelog.d/476-ungranted-mcp-calls-propose.md Order: spec 018's Behaviour, "Not granted": build the agent proposal beside the granted record in agent_gate, give the store an open-or-save under its lock, route every gated command's confirmed call that no grant covers to it after the existing refusals, then the instructions, the changelog and the existing tests that ran with yes: true and no grant Proof: S-018-1, S-018-2, S-018-3, S-018-4, S-018-8, S-018-9, S-018-15, S-018-18, S-018-20 in sdk/tests/test_s018_ungranted_call.py; the MCP, S-018 and compatibility-surface tests Summary Over cloudfall mcp serve in a project, a confirmed call of a gated tool (deploy, rollback, restart, migrate, data_copy, domains_apply with yes: true; converge_baseline, converge_services, converge_domains with confirm_destructive: true) that no OperatorPolicy grant covers in every environment it touches now runs nothing. It: writes one proposed agent OperatorProposal to the proposal store (trigger agent with the tool, its arguments without the bound ones and the reason; operation.servers and operation.environments; binding with planSha256, and gitCommit and worktreeDigest in a git project, as D-20 computes them) answers PRECONDITION with context.code: operator_approval_required, context.proposal, context.command (cloudfall operator approve ), context.reasons (one : line per environment) and context.record (the file) returns the open proposal instead of writing a second one when the same call (tool, arguments, servers) comes again against the same binding (S-018-4) Refusals that came first still do and write no record (S-018-15): validation, S-008's deployment_approval_missing, and, new on this path, a component lock another run holds (CONFLICT, component_locked, for deploy, rollback, restart). _PROJECT_INSTRUCTIONS names the refusal, cloudfall operator approve and approval.selfConfirm (S-018-20). The CLI is unchanged (S-018-18). ### Breaking changelog fragment in changelog.d/476-ungranted-mcp-calls-propose.md. Implementation: GrantedRun.prepare's record building moved to _agent_record in agent_gate.py, shared with the new propose_call; ProposalStore.open_or_save matches and saves under the store's lock; _gated in app.py sends each gated command to _granted (unchanged) or _proposed. Choices worth a look The binding's planSha256 leaves out the grant check. The proposal hashes the plan without approval.selfConfirm and approval.environments (proposal_plan), since those change with the store's history, the hour (quiet hours) and the rate limit, not with what the run does: hashed whole, a proposal made in quiet hours could never be approved after them. A granted run's record still hashes the whole plan (S-018-6) "Same call" also matches the binding. A call whose plan, commit or worktree changed since its open proposal writes a new proposal, so the agent can ask again after operator approve refuses a stale one (S-018-12 asks for "a new proposal (the agent calls the tool again)") A run that changes no declared server proposes too (S-018-1, Q-2). A migrate whose pending steps are only builds and controller steps (ttl-lower changes DNS) touches no environment, so no grant can cover it: it proposes with empty operation.servers and operation.environments and the reason "the run changes no declared server, so no environment's grant covers it and only a person approves it". The OperatorProposal schema drops minItems: 1 on those two lists (both stay required for an agent record; the model requires servers and environments to be both empty or both set). A converge_* call that refuses itself before any playbook (converge_domains for an undeclared Domain) still writes nothing; one that would start a playbook on no declared server proposes Existing tests changed test_owned_postgresql_converge.py: the MCP converge_services test (S-006-7) now asserts the S-018 refusal (operator_approval_required, one proposed record, no inventory rendered, no secret read). A grant there would need a LoggingStack (operator_policy_environment_unmonitored); S-006-7 stays proven by its four other tests test_agent_server.py: the S-008-5 MCP test also asserts that the deployment_approval_missing refusal wrote no proposal Test plan uv run ruff check ., uv run mypy, specs.py check: pass specs.py coverage --spec 018: a test for each of S-018-1, -2, -3, -4, -8, -9, -15, -18, -20 uv run pytest on test_s018_ungranted_call, test_s018_granted_run, test_s018_agent_gate, test_agent_server, test_owned_postgresql_converge, test_domains_converge, test_compatibility_surface, test_component_lock, test_operator, test_interface_changelog, test_s017_record_kinds, test_deploy_approval, test_migrate_approval: 263 passed The full suite is left to CI. No engine test imports the changed SDK modules Fixes #476 🤖 Generated with Claude Code

Open Graph Description: Plan Serves: G-2 Files: config/schemas/v1/operator-proposal.schema.json, sdk/src/cloudfall/agent_gate.py, sdk/src/cloudfall/app.py, sdk/src/cloudfall/operator.py, sdk/src/cloudfall/component_lock....

X Description: Plan Serves: G-2 Files: config/schemas/v1/operator-proposal.schema.json, sdk/src/cloudfall/agent_gate.py, sdk/src/cloudfall/app.py, sdk/src/cloudfall/operator.py, sdk/src/cloudfall/component_lock....

Opengraph URL: https://github.com/cloudfall-dev/cloudfall/pull/492

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:9852053a-3e2c-4297-1582-4c4784678faf
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBB8E:12E8E1:101EA13:16034D1:6B055D36
html-safe-noncecd803849abefdea946784aaeb48f84533b9734d5e5bc9ba026ba4fad5d2f492e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjhFOjEyRThFMToxMDFFQTEzOjE2MDM0RDE6NkIwNTVEMzYiLCJ2aXNpdG9yX2lkIjoiNjM4MjI1NTEwMjI0MTM2NTMwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac0c0c45ae7e4f6e611b647dc3cf5975fb753bbc17c0e5c5da6c67e0647449bd50
hovercard-subject-tagpull_request:5356454890
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/cloudfall-dev/cloudfall/pull/492/files
twitter:imagehttps://avatars.githubusercontent.com/u/5600783?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/5600783?s=400&v=4
og:image:altPlan Serves: G-2 Files: config/schemas/v1/operator-proposal.schema.json, sdk/src/cloudfall/agent_gate.py, sdk/src/cloudfall/app.py, sdk/src/cloudfall/operator.py, sdk/src/cloudfall/component_lock....
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None8a6760da3cce5e2d079d07e3b62df71194316c4478db1a5e38050f44fce72c72
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/cloudfall-dev/cloudfall git https://github.com/cloudfall-dev/cloudfall.git
octolytics-dimension-user_id339512759
octolytics-dimension-user_logincloudfall-dev
octolytics-dimension-repository_id1360999777
octolytics-dimension-repository_nwocloudfall-dev/cloudfall
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1360999777
octolytics-dimension-repository_network_root_nwocloudfall-dev/cloudfall
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8327739ac0648b9c3c722b5f401f7338553936b8
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cloudfall-dev/cloudfall/pull/492/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfall-dev%2Fcloudfall%2Fpull%2F492%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfall-dev%2Fcloudfall%2Fpull%2F492%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=cloudfall-dev%2Fcloudfall
Reloadhttps://github.com/cloudfall-dev/cloudfall/pull/492/files
Reloadhttps://github.com/cloudfall-dev/cloudfall/pull/492/files
Reloadhttps://github.com/cloudfall-dev/cloudfall/pull/492/files
cloudfall-devhttps://github.com/cloudfall-dev
cloudfallhttps://github.com/cloudfall-dev/cloudfall
Codehttps://github.com/cloudfall-dev/cloudfall
Issues78 (78)https://github.com/cloudfall-dev/cloudfall/issues
Pull requests10 (10)https://github.com/cloudfall-dev/cloudfall/pulls
Discussionshttps://github.com/cloudfall-dev/cloudfall/discussions
Actionshttps://github.com/cloudfall-dev/cloudfall/actions
Security and qualityhttps://github.com/cloudfall-dev/cloudfall/security
Insightshttps://github.com/cloudfall-dev/cloudfall/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fcloudfall-dev%2Fcloudfall%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fcloudfall-dev%2Fcloudfall%2Fissues%2Fnew%2Fchoose
shipmill-romamohttps://github.com/apps/shipmill-romamo
mainhttps://github.com/cloudfall-dev/cloudfall/tree/main
feat/476-ungranted-mcp-calls-proposehttps://github.com/cloudfall-dev/cloudfall/tree/feat/476-ungranted-mcp-calls-propose
Conversation 1 https://github.com/cloudfall-dev/cloudfall/pull/492
Commits 3 https://github.com/cloudfall-dev/cloudfall/pull/492/commits
Checks 2 https://github.com/cloudfall-dev/cloudfall/pull/492/checks
Files changed 10 https://github.com/cloudfall-dev/cloudfall/pull/492/files
S-018: a confirmed MCP call no grant covers only proposes (Breaking) https://github.com/cloudfall-dev/cloudfall/pull/492/files#top
Show all changes 3 commits https://github.com/cloudfall-dev/cloudfall/pull/492/files
0ffa457 Propose a confirmed MCP call no grant covers instead of running it (S… shipmill-romamo[bot] Nov 17, 2026 https://github.com/cloudfall-dev/cloudfall/pull/492/commits/0ffa457ea96fd9811ae8d7012f2c932028a8399d
1584e6b Propose a gated run that changes no declared server too (S-018-1) shipmill-romamo[bot] Nov 17, 2026 https://github.com/cloudfall-dev/cloudfall/pull/492/commits/1584e6b72fd3bc5fc4cb6a113c7a7b35832b5be7
905fa91 Let a finished migrate answer as before, and say --proposals gates th… shipmill-romamo[bot] Nov 17, 2026 https://github.com/cloudfall-dev/cloudfall/pull/492/commits/905fa91e55f8796be8fa8e25d5297c925cabbfbf
Clear filters https://github.com/cloudfall-dev/cloudfall/pull/492/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/492/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/492/files
476-ungranted-mcp-calls-propose.md https://github.com/cloudfall-dev/cloudfall/pull/492/files#diff-294dc82a82ab5678f29b1036ff9c5a7d470912bf6c5cd477fdef5f47351c52dc
operator-proposal.schema.json https://github.com/cloudfall-dev/cloudfall/pull/492/files#diff-2952a05dc50bfb9c124a19f5bfeb1ffde5793cccd2dbaf098603f9823676679d
agent_gate.py https://github.com/cloudfall-dev/cloudfall/pull/492/files#diff-bda2a192ff1307dc3ea6d35568a0b94441cb622b16b2f7458492d83a853d58a2
agent_server.py https://github.com/cloudfall-dev/cloudfall/pull/492/files#diff-cb52d8a4b5af6b71432660ea59ba332075af6e65aa7324e37263495ff8c510f4
app.py https://github.com/cloudfall-dev/cloudfall/pull/492/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
component_lock.py https://github.com/cloudfall-dev/cloudfall/pull/492/files#diff-bf51dc445edbdccac4365b7e8d6c89de809c4beab3ef73708415ca0a62e9747f
operator.py https://github.com/cloudfall-dev/cloudfall/pull/492/files#diff-6faa937f971ec0e078b7052accac7450a634497425b6a987966275a596c9bfd7
test_agent_server.py https://github.com/cloudfall-dev/cloudfall/pull/492/files#diff-48d0ae7fab1e829d319e055aee885ab06a5d6b381e30dad3bb0204125b85b82c
test_owned_postgresql_converge.py https://github.com/cloudfall-dev/cloudfall/pull/492/files#diff-86a389b9bbf7d2dc090a90c0e540cbbd5c3fdfab3a048986e3ea8291f0656cf8
test_s018_ungranted_call.py https://github.com/cloudfall-dev/cloudfall/pull/492/files#diff-9efbdac01f75e3b1e73b1633cf4bdcb2372fafc9c1fad4822f6c41c440763c96
changelog.d/476-ungranted-mcp-calls-propose.mdhttps://github.com/cloudfall-dev/cloudfall/pull/492/files#diff-294dc82a82ab5678f29b1036ff9c5a7d470912bf6c5cd477fdef5f47351c52dc
View file https://github.com/cloudfall-dev/cloudfall/blob/905fa91e55f8796be8fa8e25d5297c925cabbfbf/changelog.d/476-ungranted-mcp-calls-propose.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/492/{{ revealButtonHref }}
config/schemas/v1/operator-proposal.schema.jsonhttps://github.com/cloudfall-dev/cloudfall/pull/492/files#diff-2952a05dc50bfb9c124a19f5bfeb1ffde5793cccd2dbaf098603f9823676679d
View file https://github.com/cloudfall-dev/cloudfall/blob/905fa91e55f8796be8fa8e25d5297c925cabbfbf/config/schemas/v1/operator-proposal.schema.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/492/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/492/files#diff-2952a05dc50bfb9c124a19f5bfeb1ffde5793cccd2dbaf098603f9823676679d
https://github.com/cloudfall-dev/cloudfall/pull/492/files#diff-2952a05dc50bfb9c124a19f5bfeb1ffde5793cccd2dbaf098603f9823676679d
sdk/src/cloudfall/agent_gate.pyhttps://github.com/cloudfall-dev/cloudfall/pull/492/files#diff-bda2a192ff1307dc3ea6d35568a0b94441cb622b16b2f7458492d83a853d58a2
View file https://github.com/cloudfall-dev/cloudfall/blob/905fa91e55f8796be8fa8e25d5297c925cabbfbf/sdk/src/cloudfall/agent_gate.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/492/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/492/files#diff-bda2a192ff1307dc3ea6d35568a0b94441cb622b16b2f7458492d83a853d58a2
https://github.com/cloudfall-dev/cloudfall/pull/492/files#diff-bda2a192ff1307dc3ea6d35568a0b94441cb622b16b2f7458492d83a853d58a2
https://github.com/cloudfall-dev/cloudfall/pull/492/files#diff-bda2a192ff1307dc3ea6d35568a0b94441cb622b16b2f7458492d83a853d58a2
https://github.com/cloudfall-dev/cloudfall/pull/492/files#diff-bda2a192ff1307dc3ea6d35568a0b94441cb622b16b2f7458492d83a853d58a2
https://github.com/cloudfall-dev/cloudfall/pull/492/files#diff-bda2a192ff1307dc3ea6d35568a0b94441cb622b16b2f7458492d83a853d58a2
https://github.com/cloudfall-dev/cloudfall/pull/492/files#diff-bda2a192ff1307dc3ea6d35568a0b94441cb622b16b2f7458492d83a853d58a2
https://github.com/cloudfall-dev/cloudfall/pull/492/files#diff-bda2a192ff1307dc3ea6d35568a0b94441cb622b16b2f7458492d83a853d58a2
https://github.com/cloudfall-dev/cloudfall/pull/492/files#diff-bda2a192ff1307dc3ea6d35568a0b94441cb622b16b2f7458492d83a853d58a2
sdk/src/cloudfall/agent_server.pyhttps://github.com/cloudfall-dev/cloudfall/pull/492/files#diff-cb52d8a4b5af6b71432660ea59ba332075af6e65aa7324e37263495ff8c510f4
View file https://github.com/cloudfall-dev/cloudfall/blob/905fa91e55f8796be8fa8e25d5297c925cabbfbf/sdk/src/cloudfall/agent_server.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/492/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/492/files#diff-cb52d8a4b5af6b71432660ea59ba332075af6e65aa7324e37263495ff8c510f4
https://github.com/cloudfall-dev/cloudfall/pull/492/files#diff-cb52d8a4b5af6b71432660ea59ba332075af6e65aa7324e37263495ff8c510f4
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/492/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/492/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.