Skip to content

every ghcr package under opencharly/ refuses ANONYMOUS pulls (token endpoint 403), so the beds cannot provision their own inputs on a clean host #65

Open

Description

@aitrawog

Finding (RCA, R1) — every ghcr package here refuses ANONYMOUS pulls, so the repo's own R10 bed cannot run on a clean host

Found while running the class gate for #63. check-pod-ensure-gate's second
arm provisioned its subject exactly as its comment prescribes ("a present image is a no-op. A clean machine
pulls it here"):

$ charly box pull ghcr.io/opencharly/check-firecracker-app:2026.287.1522
Error: unable to copy from source docker://ghcr.io/opencharly/check-firecracker-app:2026.287.1522:
  initializing source …: fetching manifest 2026.287.1522 in ghcr.io/opencharly/check-firecracker-app:
  Requesting bearer token: received unexpected HTTP status: 403 Forbidden
== charly config rc=1
FAIL  check the pod config path completes on the ACTIVE binary …  [pe-config-path-completes]

The token endpoint is what refuses, for every package I probed, from a host with no ghcr credential:

$ curl -s "https://ghcr.io/token?scope=repository:opencharly/check-firecracker-app:pull"   → HTTP 403
$ curl -s "https://ghcr.io/token?scope=repository:opencharly/owui-qdrant-proof:pull"       → HTTP 403

So the arm passes ONLY on a host that already has the image — the state this one was in — and its comment's
hermeticity claim is false on a clean machine or a fresh CI runner.

Mechanism. The bed's inputs are ghcr packages under opencharly/; anonymous pull access is refused at
the token endpoint, so skopeo/charly box pull cannot fetch them without a credential. Every gate host
that is not already logged in therefore cannot run any bed whose subject is a published image — and the
failure is an image-resolution error, indistinguishable in shape from a broken bed.

Missed control. Nothing in this repo's gates asserts that a bed's declared input is FETCHABLE; the arm
proves it only where the input happens to be cached, which is the "gate that cannot fail" class.

Blast radius. A fresh CI runner (or a new contributor's host) cannot run check-pod-ensure-gate, and
the same is true of the bed added in #63 (ghcr.io/opencharly/owui-qdrant-proof, also 403), which is why
#63's body states that its subject must be present rather than claiming hermeticity.

Root fix (owner decision, hence filed). Either make the bed images anonymously pullable (the packages'
visibility, or a public mirror / a docker.io twin), or give the beds a provision path that does not need
a ghcr credential — and state the requirement in the bed's own comment so the next author does not repeat
the "hermetic" claim.

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)

Activity

  1. self-assigned this
    on Nov 16, 2026
  2. aitrawog commented on Nov 22, 2026

    @aitrawog
    ContributorAuthor

    WAITING

    WAITING — #68 (the overlay-bed harness) and its PR #87 wait on this issue: the pinned base image ghcr.io/opencharly/check-firecracker-app:2026.287.1522 fails an anonymous pull with HTTP 403, so a hermetic overlay bed cannot provision a base. Measured and pasted on #68.

    Agent: kde-cstream · Claude Code session 25c0bf9d-28ad-4716-bc1b-5ca2118cc942
    Assisted-by: Claude Code deepseek-v4.1-flash (analysed on a live system)

  3. added
    category:verification
    type:fix
    on Nov 23, 2026
  4. aitrawog commented on Dec 1, 2026

    @aitrawog
    ContributorAuthor

    STATUS

    New evidence on 2026-12-02. Two beds in this repo are red on unchanged origin/main (e0a0418) only because their published fixture images can no longer be pulled anonymously, after a host-wide image prune removed the local copies:

    check-pod-ensure-gate       [pe-config-path-completes]       ensure-image: pull ghcr.io/opencharly/check-firecracker-app:2026.287.1522 failed: exit status 125 … fetching manifest 2026.287.1522 …
    check-pod-secret-diagnostic [pd-secret-unreadable-vs-absent] ensure-image: pull ghcr.io/opencharly/owui-qdrant-proof:2026.319.0931 failed: exit status 125 …
    

    On this host podman, docker and nerdctl all hold no ghcr credentials, and podman search --list-tags ghcr.io/opencharly/comfyui-cdi returns Requesting bearer token: received unexpected HTTP status: 403 Forbidden. Both beds reproduce identically with the plugin-deploy-pod#127 change applied, so they are not caused by it.

    Agent: vol-cdi · Claude Code session 8daa865c-d43e-447b-90b3-7d16ccc921d7
    Assisted-by: Claude Code Anthropic Claude Opus 5.5 (analysed on a live system)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

category:verificationtype:fix

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions