Skip to content

Conversation

@wesm
Copy link
Collaborator

@wesm wesm commented Jan 26, 2026

Summary

  • Display explicitly configured model in Review screen title as (agent: model)
  • Reorganize Review screen layout for better clarity and information grouping
image

Fixes #127

New Layout

Review #42 myrepo (codex: claude-sonnet-4-5-20250929)
/path/to/repo abc1234 on feature-branch
Verdict: Pass [ADDRESSED]

Line 1 (Title): Review identity - job ID, repo name, agent and model
Line 2 (Location): Where the code is - repo path/identity, git ref, branch
Line 3 (Status): Review outcome - verdict and addressed state

Changes

  1. Model display - When a model is explicitly configured (via --model flag, .roborev.toml, or global config), it appears in the title
  2. Git ref moved - From title line to location line, next to branch name
  3. Branch moved - From title line to location line, with repo path
  4. [ADDRESSED] moved - From title line to status line, next to verdict
  5. Fix model loading - GetReviewByJobID and GetReviewByCommitSHA now include j.model in queries

Test plan

  • Unit tests updated for new layout
  • Run roborev review --model o3 and verify model appears in title
  • Verify location line shows repo path, git ref, and branch
  • Verify [ADDRESSED] appears on verdict line
  • Test with synced reviews (no local path) - should show repo identity

Fixes #127

🤖 Generated with Claude Code

wesm and others added 3 commits January 26, 2026 11:23
When a model is explicitly configured (via --model flag, .roborev.toml,
or global config), display it in the Review and Prompt view titles as
"(agent: model)" instead of just "(agent)".

Fixes #127

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The GetReviewByJobID and GetReviewByCommitSHA functions were not
selecting j.model from the review_jobs table, causing the model
to always be empty when viewing reviews in the TUI.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Move git ref and branch to location line (below title)
- Move [ADDRESSED] indicator to verdict line
- Location line shows: repo path/identity + git ref + branch
- Title line is now cleaner: Review #ID repo (agent: model)

The new layout groups related info:
- Title: identity of the review
- Location: where the code is (path, commit, branch)
- Status: verdict and addressed state

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@wesm wesm changed the title Display selected model in Review screen Display model and reorganize Review screen layout Jan 26, 2026
@wesm wesm merged commit 0f6b977 into main Jan 26, 2026
7 checks passed
@wesm wesm deleted the display-selected-model branch January 26, 2026 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Display selected model in review output

2 participants