Primary finding
inspect-* scripts crash with confusing error when env vars are missing
- apps/web/scripts/inspect-app-hook.ts:22-26
- apps/web/scripts/inspect-app.ts:19-23
The `!` non-null assertions coerce undefined env vars into `undefined`, which is then passed to createAppAuth. The resulting error from @octokit/auth-app is not obviously about a missing env var, making the script harder to use for operators. Doc comment says these are read from .env.local — when that file is missing, the error should say so. Minor operator-UX issue in admin tooling.
Recommendation
Add explicit guards: `if (!process.env.GITHUB_APP_ID || !process.env.GITHUB_APP_PRIVATE_KEY) { console.error('Missing GITHUB_APP_ID / GITHUB_APP_PRIVATE_KEY in .env.local'); process.exit(1); }`.