[Homebrew] Project attested Formula resources into sealed recipes - #1120
Closed
brandonpayton wants to merge 1 commit into
Closed
[Homebrew] Project attested Formula resources into sealed recipes#1120brandonpayton wants to merge 1 commit into
brandonpayton wants to merge 1 commit into
Conversation
This was referenced Jul 27, 2026
Draft
Member
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Formula-owned tap recipes can already build from Homebrew's verified primary source and poured dependency kegs. They could not safely receive an ordinary Homebrew
resourcewithout either accepting a caller-selected host path or folding that resource into the primary source closure.This adds a bounded build-time resource projection to the sealed schema-3 publisher contract. It is stacked on #1112 at exact base
fd0ae3aa79011370f5200211fccbfaf01fcbe8e1.What changes
resources: ["name"]list without evaluating Formula Ruby, and bind each selected resource to one literal HTTPS URL and SHA-256.kandelo-package-resources/<name>layout in the privileged runner./kandelo/resources/<name>.This does not change Node or browser runtime behavior. Resources are visible only to the isolated bottle recipe while it builds.
Validation
Head:
72875c93966bd1d2f4c9538647cb6de10b6ae69bscripts/dev-shell.sh bash scripts/test-homebrew-publish-workflow.sh— passed end to end.PYTHONDONTWRITEBYTECODE=1 python3 scripts/test-homebrew-tap-recipe-runner.py— 25 tests passed (3 host-specific skips locally; 2 skips in the Nix publisher run).scripts/dev-shell.sh cargo test --target <host> -p xtask homebrew_tier2_preflight -- --nocapture— 30 passed, 560 filtered out.scripts/dev-shell.sh bash scripts/test-homebrew-formula-runtime-closure.sh— passed.scripts/dev-shell.sh bash scripts/test-homebrew-patched-launcher.sh— passed, including the read-only live resource canary.scripts/dev-shell.sh ruby scripts/check-homebrew-publish-workflow-trust.rb— passed.chocolate-doomresource.