Skip to content

Run the testers with another agent CLI - #34

Open
shiwng wants to merge 1 commit into
pierridotite:mainfrom
shiwng:agent-cli
Open

shiwng wants to merge 1 commit into
pierridotite:mainfrom
shiwng:agent-cli

Conversation

@shiwng

@shiwng shiwng commented Nov 27, 2026

Copy link
Copy Markdown

This adds the agent input of the workflow (#14), which picks the CLI that runs the testers on each phone: claude keeps today's behavior as the default, and opencode run, codex exec or gemini -p run the same brief when chosen, with the chosen CLI installed on the runner for the run.
Verified offline with stand-ins on PATH: with agent unset or claude, all three run_agent.sh scripts build the exact same claude -p command as before, an argv diff against the old scripts is empty on all four call sites, bash -n passes on every changed script and the 277 unit tests pass.

The agent input of the workflow now picks the CLI each run_agent.sh
gives the mission to: claude as before (the default), opencode run,
codex exec or gemini -p, installed on the runner for the run.
@pierridotite

Copy link
Copy Markdown
Owner

Thanks for this. I can't merge it as is:
1. The workflow already has 25 inputs, which is GitHub's maximum for workflow_dispatch. A 26th makes GitHub reject the file, so no run would start. The agent choice has to fit in an existing input, for example a prefix in model like gemini:gemini-2.5-pro.
2. --approval-mode yolo for Gemini and no tool limit for OpenCode give a free shell to an agent that reads text written by the app under test, with the keys in its environment. #32 just closed that for Claude. Each CLI needs the same limits: the brief's commands, reads in the repo, writes only under results/.
3. The default model is sonnet, no OpenAI or Gemini key is wired, and agent_status.py and ecr_trace.py read Claude's JSON. It needs one real run on the demo app.
4. seung-waedet took OpenCode in #14 on Nov 25, and the issue asks for one CLI per PR. Could you keep one CLI here, Codex or Gemini, and leave OpenCode to them?

This branch has not been deployed

No deployments
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