feat(manifest): add the plugins and policy repos #108
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.45) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.45 · 449 lines diff across 5 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.366
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #108"
general
weight: 0.35
gusfcarvalho
Why
Lists the 23 kept plugins, their 41 policy repos and the 3 templates in
repos.yaml, each with its rollout batch, so the S2 onboarding and the S3 settings runs can target them.active_batchesstays[]: with the gate from #107 (the PR below in this stack), no scheduled tool acts on any of them until a batch is switched on.What
kindgo-pluginorpolicies,depends_on: [agent],release: trueandbatch1-3 (batches of 10 plugins, each with all its policy repos). The templates (plugin-template,plugin-template-policies,policy-template) are in batch 1 withrelease: false.masteras the default branch (marked in comments). The manifest has no branch field; every tool reads the default branch from GitHub.include_patterns: ["plugin-"]andexclude: exactly the 20 repos archived in W2-S0-T03. The org has no other unarchivedplugin-repo that isn't kept. Three moreplugin-repos were archived earlier (plugin-aws-ecr-policies,plugin-os-ubuntu,plugin-os-ubuntu-policies); the check skips archived repos, so they aren't inexclude.internal/manifestCheckCoverage,go run ./cmd/manifest --org compliance-framework):- every listed repo must exist and not be archived;
- every unarchived org repo matching a pattern must be listed or excluded.
It only reads public repo metadata. CI's "Validate manifests" step runs it on
repos.yamlwith the workflow's token.docs/manifest.mdgets the coverage check section.With every batch listed and none active,
go run ./cmd/manifestprints the same four stages asmain.Selection proof on the real repos.yaml
TestReposYAMLBatches(internal/manifest): with no batch active,ActiveRepos()is the 7 core repos. For each batch it checks:- kinds and
depends_on;- templates in batch 1 with
release: false;- 10/10/3 released plugins per batch;
- with that batch active,
Stages()puts its released repos in stage 3 withagent-action, andhelm-chartsalone in stage 4.TestSelectReposByBatchReposYAMLininternal/renovate,cmd/ccf-bump,cmd/attention-digest,cmd/vuln-summary,cmd/repo-settings, andTestTrainReposByBatchReposYAMLincmd/train.TestCheckCoverage(fixture) andTestRunOrgCoverage(fake paginated API).Verified locally
go test -race ./...,go vet ./...,gofmt -l .(empty), actionlint v1.7.12,go run ./cmd/manifeston both manifests, andgo run ./cmd/manifest --org compliance-framework, which reports thatrepos.yamlcovers the org's 124 public repos.Open questions for reviewers
exclude. This PR lists them withrelease: falseandbatch: 1, as the task spec asks. A repo can't be both.plugin-azure-vms/plugin-azure-vm-policies) is archived.plugin-repo isn't required until it is made public.Task: W3-S1-T01 (local-dev/docs/release-automation/workstream-3-plugins-in-train.md)
🤖 Generated with Claude Code