Skip to content

Review itinerary: an ordered, risk-ranked review plan for every agent diff #421

Closed

Description

@currentbits

From the code-review pedagogy research (Google/Microsoft studies, GitHub's 2026 playbook): experts don't read diffs top-to-bottom — they compare against an expected mental model, in a deliberate order.

Per agent diff, generate the itinerary as UI: CI/config deltas first (hard-stop banner), duplicate-utility scan auto-run (the 'reuse blindness' check), critical-path trace, tests-first toggle, then evidence. Show plan-vs-diff mismatch highlights ('issue says X; diff also touches Y') inline above the diff. Chunk large diffs by functional area, never alphabetical (file-order decay). Have the finishing agent self-annotate its own diff (read order, rationale per chunk, self-found risks) — authors catch their own bugs while annotating.

Activity

  1. added
    enhancement
    plan:todo
    on Aug 17, 2026
  2. currentbits commented on Aug 18, 2026

    @currentbits
    OwnerAuthor

    Round 19 intel: Cursor's Bugbot numbers (2026-06-10) give a calibration target for automated review: 90-second average review, 0.62 bugs found per review, 3x faster and ~22% cheaper after a model upgrade. Two scope features map onto the review itinerary: /review runs the reviewer before you push (local, pre-PR), and a config option to only review what is new in the PR rather than the whole diff vs main. Delta-scoping matters once a PR accumulates reviewed-and-accepted hunks: re-reviewing them wastes tokens and re-litigates settled decisions. The itinerary should track which hunks already passed review and only re-review hunks whose content changed since.

  3. added
    plan:doing
    and removed
    plan:todo
    on Aug 18, 2026
  4. added
    plan:done
    and removed
    plan:doing
    on Sep 8, 2026
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

    enhancementplan:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions