Skip to content

ag runner ignores --model then reports discovery failure after leaving edits #169

Description

@rbinar

cli-dispatch 4.27.0 deterministic runner, invoked from an existing linked worktree with: cli-dispatch-run --backend ag --cwd --model claude-sonnet-4-6 --timeout 900 --verify-timeout 900 --prompt --verify . The runner printed a warning for model "gemini-3.6-flash-high" instead of the explicitly supplied claude-sonnet-4-6. It then exited 1 with: "ag-stream: could not identify the agy conversation this run created (no NEW conversation matched this run prompt)" and a failed attempt to write ~/.cache/cli-dispatch/sessions/discover-fail-.../prompt.txt. Despite reporting worktree runner failed, the worker had already modified the two requested source files in the target linked worktree. Expected: --model reaches ag-stream; terminal failure verdict makes it clear that edits may already exist (or captures the worktree diff/session deterministically). Environment: macOS sandboxed Codex session; cwd was an existing linked worktree; target already had one unrelated modified test file before invocation.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions