Skip to content

Test: /rubber-duck agent #319092

@digitarald

Description

@digitarald

Refs: #319089

  • anyOS
  • anyOS

Complexity: 3


Context

The rubber duck agent is a built-in critic that gives Copilot a second opinion on its plans and code using a different AI model. It's gated behind the chat.agentHost.rubberDuck.enabled setting.

Setup

  • Open Settings and enable chat.agentHost.rubberDuck.enabled
  • Restart the agent host / Copilot CLI session

Test Steps

Setting gate

  1. With the setting disabled (default), open Copilot CLI, type /r — verify /rubber-duck does NOT appear in completions
  2. Enable chat.agentHost.rubberDuck.enabled, restart the session
  3. /rubber-duck now appears

Automatic invocation

  1. Ask Copilot to plan a non-trivial multi-file refactor (e.g., "Plan how to extract the logging service into its own module")
  2. Observe the timeline output — verify Copilot consults the rubber duck agent and summarizes the critique (e.g., "The critique pointed out…")
  3. Ask a trivial question (e.g., "What is 2+2?") — verify the rubber duck is NOT consulted

Manual invocation

  1. Ask Copilot to produce a plan, then send: "Rubber duck your plan"
  2. Verify structured feedback is returned with severity categories (blocking / non-blocking / suggestions)
  3. Alternatively, type /rubber-duck followed by a prompt — verify critique is generated

Read-only behavior

  1. Verify the rubber duck critique does not edit any files or run mutating commands — it only reads and reports

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions