teqo-backup/scripts/agent-promote.mjs
Francisco Ignácio Fontoura Solla f021992de0 ci: main-only cutover with gated Vercel deploy
Remove stage/promote/Neon smoke. PR CI targets main; ci.yml full-suite
verifier deploys via vercel CLI and requeues when HEAD moves. Pool uses
POOL_GITHUB_TOKEN and POOL_BASE_REF=main. Docs/skills/rules retargeted.
2026-07-31 20:57:18 -03:00

20 lines
655 B
JavaScript

/**
* `pnpm agent:promote` — REMOVED (main-only cutover).
*
* Feature PRs merge directly to `main`. Production deploy is gated by `ci.yml`
* (`vercel deploy --prod` after the full suite). There is no stage→main promote.
*
* See docs/AGENT-OPS.md.
*/
import { dieAgent, parseArgs } from './lib/agent-github.mjs'
const die = dieAgent('promote')
parseArgs(process.argv.slice(2), new Set())
die(
'Removed: stage→main promote no longer exists.\n' +
' Open PRs with `gh pr create --base main`.\n' +
' Production deploy runs from `.github/workflows/ci.yml` after the full verifier is green.\n' +
' Details: docs/AGENT-OPS.md',
)