agents/rules/ci-git-workflow.md
Always push committed changes to the remote repository before waiting for or checking CI status.
Waiting for CI checks on unpushed local commits is backwards - the CI runs on the remote repository state, not local commits.
Proper sequence:
yarn type-check:ci --force, yarn biome check --write .)When asked to move changes to a different branch, use git commands to commit existing changes to the specified branch rather than redoing the work. This is more efficient and prevents duplication of effort.
Never force push to main or production branches - under any circumstances.
When making changes that affect tRPC components or after pulling updates that modify tRPC-related files:
yarn prisma generate to ensure all database types are up-to-datecd packages/trpc && yarn build to rebuild the tRPC packageThis sequence ensures that type definitions are properly generated before building.