Remove Codex/Gemini Models, Add Pi Live Listing · Entire
Expert Code Review Steps:
- If no PR number is provided in the args, run
gh pr listto show open PRs. - If a PR number is provided, run
gh pr view <number> --json title,body,author,baseRefName,headRefName,state,additions,deletions,changedFiles,labelsto get PR details. - Run
gh pr diff <number>to get the diff. - Analyze the changes and provide a thorough code review that includes:
- Overview of what the PR does
- Analysis of code quality and style
- Specific suggestions for improvements
- Any potential issues or risks
Focus Areas:
- Code correctness
- Following project conventions
- Performance implications
- Test coverage
- Security considerations
Review Considerations:
- Format your review with clear sections and bullet points.
Scope:
Review the commits unique to this branch vs origin/HEAD, plus any uncommitted changes in the working tree. Ignore code outside this scope.
Checkpoint Context from Commits in Scope:
- Commit (86a03348156e): prompt: Create a separate PR for that. Then come back to this one.
Use entire explain <id> for full checkpoint context, or entire explain <id> --raw-transcript for raw transcripts.
Recent Commits:
- Commit (724f579): Drop fabricated "example" models for codex/gemini.
The codex/gemini model listers returned hardcoded "example" model ids that looked pickable but weren't guaranteed valid (gpt-5-codex could fail outright). Neither CLI has a model-enumeration command, so remove the listers entirely. The model picker then offers just Default + Custom for those agents (its existing no-models behavior), and--modelsshows "(no advertised models; pass any value your CLI accepts via --model)". Claude keeps its real, valid aliases (opus/sonnet/haiku). Tests updated. - Commit (d91d995): Implement Pi live model listing for entire review --models.
Pi has a real model-enumeration command, so ListModels shells out topi --list-modelsand parses the table into provider/model entries. parsePiModelList is split out and unit-tested (no pi binary needed).