Skip to content

[copilot-cli-research] Copilot CLI Deep Research - 2026-11-06 #75291

Not planned

Description

@github-actions

Analysis Date: 2026-11-06
Repository: github/gh-aw
Scope: 357 total workflows, 143 using Copilot engine (40%)


📊 Executive Summary

Key Findings

  • Compiler emits many flags (--disable-builtin-mcps, --no-ask-user, --agent, --autopilot/--max-autopilot-continues, --add-dir, --allow-all-paths, --no-custom-instructions, --allow-tool/--deny-tool workflow) in pkg/workflow/copilot_engine_execution.go, but several have zero usage in workflows.
  • Autopilot: 0 workflows; plugins: config: 0; --share: 0; no-custom-instructions: 0.
  • Timeouts are near-universal (345/357), strict in 242, agent: in 164, sandbox in 153, max-turns in 41, version pinning in 32, cache-memory in 110, repo-memory in 36.
  • Model overrides are rare (6 files with explicit model: line plus alias usage: small x33, copilot/gpt-5 x13, copilot/auto x13, gpt-5 x9, claude-haiku-4.5 x9) — mixed naming styles.

Primary Recommendation: Cap runaway cost/time by adding max-turns (or autopilot continues) to the ~100 Copilot workflows lacking it, and pin versions on critical workflows.


Critical Findings

🔴 High Priority

  1. Unbounded turns: only 41 workflows set max-turns; most Copilot workflows rely on timeout only. Add max-turns to scheduled/high-volume workflows.
  2. Version pinning gap: 32 of 143 pin engine.version; unpinned workflows can break on CLI releases. Pin the critical ones and update via a single process.

🟡 Medium Priority

  1. Autopilot unused (0): --autopilot --max-autopilot-continues is supported but unused; evaluate for long multi-step tasks (refactor/fix workflows).
  2. Model naming inconsistency: mix of small, copilot/gpt-5, gpt-5, copilot/auto; standardize on aliases/small for cheap triage tasks.
  3. Sandbox coverage: 153 explicit sandbox: entries vs 143 Copilot workflows; audit any Copilot workflow without sandbox/network allowlists.
  4. Conversation sharing (--share) unused (0): consider for debugging flaky workflows only (check privacy).

View Full Analysis

Usage Statistics

Feature Workflows
timeout-minutes 345
strict 242
agent: 164
sandbox: 153
cache-memory 110
max-turns 41
repo-memory 36
engine version 32
--share / plugins / autopilot / no-custom-instructions 0

Trends

Previous run (2026-09-08): 299 workflows, 88 extended Copilot configs, share=1, plugins=0, max-turns=30, version pinning=11. Since then: workflows +58, max-turns +11, version pinning +21 (grep-based counts, not strictly comparable: earlier run counted Copilot-only), --share 1→0.

Best Practices

  1. Always set timeout-minutes plus max-turns.
  2. Pin engine versions for production workflows.
  3. Use narrow GitHub toolsets and network allowlists.

Methodology

Reviewed pkg/workflow/copilot_*.go, grep counts across .github/workflows/*.md, and prior repo-memory snapshot. Counts are repo-wide greps, not restricted to Copilot engine.

Action Items

  • Add max-turns to scheduled Copilot workflows
  • Pin engine versions on critical workflows
  • Pilot autopilot on one workflow
  • Standardize model naming

Generated by Copilot CLI Deep Research (Run: 42158054914)

Generated by 🔬 Copilot CLI Deep Research Agent · copilot · auto · ~15 AIC · ⌖ ~1 AIC · ⊞ 12.3K · ◷

  • expires on Nov 6, 2026, 7:47 PM UTC-08:00

Activity

  1. added
    enhancement
    on Nov 6, 2026
  2. github-actions commented on Nov 6, 2026

    @github-actions
    ContributorAuthor

    🏷️ Issue Triaged

    Hi @github-actions[bot]! I categorized this issue as enhancement based on the following analysis:

    Reasoning: Its action items aim to improve existing Copilot workflow configuration and reliability.

    View Triage Details

    Analysis

    • Keywords detected: max-turns, version pinning, model naming
    • Issue type indicators: Proposes configuration improvements based on workflow research.
    • Confidence: High

    Recommended Next Steps

    • Prioritize scheduled Copilot workflows that lack turn limits.
    • Review version pinning and model naming changes in scoped batches.

    References: Triage run §42235672525

    Generated by 🔧 Issue Triage Agent · codex · gpt60 · ~40 AIC · ⌖ ~7 AIC · ⊞ 14.9K · ◷

  3. github-actions commented on Nov 7, 2026

    @github-actions
    ContributorAuthor

    This issue was automatically closed because it expired on 2026-11-07T03:47:34.407Z.

    Closed by Workflow

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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions