From 03543683c2d569fa3aba4a107715eeac8eb6a874 Mon Sep 17 00:00:00 2001 From: Diego Braga Date: Thu, 3 Dec 2026 07:01:08 +0100 Subject: [PATCH 1/2] docs: record what a fresh-history recut does to package names and pins Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_016RAxvm1BwZAfutHQTPZGJE --- .github/visibility-audit/RECUT.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/visibility-audit/RECUT.md diff --git a/.github/visibility-audit/RECUT.md b/.github/visibility-audit/RECUT.md new file mode 100644 index 0000000..a315bd0 --- /dev/null +++ b/.github/visibility-audit/RECUT.md @@ -0,0 +1,25 @@ +# Recut consequences + +What a fresh-history recut does to packages and pins. The windows themselves are in `windows.json`; for repositories whose visibility is a standing decision, see `DECISIONS.md`. + +## A recut may rename the chart, so consumers repin by NAME + +Measured 2026-12-03 on `krateo-blueprints/zendesk-provider-kog`: + + helm/zendesk-kog/Chart.yaml -> name: zendesk-kog + helm/zendesk-organisations/Chart.yaml -> name: zendesk-organisations + charts/zendesk-provider-kog -> 403 at the token endpoint, no such package + +The package path moved. A consumer pinned to the old name does not get a stale version: it gets **nothing, permanently**. + +**The trap:** GHCR answers **403 at the token endpoint for a package path that does not exist**, and **404 at the manifest for a version missing from a package that does**. Two sessions read a 403 on a retired name as a visibility fault. Re-measured 2026-12-03: + + existing package, existing version token=200 manifest=200 + existing package, missing version token=200 manifest=404 + nonexistent package path token=403 no token issued + +So a 403 here means check the name first. Derive the chart name from `Chart.yaml` `name:`, never from the repository name: a repository is not a chart, and after a recut it may be two. + +## "Public" and "pullable" are different states + +`windows.json` records the sequence: *"fresh-history recut (rename -> new public repo -> first publish re-links the GHCR packages -> flip public)"*. The window exists to cover the gap between the repository being public and the packages being linked to it. This sequence is the recorded procedure; it was not re-measured when this was written. From e6401482511e7cc6675e319967ad94671585178c Mon Sep 17 00:00:00 2001 From: Diego Braga Date: Thu, 3 Dec 2026 07:02:05 +0100 Subject: [PATCH 2/2] docs: RECUT.md keeps only the chart-name rule Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_016RAxvm1BwZAfutHQTPZGJE --- .github/visibility-audit/RECUT.md | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/visibility-audit/RECUT.md b/.github/visibility-audit/RECUT.md index a315bd0..5c8c902 100644 --- a/.github/visibility-audit/RECUT.md +++ b/.github/visibility-audit/RECUT.md @@ -1,25 +1,18 @@ # Recut consequences -What a fresh-history recut does to packages and pins. The windows themselves are in `windows.json`; for repositories whose visibility is a standing decision, see `DECISIONS.md`. +Name a chart from its `Chart.yaml` `name:`, **never from the repository name.** A repository is not a chart, and after a recut it may be two. For repositories whose visibility is a standing decision, see `DECISIONS.md`. -## A recut may rename the chart, so consumers repin by NAME - -Measured 2026-12-03 on `krateo-blueprints/zendesk-provider-kog`: +Measured 2026-12-03, `krateo-blueprints/zendesk-provider-kog`: helm/zendesk-kog/Chart.yaml -> name: zendesk-kog helm/zendesk-organisations/Chart.yaml -> name: zendesk-organisations - charts/zendesk-provider-kog -> 403 at the token endpoint, no such package -The package path moved. A consumer pinned to the old name does not get a stale version: it gets **nothing, permanently**. +The packages are `charts/zendesk-kog` and `charts/zendesk-organisations`. `charts/zendesk-provider-kog`, the name the repository suggests, does not exist. -**The trap:** GHCR answers **403 at the token endpoint for a package path that does not exist**, and **404 at the manifest for a version missing from a package that does**. Two sessions read a 403 on a retired name as a visibility fault. Re-measured 2026-12-03: +**Why this is written down:** probing that name returned a 403, and two sessions read it as a visibility fault. It was not one. GHCR answers **403 at the token endpoint for a package path that does not exist**, and **404 at the manifest for a version missing from a package that does**: existing package, existing version token=200 manifest=200 existing package, missing version token=200 manifest=404 nonexistent package path token=403 no token issued -So a 403 here means check the name first. Derive the chart name from `Chart.yaml` `name:`, never from the repository name: a repository is not a chart, and after a recut it may be two. - -## "Public" and "pullable" are different states - -`windows.json` records the sequence: *"fresh-history recut (rename -> new public repo -> first publish re-links the GHCR packages -> flip public)"*. The window exists to cover the gap between the repository being public and the packages being linked to it. This sequence is the recorded procedure; it was not re-measured when this was written. +So a 403 on a name derived from a repository tells you the name is wrong, nothing about the repository.