Skip to content

feat: AI review agent for current changes or the whole project #6

Description

@imrj05

What problem does this solve?

Orbit already has a live git diff HEAD review pane, but there is no AI reviewer. Users have to prompt the agent manually and describe what to look at, then sift the transcript for findings. PRODUCT.md also notes there is no "Auto" AI-reviewer mode today because pi does not expose a reviewer API to extensions — this request is the Orbit-side capability that would consume such an API when available (and can ship as an agent-run review in the meantime).

Proposed solution

An "AI review" action that runs a review agent against a chosen target:

  • Current changes — the working tree / staged diff, or a selected file from the Review pane.
  • Whole project — a repository-wide pass (bounded by a file/scope selector to keep it affordable).
  • Structured findings (severity, file:line, summary, suggested fix) rendered in the Review pane rather than dumped as chat text, with "open in editor"/copy affordances.
  • Choose the model and access mode for the review run; reviews are read-only by default.

Alternatives considered

  • Prompting the normal chat agent with "review my changes" — no structure, findings are lost in the transcript.
  • External CLI/CI reviewers — leaves the app.

Area

Review / Git

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions