aep-git-ref
Git + Worktree Reference (AEP)
/aep-launch, /aep-build, and /aep-wrap operate on a plain git repository plus git worktree for parallel agent isolation — when these skills say "commit", they mean git commit. This skill is the canonical home for AEP's git conventions: every other skill resolves $BASE, creates/removes worktrees, and opens PRs by pointing here, never by re-inlining these blocks. Rationale for plain git (agent training data, universal tooling): docs/decisions/migrate-from-jj-to-git.md.
Integration Branch
Every AEP git operation targets the integration branch — the branch feature worktrees are
created from, rebased onto, PR'd into, merged into, and where control-plane commits (/aep-dispatch,
/aep-design, the /aep-wrap archive) land. Throughout this skill and the bash blocks in /aep-launch,
/aep-build, /aep-wrap, and the product-context skills, this branch is referred to as $BASE.
AEP auto-detects one of two modes — no configuration required for the common cases:
| Mode | Condition | Integration ($BASE) |
Production |
|---|---|---|---|
| single-branch (default) | no develop branch |
main |
main (same branch) |
| two-branch | develop exists |
develop (staging) |
main (promote-only) |