Skip to content

OSS-366: Carbon Panel product tag line, provenance catalog and release gates - #549

Merged
athNdev merged 6 commits into
mainfrom
codex/release-coordinator
Nov 19, 2026
Merged

athNdev merged 6 commits into
mainfrom
codex/release-coordinator

Conversation

@athNdev

@athNdev athNdev commented Nov 19, 2026

Copy link
Copy Markdown
Owner

Summary

This is the policy/migration PR for the Carbon Panel product tag line. It changes release tooling, workflows, documentation and the checked-in provenance catalog only. No Git tag, GitHub release, registry image, alias, deployment or ref deletion is created or changed here. No project is deployed and no credentials are printed.

  • Parse carbonpanel-vMAJOR.MINOR.PATCH[-alpha.N|-beta.N|-rc.N] as a product tag separately from plain v* Go/module tags and archive filenames. Git tag, displayed SemVer, immutable image tag and archive name stay separate fields.
  • Recognise verified legacy stable v1.0.40 (commit f88748be…, digest sha256:ead260ef…) for promotion/rollback. carbonpanel-v1.0.40 is a historical-only alias at the same commit, with no duplicate GitHub release, and is refused by the publication boundary before any registry preflight. Legacy preview/collision numbers are reserved.
  • Reject inherited, source-only, preview, name-collision, upstream-only and unclassified tags for new publication. Automatic events (main push, PR, tag push, CI) remain build-only; publication needs explicit workflow_dispatch with publish=true, a trusted refs/heads/main dispatch ref, exact-commit main CI, immutable digest preflight in both Docker Hub and GHCR, a durable release record, and ordered immutable → MAJOR.MINOR → latest promotion. Prereleases move no stable alias. Unpublished drafts are resumable.
  • Check in human + machine release history (docs/release-history.md, docs/release-history.json): all 84 origin tags classified with domain and provenance kept separate, confirmed against first-party inventories and upstream ls-remote. Nineteen Docker Hub build-* aliases and all original sha-*/channel refs are preserved; no fabricated Hub alpha or GHCR alias. The GHCR legacy-preview-3.0.0-alpha.1 alias is recorded as an unverified candidate only.
  • Reconcile docs/releases.md, README, changelog flow, version consumers, ADR 0033/0039, knowledge, and add deterministic tests (tag parsing/SemVer, legacy ordering, draft retry, exact CI/trusted ref, alias promotion, no side effects, provenance catalog, upgrade rehearsal).

SemVer boundary: the first new stable is carbonpanel-v2.0.0 (MAJOR), not a compatible 1.1.0. The Connect/wire API and DB schema are additive, but three operator-facing breaks require migration from an unchanged v1.0.40 config: OIDC raw-claim roles locked out by default and no implicit first-user admin, explicit local admin linking, and PROXY v2 trusted only from proxy.trusted_proxy_cidrs. Concrete evidence and migration steps are in the UPGRADE NOTES, following the plan's instruction to use the correct boundary rather than falsely calling it a minor.

Evidence on exact head 115d233

  • python -m unittest scripts.test_release — 81 tests OK.
  • python scripts/release.py verify-release-history — verified=true, no problems (84 unique tags; 79 upstream-identical, 1 collision, 4 origin-only).
  • All 17 .github/workflows/*.yml parse as YAML.
  • Pinned Go 1.26.11: go vet ./... clean; go test ./... -count=1 all packages OK.
  • golangci-lint run --new-from-rev=origin/main ./... — 0 issues.
  • knowledge-lint -fix then final: 40/40 queries, 75 concepts, indexes current.
  • Frontend on rebased head: bun install --frozen-lockfile, bun run check (0 errors/warnings), bun run test (395 pass, 0 fail).
  • git diff --check clean.

Review / merge gate

Independent exact-head QA and green required CI are required before merge. Merge only an independently reviewed immutable head with all required checks green; do not merge on a passing slice alone. Publication remains a separate, later, explicitly authorised operation with publish=false rehearsal first. Tag pushes and unrelated lanes have no publication side effects.

…ates

Parse carbonpanel-vMAJOR.MINOR.PATCH[-alpha.N|-beta.N|-rc.N] separately from plain v* tags and archive filenames. Recognise v1.0.40 as the only verified historical stable and current rollback line; treat carbonpanel-v1.0.40 as historical-only and reserve legacy preview/collision versions. Publication remains build-only on automatic events and requires explicit dispatch, trusted refs/heads/main, exact-commit main CI, immutable digest preflight and ordered Hub/GHCR promotion; prereleases move no stable alias. Add 84-tag human and machine provenance catalogs, UPGRADE NOTES justifying the MAJOR carbonpanel-v2.0.0 boundary, a disposable upgrade/rollback rehearsal and deterministic regression tests.
@athNdev
athNdev merged commit 57770f3 into main Nov 19, 2026
27 checks passed
@athNdev
athNdev deleted the codex/release-coordinator branch November 19, 2026 03:21
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