Skip to content

ci: adopt github-actions-rust profile revision 27 (version-only policy files) - #560

Merged
bartekus merged 1 commit into
mainfrom
ci/profile-rev27
Nov 8, 2026
Merged

bartekus merged 1 commit into
mainfrom
ci/profile-rev27

Conversation

@bartekus

@bartekus bartekus commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

Summary

Adopts Statecraft setup profile github-actions-rust revision 27, rendered by statecraft-cli at c6df9cec (statecraft-cli spec 071, PR #427).

Revision 27 gives the policy-isolation guard (scripts/statecraft/guard-policy-files.sh) a fourth class for a Cargo.toml or Cargo.lock: version-only, when both revisions hold the file and it is unchanged once every workspace package's version is masked. Like generated paths it is ignored, so a release bump can land beside its changelog and re-blessed fixtures in one pull request; any dependency, source or lockfile-format change still keeps the file policy.

What changed

  • scripts/statecraft/guard-policy-files.sh: the version-only class.
  • .statecraft/setup/github-actions-rust.json, .statecraft/setup/github-actions-rust.remote.json, .statecraft/environment.json: revision 27, the new profile identity, the recorded digests and the revision note.
  • Other managed files (.github/workflows/statecraft-*.yml, .github/CODEOWNERS, .statecraft/REVIEW.md, the remaining scripts/statecraft/*): revision header and profile identity only.
  • AGENTS.md "Continuous integration": revision 26 -> 27.
  • .statecraft/derived/codebase-index/inputs.json: refreshed for the workflow edits.

init plan withheld two drifted governance files (specs/000-bootstrap/spec.md, standards/spec/constitution.md); they are untouched. No parameter in project.setup.parameters changed.

Checks

  • statecraft-cli init plan . then init apply . --plan aec2477b... (files-installed: satisfied).
  • make refresh, make gate (pass) locally.
  • This changes the authority set, so it needs the statecraft-review-exception approval once.

…y files)

Re-render the managed setup files with statecraft-cli at c6df9cec
(statecraft-cli spec 071, PR #427). The policy-isolation guard now
classifies a Cargo.toml or Cargo.lock whose only change is workspace
package versions as version-only and ignores it, so a release bump can
travel with its changelog and re-blessed fixtures in one pull request.
Every other managed file changes only its revision header, profile
identity or recorded digest. AGENTS.md names revision 27.
@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown

AI review (no-findings)

This PR upgrades the Statecraft setup profile from revision 26 to revision 27. I'll examine the non-managed changed files for consistency and correctness.

Files under review (not in MANAGED digest-verified set):

  • .statecraft/environment.json
  • .statecraft/setup/github-actions-rust.json
  • AGENTS.md

Digest cross-consistency check (environment.json vs github-actions-rust.json for each managed file):

File environment.json digest github-actions-rust.json digest Match
statecraft-ci.yml cb56f4cc... cb56f4cc... ✓
statecraft-ai-review.yml be5b5186... be5b5186... ✓
install-spec-spine.sh eb1344fe... eb1344fe... ✓
gate.sh 8bf6ffd6... 8bf6ffd6... ✓
ci-gate.sh f567c793... f567c793... ✓
ai-review.sh 671246c8... 671246c8... ✓
guard-policy-files.sh a84f1a9f... a84f1a9f... ✓
verify-action-pins.sh d331f04b... d331f04b... ✓
REVIEW.md ec487b91... ec487b91... ✓
CODEOWNERS bb31f28c... bb31f28c... ✓
github-actions-rust.remote.json c0e2de8c... (files section + remoteState.digest) c0e2de8c... ✓

Revision and identity consistency: Both files consistently carry revision 27 and identity 4dce5a03.... ✓

Revision 27 note: References "spec 071" which, per AGENTS.md governance, names a statecraft-cli spec (not a corpus spec), so the absence of spec 071 from the corpus is expected. The described behavior (new version-only class for Cargo.toml/Cargo.lock in guard-policy-files.sh) is consistent with that script's byte count increasing from 5614 to 8118. ✓

AGENTS.md: Updated revision reference from 26 to 27. ✓

Owner exception requirement: AGENTS.md states that changes to scripts/statecraft/* and .github/workflows/ require statecraft-review-exception approval. This PR touches those managed files (new digests), but enforcement is the CI gate's responsibility, not this review's.

No concrete defects found.

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

Subject: 35ab7e5...46dc722, diff digest 7dbc446b2fd2e190b16bc8bfd0cfbe8c5ae4c9d3efefecad43fc7c1726cbea96, 1 call(s). An AI comment is not an approval.

@bartekus
bartekus temporarily deployed to statecraft-review-exception November 7, 2026 23:05 — with GitHub Actions Inactive
@bartekus
bartekus added this pull request to the merge queue Nov 7, 2026
Merged via the queue into main with commit 0836b8c Nov 8, 2026
26 checks passed
@bartekus
bartekus deleted the ci/profile-rev27 branch November 8, 2026 00:03

This branch was previously deployed

1 inactive deployment
statecraft-review-exception — 46dc722e Deployed Nov 7, 2026 by bartekus via review-exception #3752
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