Codex App review diffs should support marking files as viewed

Resolved 💬 2 comments Opened Jun 16, 2026 by joshka Closed Jun 17, 2026

What variant of Codex are you using?

App

What feature would you like to see?

When reviewing Codex-made changes, I want a GitHub-style way to mark files or diff sections as viewed.

The key behavior is that once I have reviewed a file, it should stay collapsed/marked as read unless that file changes again. If a later agent turn edits the same file, only the new or changed parts should require re-review.

This matters when iterating with an agent before pushing or opening a PR. “Last turn” helps, but it is not the same thing: it assumes I fully reviewed every item from the previous turn before continuing. In practice I may review some files, ask for fixes, then need the app to preserve which parts are already done and which parts need fresh attention.

Additional information

GitHub’s pull request “Viewed” state is the reference workflow: reviewed files disappear from the active review surface until new changes invalidate that viewed state.

View original on GitHub ↗

2 Comments

Keesan12 · 2 months ago

The useful invalidation rule here is not just file-level, it is patch-segment-level. If a file was marked viewed and a later turn only changes one hunk, the review surface should reopen that hunk and keep the untouched segments collapsed.

That usually works best if viewed state is anchored to stable diff identities plus a content hash, rather than to the turn number alone. Otherwise any follow-up edit re-expands the whole file and the feature stops feeling meaningfully different from Last turn.

joshka · 2 months ago

Looks like this is already there - either it's super subtle, I just I didn't notice, or was added recently 🤷

<img width="189" height="79" alt="Image" src="https://github.com/user-attachments/assets/48a4f087-eb11-485e-ab88-6a5a7ca66306" />