Goal: Take the current branch changes and get them ready to merge into main via PR + auto-merge, plus make local verification easy.
Rules:
- •Never overwrite local.
- •Do not push directly to main.
- •Prefer PR + auto-merge.
- •Ensure tests/build are green before shipping.
Steps:
- •Confirm state:
- •git status --porcelain
- •git rev-parse --abbrev-ref HEAD
- •git log --oneline -n 10
- •Run validation:
- •npm ci
- •npm test (or npm run test)
- •npm run build
- •npm run lint (only if present)
- •Commit (if needed).
- •Push branch to origin.
- •Create PR to main (if possible).
- •Enable auto-merge (if possible), otherwise provide exact UI steps.
- •Provide handoff:
- •Codex: Hand off to local → Apply (never overwrite)
- •Local: git status, ironai-local
- •Provide a 30-second smoke test checklist.