Pushing Convex code (dev vs prod)
convex dev watches your folder; deploy / deploy key ships to production.
Difficulty 2/5
Plain English
While building features, run dev:convex in a second terminal. For prod, agentify/jmcon use deploy keys on push — wrong key deploys to the wrong project.
Analogy
dev is rehearsal; deploy is opening night — same script, different venue.
Jessica's wedding portal
docs/convex-cloud.md — youthful-kookabura-525 prod, robust-crow-981 dev.
Agentify CRM
decisive-warthog-196 prod; incredible-snail-523 dev. Slug guard in deploy scripts.
Go deeper
Two terminals: frontend dev + convex dev.
Common mistakes
- Deploying agentify convex to jmcon project.
- Forgetting convex codegen before typecheck.
AI-agent trap
Running convex deploy without dry-run table list check.
Summary
Unset stray CONVEX_DEPLOYMENT in shell when switching repos.
Confidence: