Title: Plan for G-2: Every operation has a verify step and every decision an audit entry; cloudfall why answers from the record alone · Issue #190 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: Plan for G-2: Every operation has a verify step and every decision an audit entry; cloudfall why answers from the record alone · Issue #190 · cloudfall-dev/cloudfall
X Title: Plan for G-2: Every operation has a verify step and every decision an audit entry; cloudfall why answers from the record alone · Issue #190 · cloudfall-dev/cloudfall
Description: Goal G-2: Every operation has a verify step and every decision an audit entry; cloudfall why answers from the record alone Trigger: no-work Measure: none yet Work W-1 fix: docs/fleet-goals.md rows 12 and 13 still say there is "no declare...
Open Graph Description: Goal G-2: Every operation has a verify step and every decision an audit entry; cloudfall why answers from the record alone Trigger: no-work Measure: none yet Work W-1 fix: docs/fleet-goals.md rows ...
X Description: Goal G-2: Every operation has a verify step and every decision an audit entry; cloudfall why answers from the record alone Trigger: no-work Measure: none yet Work W-1 fix: docs/fleet-goals.md rows ...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/190
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Plan for G-2: Every operation has a verify step and every decision an audit entry; cloudfall why answers from the record alone","articleBody":"\u003c!-- shipmill:plan goal=G-2 rev=2 -->\n## Goal\n\nG-2: Every operation has a verify step and every decision an audit entry; cloudfall why answers from the record alone\n\nTrigger: no-work\nMeasure: none yet\n\n## Work\n\n- W-1 fix: `docs/fleet-goals.md` rows 12 and 13 still say there is \"no declared verify step\" and \"no query\", and `ARCHITECTURE.md` (Record, Verify) says receipts are written \"one per decision or operation\" and verify is generalised to every operation, though the operations catalog requires `verify` for mutating operations, `cloudfall why` exists, S-018 records every gated MCP call, and the CLI's receipts are still overwritten per subject; they should say what is built and what is not\n- W-2 feature: A command typed at the CLI that changes a host (`deploy`, `rollback`, `restart`, `migrate`, `data copy`, `domains apply`) and `backup run`, by CLI or MCP, writes its own entry in the record for each run, kept beside the earlier ones, naming who ran it, what ran, on which hosts, and the outcome, as S-018 already does for the gated MCP tools; the per-component deployment receipt stays as D-13 has it, one file holding where each server ended\n- W-3 feature: A person can reject a proposal waiting for approval, an operator proposal or an agent's, and the rejection is recorded with its reason\n- W-4 fix: A catalog operation's preconditions (`health:ok`) are parsed and shown to the agent but never checked, so a run is not refused while its precondition fails, as roadmap M15's exit says it is\n- W-5 feature: Each run of W-2 records the outcome of a verify step that proves its result, the same check S-018 uses for the MCP tool, and `backup run` its restore check (after W-2)\n- W-6 feature: `cloudfall why` answers about the entries of W-2 and the rejections of W-3, and says when a diff or log an entry cites no longer matches its recorded hash; a group target stays unexpanded, as `why.py` is designed (after W-2, W-3)\n- W-7 feature: The fleet's open CVEs are tracked from its package evidence, with an alert for exploited and high-urgency findings and a verified update operation: the outcome of the S-010 spec of #192, closed unmerged on 2026-11-03 to come back here, its branch `docs/spec-010-cve-tracking` kept\n\n## Order\n\nThe docs fix comes first because agents and readers plan from them. S-018 already records the project-mode MCP calls, their verify step, and their answers in `cloudfall why`, so what is left is the CLI and `backup run`: recording each of their runs (W-2) and a person's rejection (W-3) completes the record, which the verify outcomes (W-5) and the query (W-6) build on. The precondition check (W-4) is small and stands alone, and so does CVE tracking (W-7), which writes into the record the others complete. Once done, on a proving host a person deploys, rolls back, restarts, backs up, copies data and applies a domain from the CLI, rejects one proposal, and an agent applies a security update, and `cloudfall why` answers for each of them, with its verify outcome, from the record folder alone, with the hosts, the inventory, and git out of reach.\n\n## Milestone\n\nnone\n\n## Notes\n\nRevised on `@romamo`'s answer of 2026-11-21: trimmed to what S-018 (#475, #476, #478) left undone, W-2 fitted to D-13, group targets left unexpanded, CVE tracking added. W-2 fits D-13 rather than changing it: a run's entry is a record of its own in the record, and the deployment receipt keeps one file per component with one entry per server. Refusals by the gate and the operator's withheld grants are already recorded since S-018 (a `proposed` record, the autonomous pass's withheld line), so W-3 keeps only a person's rejection; D-1 holds: it uses its own status, `rejected`, which exists in the model and nothing writes today. Left out: the hosted record and autonomy earned from the record (roadmap M17), which the roadmap keeps until a workload needs them. `ARCHITECTURE.md`'s \"None of this is implemented\" on the brownfield build order belongs to the G-4 plan's docs fix (#188, W-1). S-008-13 chose to let `rollback` run without an approval; W-2 records it, it does not gate it.\n\n\u003c!-- shipmill:agent -->","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-10-31T13:04:29Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/190"}
| 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:3d472366-ba21-b299-4d58-9759998fc396 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EE2E:7F641:1949714:2144BF7:6B0558E1 |
| html-safe-nonce | 0b97a8a0099d41841152628c14f50c1906206ba62676be578f868d4327db6a0b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRTJFOjdGNjQxOjE5NDk3MTQ6MjE0NEJGNzo2QjA1NThFMSIsInZpc2l0b3JfaWQiOiIzODI4NjYwMzgzNDgxNDIwMDAxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d643b5c7b6e35c4a6caf9e57b81c0cf3492493aa261a688873d623ab45715134 |
| hovercard-subject-tag | issue:6135111774 |
| 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/190/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8c046b56b892108fdf1281e382a2424af71fd05de5931c5f011cd17841fe9901/cloudfall-dev/cloudfall/issues/190 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8c046b56b892108fdf1281e382a2424af71fd05de5931c5f011cd17841fe9901/cloudfall-dev/cloudfall/issues/190 |
| og:image:alt | Goal G-2: Every operation has a verify step and every decision an audit entry; cloudfall why answers from the record alone Trigger: no-work Measure: none yet Work W-1 fix: docs/fleet-goals.md rows ... |
| 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