Uh oh!
There was an error while loading. Please reload this page.
fix(publication): isolate offline release builds - #50
Open
rynfar wants to merge 1 commit into
Open
Conversation
rynfarforce-pushed
the
fix/preview-pack-sandbox-ownership
branch
from
September 3, 2026 00:27
4dd025b to
e48c3d8Comparerynfarforce-pushed
the
fix/preview-pack-sandbox-ownership
branch
from
September 3, 2026 04:13
e48c3d8 to
330587cCompare
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 freeto 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.
Problem
Preview Pack B failed with
EACCESwhen Docker left root-owned output, and the old boundary could execute downloaded or repository code as root. The release path needed to fail closed without exposing the original checkout, runner control state, credentials, or the real publication candidate to dependency-backed processes.Fix
Use one trusted host orchestrator with an exact pinned Linux/amd64 Node image and pinned npm archive. It separates dependency, pack, contract, candidate-preparation, final-verification, cache, and smoke work into disposable least-privilege phases. The real candidate is frozen, verified read-only, bound to a canonical receipt, and copied through bounded no-follow file descriptors into an output directory that containers never mount.
Keep install gates pinned and tokenless across Linux and macOS, including complete historical subject verification. Publication policy revision 3 is append-only and binds the exact final preview and stable workflow bytes.
Verification
pylonatfd275d8e5d7e2713525b9622c54eb5f8f0ef549d; the production bounded-file and consumer-lock blobs are byte-identical to that base.npm run test:pylon-release: 10/10 passed.npm run test:pylon-ruleset-auditor-app: 6/6 passed.actionlint,npm run check, andgit diff --check origin/pylon..HEADpassed.The preview-mode contract phase reached 36/37 once in the required amd64/2-CPU Docker sandbox under Apple Silicon emulation, while the exact CI-mode phase passed 37/37. Only the high-contention consumer-lock case failed at an internal race. An initial preview final-verifier read also failed closed on transient bind metadata and passed unchanged on retry. Native final bytes pass repeatedly; sandbox limits and consumer behavior were not weakened to hide emulator or virtual-filesystem behavior.
Two final independent security and workflow reviews found no remaining P0, P1, or P2 issues.
Built with OpenAI Codex GPT-5.6 using Prime Agent.
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.