René's URL Explorer Experiment


Title: Give a record left running a way out a person confirms by shipmill-romamo[bot] · Pull Request #252 · cloudfall-dev/cloudfall · GitHub

Open Graph Title: Give a record left running a way out a person confirms by shipmill-romamo[bot] · Pull Request #252 · cloudfall-dev/cloudfall

X Title: Give a record left running a way out a person confirms by shipmill-romamo[bot] · Pull Request #252 · cloudfall-dev/cloudfall

Description: Plan Serves: G-2 Files: sdk/src/cloudfall/decision.py, sdk/src/cloudfall/operator.py, sdk/src/cloudfall/record_files.py, sdk/src/cloudfall/app.py, sdk/src/cloudfall/commands.py, sdk/src/cloudfall/why.py, config/schemas/v1/operation-decision.schema.json, config/schemas/v1/operator-proposal.schema.json, docs/operator-guide.md, sdk/README.md, sdk/tests/test_decision.py, sdk/tests/test_operator.py, sdk/tests/test_record_files.py, sdk/tests/test_why.py, sdk/tests/test_agent_server.py, changelog.d/244-running-record-way-out.md Order: failing tests first (a running decision and a running operator proposal closed as interrupted, the operator proposing again for the same trigger, a non-running record refused, the directory flushed after a write); then the new interrupted status and interruption field in both schemas and stores, the two mark-interrupted commands, the refusal messages naming them, the directory fsync, the operator guide Proof: uv run pytest sdk/tests/test_decision.py sdk/tests/test_operator.py sdk/tests/test_record_files.py sdk/tests/test_why.py sdk/tests/test_project.py sdk/tests/test_agent_server.py sdk/tests/test_commands.py sdk/tests/test_app.py, uv run ruff check ., uv run mypy Summary Since #237 a decision or operator proposal whose run died midway stays running, and nothing ends that state; an operator proposal left so blocks new proposals for its alert or drift for good. This gives it a way out that a person confirms: cloudfall decisions mark-interrupted --confirm-dead and cloudfall operator mark-interrupted --confirm-dead close a running record as the new status interrupted. Without --confirm-dead they exit 2 and write nothing; a record that is not running is refused with PRECONDITION (decision_not_running, operator_proposal_not_running). The store re-reads the record under its lock, so a run that recorded its outcome meanwhile keeps it The record keeps its approval and gains interruption: {confirmedBy, confirmedAt} (--by, default USER; blank, overlong or unprintable names are refused with record_confirmer_invalid). A decision also gets a verdict, so cloudfall why tells who confirmed it and when An interrupted proposal does not block the operator's duplicate check, so the next alerts or drift pass proposes again for the same trigger The refusals of decisions approve and operator approve for a running record now name the command to run Neither command is an MCP tool (mcp=False, like the approve commands); the agent contract (commands.py) lists both as project-writing commands record_files.create and replace fsync the directory after the link or rename; the fsync is an injectable parameter, tested through a real temp dir docs/operator-guide.md gets a "A run that died midway" section; sdk/README.md lists the new commands as never-tools The record format change is additive: a new status value in both enums, a new optional interruption object, and a schema condition that an interrupted record holds approval and interruption. The operator schema's top-level if/then moved into an allOf to hold the second condition; the running rule is unchanged. Decided without a recorded decision (new public CLI surface, for the maintainer to confirm): the command name mark-interrupted, the --confirm-dead and --by flags, the status name interrupted, the field name interruption, and that the commands are flag-confirmed rather than terminal-attested like approve. Test notes New: closing a killed run as interrupted (store round trip, on-disk fields), refusing a proposed or already-interrupted record, refusing an unreadable name, the CLI refusing without --confirm-dead and closing with it, the CLI refusing a non-running record as PRECONDITION, both commands off MCP, the operator proposing again after an alert and a drift proposal were closed, the why story of an interrupted decision, the refusal messages naming the command, and the directory fsync seeing the new content after each write Ran: ruff check ., mypy, and the test files above (234 passed). The full suite is left to CI Fixes #244 🤖 Generated with Claude Code

Open Graph Description: Plan Serves: G-2 Files: sdk/src/cloudfall/decision.py, sdk/src/cloudfall/operator.py, sdk/src/cloudfall/record_files.py, sdk/src/cloudfall/app.py, sdk/src/cloudfall/commands.py, sdk/src/cloudfall/...

X Description: Plan Serves: G-2 Files: sdk/src/cloudfall/decision.py, sdk/src/cloudfall/operator.py, sdk/src/cloudfall/record_files.py, sdk/src/cloudfall/app.py, sdk/src/cloudfall/commands.py, sdk/src/cloudfall/...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3

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:02bf93a9-0cc4-2ba9-0558-36ac952e78c1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBCF4:2B0D42:21DC9:2F323:6B056AE2
html-safe-nonce3c392979c544f7833bb4366190eed9a2c5453dce1ba0ae8de916c97b6daa8129
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQ0Y0OjJCMEQ0MjoyMURDOToyRjMyMzo2QjA1NkFFMiIsInZpc2l0b3JfaWQiOiI3MjU3NTIyMTYyNDYxMTQxNzMwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd218de955f7c523e3f4d2dced1311b284bd80f84cb345c584adda16bfb11c0a4
hovercard-subject-tagpull_request:5294327097
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/252/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: sdk/src/cloudfall/decision.py, sdk/src/cloudfall/operator.py, sdk/src/cloudfall/record_files.py, sdk/src/cloudfall/app.py, sdk/src/cloudfall/commands.py, sdk/src/cloudfall/...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None1be5cc09efdd4833c24a4ffa71d698e3999fa09071e159fe14c2c08e41c98331
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
releasef6d69234e682c947a48074340e69d45d5901de31
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cloudfall-dev/cloudfall/pull/252/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfall-dev%2Fcloudfall%2Fpull%2F252%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%2F252%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/252/files
Reloadhttps://github.com/cloudfall-dev/cloudfall/pull/252/files
Reloadhttps://github.com/cloudfall-dev/cloudfall/pull/252/files
cloudfall-devhttps://github.com/cloudfall-dev
cloudfallhttps://github.com/cloudfall-dev/cloudfall
Codehttps://github.com/cloudfall-dev/cloudfall
Issues77 (77)https://github.com/cloudfall-dev/cloudfall/issues
Pull requests9 (9)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
fix/244-running-record-way-outhttps://github.com/cloudfall-dev/cloudfall/tree/fix/244-running-record-way-out
Conversation 1 https://github.com/cloudfall-dev/cloudfall/pull/252
Commits 2 https://github.com/cloudfall-dev/cloudfall/pull/252/commits
Checks 1 https://github.com/cloudfall-dev/cloudfall/pull/252/checks
Files changed 16 https://github.com/cloudfall-dev/cloudfall/pull/252/files
Give a record left running a way out a person confirms https://github.com/cloudfall-dev/cloudfall/pull/252/files#top
Show all changes 2 commits https://github.com/cloudfall-dev/cloudfall/pull/252/files
6eeb5e5 Give a record left running a way out a person confirms shipmill-romamo[bot] Nov 13, 2026 https://github.com/cloudfall-dev/cloudfall/pull/252/commits/6eeb5e5da1fb1b347bb423e1596b190c2dceb724
0065ff7 Merge branch 'main' into fix/244-running-record-way-out shipmill-romamo[bot] Nov 13, 2026 https://github.com/cloudfall-dev/cloudfall/pull/252/commits/0065ff78a75878215620f4d4a8ef15c40a7ec9df
Clear filters https://github.com/cloudfall-dev/cloudfall/pull/252/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/252/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/252/files
244-running-record-way-out.md https://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-040585174acc27fe9c5f89edd8bf9e7e1aa5083ff6891bba82a9d01cc0946864
operation-decision.schema.json https://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-8ae89404205af6326c90e48fa55bd2e89820b1e3ebaaa1c1068d3edec74ed7f3
operator-proposal.schema.json https://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-2952a05dc50bfb9c124a19f5bfeb1ffde5793cccd2dbaf098603f9823676679d
operator-guide.md https://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-bf81ad8c6daaae1047b764751a5e04f84db53d6735f84277f3608c17270645ca
README.md https://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-00ba42324c784ebcf27766700a3924a25e593009a52d5431331d42bef9edd2e9
app.py https://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
commands.py https://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-e11cc5881f876e11cf81d9bcb39f0fb74710976f27a01a99fb979dfc76c09cc1
decision.py https://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-559ee9df924516657cb006208b49bf76b3e51ca33814ee3d123aeecd1f2d4110
operator.py https://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-6faa937f971ec0e078b7052accac7450a634497425b6a987966275a596c9bfd7
record_files.py https://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-e51bd51298a94245734abdb5325a03b4cfd62254288b6e32a93e1c44038c8ccd
why.py https://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-bb713780d596188753ffa9bf2ed25149a0fd8e0466924c09b6ca0e93a71ee6b2
test_agent_server.py https://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-48d0ae7fab1e829d319e055aee885ab06a5d6b381e30dad3bb0204125b85b82c
test_decision.py https://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-8678c7f3129339b8ea43962585bd2fda666596cbc409f3fcdefdc7de54307dab
test_operator.py https://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-25d32ac2bff775b296eb200eb60ac3ac6e838f17335c8a733a53a52de409d740
test_record_files.py https://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-d2387ba356e58454d7e5ee1e31346c0504fa7eb7b677ec0d17c32448855fb331
test_why.py https://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-e7619dd40aff1d7ba8aca37707ee5011d43edc4fbc2810417edab1c40ce39051
changelog.d/244-running-record-way-out.mdhttps://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-040585174acc27fe9c5f89edd8bf9e7e1aa5083ff6891bba82a9d01cc0946864
View file https://github.com/cloudfall-dev/cloudfall/blob/0065ff78a75878215620f4d4a8ef15c40a7ec9df/changelog.d/244-running-record-way-out.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/252/{{ revealButtonHref }}
config/schemas/v1/operation-decision.schema.jsonhttps://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-8ae89404205af6326c90e48fa55bd2e89820b1e3ebaaa1c1068d3edec74ed7f3
View file https://github.com/cloudfall-dev/cloudfall/blob/0065ff78a75878215620f4d4a8ef15c40a7ec9df/config/schemas/v1/operation-decision.schema.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/252/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-8ae89404205af6326c90e48fa55bd2e89820b1e3ebaaa1c1068d3edec74ed7f3
https://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-8ae89404205af6326c90e48fa55bd2e89820b1e3ebaaa1c1068d3edec74ed7f3
https://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-8ae89404205af6326c90e48fa55bd2e89820b1e3ebaaa1c1068d3edec74ed7f3
https://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-8ae89404205af6326c90e48fa55bd2e89820b1e3ebaaa1c1068d3edec74ed7f3
https://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-8ae89404205af6326c90e48fa55bd2e89820b1e3ebaaa1c1068d3edec74ed7f3
config/schemas/v1/operator-proposal.schema.jsonhttps://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-2952a05dc50bfb9c124a19f5bfeb1ffde5793cccd2dbaf098603f9823676679d
View file https://github.com/cloudfall-dev/cloudfall/blob/0065ff78a75878215620f4d4a8ef15c40a7ec9df/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/252/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-2952a05dc50bfb9c124a19f5bfeb1ffde5793cccd2dbaf098603f9823676679d
https://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-2952a05dc50bfb9c124a19f5bfeb1ffde5793cccd2dbaf098603f9823676679d
https://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-2952a05dc50bfb9c124a19f5bfeb1ffde5793cccd2dbaf098603f9823676679d
https://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-2952a05dc50bfb9c124a19f5bfeb1ffde5793cccd2dbaf098603f9823676679d
docs/operator-guide.mdhttps://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-bf81ad8c6daaae1047b764751a5e04f84db53d6735f84277f3608c17270645ca
View file https://github.com/cloudfall-dev/cloudfall/blob/0065ff78a75878215620f4d4a8ef15c40a7ec9df/docs/operator-guide.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/252/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-bf81ad8c6daaae1047b764751a5e04f84db53d6735f84277f3608c17270645ca
https://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-bf81ad8c6daaae1047b764751a5e04f84db53d6735f84277f3608c17270645ca
https://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-bf81ad8c6daaae1047b764751a5e04f84db53d6735f84277f3608c17270645ca
https://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-bf81ad8c6daaae1047b764751a5e04f84db53d6735f84277f3608c17270645ca
https://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-bf81ad8c6daaae1047b764751a5e04f84db53d6735f84277f3608c17270645ca
https://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-bf81ad8c6daaae1047b764751a5e04f84db53d6735f84277f3608c17270645ca
sdk/README.mdhttps://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-00ba42324c784ebcf27766700a3924a25e593009a52d5431331d42bef9edd2e9
View file https://github.com/cloudfall-dev/cloudfall/blob/0065ff78a75878215620f4d4a8ef15c40a7ec9df/sdk/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/252/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-00ba42324c784ebcf27766700a3924a25e593009a52d5431331d42bef9edd2e9
https://github.com/cloudfall-dev/cloudfall/pull/252/files#diff-00ba42324c784ebcf27766700a3924a25e593009a52d5431331d42bef9edd2e9
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/252/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/252/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.