ai-devkit
ai-devkit copied to clipboard
chore(agent-manager): verify whether codex review, cloud and agents write rollouts, and classify detection
Problem
#259 excludes Codex helper and management subcommands from agent detection, but it deliberately keeps codex review detected, on the assumption that it writes a rollout session file like codex exec does. That assumption hasn't been verified.
If codex review doesn't write a rollout, review runs show up as running agents with no session. They would also go through Codex session discovery on every refresh, which is the same problem #259 fixed for other helpers.
The same PR also excluded codex cloud and codex agents, interactive TUIs with no local rollout. Confirm that choice at the same time.
Tasks
- [ ] Run
codex review(current Codex CLI) and check whether it creates a rollout under~/.codex/sessions/YYYY/MM/DD/with asession_metafirst line. - [ ] Do the same for
codex cloudandcodex agents.
Acceptance criteria
- [ ] Each of
review,cloudandagentsis classified by observed behaviour: listed if it writes a local rollout, excluded if not. - [ ]
CodexAdaptertests are updated to encode the decision, with a comment noting the Codex CLI version checked. - [ ] No sessionless
runningCodex entries appear for these subcommands inai-devkit agent list.
Depends on #259.