Title: treaty: no way to add a preview to a destructive tool's CONFIRMATION_REQUIRED answer · Issue #483 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: treaty: no way to add a preview to a destructive tool's CONFIRMATION_REQUIRED answer · Issue #483 · cloudfall-dev/cloudfall
X Title: treaty: no way to add a preview to a destructive tool's CONFIRMATION_REQUIRED answer · Issue #483 · cloudfall-dev/cloudfall
Description: treaty answers an unconfirmed call of a destructive provided MCP tool with CONFIRMATION_REQUIRED before the tool's handler runs, and that answer can't carry data from the handler. It holds the converge_* part of S-018-10 (the follow-up i...
Open Graph Description: treaty answers an unconfirmed call of a destructive provided MCP tool with CONFIRMATION_REQUIRED before the tool's handler runs, and that answer can't carry data from the handler. It holds the conv...
X Description: treaty answers an unconfirmed call of a destructive provided MCP tool with CONFIRMATION_REQUIRED before the tool's handler runs, and that answer can't carry data from the handler. It holds ...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/483
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"treaty: no way to add a preview to a destructive tool's CONFIRMATION_REQUIRED answer","articleBody":"treaty answers an unconfirmed call of a destructive provided MCP tool with `CONFIRMATION_REQUIRED` before the tool's handler runs, and that answer can't carry data from the handler. It holds the `converge_*` part of S-018-10 (the follow-up issue linked below).\n\n## Reproduce\n\nOver `cloudfall mcp serve` in a project (treaty 1.1.0), call `converge_services`, `converge_baseline` or `converge_domains` without `confirm_destructive`. treaty answers `CONFIRMATION_REQUIRED` itself; Cloudfall's handler never runs, so the plan can't carry the `approval` preview (`selfConfirm`, `environments`) that S-018-10 asks for. A tool flagged destructive also can't handle `confirm_destructive` itself.\n\n## Touches\n\nThe `treaty` package, 1.1.0 (pinned in `pyproject.toml`): how a destructive provided tool's unconfirmed call is answered over MCP.\n\n## Suspected code\n\nGuess: treaty's MCP server path that checks `confirm_destructive` before dispatching a provided tool. What Cloudfall needs is a hook that lets the tool add data (a preview) to the `CONFIRMATION_REQUIRED` answer, or lets the handler build that answer itself while the tool stays advertised as destructive.\n\n\u003c!-- shipmill:agent -->","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-11-17T08:53:34Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/483"}
| 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:ee1e893e-db87-43cd-a052-6ebc6596d92c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AE0C:23AE4E:18BE339:208CB54:6B05568B |
| html-safe-nonce | 9b07d1b79a93f9d6137c27ccc8b52fb1aa284a78114a0715818f96e5a31f0aa0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTBDOjIzQUU0RToxOEJFMzM5OjIwOENCNTQ6NkIwNTU2OEIiLCJ2aXNpdG9yX2lkIjoiOTAyMjA5NjI4MDg2Mjk0MTU1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e8bf40fb55054220445ddc8c90d09c69c7a4ffd421aaa476ec639023ba9ad23f |
| hovercard-subject-tag | issue:6440909616 |
| 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/483/issue_layout |
| twitter:image | https://opengraph.githubassets.com/39d5adb097de1523c0c48cb2304652028b33a2cf81cfafdacf6ca5ac92e625f1/cloudfall-dev/cloudfall/issues/483 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/39d5adb097de1523c0c48cb2304652028b33a2cf81cfafdacf6ca5ac92e625f1/cloudfall-dev/cloudfall/issues/483 |
| og:image:alt | treaty answers an unconfirmed call of a destructive provided MCP tool with CONFIRMATION_REQUIRED before the tool's handler runs, and that answer can't carry data from the handler. It holds the conv... |
| 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