Skip to content

fix(pstack): pin poteto-mode script devDependencies - #1149

Open
surlymochan wants to merge 1 commit into
cursor:mainfrom
surlymochan:fix/990-pin-poteto-mode-devdeps
Open

surlymochan wants to merge 1 commit into
cursor:mainfrom
surlymochan:fix/990-pin-poteto-mode-devdeps

Conversation

@surlymochan

Copy link
Copy Markdown
Contributor

Fixes #990

Why

pstack/skills/poteto-mode/scripts/package.json pins commander exactly but leaves both devDependencies on the latest tag, so the manifest alone does not say which toolchain typecheck and bun test run against — and static scanners (SkillSpector SC1, per #990) flag it as an unpinned-dependency finding. The committed bun.lock already resolves both packages, so the versions to pin are not a judgement call.

What changed

  • pstack/skills/poteto-mode/scripts/package.json: pin bun-types to 1.3.14 and typescript to 7.0.2 — exactly the versions the committed bun.lock already resolves to (as @deanrie confirmed on pstack: pin poteto-mode script devDependencies (bun-types and typescript use latest) #990). Nothing is upgraded or downgraded.
  • pstack/skills/poteto-mode/scripts/bun.lock: one bun install to sync the lockfile's recorded specs with the manifest. The diff is only the two spec strings (latest → the pinned versions); every resolved version and hash is unchanged.
  • Regenerated harness/pstack/; the generated copies of both files carry the same change.

Scope

Manifest and lockfile spec strings only, in the poteto-mode scripts package and its generated harness copy. No code changes, no version movement, plugin.json untouched.

Blast Radius

Installs of this scripts package resolve to the identical versions they did before, now with the specs stated in package.json itself. A --frozen-lockfile install passes against the updated lockfile, so the sync check proposed on #990 stays green.

Verification

One combined run on this branch:

  • node scripts/generate-pstack-harness-trees.mjs --check — "harness/pstack is up to date"
  • node scripts/validate-plugins.mjs — all plugins validated successfully
  • In pstack/skills/poteto-mode/scripts: bun install --frozen-lockfile — succeeds; bun run typecheck — passes; bun run test — 61 pass, 0 fail across 4 files
  • node --disable-warning=ExperimentalWarning --test pstack/skills/*/scripts/test/*.test.ts — 334 tests: 267 pass, 0 fail, 67 skipped (the skipped ones shell out to TLC and self-skip when TLA2TOOLS is unset)

Note: tsc on the statechart scripts still reports the four pre-existing errors from #1141 on this base; that fix is separate (PR #1148) and this PR does not touch those files.

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.

pstack: pin poteto-mode script devDependencies (bun-types and typescript use latest)

1 participant