Commit Graph

1 Commits

Author SHA1 Message Date
Trevin Chow 83588a3cb7 feat(git-commit-push-pr): stack-aware ship as the single ship path
Adds four-case routing between push and description steps:
- Case 1: on a stack branch → gh stack push + gh stack submit + per-PR
  description via ce-pr-description + gh pr edit per PR
- Case 2: not in stack, change passes two-stage effectiveness test →
  suggest stacking, on yes load ce-pr-stack, on return re-enter routing
  as Case 1
- Case 3: gh-stack not installed, change passes stage-1 → offer-and-run
  install, on success re-enter as Case 2
- Case 4: monolithic default → existing git push + gh pr create, now
  with description via ce-pr-description

Monolithic Steps 6-7 stay untouched; they are the single source of truth
for monolithic description generation. Case 1 explicitly exits before
them; Case 4 explicitly hands back to them.

Effectiveness test prose carries a sync-obligation comment listing all
four locations (this file, ce-work shipping, ce-work-beta shipping,
ce-plan). Changes to the heuristic update all four atomically.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 15:17:32 -07:00