Implement Convex deployment workflows, environments, and CI/CD configuration...
npx convex dev, npx convex deploy, npx convex codegen, npx convex run (use --prod for prod).CONVEX_AGENT_MODE=anonymous npx convex dev --once when iterating as an AI agent to safely generate codegen artifacts.CONVEX_DEPLOY_KEY overrides, else uses production of CONVEX_DEPLOYMENT project.npx convex deploy --cmd "npm run build" and --cmd-url-env-var-name if needed.npx convex deploy --cmd 'npm run build'.CONVEX_DEPLOY_KEY per environment (Preview vs Production).--preview-run 'functionName'.CONVEX_CLOUD_URL and redeploying; optional CONVEX_SITE_URL..convex.site vs .convex.cloud URL usage where relevant.npx convex dev.npx convex dev:convex/_generated/*.--tail-logs to control log output.npx convex dev --local --once for local backend.npx convex deploy:CONVEX_DEPLOY_KEY is set, deploys to that key's target.CONVEX_DEPLOYMENT's project.npx convex deploy --cmd "npm run build"--cmd-url-env-var-name to customize env var name.--preview-run).npx convex env.CONVEX_CLOUD_URL for client RPCs.CONVEX_SITE_URL for HTTP actions.process.env at runtime; functions set at deploy time.v.union, backfill, then narrow.https://<deployment>.convex.site.https://<deployment>.convex.cloud (via CONVEX_CLOUD_URL)..convex.site and .convex.cloud.