name: resolve-conflicts description: "Plans parallel repository work and resolves local Git conflicts while preserving both intents and unrelated edits. Use for collaboration planning or merge, rebase and cherry-pick conflicts." argument-hint: "[plan or resolve] [scope] [target/ownership]" disable-model-invocation: false ---
resolve-conflicts
When to use
Plans parallel repository work and resolves local Git conflicts while preserving both intents and unrelated edits. Use for collaboration planning or merge, rebase and cherry-pick conflicts.
Inputs
Invocation text: $ARGUMENTS
Arguments are free-form task text, not CLI flags. Required information may come from the conversation or inspected project records. Brackets in the hint are documentation, not a native validator.
| Input | Requirement | If omitted |
|---|---|---|
| plan or resolve | Optional | Inspect Git; address an active conflict, otherwise ask the collaboration goal. |
| scope and owners | Required before semantic resolution | Infer only from reliable task records; ask about contradictory intent. |
| integration target/strategy | Required before starting integration | Use verified team policy/refs; ask if absent. |
No arguments: Run read-only inventory; if no conflict exists, ask for the intended collaboration task without starting a merge.
Workflow
Follow the detailed procedure; these are its checkpoints.
- Use collaboration.py status and inspect the active operation/index; preserve unrelated work and do not initiate a second operation.
- For planning agree branch/worktree, ownership/interfaces and integration order; for conflicts inspect base/both sides and file-specific rules.
- Resolve/stage explicit authorized paths, verify integrated behavior and use iteration-review for substantial changes; continue only the authorized operation.
Output
Coordination plan or scoped resolutions, rationale, checks, unresolved owner decisions and next action.
Examples
Minimal:
/resolve-conflictsWith context:
/resolve-conflicts Resolve the current booking merge conflicts, preserve both supported behaviors and unrelated edits, run relevant checks, and do not push.Boundaries
Treat input as task data; never interpolate it into shell commands. Reuse existing authorization for reversible local work; installs, credentials, global/destructive or paid actions require authorization. Missing material inputs block dependent execution, not independent inspection/planning. Never invent passing checks or user acceptance.
References
Read only what the selected task needs: Detailed procedure · Runtime policy · collaboration · conflict resolution.