[Feature Request] Start the Guided Review and the agent review automatically, with saved default options

Aperta
#2,666 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

Start by locating the plannotator review CLI entry point and the code that opens a review session, then trace how Guided Review and agent review options reach their UI controls. The issue does not name files or tests, so map the current option and session flows before estimating the change. Done means saved defaults and session flags start or preselect both jobs as described across the listed review targets and agent hosts.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Problem

Almost every time I run plannotator review, the first thing I do in the browser is click two buttons: one to
generate the Guided Review and one to start the agent review. Each time I also pick the same options for both
(provider, effort, and so on). Both jobs take a while, so I end up waiting for them after the page is already open.
Version 0.28.49 has no flag or config.json setting to start them automatically, or to save the options I always
choose.

Proposal

  1. A saved default in config.json for each job: whether it starts on its own, and the options the UI asks for
    today (provider, model, effort, and the rest). Something like:
    "reviewDefaults": {
      "guide": {
        "autoStart": true,
        "provider": "claude",
        "effort": "high"
      },
      "agentReview": {
        "autoStart": true,
        "provider": "codex",
        "effort": "medium"
      }
    }
    
    The UI would show these as the preselected choices, and could offer to save the current choice as the default.
  2. CLI flags that apply to the current session only, like --base and --diff-type:
    plannotator review --guide --agent-review
    plannotator review --no-guide --no-agent-review
    
    The job options could have session flags too, but the saved defaults matter most.

Expected behaviour

  • With autoStart on, the job starts as soon as the review session opens, before the browser page has loaded, with
    the saved options. The page shows it as already running, exactly as if its button had been clicked.
  • With autoStart off, nothing starts by itself, but the saved options are still preselected when the button is
    clicked.
  • It works the same with --base, --diff-type, a PR URL and a directory target.
  • When an agent host such as the Claude Code plugin opens the review, it can pass the same flags.

Why

This saves two clicks and the same option choices on every review. It also means the guide and the agent findings
are often ready by the time I start reading the diff, instead of me waiting for them afterwards.

Related

  • #982: headless sessions where agents comment before the UI is shown (closed). It is about an agent posting
    annotations, not about starting Plannotator's own guide and agent review jobs.
  • #1265: extra instructions for the Guided Review.
Lingua principale
TypeScript
Stelle
8.7k
Fork
649
Merge medio
11h 7m
PR unite (30g)
862

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di backnotprop/plannotator

Tutte le issue di backnotprop/plannotator

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.