Skip to content

fix: honor --max-turns for Cursor and Codex #14

Description

@altaywtf

Problem

The CLI accepts --max-turns for every harness. Only the Claude SDK config sets max_turns. Cursor spawn is cursor-agent -p --trust plus a 900s wall clock. Codex config has no turn cap.

Related open work: harnesses: assess and add Grok and OpenCode legs.

Evidence

  • src/cli.ts --max-turns
  • src/scenario.ts Claude max_turns
  • src/cursor-provider.ts spawn args

Done when

  • Cursor and Codex either honor --max-turns or the flag is rejected for those harnesses

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions