Skip to content

fix: bind artifact downloads to authenticated GitHub API redirects - #233

Merged
magnus919 merged 2 commits into
mainfrom
codex/api-bound-artifact-download
Oct 11, 2026
Merged

magnus919 merged 2 commits into
mainfrom
codex/api-bound-artifact-download

Conversation

@magnus919

Copy link
Copy Markdown
Contributor

GitHub served real review artifacts from different storage hosts, so the protected publisher rejected valid downloads despite successful analysis. The v3 protected policy admits only the ephemeral HTTPS Location returned by the authenticated GitHub artifact API for an already-bound artifact ID. Both fetch paths use the same validator and retain the size, digest, manifest and workflow/run/head checks. Storage receives no GitHub bearer token, and a second redirect is refused. Existing v1/v2 static-host behavior remains unchanged.

The three caller files are pinned together to the reviewed core commit. No inference model, review rubric, budget or disposition behavior changes.

Validation: 101 focused publication/runtime tests and 68 caller/profile tests passed; Ruff, JSON/YAML parsing and diff checks passed. Independent review CLEAR for the core and atomic pins. Real target publication remains to be verified after deployment.

@magnus919
magnus919 merged commit 784c067 into main Oct 11, 2026
24 checks passed
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