Bug type
Developer tooling issue
Summary
The pre-commit hook runs pnpm check, which includes tsgo. On current main (as of 2026-04-06), tsgo reports 4 type errors in files unrelated to any staged changes, blocking all local commits without --no-verify.
Steps to reproduce
- Clone the repo at current
main
- Make any change (even a comment)
git commit
- Observe
tsgo failure
Affected files (none are contributor-touched)
src/gateway/client.ts(237,13): error TS2322
src/hooks/bundled/session-memory/transcript.ts(6,58): error TS2339
src/plugins/hooks.sync-only.test.ts(20,5): error TS2322
src/plugins/hooks.sync-only.test.ts(21,5): error TS2322
Expected behavior
Pre-commit hook passes on a clean checkout of main.
Actual behavior
tsgo fails with 4 type errors, forcing contributors to use --no-verify for all commits.
Impact
Low severity but high friction — every contributor hits this on every commit.
Bug type
Developer tooling issue
Summary
The pre-commit hook runs
pnpm check, which includestsgo. On currentmain(as of 2026-04-06),tsgoreports 4 type errors in files unrelated to any staged changes, blocking all local commits without--no-verify.Steps to reproduce
maingit committsgofailureAffected files (none are contributor-touched)
Expected behavior
Pre-commit hook passes on a clean checkout of
main.Actual behavior
tsgofails with 4 type errors, forcing contributors to use--no-verifyfor all commits.Impact
Low severity but high friction — every contributor hits this on every commit.