Skip to content

fix: repoint licensed-plugin references at nself-org/bundles - #431

Merged
acamarata merged 1 commit into
mainfrom
fix/bundles-rename-cli-refs
Sep 17, 2026
Merged

acamarata merged 1 commit into
mainfrom
fix/bundles-rename-cli-refs

Conversation

@acamarata

Copy link
Copy Markdown
Collaborator

Follow-through on the plugins-pro -> bundles rename (ADR-P6-01), P6-E4-W3-S3-T7.

Functional change: internal/plugin/verify/verify_sbom.go constructs GitHub release-asset URLs from the repo name, so SBOM verification was pointing at the pre-rename path.

CI / tooling: ci-green-rate.yml and scripts/sync-badges.sh poll by repo name. sync-badges.sh deliberately keeps plugins-pro in REPO_NAMES — that is the local checkout directory name, and the two arrays are index-aligned.

Guard widened, not moved: the sdk/go private-import check now blocks nself-org/(bundles|plugins-pro) with one -E pattern. The old module path still resolves through GitHub's rename redirect, so simply renaming the pattern would have let a stale import through the check that exists to catch it.

Data: internal/plugin/count/counts.json re-vendored from a regenerated artifact rather than hand-edited (it carries a DO-NOT-HAND-EDIT marker). Counts are identical — 129/127 free, 46/46 licensed, 171 advertised; only sources.pro.repo and the two source blob SHAs change. The generator fix lives in nself-org/plugins.

Remaining plugins-pro hits in the tree are intentional: local-directory paths (../plugins-pro/paid sibling lookups in doctor/model detection), historical changelog entries, and a commented-out branch-protection line.

Full go build ./... and go test ./... green.

The private licensed-plugin repo was renamed plugins-pro -> bundles
(ADR-P6-01). One of these references is functional and the rest are
documentation or CI configuration.

Functional:
- internal/plugin/verify/verify_sbom.go builds GitHub release-asset URLs
  for SBOM verification from the repo name.

CI / tooling:
- ci-green-rate.yml and scripts/sync-badges.sh poll the repo by name.
  sync-badges.sh keeps "plugins-pro" in REPO_NAMES because that is the
  local checkout directory, and the two arrays are index-aligned.
- sdk/go ci.yml private-import guard now blocks BOTH spellings via a
  single -E pattern. The old module path still resolves through GitHub's
  rename redirect, so dropping it would have opened the leak this guard
  exists to close.

Data:
- internal/plugin/count/counts.json re-vendored from the regenerated
  artifact. Counts are unchanged (129/127 free, 46/46 licensed, 171
  advertised); only sources.pro.repo and the two source blob SHAs move.
  The generator itself is fixed in nself-org/plugins.

Plus 14 wiki pages and the count fixture. counts.json is generated and
was not hand-edited.
@acamarata
acamarata merged commit 9db61ac into main Sep 17, 2026
33 of 34 checks passed
@acamarata
acamarata deleted the fix/bundles-rename-cli-refs branch September 17, 2026 11:24
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