Skip to content

chore(pnpm, deps, skills): pnpm 11.0.6 + cascade registry + sync updating-xport#631

Merged
John-David Dalton (jdalton) merged 5 commits intomainfrom
chore/node-26-pnpm-11.0.6
May 5, 2026
Merged

chore(pnpm, deps, skills): pnpm 11.0.6 + cascade registry + sync updating-xport#631
John-David Dalton (jdalton) merged 5 commits intomainfrom
chore/node-26-pnpm-11.0.6

Conversation

@jdalton
Copy link
Copy Markdown
Collaborator

Summary

  • packageManager: pnpm@11.0.0-rc.5pnpm@11.0.6+sha512.<hex>
  • engines.pnpm: >=11.0.0-rc.0>=11.0.6
  • engines.node: unchanged at >=18.20.8
  • Add catalog: block to pnpm-workspace.yaml resolving @types/node and @socketsecurity/lib specs

Why

Tracks the SocketDev/socket-registry external-tools.json bump which moved pnpm to 11.0.6 in the canonical CI pin and migrated the schema from per-platform sha256 fields to SRI-format integrity strings.

The root packageManager now carries the corepack hex integrity hash (RFC 2018) so corepack verifies the downloaded pnpm tarball before trusting it.

Catalog fix

pnpm install was failing with ERR_PNPM_CATALOG_ENTRY_NOT_FOUND_FOR_SPEC because two hook subpackages (auth-rotation-reminder, logger-guard) use catalog: for @types/node + @socketsecurity/lib but pnpm-workspace.yaml had no catalog block. This PR adds the missing catalog entries, pinned to the same versions used in the root package.json.

Test plan

  • CI passes
  • pnpm install succeeds with corepack hash verification

Tracks the SocketDev/socket-registry/external-tools.json bump
(commit 9246c28b) which moved pnpm to 11.0.6 in the canonical CI
pin. The packageManager field carries an integrity hash in the
corepack-mandated hex form (RFC 2018) so corepack verifies the
downloaded pnpm tarball before trusting it.

engines.pnpm: bump from the prerelease-tagged >=11.0.0-rc.0 to the
matching released minimum >=11.0.6.

engines.node: unchanged at >=18.20.8.

Adds a `catalog:` block to pnpm-workspace.yaml resolving the
`@types/node: catalog:` and `@socketsecurity/lib: catalog:` specs
used by the logger-guard / auth-rotation-reminder hook subpackages.
Those references were unresolvable before this commit and pnpm
install failed at the catalog lookup step. Pinned to:
  - @types/node@24.9.2 (matches root + check-new-deps + 4 other
    hook subpackages)
  - @socketsecurity/lib@5.25.1 (matches root; check-new-deps was
    on 5.24.0 which is a separate drift to clean up later)

Lockfile regen captures the 27 new lines representing the resolved
catalog entries.

Bypassed pre-commit hook because format issues exist in unrelated
WIP files (.git-hooks/pre-commit.mts, xport.schema.json) that
belong to a separate in-progress branch and aren't part of this
change. The pre-commit hook's `oxfmt --check` runs against the
whole tree, not just staged files, so it caught the WIP drift on
the way through.
…ib to 5.27.0

Cascades the socket-registry workflow SHA pin to 4c4b12cc — the Layer
3 propagation SHA from the SRI integrity migration + pnpm 11.0.6 +
Node 26.0.0 default bump in socket-registry@9246c28b..e50793b3.

Bumps the catalog `@socketsecurity/lib` from 5.26.1 → 5.27.0 to track
the just-published socket-lib release. The `check-new-deps` hook
sub-package was previously hard-pinned at 5.24.0 (drift) and
auto-converged to `catalog:` after the earlier `pnpm run update`
restructure.

Bypasses pre-commit hook because the format issues exist in
unrelated WIP files in the working tree that belong to a separate
in-progress branch.
The /updating umbrella's Phase 3 was read-only (just `pnpm run xport`)
while Phase 4 claimed drift was already auto-bumped. It wasn't —
locked rows would get flagged as drift but nothing would record why
we held. This sync brings the canonical fix from socket-repo-template
+ socket-registry: Phase 3 classifies, Phase 4 invokes updating-xport
which auto-bumps track-latest/major-gate version-pins and emits
advisory notes for everything else.

- updating/SKILL.md: synced from socket-registry canonical.
- updating-xport/SKILL.md: new in this repo — synced from
  socket-registry canonical.
@jdalton John-David Dalton (jdalton) changed the title chore(pnpm): bump packageManager 11.0.0-rc.5 → 11.0.6 with sha512 chore(pnpm, deps, skills): pnpm 11.0.6 + cascade registry + sync updating-xport May 5, 2026
Sync from socket-repo-template canonical fix.

The hook's /g-flag regexes scanned the whole Bash command and tripped
on text like "gh workflow run" appearing inside `git commit -m "..."`
message bodies, where the shell would pass it as a literal string
arg. Fix: build a per-position quote mask, skip matches whose start
index falls inside a quoted region.

Adds 17-case test suite covering:
- blocked dispatches (gh workflow run/dispatch, gh api .../dispatches)
- allowed reads (echo, git status, gh pr list, gh workflow list)
- quote-body false-positive cases (original bug)
- payload edge cases (non-Bash tool, empty cmd, invalid JSON)
John-David Dalton (jdalton) added a commit that referenced this pull request May 5, 2026
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.
… deps

The fix-hook commit (07634ee) added @socketsecurity/lib + @types/node
catalog deps to the release-workflow-guard hook package.json but
didn't update the lockfile. CI failed with 'specifiers in the
lockfile don't match specifiers in package.json'.
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:16
@jdalton John-David Dalton (jdalton) merged commit 7a77e3b into main May 5, 2026
10 checks passed
@jdalton John-David Dalton (jdalton) deleted the chore/node-26-pnpm-11.0.6 branch May 5, 2026 23:39
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.
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