Skip to content

Copilot CLI worker: apply requested reasoning effort level #972

Closed

Description

Original author: Cedric Vidal (@cedricvidal)

Summary

The GitHub Copilot CLI worker (coder-acp-copilot) must pass the requested reasoning effort level when invoking the Copilot agent via the ACP SDK, so that benchmarks run at the intended effort level.

Context

Once growth-ecosystems/scope-core#970 enables effort selection at run submission, the worker needs to apply that choice. The ACP SDK may expose effort configuration as a parameter in the chat request or session configuration.

Requirements

  • Accept reasoningEffort from WorkerProcessorOptions
  • Pass the effort to the ACP SDK's session or message configuration
  • Verify that the ACP SDK supports effort configuration (check SDK docs / types)
  • If the SDK doesn't support effort directly, investigate model variant selection (e.g., claude-opus-4.7-high)
  • Log the configured effort level for traceability

Files Likely Involved

  • apps/workers/coder-acp-copilot/src/index.ts — processMessage()
  • apps/workers/coder-acp-copilot/src/acp-client.ts — ACP SDK interaction
  • packages/shared/src/types/types.ts — WorkerProcessorOptions

Dependencies

  • Blocked on growth-ecosystems/scope-core#970 — Run submit must first expose effort selection and propagate it to workers

Related

  • growth-ecosystems/scope-core#969 — Model scanner: collect supported reasoning effort levels
  • growth-ecosystems/scope-core#970 — Run submit: validate and surface model effort compatibility
  • scope-doc#45 — Original failure report
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

    type: enhancementNew functionality or improvements to existing behavior.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions