Skip to content

spec(060): ratified (A-76); publish_release ignores qualification- assets - #475

Closed
bartekus wants to merge 1 commit into
mainfrom
spec/060-ratify
Closed

bartekus wants to merge 1 commit into
mainfrom
spec/060-ratify

Conversation

@bartekus

@bartekus bartekus commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Spec 060 ratified by the owner on 2026-11-03 (A-76: "I ratify 060"), plus its first increment (3.7.2).

  • status: approved, implementation: in-progress; the decisions at approval answered as proposed (keyless attestations, base refresh before the first image release, 90-day exception bound). 060 now also amends 056.
  • New 3.7: a release keeps its qualification evidence as qualification-vX.Y.Z.json and qualification-vX.Y.Z-<platform>.tar.gz assets (as attached by hand to v0.3.0). publish_release leaves present qualification- assets out of its comparison (058 3.5.2) and refuses a run's own asset with that prefix; verify_assets is unchanged. 3.7.3 (qualify.yml attaching them) follows in its own workflow PR.
  • Test qualification_assets_beside_a_release_are_ignored_never_published (tools/rustev-release/tests/tagged.rs).
  • A-76 row in docs/decisions/00-founding-decisions.md.

0.4.0 still ships without the image; nothing here publishes.

Checks: make gate, cargo test -p rustev-release --locked --test tagged (15 passed), clippy -p rustev-release --all-targets -D warnings, fmt.

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

AI review (findings)

Two concrete defects are present in the PR.

Finding 1 — Stale title field in spec frontmatter

specs/060-the-service-image-in-the-release/spec.md line 3: the title field still reads "The service image in the release (amends 031 and 058)". The PR adds 056-release-0-1-1-and-consumer-qualification to the amends list and updates the spec body text to say "031, 056 and 058", but the title field is not updated. The title is now inconsistent with the declared amendments.

Finding 2 — Decision row numbering gap in founding decisions

docs/decisions/00-founding-decisions.md: the hunk shows A-72, A-73, A-74 as the final consecutive entries, immediately followed by the newly added A-76, then "No approval authorizes ratifying any other spec." There is no A-75. Because those rows are the last in the table, A-75 is absent — the new row should be A-75 rather than A-76.

{"head": "d9f75a533bf32d2710fbf37f61adad667440da56", "verdict": "findings", "findings": [{"path": "specs/060-the-service-image-in-the-release/spec.md", "line": 3, "summary": "Title field still says 'amends 031 and 058' but the spec now also amends 056 per the amends list and body text."}, {"path": "docs/decisions/00-founding-decisions.md", "line": 269, "summary": "New decision row is numbered A-76 but the preceding row is A-74, skipping A-75 with no row accounting for it; it should be A-75."}]}

Subject: cf3ae8d...d9f75a5, diff digest 6efd7b941bd45109d43f347ef931bf0630ac3c561a22c415600c2a2fda398914, 1 call(s). An AI comment is not an approval.

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

AI review (no-findings)

Reviewing the four changed files against the spec and governance rules.

docs/decisions/00-founding-decisions.md
A-76 is well-formed: it records the ratification event, quotes the owner's words, names the amended specs, and correctly limits scope ("authorizes no publication, tag or publication"). No inconsistency with surrounding entries.

specs/060-the-service-image-in-the-release/spec.md

  • Status change draft → approved, implementation pending → in-progress is the correct lifecycle pair per the contract table (schedulable, unresolved units warn W-001).
  • The amends list now includes 056-release-0-1-1-and-consumer-qualification, matching the updated title and A-76.
  • Section 3.7 text and the revised section 5 table are internally consistent with each other and with the implementation record.
  • "Decisions at approval" correctly converts the open questions to closed decisions.

tools/rustev-release/src/tagged.rs

  • Guard order is correct: the assets.is_empty() || any(!plain(n)) check runs first; the new qualification-prefix guard runs second, before digests are computed. The test confirms qualification-v0.3.0.json passes plain, so the prefix guard is reachable.
  • present is owned (taken by value from api.lookup), so retain mutates only the local copy; the remote state is untouched.
  • After stripping, present.assets is compared with digests, which also contains no qualification-prefixed names (enforced by the earlier guard). The comparison is therefore symmetric and correct.
  • No unsafe, no I/O, no silent conversion of value kinds.

tools/rustev-release/tests/tagged.rs

  • Covers all three rows added to section 5: ignored-and-present, extra non-qualification asset fails, run's own asset named with prefix refused before any upload.
  • The "extra asset" sub-case is correct: the second publish_release call strips the two qualification assets from present, leaving the original assets plus extra.txt, which differs from digests → "058 3.5.2".
  • fresh.creates.is_empty() correctly asserts no release was created when the prefix guard fires.

No concrete defects found.

{"head": "aa05bd3cbe1c806d8b9db8ee0bc7eeed3e64af48", "verdict": "no-findings", "findings": []}

Subject: 39d5099...aa05bd3, diff digest 57c2164af98487de1ab47ca4463a2996de21fe7281f0335c23a1c4654fae7bf9, 1 call(s). An AI comment is not an approval.

@bartekus
bartekus temporarily deployed to statecraft-review-exception November 3, 2026 19:58 — with GitHub Actions Inactive
@bartekus

bartekus commented Nov 3, 2026

Copy link
Copy Markdown
Contributor Author

Folded into #480 (one review, CI and queue cycle for the 060 ratification and the 0.4.0 bump).

@bartekus bartekus closed this Nov 3, 2026

This branch was previously deployed

1 inactive deployment
statecraft-review-exception — aa05bd3c Deployed Nov 3, 2026 by bartekus via review-exception #3163
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant