Today I Learned
Short notes on small things I learned while building. 8 so far. Longer posts are in Writing.
- TIL: a gitignored sitemap.xml is stale on every machine except the builder
- TIL: an MCP header with ${VAR} reads the agent .env, not your shell
- TIL: fix a dev-only Dependabot alert with a pnpm override
- TIL: `brew install` warns when another copy of the tool sits earlier on your PATH
- TIL: in SQLite a TEXT column is greater than every number, so `ts > 1e12` matches everything
- TIL: a git worktree runs hooks from the main checkout .git/hooks, not its own files
- TIL: Vite uses the nearest tsconfig.json and ignores `include`, so JSX silently fell back to the classic runtime
- TIL: a pipe into tail returns tail exit code, so a failed push looks like success