gk ai resolve refine-plan
Re-resolve one planned file with new guidance
Synopsis
Re-resolve exactly one file from an existing plan with new guidance.
Requires exactly one –file and non-empty –instructions. The prior result is replaced and attempt is incremented. This command does not mutate the repo.
Example:
gk ai resolve refine-plan /tmp/resolve-plan.json –file src/a.ts
–instructions “preserve the public API” –output json
gk ai resolve refine-plan <plan> [flags]
Options
--fallback string Fallback strategy when AI fails or is unavailable: ours or theirs
--file stringArray Exact repository-relative conflicted path to resolve (repeatable)
-h, --help help for refine-plan
--instructions string Guidance for AI resolution
--max-steps int Maximum model tool-calling steps per file (default 15)
--plan-file string Write the complete plan atomically (0600 on POSIX)
Options inherited from parent commands
--no-telemetry Disable telemetry (OTel spans, Sentry) for this invocation
--output string Output format: text or json (default "text")
--session string (Optional) Isolate auth and cache under a named session
--workdir string Path to the git repository to operate on (default: current directory)
SEE ALSO
- gk ai resolve - Plan, review, and stage AI conflict resolutions