René's URL Explorer Experiment


Title: Refuse an unsupported project format at the start of every command (S-017-4, 5) by shipmill-romamo[bot] · Pull Request #408 · cloudfall-dev/cloudfall · GitHub

Open Graph Title: Refuse an unsupported project format at the start of every command (S-017-4, 5) by shipmill-romamo[bot] · Pull Request #408 · cloudfall-dev/cloudfall

X Title: Refuse an unsupported project format at the start of every command (S-017-4, 5) by shipmill-romamo[bot] · Pull Request #408 · cloudfall-dev/cloudfall

Description: Plan Serves: G-4 Files: sdk/src/cloudfall/format_check.py (new), sdk/src/cloudfall/app.py, sdk/src/cloudfall/agent_server.py, engine/src/cloudfall_engine/cli.py, sdk/tests/test_s017_format_every_command.py (new), sdk/tests/test_s017_project_format.py, sdk/tests/test_operator.py, changelog.d/379-format-check-every-command.md Order: failing tests first (S-017-4 for audit, deploy without --yes and cloudfall-engine inventory render, S-017-5 for mcp serve, plus add ssh-key, inventory show and health); then one shared check in cloudfall.format_check, called from Fleet.acquire (and so InventoryFleet's project branch), ProjectDirectory.acquire, agent_server.resolve_root and the engine's Project.acquire; then the exit declared on every command that reads a project and on cloudfall-engine Proof: test_s017_4_a_too_new_project_stops_each_command_before_tmp_or_ansible (S-017-4) and test_s017_5_mcp_serve_refuses_a_too_new_project_before_a_client (S-017-5) run the installed console scripts with a recording ansible-playbook on PATH and assert exit 95, project_format_too_new with projectFormat, oldest and current, no project tmp/, and no ansible-playbook start; the S-017-10 tests stay green Summary The format check #385 added ran only in cloudfall config validate. It now runs at the start of every command that reads a project, from one place, cloudfall.format_check, which also declares the PROJECT_FORMAT_UNSUPPORTED exit (95) for both CLIs: cloudfall: Fleet.acquire checks the format between resolving the project and validating it, so every Fleet and InventoryFleet command (on a project) stops before validation, before any write under tmp/ and before any Ansible run. ProjectDirectory.acquire (the add and import commands) checks it too. FormattedFleet, which only config validate used, is gone: Fleet does what it did cloudfall mcp serve: agent_server.resolve_root refuses a project with an unsupported format, so the server's setup stops with exit 95 before it accepts a client (the refusal envelope is on stderr, as mcp serve's other startup refusals) cloudfall-engine: Project.acquire (inventory render, artifact build) runs the same check, and the engine registers PROJECT_FORMAT_UNSUPPORTED as 95 Every command that lists PROJECT_INVALID now lists PROJECT_FORMAT_UNSUPPORTED beside it, since treaty refuses an undeclared exit The exit name, number, message and error.context keys are #385's, unchanged. Behaviour, per the spec's "Outside the range the command stops" and "Below current it adds one warning": Too new, too old and malformed formats stop every command that reads a project, not only config validate A format 0 project (no [tool.cloudfall], or no pyproject.toml, such as config/examples) still runs every command, each now answering with one PROJECT_FORMAT_OLD warning cloudfall config upgrade goes through Fleet here, so on this branch alone it would also refuse a too-old project; no project can be too old today (oldest is 0), and #390's UpgradableFleet overrides acquire to skip that refusal (S-017-9) Commands that read no project (init, changelog, --schema, cloudfall-engine manifest, playbook list and playbook run) don't check it (S-017-10). Repository commands (--repository, --inventory) read a team's Ansible inventory, which carries no format until open question 4 of the spec is built Test notes uv run ruff check . and uv run mypy: clean uv run pytest engine/tests plus the SDK test files for the touched modules (test_agent_server, test_app, test_operator, test_validation, test_baseline_rename, test_commands, test_arguments, test_project, test_s017_project_format, test_s017_format_every_command, test_interface_changelog, test_examples_project, test_s015_test_and_audit, test_deploy_approval, test_s012_elasticsearch): green The new tests fail on origin/main for every command but config validate, which #385 already covered test_operator's operator list test asserted no warnings on the examples; it now expects the one PROJECT_FORMAT_OLD The full suite is left to CI Fixes #379 Part of #228 🤖 Generated with Claude Code

Open Graph Description: Plan Serves: G-4 Files: sdk/src/cloudfall/format_check.py (new), sdk/src/cloudfall/app.py, sdk/src/cloudfall/agent_server.py, engine/src/cloudfall_engine/cli.py, sdk/tests/test_s017_format_every_c...

X Description: Plan Serves: G-4 Files: sdk/src/cloudfall/format_check.py (new), sdk/src/cloudfall/app.py, sdk/src/cloudfall/agent_server.py, engine/src/cloudfall_engine/cli.py, sdk/tests/test_s017_format_every_c...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.4

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:22e283a7-abe4-2608-6b4e-466278e5242a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE046:31E3E4:2733B9C:33808C8:6B05592B
html-safe-nonce2b20fb3f8842996ee06ed855ebeda3cd32cdbe7f333c2065220bbd724da8e439
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDQ2OjMxRTNFNDoyNzMzQjlDOjMzODA4Qzg6NkIwNTU5MkIiLCJ2aXNpdG9yX2lkIjoiNTE4Mzk3MTEyMzcxNjc3NDE4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacacfd2c6867a01826583441afe16767d0efb1e8808edf470a2acae1269a47d6f9
hovercard-subject-tagpull_request:5327441665
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/408/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-4 Files: sdk/src/cloudfall/format_check.py (new), sdk/src/cloudfall/app.py, sdk/src/cloudfall/agent_server.py, engine/src/cloudfall_engine/cli.py, sdk/tests/test_s017_format_every_c...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonea79a02b7e7546ea306864e922ed2103ef4c04fac63168e11c2b2d4d816793080
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
release10dff83edfd4f3617a7792a152d44991587b434c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cloudfall-dev/cloudfall/pull/408/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfall-dev%2Fcloudfall%2Fpull%2F408%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%2F408%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/408/files
Reloadhttps://github.com/cloudfall-dev/cloudfall/pull/408/files
Reloadhttps://github.com/cloudfall-dev/cloudfall/pull/408/files
cloudfall-devhttps://github.com/cloudfall-dev
cloudfallhttps://github.com/cloudfall-dev/cloudfall
Codehttps://github.com/cloudfall-dev/cloudfall
Issues78 (78)https://github.com/cloudfall-dev/cloudfall/issues
Pull requests10 (10)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
feat/379-format-check-every-commandhttps://github.com/cloudfall-dev/cloudfall/tree/feat/379-format-check-every-command
Conversation 1 https://github.com/cloudfall-dev/cloudfall/pull/408
Commits 3 https://github.com/cloudfall-dev/cloudfall/pull/408/commits
Checks 2 https://github.com/cloudfall-dev/cloudfall/pull/408/checks
Files changed 9 https://github.com/cloudfall-dev/cloudfall/pull/408/files
Refuse an unsupported project format at the start of every command (S-017-4, 5) https://github.com/cloudfall-dev/cloudfall/pull/408/files#top
Show all changes 3 commits https://github.com/cloudfall-dev/cloudfall/pull/408/files
0fb2560 Refuse an unsupported project format at the start of every command shipmill-romamo[bot] Nov 15, 2026 https://github.com/cloudfall-dev/cloudfall/pull/408/commits/0fb256079cb5335214ef61451a4b0f45b61f4ebd
743a9d0 Assert the deprecation warning by code in the baseline rename tests shipmill-romamo[bot] Nov 15, 2026 https://github.com/cloudfall-dev/cloudfall/pull/408/commits/743a9d07f34c37dc52de24876aa9f3cc9df16289
dec1d90 Narrow the warnings list before reading its codes in the baseline ren… shipmill-romamo[bot] Nov 15, 2026 https://github.com/cloudfall-dev/cloudfall/pull/408/commits/dec1d9083bbd114f30fb3d9e928f7b7e1959e77b
Clear filters https://github.com/cloudfall-dev/cloudfall/pull/408/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/408/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/408/files
379-format-check-every-command.md https://github.com/cloudfall-dev/cloudfall/pull/408/files#diff-85b6ae3bec7bda6617db0452870d67fa92c269e30dc342fc09a5b2160ad3e380
cli.py https://github.com/cloudfall-dev/cloudfall/pull/408/files#diff-03b2db9c2d8aceb662eb02d3323a978e17ea3eee7a38fd84d33d7cef41dedc36
agent_server.py https://github.com/cloudfall-dev/cloudfall/pull/408/files#diff-cb52d8a4b5af6b71432660ea59ba332075af6e65aa7324e37263495ff8c510f4
app.py https://github.com/cloudfall-dev/cloudfall/pull/408/files#diff-80944e9d32bf3de16b8f897a076d9413719c085027f33cffff3fd7b0358d8763
format_check.py https://github.com/cloudfall-dev/cloudfall/pull/408/files#diff-cabefabe6a3dd41f55e60c83977d5f9bb3033fe404c2b24063e7345450063f00
test_baseline_rename.py https://github.com/cloudfall-dev/cloudfall/pull/408/files#diff-2632f02ce3f5fef9ece0adeb5dfff4a906f6d519fbe79296abcd710bf134584b
test_operator.py https://github.com/cloudfall-dev/cloudfall/pull/408/files#diff-25d32ac2bff775b296eb200eb60ac3ac6e838f17335c8a733a53a52de409d740
test_s017_format_every_command.py https://github.com/cloudfall-dev/cloudfall/pull/408/files#diff-0ccfdbd132c7cffe12a6fe050d2d9cd38ec94ed9b2dc8b636c58929af68ab5be
test_s017_project_format.py https://github.com/cloudfall-dev/cloudfall/pull/408/files#diff-80da4943c77745c548dfea2e7b7fb236fb1be2774a73129fbba8485fb7144f9d
changelog.d/379-format-check-every-command.mdhttps://github.com/cloudfall-dev/cloudfall/pull/408/files#diff-85b6ae3bec7bda6617db0452870d67fa92c269e30dc342fc09a5b2160ad3e380
View file https://github.com/cloudfall-dev/cloudfall/blob/dec1d9083bbd114f30fb3d9e928f7b7e1959e77b/changelog.d/379-format-check-every-command.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/408/{{ revealButtonHref }}
engine/src/cloudfall_engine/cli.pyhttps://github.com/cloudfall-dev/cloudfall/pull/408/files#diff-03b2db9c2d8aceb662eb02d3323a978e17ea3eee7a38fd84d33d7cef41dedc36
View file https://github.com/cloudfall-dev/cloudfall/blob/dec1d9083bbd114f30fb3d9e928f7b7e1959e77b/engine/src/cloudfall_engine/cli.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/408/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/408/files#diff-03b2db9c2d8aceb662eb02d3323a978e17ea3eee7a38fd84d33d7cef41dedc36
https://github.com/cloudfall-dev/cloudfall/pull/408/files#diff-03b2db9c2d8aceb662eb02d3323a978e17ea3eee7a38fd84d33d7cef41dedc36
https://github.com/cloudfall-dev/cloudfall/pull/408/files#diff-03b2db9c2d8aceb662eb02d3323a978e17ea3eee7a38fd84d33d7cef41dedc36
https://github.com/cloudfall-dev/cloudfall/pull/408/files#diff-03b2db9c2d8aceb662eb02d3323a978e17ea3eee7a38fd84d33d7cef41dedc36
https://github.com/cloudfall-dev/cloudfall/pull/408/files#diff-03b2db9c2d8aceb662eb02d3323a978e17ea3eee7a38fd84d33d7cef41dedc36
https://github.com/cloudfall-dev/cloudfall/pull/408/files#diff-03b2db9c2d8aceb662eb02d3323a978e17ea3eee7a38fd84d33d7cef41dedc36
https://github.com/cloudfall-dev/cloudfall/pull/408/files#diff-03b2db9c2d8aceb662eb02d3323a978e17ea3eee7a38fd84d33d7cef41dedc36
https://github.com/cloudfall-dev/cloudfall/pull/408/files#diff-03b2db9c2d8aceb662eb02d3323a978e17ea3eee7a38fd84d33d7cef41dedc36
https://github.com/cloudfall-dev/cloudfall/pull/408/files#diff-03b2db9c2d8aceb662eb02d3323a978e17ea3eee7a38fd84d33d7cef41dedc36
https://github.com/cloudfall-dev/cloudfall/pull/408/files#diff-03b2db9c2d8aceb662eb02d3323a978e17ea3eee7a38fd84d33d7cef41dedc36
https://github.com/cloudfall-dev/cloudfall/pull/408/files#diff-03b2db9c2d8aceb662eb02d3323a978e17ea3eee7a38fd84d33d7cef41dedc36
sdk/src/cloudfall/agent_server.pyhttps://github.com/cloudfall-dev/cloudfall/pull/408/files#diff-cb52d8a4b5af6b71432660ea59ba332075af6e65aa7324e37263495ff8c510f4
View file https://github.com/cloudfall-dev/cloudfall/blob/dec1d9083bbd114f30fb3d9e928f7b7e1959e77b/sdk/src/cloudfall/agent_server.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cloudfall-dev/cloudfall/pull/408/{{ revealButtonHref }}
https://github.com/cloudfall-dev/cloudfall/pull/408/files#diff-cb52d8a4b5af6b71432660ea59ba332075af6e65aa7324e37263495ff8c510f4
https://github.com/cloudfall-dev/cloudfall/pull/408/files#diff-cb52d8a4b5af6b71432660ea59ba332075af6e65aa7324e37263495ff8c510f4
https://github.com/cloudfall-dev/cloudfall/pull/408/files#diff-cb52d8a4b5af6b71432660ea59ba332075af6e65aa7324e37263495ff8c510f4
https://github.com/cloudfall-dev/cloudfall/pull/408/files#diff-cb52d8a4b5af6b71432660ea59ba332075af6e65aa7324e37263495ff8c510f4
https://github.com/cloudfall-dev/cloudfall/pull/408/files#diff-cb52d8a4b5af6b71432660ea59ba332075af6e65aa7324e37263495ff8c510f4
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/408/files
Please reload this pagehttps://github.com/cloudfall-dev/cloudfall/pull/408/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.