mirror of
https://github.com/EveryInc/compound-engineering-plugin.git
synced 2026-06-19 15:41:46 +02:00
4bd2e18a58
Phase 4 previously hand-rolled "stage and commit the change," which duplicated logic that ce-commit and ce-commit-push-pr already encode (convention detection, default-branch guard, logical splitting, conventional-commit fallback). Replace with two slash-routed options so the user picks intent: local commit only or commit + push + PR. Reusing those skills means future commit-hygiene improvements propagate automatically. Also split the Handoff menu so /ce-compound and the issue-tracker reply read as additive "first" steps that re-prompt with the remaining options once done -- they don't commit anything, so they're rarely the user's terminal action. Phase 3 gains an upfront default-branch check. Today the default-branch guard fires only at commit time inside ce-commit/ce-commit-push-pr, after the fix has already been edited; surfacing it before edits sets up the right branch from the start. Single signal -- "are we on main/master/ origin/HEAD?" -- so the check stays out of the way for the common case where the user is already on a feature branch or in a worktree.