Repository navigation
Conversation
Keep compiler and agent CLI dependencies reproducible across native and container installs. Use a patched locked workflow package manager and check release package signatures before importing code with install scripts disabled. Signed-off-by: zlareb1 <[email protected]>
5 of 6 tasks
Signed-off-by: zlareb1 <[email protected]>
Disable package lifecycle scripts and require matching native packages from the committed graph before binding launchers. Retain baseline CPU variants and offline shim rebuilding, and test missing-native failures with network and process leak controls. Signed-off-by: zlareb1 <[email protected]>
Signed-off-by: zlareb1 <[email protected]>
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.
Changelog category (leave one):
Changelog entry (one or two sentences a user of Loom can read without the diff; the release pull request collects these into the release notes):
Compiler indexers, package managers and agent test tools install from integrity-checked dependency locks. Package verification disables install scripts before importing published SDK code.
Why
A fixed top-level npm version still resolves mutable dependency ranges, and lifecycle scripts can fetch native replacements outside a lock. Private tooling projects commit the full package graph and artifact integrity, install with vendor lifecycle scripts disabled, and bind their required native binaries locally. Compiler tools keep relative executable links so the installed tree works in native deployments and copied image stages.
Scope and risk
This adds locked projects for compiler tools, agent test CLIs, the workflow package manager and codespace setup. The existing compiler and agent versions are retained. The workflow package manager moves to the patched same-major version 10.34.9; its bootstrap lock and the integration's
packageManagerfield agree, preventing an automatic download of the older version. The copied course setup includes its own matching CLI manifest and lock.All tooling
npm cicommands use--ignore-scripts. A local binder checks each required native package against the committed graph and exact wrapper version, refuses missing or escaped binary paths, and binds the downloaded executable without running a vendor installer. The compiler lock includes baseline x64 native variants that an installer could otherwise download outside the graph. An offline, script-disabled rebuild refreshes package-manager launchers. Platform jobs use the locally installed native binaries and refuse a missing agent executable. Native optional packages resolve beside their CLI package in the locked tree, including the platform binary paths. Workflow path filters include their tooling locks. The server image copies the compiler manifests before invoking its installer. Missing or mismatched native packages fail installation, including optional packages whose extraction failure npm treats as nonfatal. No replacement download is attempted. The production command names and install prefix stay the same.The release check continues to install the exact version under verification, with lifecycle scripts disabled and registry signatures checked before the SDK import. The package smoke check also disables lifecycle scripts for the locally built tarball. These acceptance checks keep their existing import and version assertions.
Compatibility, rollout and rollback
code-toolchainsdirectory from the same checkout. Container builds copy both. Matching native optional packages are required; use Node for the target platform and do not omit optional dependencies. Missing native packages stop installation. The standalone codespace setup includes its own matching binder. Existing callers retain the same prefix and executable names.Tests
AI assistance in the code (leave one; writing this description with AI is fine):
AI-generated: Codex added tooling manifests and installers, generated locks, checked the native installation paths and ran focused validation.
I can explain every line of this diff and how it interacts with the rest of Loom.
Checklist