fix: prove missing public candidate via Registry protocol #4
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/registry-absence-proof"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Linux public candidate13/API11650 built successfully and Login Succeeded, then rejected before write because buildx reports exact missing target as ERROR: : not found rather than MANIFEST_UNKNOWN. Reproduced anonymously using same cached runner client image; protocol GET exact candidate returns404 MANIFEST_UNKNOWN. Replace text-based positive absence with anonymous, bounded GET proof against existing trusted forgejo.docker LAN plane: fixed host/path/allowlisted target, no redirects/proxies, token+manifest response parsing; only404 with nonempty exclusively MANIFEST_UNKNOWN errors permits push. Existing CLI auth/network refusal stays; generic404/HTML/error/redirect fail closed. No secrets printed, permissions modified or product/internal artifact changes. Public-source build remains authoritative.
Author self-review codex: 11 tests PASS including actual shell and protocol cases (200/401/403/429/500/302, malformed/HTML404, mixed errors, timeout, target validation, redirect refusal); bash syntax/diff PASS. Actual node24 Docker with existing LAN mapping confirmed exact missing candidate. Initial local execution without mapping refused safely; no CI success claimed yet. Frozen product unchanged. Canonical PUBLIC-BUILD.md, xtrape-docs/reference/06, docs#293; existing infra dind-security HTTP plane. Independent exactHEAD/base review and all CI required.
HEAD
609ea03307Base
0a32452cd0PUBLIC-REGISTRY-ABSENCE-PROOF-20261019 — Independent non-author formal APPROVED, exact HEAD
609ea03307, base0a32452cd0, author codex. Independently examined actual diff and common template/install workflow Git blob38ef6ba4d0; installed Linux file and publication control template are identical. The previous CLI read continues fail-closed on existing target and known CLI authorization/network/transport failures; generic CLI 'not found' is never by itself proof of absence. New pre-write Python probe validates the exact forgejo.xtrape.com/xtrape-project/(5 allowed runtime names):candidate-<40hex>--attempt- locator, uses fixed existing trusted http://forgejo.docker internal endpoint with Host forgejo.xtrape.com, ProxyHandler({}), NoRedirect, GET-only anonymous token request scoped to exact repository:pull and GET to its exact manifest. ONLY HTTP404 with a nonempty JSON errors list where every code is MANIFEST_UNKNOWN exits zero. HTML404, NAME_UNKNOWN, mixed DENIED/MANIFEST_UNKNOWN, 200/401/403/429/500/302, token errors, timeout/transport/parse exceptions, redirection or invalid target refuse before docker tag/push. Neither raw response bodies nor secret values are printed; Bearer token in Authorization header, not URL. Test harness exercises real embedded protocol shell and response cases, including target restriction, no redirects, and existing authentication/CLI/digest checks. Important bounded limitation: preflight is not atomic immutability; only controlled writers/serialization and digest readback identify final candidate, with public registry real deployment still to prove. Author reports eleven tests, syntax/diff and trusted LAN endpoint demo PASS, NOT real public candidate publication, Integration or HA. Product source, Vitest tests and permissions unchanged; new CI still required. No merge, dispatch, secret/permission change, Host2 or private xtrape OCI promotion authorized.Author Merge Readiness Confirmation — codex. HEAD
609ea03307/ base0a32452cd0. Formal non-author review5381 current APPROVED; all validate/audit/secret-scan CI success. 11 template tests local and Node24 Docker plus real protocol absence proof PASS. No unresolved blocker identified. Only publication control changes; no product, permissions, secret or deployment changes. Ready for guarded merge.