ce-resolve-pr-feedback: add mode:return-to-caller for orchestrators that own the push
Context
ce-work, ce-debug, ce-brainstorm, and lfg accept mode:return-to-caller. It is meant for outer orchestrators that own everything after the skill: ce-work lists it in its argument-hint "for outer orchestrators", and ce-debug commits the fix on the feature branch and pushes nothing.
ce-resolve-pr-feedback offers only mode:pipeline. That mode behaves like the ordinary full or targeted mode, so it fixes, commits, pushes, replies, and resolves.
Problem
The full-mode flow is fixed: step 6 commits and runs git push, and step 7 starts with "After the push succeeds, post replies and resolve where applicable." An orchestrator that must own the push cannot use the skill as designed. In our setup the agent works in a workspace without push credentials, and a hook pushes after the session. The push fails, so the skill posts no replies and resolves no threads. The threads stay open, and a branch rule that requires resolved conversations then blocks the merge.
Workaround today
Our prompt tells the agent to continue with the skill's reply and resolve steps although the push failed, and to resolve the threads itself. That relies on the model complying, and it repeats rules that the skill already owns.
Proposal
Add mode:return-to-caller to ce-resolve-pr-feedback with the unattended behavior of pipeline: no blocking questions and the same handling of needs-human items. The one difference is that it commits the fixes and never pushes.
For replies and resolution, either variant would work for us:
- The skill still replies and resolves after committing, so the caller needs nothing further.
- Following the pattern of the other return-to-caller modes, the skill returns the replies and resolutions as a structured result, and the caller applies them after its own push.
We assume replies wait for the push so that they can refer to pushed fixes. If that is why, variant 2 may fit the design better, and I would like to hear which you prefer.
If the mode lands, it should also appear in the argument-hint, as it does for ce-work.
I am happy to open a PR once you have settled on the direction.
Source: EveryInc/compound-engineering-plugin