Title: Autonomy history is counted across environments, so staging runs earn autonomy in production · Issue #351 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: Autonomy history is counted across environments, so staging runs earn autonomy in production · Issue #351 · cloudfall-dev/cloudfall
X Title: Autonomy history is counted across environments, so staging runs earn autonomy in production · Issue #351 · cloudfall-dev/cloudfall
Description: Found in a whole-project review at 03e2faa (0.8.0rc45). Problem sdk/src/cloudfall/operator.py (the autonomy check, about line 1241) builds the history a grant is judged on from every settled receipt of the same operation kind: history = ...
Open Graph Description: Found in a whole-project review at 03e2faa (0.8.0rc45). Problem sdk/src/cloudfall/operator.py (the autonomy check, about line 1241) builds the history a grant is judged on from every settled receip...
X Description: Found in a whole-project review at 03e2faa (0.8.0rc45). Problem sdk/src/cloudfall/operator.py (the autonomy check, about line 1241) builds the history a grant is judged on from every settled receip...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/351
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Autonomy history is counted across environments, so staging runs earn autonomy in production","articleBody":"Found in a whole-project review at 03e2faa (0.8.0rc45).\n\n## Problem\n\n`sdk/src/cloudfall/operator.py` (the autonomy check, about line 1241) builds the history a grant is judged on from every settled receipt of the same operation kind:\n\n```python\nhistory = [\n receipt\n for receipt in receipts\n if receipt.operation_kind is proposal.operation_kind\n and receipt.resource_id != proposal.resource_id\n and receipt.status in _SETTLED_STATUSES\n]\n```\n\nNeither the server nor its environment is compared. Verified runs on staging count toward `required_verified_runs` of the production policy, so production earns autonomy for an operation that never ran there. The suspension rule reads the same list, so a failure on staging also suspends production.\n\n## Proposal\n\n- Count only receipts whose `operation_server` belongs to the environment of the policy being applied\n- Decide and document whether a grant is earned per environment or per server\n- A test with verified staging history and no production history: the production proposal is not granted autonomy\n\n\u003c!-- shipmill:agent -->","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-11-15T16:02:20Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/351"}
| 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:a108d896-6384-59f7-d69e-d843c6a04ed4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C206:34675C:FCBB86:1598031:6B055C50 |
| html-safe-nonce | ace08519f299af052a2c1ba159b258cfb1141c3d4507d79c3f081b95fb08c323 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjA2OjM0Njc1QzpGQ0JCODY6MTU5ODAzMTo2QjA1NUM1MCIsInZpc2l0b3JfaWQiOiI0MjA2NzE3NTEzODQyOTA4MjQxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ae76f553972a25fb61bcf058e387abb01ea4c7c14ebc737b9313091ded67aba3 |
| hovercard-subject-tag | issue:6406203917 |
| 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/351/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9cd2fbf106f4c2ef0b796a227a407ec64211bfb2935ea4944e16da394da81183/cloudfall-dev/cloudfall/issues/351 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9cd2fbf106f4c2ef0b796a227a407ec64211bfb2935ea4944e16da394da81183/cloudfall-dev/cloudfall/issues/351 |
| og:image:alt | Found in a whole-project review at 03e2faa (0.8.0rc45). Problem sdk/src/cloudfall/operator.py (the autonomy check, about line 1241) builds the history a grant is judged on from every settled receip... |
| 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