Title: Over MCP in project mode the agent confirms its own changes, while the docs promise a gate it does not control · Issue #391 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: Over MCP in project mode the agent confirms its own changes, while the docs promise a gate it does not control · Issue #391 · cloudfall-dev/cloudfall
X Title: Over MCP in project mode the agent confirms its own changes, while the docs promise a gate it does not control · Issue #391 · cloudfall-dev/cloudfall
Description: Found in a whole-project review at 03e2faa (0.8.0rc45). Needs a decision by the maintainer before anything is built. Spec: docs/specs/018-mcp-self-confirmation-by-policy.md (S-018), approved by the merge of #395. Problem The docs promise...
Open Graph Description: Found in a whole-project review at 03e2faa (0.8.0rc45). Needs a decision by the maintainer before anything is built. Spec: docs/specs/018-mcp-self-confirmation-by-policy.md (S-018), approved by the...
X Description: Found in a whole-project review at 03e2faa (0.8.0rc45). Needs a decision by the maintainer before anything is built. Spec: docs/specs/018-mcp-self-confirmation-by-policy.md (S-018), approved by the...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/391
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Over MCP in project mode the agent confirms its own changes, while the docs promise a gate it does not control","articleBody":"Found in a whole-project review at 03e2faa (0.8.0rc45). Needs a decision by the maintainer before anything is built.\n\nSpec: `docs/specs/018-mcp-self-confirmation-by-policy.md` (S-018), approved by the merge of #395.\n\n## Problem\n\nThe docs promise one gate: \"waits behind a gate the agent does not control\" (ARCHITECTURE.md), Q-2 in `docs/product.md`, \"a gate it cannot bypass\" (`docs/brownfield-design.md`). The code has three:\n\n- Declared operations (fleet mode): the agent can only propose; a person approves at a terminal\n- Operator proposals: a terminal, or an `OperatorPolicy` that licenses the operation class\n- Project mode over `cloudfall mcp serve`: the agent confirms itself. The server's own instructions (`sdk/src/cloudfall/agent_server.py`) say so: `deploy`, `rollback`, `restart`, `migrate`, `data_copy` and `domains_apply` run when called again with `yes: true`, and the `converge_*` tools, which run on every declared server, run with `confirm_destructive: true`\n\nSo in project mode the same agent that decides also passes the flag that lets the change through. The `converge_*` handlers in `app.py` (`_converge_baseline_handler` and its siblings) return a payload and write no decision record of who confirmed, while the same playbook proposed by the operator needs a person or a policy.\n\n`docs/operator-guide.md` already says the terminal check is \"a speed bump ... not a boundary\", and `cloudfall-engine playbook run` is a mutating entry point with no gate at all. The other documents don't.\n\n## Options\n\n1. One gate everywhere: MCP tools that change servers only propose; the run needs a person at a terminal or a policy grant, as declared operations do. Costs the one-command migration flow an agent runs today\n2. Policy decides: self-confirmation stays only for operation classes an `OperatorPolicy` grants, per environment; everything else proposes. Each confirmed run writes a record naming the agent as approver\n3. Keep the code, fix the claim: say in ARCHITECTURE.md, product.md and the brownfield design that in project mode the confirmation is the agent's own, and that the gate holds only for declared operations and the operator\n\n## Recommendation\n\nOption 2, with option 3's wording until it is built. It keeps the wedge flow for a staging or first-install environment, makes production follow the same rule as the operator, and gives every run a record. Related: #350, #351, #352.\n\nDepends on cloudfall-dev/cloudfall#474\n\nDepends on cloudfall-dev/cloudfall#475\n\nDepends on cloudfall-dev/cloudfall#476\n\nDepends on cloudfall-dev/cloudfall#477\n\nDepends on cloudfall-dev/cloudfall#478\n\nDepends on cloudfall-dev/cloudfall#484\n\n\u003c!-- shipmill:agent -->","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-11-15T20:01:02Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/391"}
| 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 | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7b451098-3798-d006-718a-fe15c82eb768 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B1A8:245B83:F4E3D3:14E4E63:6B055982 |
| html-safe-nonce | 6680b1fefd7b6421a13a23349a1563147f21ef0998f4f197439dc7624acade22 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMUE4OjI0NUI4MzpGNEUzRDM6MTRFNEU2Mzo2QjA1NTk4MiIsInZpc2l0b3JfaWQiOiI3NzYxMTgyODk2OTc0ODEzNTcwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2c9d0ed0d682756752c141b9b62effcceef5dbc522dba645527c19076a10da23 |
| hovercard-subject-tag | issue:6408801387 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cloudfall-dev/cloudfall/391/issue_layout |
| twitter:image | https://opengraph.githubassets.com/72e55fae9c9bda73f4df97daa32b3c317e85c9f81ccb28e5418ae695d3170a96/cloudfall-dev/cloudfall/issues/391 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/72e55fae9c9bda73f4df97daa32b3c317e85c9f81ccb28e5418ae695d3170a96/cloudfall-dev/cloudfall/issues/391 |
| og:image:alt | Found in a whole-project review at 03e2faa (0.8.0rc45). Needs a decision by the maintainer before anything is built. Spec: docs/specs/018-mcp-self-confirmation-by-policy.md (S-018), approved by the... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | shipmill-romamo[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | a79a02b7e7546ea306864e922ed2103ef4c04fac63168e11c2b2d4d816793080 |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| 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 |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width