-
-
Notifications
You must be signed in to change notification settings - Fork 150
feat(bindings): upstream provenance pins + lock-step review gate for well-known bindings #7031
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
proggeramlug
merged 6 commits into
PerryTS:main
from
jdalton:feat/binding-upstream-lockstep
Jul 30, 2026
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
876630d
feat(bindings): upstream provenance pins + lock-step gate for well-kn…
jdalton 30958f9
docs: key the changelog fragment to PR #7031
jdalton 5462879
fix(bindings): address provenance gate review
13d1dcf
Merge remote-tracking branch 'origin/main' into maint/pr-7031
d7ffb90
fix(security): harden soaked tool workflows
f6d7e0c
Merge remote-tracking branch 'origin/main' into maint/pr-7031
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| **Supply-chain soak + pinned security tooling:** port the wheelhouse/nub security stack (nubjs/nub#442). A 7-day release-age soak (`SOAK_DAYS` in `scripts/soak/constants.mts`, `npm run soak` parity gate + `soak:fix` fixer) now governs every dependency surface — root `.npmrc` `min-release-age`, `tools/pnpm-workspace.yaml` `minimumReleaseAge` with dated auto-expiring exclusions, `tools/taze.config.mts` `maturityPeriod` (soaked `npm run deps:update` updater), `.cargo/config.toml` `min-publish-age` (nightly-only; inert on stable), and per-block dependabot `cooldown`. `external-tools.json` pins pnpm 11.15.1 / npm 12.0.1 / sfw 1.14.0 (dated soakBypass) / zizmor 1.28.0 / agentshield 1.4.0 / skillspector `@2eb84478` exact with sha512 SRI; `npm run tools:install` installs them into a local rack and writes Socket Firewall shims for npm/yarn/pnpm/pip/uv/cargo (recursion-sentinel, fail-open, clobber-guarded; the pnpm/npm shims wrap the rack-pinned binaries). CI grows a zizmor workflow running the rack-pinned binary (gate at high with a documented ratchet config in `.github/zizmor.yml`) plus always-run `soak-gate`, `agent-scan` (AgentShield over `.claude/`), and `skills-scan` (NVIDIA SkillSpector over `.claude/skills/`) jobs in security-audit.yml. New `soak` skill documents the workflow. | ||
| **Supply-chain soak + pinned security tooling:** port the wheelhouse/nub security stack (nubjs/nub#442). A 7-day release-age soak (`SOAK_DAYS` in `scripts/soak/constants.mts`, `npm run soak` parity gate + `soak:fix` fixer) now governs every dependency surface — root `.npmrc` `min-release-age`, `tools/pnpm-workspace.yaml` `minimumReleaseAge` with dated auto-expiring exclusions, `tools/taze.config.mts` `maturityPeriod` (soaked `npm run deps:update` updater), `.cargo/config.toml` `min-publish-age` (nightly-only; inert on stable), and per-block dependabot `cooldown`. `external-tools.json` pins pnpm 11.15.1 / npm 12.0.1 / sfw 1.14.0 (dated soakBypass) / zizmor 1.28.0 / agentshield 1.4.0 with SHA-512 SRI, and SkillSpector to a full Git SHA with a seven-day uv dependency cutoff; `npm run tools:install` installs them into a local rack and writes Socket Firewall shims for npm/yarn/pnpm/pip/uv/cargo (recursion-sentinel, fail-open, clobber-guarded; the pnpm/npm shims wrap the rack-pinned binaries). CI grows a zizmor workflow running the rack-pinned binary (gate at high with a documented ratchet config in `.github/zizmor.yml`) plus always-run `soak-gate`, `agent-scan` (AgentShield over `.claude/`), and `skills-scan` (NVIDIA SkillSpector over `.claude/skills/`) jobs in security-audit.yml. New `soak` skill documents the workflow. |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| **Well-known bindings now carry upstream provenance pins with a lock-step review gate.** Every third-party npm package with a bundled native wrapper in `well_known_bindings.toml` records the exact upstream release it ports (version, tarball sha256, repo, git ref) and the date/release it was last reviewed against. The lock-step rule — `ported-at` must equal `version` — means a pin bump can't outrun the wrapper review it demands; it's enforced by `node scripts/binding_pins.mjs --check` in CI and by the perry binary's own table parser. Node builtins, aliases, and perry-owned packages are exempt. New `scripts/binding_pins.mjs` provisions pins (`--set`/`--backfill`), gates them offline (`--check`), flags newly-soaked upstream releases (`--check --refresh`), and materializes an upstream at its pin for review (`--materialize`). Adapted from the socket-registry fleet's upstream-reference technique. Also adds an `iovalkey` binding (the Valkey fork of ioredis) served by the existing `perry-ext-ioredis` surface. |
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.