René's URL Explorer Experiment
Title: S-018: a granted MCP run writes an agent record and runs its verify step by shipmill-romamo[bot] · Pull Request #487 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: S-018: a granted MCP run writes an agent record and runs its verify step by shipmill-romamo[bot] · Pull Request #487 · cloudfall-dev/cloudfall
X Title: S-018: a granted MCP run writes an agent record and runs its verify step by shipmill-romamo[bot] · Pull Request #487 · cloudfall-dev/cloudfall
Description: Plan
Serves: G-2
Files: sdk/src/cloudfall/agent_gate.py, sdk/src/cloudfall/app.py, sdk/src/cloudfall/agent_server.py, sdk/src/cloudfall/commands.py, sdk/src/cloudfall/operator.py, sdk/src/cloudfall/proposal_binding.py, sdk/tests/test_s018_granted_run.py, changelog.d/475-granted-mcp-run-record.md
Order: the granted run's record and verdicts in agent_gate (reusing #474's check_grant, so D-19 counting is the operator's own); the D-20 git state exposed from proposal_binding; then each gated command and converge_* handler wrapped so the record is saved running when the first engine step starts and settled by the tool's own check; the reason input and the result's approval; tests per criterion
Proof: S-018-5, S-018-6, S-018-7 over a real cloudfall mcp serve with a stand-in deploy playbook (test_s018_5_*, test_s018_6_*, test_s018_7_*); S-018-17 through the granted-run glue with the audit and domains observe verdicts (test_s018_17_*); specs.py coverage --spec 018 lists each
Summary
The granted path of spec 018. 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, or a converge_* tool with confirm_destructive: true) that an OperatorPolicy grant covers in every environment it touches now:
writes one agent OperatorProposal to the proposal store, saved running by a wrapper on the run's step runner, so it is on disk before the first ansible-playbook and a call refused before any step (lock, artifact, S-008) writes none
binds planSha256 (sha256 of the plan the unconfirmed call answers, as JSON with sorted keys), and in a git project gitCommit and worktreeDigest as D-20 computes them; names the tool, its arguments without the bound ones, the reason, the policy, the grant and the client
settles verified or failed by the tool's own check: the health gate, every migrate step, the data copy receipt, domains observe of the changed Domains, or an audit of the changed servers (a non-compliant check, drift or unknown, fails). A run or check that raises is recorded failed and raised as before
answers approval on the result: mode: agent, policy, grant, record, status
Each gated tool gains an optional reason (1 to 1000 characters). A confirmed call no grant covers, and every CLI command, runs as before and writes no record (#476 switches the ungranted call to proposing). No tool name or exit code changes.
Test notes
New: sdk/tests/test_s018_granted_run.py (9 tests), all passing
Ran: uv run ruff check ., uv run mypy, specs.py check, and the touched files' tests: test_s018_agent_gate, test_agent_server, test_compatibility_surface, test_interface_changelog, test_commands, test_app, test_deploy_approval, test_migrate, test_migrate_approval, test_data_migration, test_data_copy_preflight, test_operator, test_project, test_component_lock, test_command_health_check, test_lifecycle, the converge tests (398 passed)
engine/tests did not finish locally within the session; no engine module or test imports a changed module (operator, agent_gate, proposal_binding, app), so they are left to CI with the full suite
Fixes #475
🤖 Generated with Claude Code
Open Graph Description: Plan
Serves: G-2
Files: sdk/src/cloudfall/agent_gate.py, sdk/src/cloudfall/app.py, sdk/src/cloudfall/agent_server.py, sdk/src/cloudfall/commands.py, sdk/src/cloudfall/operator.py, sdk/src/cloudfal...
X Description: Plan
Serves: G-2
Files: sdk/src/cloudfall/agent_gate.py, sdk/src/cloudfall/app.py, sdk/src/cloudfall/agent_server.py, sdk/src/cloudfall/commands.py, sdk/src/cloudfall/operator.py, sdk/src/cloudfal...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/pull/487
X: @github
direct link
Domain: github.com
IPv4 address: 140.82.112.3
| react-profiling | 0 |
| react-import-map | react,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-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:f43bd9b8-b6e1-cf9e-767f-b9d295c4d276 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9F04:103C51:EC1089:142BFBB:6B055792 |
| html-safe-nonce | b3f53705521e4ff689b4290b132e800f17ca8054c0388e22eef607830b0c949b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjA0OjEwM0M1MTpFQzEwODk6MTQyQkZCQjo2QjA1NTc5MiIsInZpc2l0b3JfaWQiOiI0MTk3MjA0NTgxMTY4ODAyNzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bfb2bed0bf4b9829acb5fe162ed619c016d009334ce1db646c7c04a1af707ae6 |
| hovercard-subject-tag | pull_request:5355358554 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/cloudfall-dev/cloudfall/pull/487/files |
| twitter:image | https://avatars.githubusercontent.com/u/5600783?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/5600783?s=400&v=4 |
| og:image:alt | Plan
Serves: G-2
Files: sdk/src/cloudfall/agent_gate.py, sdk/src/cloudfall/app.py, sdk/src/cloudfall/agent_server.py, sdk/src/cloudfall/commands.py, sdk/src/cloudfall/operator.py, sdk/src/cloudfal... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | a79a02b7e7546ea306864e922ed2103ef4c04fac63168e11c2b2d4d816793080 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/cloudfall-dev/cloudfall git https://github.com/cloudfall-dev/cloudfall.git |
| octolytics-dimension-user_id | 339512759 |
| octolytics-dimension-user_login | cloudfall-dev |
| octolytics-dimension-repository_id | 1360999777 |
| octolytics-dimension-repository_nwo | cloudfall-dev/cloudfall |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1360999777 |
| octolytics-dimension-repository_network_root_nwo | cloudfall-dev/cloudfall |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 10dff83edfd4f3617a7792a152d44991587b434c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
| Skip to content | https://github.com/cloudfall-dev/cloudfall/pull/487/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfall-dev%2Fcloudfall%2Fpull%2F487%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfall-dev%2Fcloudfall%2Fpull%2F487%2Ffiles |
| Sign up | https://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 |
| Reload | https://github.com/cloudfall-dev/cloudfall/pull/487/files |
| Reload | https://github.com/cloudfall-dev/cloudfall/pull/487/files |
| Reload | https://github.com/cloudfall-dev/cloudfall/pull/487/files |
| cloudfall-dev | https://github.com/cloudfall-dev |
| cloudfall | https://github.com/cloudfall-dev/cloudfall |
| Code | https://github.com/cloudfall-dev/cloudfall |
| Issues78 (78) | https://github.com/cloudfall-dev/cloudfall/issues |
| Pull requests10 (10) | https://github.com/cloudfall-dev/cloudfall/pulls |
| Discussions | https://github.com/cloudfall-dev/cloudfall/discussions |
| Actions | https://github.com/cloudfall-dev/cloudfall/actions |
| Security and quality | https://github.com/cloudfall-dev/cloudfall/security |
| Insights | https://github.com/cloudfall-dev/cloudfall/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fcloudfall-dev%2Fcloudfall%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fcloudfall-dev%2Fcloudfall%2Fissues%2Fnew%2Fchoose |
| shipmill-romamo | https://github.com/apps/shipmill-romamo |
| main | https://github.com/cloudfall-dev/cloudfall/tree/main |
| feat/475-granted-mcp-run-record | https://github.com/cloudfall-dev/cloudfall/tree/feat/475-granted-mcp-run-record |
|
Conversation
1
| https://github.com/cloudfall-dev/cloudfall/pull/487 |
|
Commits
2
| https://github.com/cloudfall-dev/cloudfall/pull/487/commits |
|
Checks
2
| https://github.com/cloudfall-dev/cloudfall/pull/487/checks |
|
Files changed
8
| https://github.com/cloudfall-dev/cloudfall/pull/487/files |
|
S-018: a granted MCP run writes an agent record and runs its verify step
| https://github.com/cloudfall-dev/cloudfall/pull/487/files#top |
|
Show all changes
2 commits
| https://github.com/cloudfall-dev/cloudfall/pull/487/files |
|
5cef41e
Write an agent record for a granted MCP run and verify it by the tool…
shipmill-romamo[bot] Nov 17, 2026
| https://github.com/cloudfall-dev/cloudfall/pull/487/commits/5cef41eb265724c528207a165524f1f6a80b6a21 |
|
a7fd083
Settle a granted run failed whatever error ends it (S-018-7)
shipmill-romamo[bot] Nov 17, 2026
| https://github.com/cloudfall-dev/cloudfall/pull/487/commits/a7fd083953fd48dbd7b4ff284da2c6d999019b14 |
|
Clear filters
| https://github.com/cloudfall-dev/cloudfall/pull/487/files |
| Please reload this page | https://github.com/cloudfall-dev/cloudfall/pull/487/files |
| Please reload this page | https://github.com/cloudfall-dev/cloudfall/pull/487/files |
|
475-granted-mcp-run-record.md
| https://github.com/cloudfall-dev/cloudfall/pull/487/files#diff-074d5826bd093e3671cd086044f27f1e79c1adbc7572e3e33f1b381a3948f2e4 |
|
agent_gate.py
| https://github.com/cloudfall-dev/cloudfall/pull/487/files#diff-bda2a192ff1307dc3ea6d35568a0b94441cb622b16b2f7458492d83a853d58a2 |
|
agent_server.py
| https://github.com/cloudfall-dev/cloudfall/pull/487/files#diff-cb52d8a4b5af6b71432660ea59ba332075af6e65aa7324e37263495ff8c510f4 |
|
app.py
| https://github.com/cloudfall-dev/cloudfall/pull/487/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763 |
|
commands.py
| https://github.com/cloudfall-dev/cloudfall/pull/487/files#diff-e11cc5881f876e11cf81d9bcb39f0fb74710976f27a01a99fb979dfc76c09cc1 |
|
operator.py
| https://github.com/cloudfall-dev/cloudfall/pull/487/files#diff-6faa937f971ec0e078b7052accac7450a634497425b6a987966275a596c9bfd7 |
|
proposal_binding.py
| https://github.com/cloudfall-dev/cloudfall/pull/487/files#diff-a9816170027b3439e1e72632c017c442b8458c69f6ff8254c47487d194c036bf |
|
test_s018_granted_run.py
| https://github.com/cloudfall-dev/cloudfall/pull/487/files#diff-e5c0faf3af6c0aa2e7e93a2dcab10957e1da6f54c9fe160638ca3c480b8c534c |
| changelog.d/475-granted-mcp-run-record.md | https://github.com/cloudfall-dev/cloudfall/pull/487/files#diff-074d5826bd093e3671cd086044f27f1e79c1adbc7572e3e33f1b381a3948f2e4 |
|
View file
| https://github.com/cloudfall-dev/cloudfall/blob/a7fd083953fd48dbd7b4ff284da2c6d999019b14/changelog.d/475-granted-mcp-run-record.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/cloudfall-dev/cloudfall/pull/487/{{ revealButtonHref }} |
| Please reload this page | https://github.com/cloudfall-dev/cloudfall/pull/487/files |
| Please reload this page | https://github.com/cloudfall-dev/cloudfall/pull/487/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |
Response headers:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | no-cache |
Viewport: width=device-width
URLs of crawlers that visited me.