X_TEST_TYPECHECK_PIN_STALE
Means
a pin in the test-typecheck ratchet is above what remains, or names a directory that is not a package
Typical cause
errors were fixed and the pin was not lowered; or a package was renamed and its pin outlived it, excusing nothing and hiding that nobody is checking it
Fix
bun run scripts/test-typecheck-gate.ts --unpin <pkg>[,<pkg>] — the fix carries the exact line