Git Branch Usage
Goal: AI experiments freely, main branch remains stable, deployment controlled by humans
Branch Map
Section titled “Branch Map” ┌──────────────┐ │ playground/* │ ← AI 실험 └───────┬──────┘ │ ▼ ┌────────────┐ │ main │ ← 통합 기준선 (AI-Native Baseline) └───────┬────┘ │ ▼ ┌──────────────┐ │ staging │ ← Release Candidate └───────┬──────┘ │ ▼ ┌────────────────┐ │ release/2026.01 │ ← Production tag └────────────────┘Branch Roles
Section titled “Branch Roles”| Branch | Meaning |
|---|---|
| main | AI-Native Truth – Always clean and test-passing |
| playground/* | AI experiments, research, risky code |
| staging | QA / Deployment candidate |
| release/* | Actual production deployment |
Playground Strategy (AI Experiments Only)
Section titled “Playground Strategy (AI Experiments Only)”git checkout -b playground/domain-normalizer- AI can generate freely here
- Failure is acceptable
- Cursor can only freely modify in the playground branch
Promotion to main
Section titled “Promotion to main”git checkout maingit merge playground/domain-normalizernpm testgit commit -m "feat: promote domain normalization from playground"git branch -D playground/domain-normalizerStaging: Deployment Candidate
Section titled “Staging: Deployment Candidate”- QA, Performance, Data Validation, Legal Review
- No AI Access
Release & Production
Section titled “Release & Production”git checkout -b release/2026.01git tag prod-2026.01git push origin prod-2026.01CI/CD deploys only to this tag.
Hotfix Flow
Section titled “Hotfix Flow”release/2026.01 → fix/critical-bug → release/2026.01 → mainrelease → main merge required
.cursorrules rules
Section titled “.cursorrules rules”- Cursor는 playground/* 와 main 만 수정 가능- staging 및 release 브랜치는 읽기 전용- production 태그는 절대 수정 불가