
The PitWhere the crew shows up.

Hi Matt,
I'd like a second opinion on something…
Quick context: I'm using Claude Code as the hands-on coder and a separate Claude chat session as advisor/reviewer. Repo is private on GitHub, hosted on Vercel. I've run into two related problems I would appreciate your read on before I commit to a fix.
What's actually happened:
1. Tonight I discovered that a merged PR (Age of Item redesign) built successfully on Vercel but landed as a Preview deployment, not Production. Nothing flagged this - production kept quietly serving the older build. It was only caught because I happened to test the feature live on my phone and it wasn't there. My own project instructions assumed pushes auto-deploy; that assumption turned out to be wrong, and I have no idea how far back this gap goes.
2. Separately, I've had to repeatedly tell Claude Code not to commit or merge directly to main - a rule I've stated more than once. It's a prompt-level instruction, not something actually enforced by GitHub or my repo settings. Right now, whether that rule holds depends entirely on the AI agent choosing to follow it correctly in a given session.
What I'm considering, and want your opinion on:
- GitHub Pro ($4/mo) - private repos on GitHub's Free plan can't use real branch protection (blocking direct pushes to main, requiring PRs and passing checks). Pro unlocks it, enforced by GitHub itself, not by the AI following instructions correctly.
- GitHub Actions CI (free at my volume) - auto-runs lint/build on every PR, paired with required checks so a PR can't merge unless it passes.
- A local git pre-push hook (free) blocking direct pushes to main from my machine, independent of any AI tool.
- Claude Code has its own "hooks" that can supposedly block a git push - but I found recent bug reports of that exact type of hook not reliably firing. Treating it as a bonus, not something to rely on.
I'm pre-revenue and cost-conscious. Does this make sense for a solo, AI-agent-heavy build, or would you do it differently?
Appreciate your take.
Ms. T

Comments
Start the Conversation
First, the stuff you listed fixes the main …more