- Use the fff MCP tools for all file search operations instead of default tools.
- Always run
npx tsc -bbefore considering a change complete — this matches the CI build command and enforcesnoUnusedLocals/noUnusedParameters. Do NOT usetsc --noEmitas it skips these checks. Build failures are unacceptable — catch them locally, not in CI. - When adding new fields to shared interfaces (e.g.
Request,KeyValuePair), make them optional with defaults at the function boundary (likecreateFullSavedRequest) so existing callers don't break. grep all call-sites of affected functions and update them if the fields are required. - After modifying any TypeScript interface, search for all usages of that interface and any functions that accept/return it to verify compatibility.