chore: release-please and shared release workflows #14
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.48) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.48 · 528 lines diff across 6 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.375
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #14"
general
weight: 0.35
gusfcarvalho
Why
This repo joins the release train (W3 batch 1, with plugin-github-settings). Releases now come from release-please PRs and the shared
release-policies.yml, instead of a tag push running a local workflow. Release candidates come from thecut-prereleaseworkflow. The default branch ismain.What
release-please-config.json: copied from mock-plugin-policies-1. Its top-level keys equalrelease-please/defaults.jsonat workflows v1.5.2 (no drift).packages: {".": {"release-type": "simple"}}..release-please-manifest.jsonis seeded at0.4.1. That isreleases/latest(v0.4.1, a final release). Its commita038386is an ancestor ofmain, so nobootstrap-shais needed. There is noversion.txt; release-please adds it in the first release PR.6e7fc9c04b59c7d1117938da397f8a6f8df036ab # v1.5.2:-
release-please.ymlruns on push tomain;-
release.ymlruns onrelease: publishedand callsrelease-policies.ymlwithopa-version: "1.14.1"anddirectory: policies;-
preview.ymluseskind: policieswithon-main: false, so only thepreviewlabel builds;-
cut-prerelease.ymlruns onworkflow_dispatch.ci.yml: the three pins move from v1.5.1 to v1.5.2. It already hadrelease-checks. Nothing else changes.Deleted files
.github/workflows/release.yml(the old one) ran on any tag push and calledbuild-and-upload.yml. It is replaced by the newrelease.ymlabove..github/workflows/build-and-upload.ymlranopa build -b policieswith OPAlatest. It attachedbundle.tar.gzto the GitHub release and rangooci upload-singletwice, once to:<tag>and once to:latest.Artifact comparison (old workflow vs shared v1.5.2)
policies/only. With OPA 1.14.1,opa build -b policies -o …(old) andopa build --bundle policies --output …(shared) give byte-identical tarballs (sha2563020d649…). Both contain/data.json,/.manifestand the 25/policies/*.regofiles (the_test.regofiles included, as before).latestat release time. The shared one pins 1.14.1, the agent's OPA.ghcr.io/compliance-framework/plugin-github-settings-policies, and the upload is stillgooci upload-singleofbundle.tar.gz, with gooci v0.0.7.- A final
vX.Y.Zrelease gets:vX.Y.Zand:latest, as before. The bundle is now uploaded once andcrane tagpoints:latestat the same manifest, so both tags share one digest. The old workflow uploaded twice and made two manifests.- Old:
latestwas skipped whengithub.event.release.prereleasewas set. On a tag-push event that field is empty, so every tag, rc included, movedlatest. New: whetherlatestmoves is decided from the tag name, sovX.Y.Z-rcNleaveslatestuntouched. (This repo has never had an rc tag; all six tags arevX.Y.Z.)- Tags must now be
vX.Y.Z[-rcN]. The old workflow accepted any tag name.:pr-<n>, published only when a PR has thepreviewlabel. Previews never touch:latest.bundle.tar.gzto the GitHub release (v0.4.1carries it). The shared workflow attaches nothing. This needs a human decision (same as the batch-1 pilot): does anything consume the release asset? The agent pulls from OCI.Verified locally
go run github.com/rhysd/actionlint/cmd/actionlint@v1.7.12is clean.opa build policiesworks,opa check policiesis clean andopa test policiespasses (52/52).jq -S 'del(.packages)'of both files compared).ccf-lisa[bot].The README covers testing and
make build, not releasing, so it is unchanged. The PR stays open until the batch's repo settings are applied, because thereleaseenvironment holds the ccf-release-bot secrets.Task: W3-S2-T02 (local-dev/docs/release-automation/workstream-3-plugins-in-train.md)
🤖 Generated with Claude Code