Skip to content

chore(ci+deps): cascade socket-registry to 51f34ffb + drift updates#634

Closed
John-David Dalton (jdalton) wants to merge 4 commits intomainfrom
chore/split-cascade-deps
Closed

chore(ci+deps): cascade socket-registry to 51f34ffb + drift updates#634
John-David Dalton (jdalton) wants to merge 4 commits intomainfrom
chore/split-cascade-deps

Conversation

@jdalton
Copy link
Copy Markdown
Collaborator

Summary

  • Cascade pin — bumps the four workflow files (ci.yml, generate.yml, provenance.yml, weekly-update.yml) to socket-registry@51f34ffb (was @85a2fc0d on main).
  • SRI migrationexternal-tools.json schema now uses integrity SRI strings (was sha256 hex), aligning with socket-registry's canonical schema.
  • Drift updatespackage.json/pnpm-lock.yaml/pnpm-workspace.yaml catalog alignment, scripts/power-state.mts sync, scripts/publish.mts pnpm-publish refresh, scripts/xport-{schema,emit-schema}.mts drift.

Scope

Cascade SHA bump + deps drift slice split out of #630.

Companion splits: hooks (#632), skills+CLAUDE.md (#633). After all three land, #630 closes.

Test plan

  • CI green (workflows resolve setup-and-install@51f34ffb)
  • pnpm install resolves the catalog
  • Power-state helper smoke runs

Bumps the four workflow files (ci.yml, generate.yml, provenance.yml,
weekly-update.yml) to socket-registry@51f34ffb. That commit includes:

- 4c4b12cc — pnpm 11.0.6 GA + Rust toolchain pin for Node 26
  Temporal + SRI integrity migration in external-tools.json
- e5f83c31 — wire updating-xport into the umbrella drift flow
- 51f34ffb — release-workflow-guard quote-mask false-positive fix

Bumps from main's @85a2fc0d, skipping the @4c4b12cc step since the
sdk hadn't cascaded since.
- external-tools.json — SRI integrity migration (sha256 → integrity)
  matches socket-registry's external-tools schema
- package.json + pnpm-lock.yaml + pnpm-workspace.yaml — catalog
  alignment with @socketsecurity/lib + @socketregistry/* fleet
- scripts/power-state.mts — fleet-canonical helper sync from
  socket-repo-template@c23dfef
- scripts/publish.mts — pnpm-publish + --ignore-scripts staged-copy
  + os.tmpdir() staging refresh
- scripts/xport-{schema,emit-schema}.mts — drift sync

Splits content out of #630, paired with the cascade SHA bump in the
commit before this one.
@socket-security
Copy link
Copy Markdown

socket-security Bot commented May 5, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​socketsecurity/​lib@​5.25.1 ⏵ 5.26.1100100100100100

View full report

The cascade bump in this PR pulls socket-registry@51f34ffb's
setup-and-install action, which installs pnpm 11.0.6 from
external-tools.json. Without this matching package.json bump,
pnpm refuses to run with a version-mismatch error.

Independent of #631's wider Node-26 / pnpm bundle. This PR only
sets the integrity-checked packageManager string and widens
engines.pnpm to >=11.0.6.
John-David Dalton (jdalton) added a commit that referenced this pull request May 5, 2026
The hook packages under .claude/hooks/* declare deps via 'catalog:'
specifiers but pnpm-workspace.yaml didn't define a catalog. Add the
catalog block (matches socket-sdk-js #634/#631 / fleet canonical) and
regenerate the lockfile so pnpm install resolves cleanly.
@jdalton John-David Dalton (jdalton) enabled auto-merge (squash) May 5, 2026 23:19
John-David Dalton (jdalton) added a commit that referenced this pull request May 5, 2026
The hook packages under .claude/hooks/* declare deps via 'catalog:'
specifiers but pnpm-workspace.yaml didn't define a catalog. Add the
catalog block (matches socket-sdk-js #634/#631 / fleet canonical) and
regenerate the lockfile so pnpm install resolves cleanly.
John-David Dalton (jdalton) added a commit that referenced this pull request May 5, 2026
* chore(hooks): sync .claude/hooks fleet from canonical

Synced from socket-repo-template canonical hooks fleet. Adds the
new fleet-canonical guard hooks not yet present on this repo's main.

Hooks added:
- auth-rotation-reminder — prompts on token rotation events
- logger-guard — blocks console.log/error in production code
- stale-process-sweeper — Stop hook reaping orphaned vitest workers

Hooks updated:
- path-guard — README + segments drift
- token-guard — README drift

Harness config:
- .claude/settings.json — register new hooks under PreToolUse / Stop
- .git-hooks/{_helpers,pre-commit,pre-push}.mts — drift sync from
  socket-repo-template
- .oxfmtrc.json — JSDoc formatting drift

Splits content out of #630.

* chore(workspace): add catalog block + regen lockfile

The hook packages under .claude/hooks/* declare deps via 'catalog:'
specifiers but pnpm-workspace.yaml didn't define a catalog. Add the
catalog block (matches socket-sdk-js #634/#631 / fleet canonical) and
regenerate the lockfile so pnpm install resolves cleanly.
@jdalton
Copy link
Copy Markdown
Collaborator Author

Closing as superseded. Main has advanced past this PR's content via #631 (which absorbed pnpm 11.0.6 + cascade + the lockfile regen) and subsequent fleet updates. The cascade SHA, packageManager pin, external-tools.json (now SRI-format), and scripts/{publish,xport-*,power-state}.mts are all current on main; this branch's versions are May-3 vintage and would regress. If any specific file edit was missed, it can come back as a focused follow-up.

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