Why
A fresh isolation worktree is not toolchain-ready. pnpm spec check <id> --write --perf=skip currently fails as tsx: command not found, then as missing packages/sury/index.mjs. The author has to discover pnpm install and pnpm --filter=sury build:entry from raw not-found errors.
This belongs under Spec Harness Suggestions in CONTRIBUTING.md. The harness should print those two commands when tsx or packages/sury/index.mjs is missing, then exit non-zero.
Scope
packages/spec CLI startup, before any spec is loaded.
Out of scope: installing or building automatically.
Suggested mechanism
A preflight that checks for tsx on PATH and for packages/sury/index.mjs. On miss, print pnpm install && pnpm --filter=sury build:entry and fail.
Came from a reflect pass on adding valid-negative-infinity to packages/sury/specs/number.yaml.
Why
A fresh isolation worktree is not toolchain-ready.
pnpm spec check <id> --write --perf=skipcurrently fails astsx: command not found, then as missingpackages/sury/index.mjs. The author has to discoverpnpm installandpnpm --filter=sury build:entryfrom raw not-found errors.This belongs under Spec Harness Suggestions in CONTRIBUTING.md. The harness should print those two commands when
tsxorpackages/sury/index.mjsis missing, then exit non-zero.Scope
packages/specCLI startup, before any spec is loaded.Out of scope: installing or building automatically.
Suggested mechanism
A preflight that checks for
tsxon PATH and forpackages/sury/index.mjs. On miss, printpnpm install && pnpm --filter=sury build:entryand fail.Came from a reflect pass on adding
valid-negative-infinitytopackages/sury/specs/number.yaml.