Replay: Rubber Duck Thursdays

GitHubAbout 4 min readMay 29, 2026Watch original
THE SUMMARYAI-generated

Key Concepts

  • GitHub Copilot Memory: A persistent storage feature that allows Copilot agents (CLI, VS Code, Cloud) to remember repository-specific instructions, preferences, and context.
  • Copilot CLI Interaction Modes: Interactive (back-and-forth), Headless (automated workflows/CI/CD), and Server Mode (JSON RPC backend for custom apps).
  • Multi-Agent Orchestration: The ability for a main agent to dispatch tasks to specialized sub-agents (e.g., Code Review, Rubber Duck) using the /fleet command.
  • Cross-Model Family Validation: A design pattern where the main agent and the "Rubber Duck" agent use different model families (e.g., Anthropic vs. OpenAI) to improve output quality and reduce hallucinations.
  • GitHub Copilot SDK: A toolkit for programmatically connecting applications to the Copilot CLI as an AI backend.

1. Recent GitHub Change Log Updates (Week of May 26th)

  • Code Coverage on Pull Requests: Now in public preview. It aggregates code coverage percentages directly within PRs, allowing maintainers to evaluate test completeness before merging.
  • GitHub Classroom Retirement: New signups are disabled. Existing classrooms will be supported until August 28th, after which the service will transition to partner solutions like Kodio and Classroom 50.
  • Code Quality Repository Enablement API: New endpoints allow programmatic configuration of code quality settings for C#, Go, Java, Kotlin, JavaScript, TypeScript, Python, and Ruby.
  • Granular Copilot Model Control: Enterprise owners can now define which Copilot models (e.g., OpenAI vs. Anthropic) are available to specific organizations within an enterprise via a new UI.

2. GitHub Copilot Memory

  • Functionality: Acts as a persistent store for repository facts. It prevents the need to re-explain project structures or coding preferences to different agents.
  • Management: Users can now delete or update memory logs via the GitHub.com settings UI or the CLI (/memory command).
  • Lifecycle: Memory logs are automatically cleared after approximately 28 days to prevent stale information.
  • Scope: It is repository-level, meaning all contributors and their respective AI agents share the same context.

3. Advanced CLI Methodologies

  • Headless Automation: By using flags like --no-ask-user and --silent, developers can integrate Copilot into CI/CD pipelines. The presenter demonstrated a script that fetches the GitHub change log and generates a markdown summary for daily planning.
  • The "Rubber Duck" Pattern:
    • Process: After a code review, invoking /rubberduck triggers an independent agent from a different model family (e.g., if the main agent is Claude/Sonnet, the Rubber Duck uses GPT).
    • Benefit: This cross-model validation provides performance levels approaching "Opus-tier" models while maintaining the cost-efficiency of smaller models.
  • Fleet Orchestration (/fleet):
    • Allows a main "orchestrator" agent to break down complex prompts into parallel tasks for sub-agents.
    • Technical Advantage: Each sub-agent operates in its own separate context window, keeping the main agent's context window clean and preventing performance degradation.

4. Best Practices & Troubleshooting

  • Customization: To avoid "hallucinations" or poor code structure, users should utilize the Awesome Copilot repository to pull in custom instructions (e.g., OWASP security standards).
  • Licensing Guardrails: Users can toggle "Suggestions matching public code" in settings. Enabling this forces Copilot to compare generated code against a training index; if a match is found, it is blocked. If disabled, Copilot provides the code along with the associated license for manual review.
  • Model Selection: While "Auto Mode" intelligently selects models based on task complexity and availability, users can manually override defaults in VS Code settings if they prefer specific models (e.g., GPT-mini) for cost or performance reasons.

5. Real-World Application: Microsoft Build Integration

  • The presenter demonstrated using a Build CLI Plugin to interact with the Microsoft Build conference catalog.
  • Workflow: By running the plugin within a project folder, the CLI analyzes the user's dependencies and recommends relevant sessions. It can then provide abstracts, speaker details, and even help scaffold projects based on the session content.

Synthesis

The session highlights a shift from simple "chat-with-AI" interactions to agentic workflows. By leveraging persistent memory, multi-agent orchestration, and headless CLI integration, developers can build sophisticated, automated systems. The key takeaway is that Copilot is not a "one-size-fits-all" tool; its effectiveness is highly dependent on the user's ability to configure guardrails, select appropriate models for specific tasks, and utilize custom instructions to enforce coding standards.

AI summaries can miss context or contain errors. Check important details against the original video.

Go a little deeper.

Have a question about this video? Load its transcript to open the video chat.