Skip to content

feat(tui): select Flow reviewer from connected models - #78

Merged
vriesd merged 2 commits into
mainfrom
codex/reviewer-model-picker
Sep 14, 2026
Merged

vriesd merged 2 commits into
mainfrom
codex/reviewer-model-picker

Conversation

@vriesd

@vriesd vriesd commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Choosing a reviewer currently requires editing configuration by hand. Add an optional OpenCode TUI entry point with /flow-reviewer and a command-palette action that lists connected text/tool-capable models, including an explicit unavailable-current-preference indication.

The user confirms before a global preference is saved and OpenCode server instances reload. The picker rechecks current-project activity, provider availability, preference changes, and project/plugin lifetime. It writes only agent.flow-reviewer.options.flowReviewerModel; it does not round-trip plugins, credentials, or the manager model through the config API. Other projects must be idle before confirmation, as disclosed in the dialog.

A nonempty preference overrides tuple/environment reviewer-model settings and uses default reasoning while preserving reviewer steps. A project preference overrides the same global field. “Use default” restores the existing tuple/environment configuration without deleting it. The server applies the preference during configuration and reports its requested source through /flow-status. No model probe or Flow lifecycle tool is added.

Prepares version 8.4.0 and the ./tui export. This feature is not published or eligible for the existing narrow patch qualification. No paid evals or canaries ran, and the user's installed configuration was not changed.

Validation: native picker and confirmation rendered in an isolated pinned OpenCode 1.18.6 PTY with a synthetic catalog and disabled write transport. The real provider-free host smoke applied/reset the preference through /global/config, verified effective model/variant/steps after reload, preserved an unrelated environment reference, and created no .flow state. Unit, architecture, documentation, surface, packaging checks and all 13 gated replays passed.

Final push preflight passed: 1,187 tests passed, one opt-in smoke skipped, 45 focused host checks and package smoke passed. The opt-in real host smoke was also run separately and passed 21 tests.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 14, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-14T15:24:04.163376Z fe34480 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: fe34480bb2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread README.md
@vriesd
vriesd merged commit ff605d9 into main Sep 14, 2026
7 checks passed
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.

2 participants