[copilot-cli-research] Copilot CLI Deep Research - 2026-04-19 #27226
Closed
Replies: 1 comment
-
|
This discussion has been marked as outdated by Copilot CLI Deep Research Agent. A newer discussion is available at Discussion #27434. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Analysis Date: 2026-04-19 | Run: §24639070790
Scope: 196 total workflows, 87 using Copilot engine | Previous run: §24534029243 (2026-04-16)
📊 Executive Summary
This is the 5th consecutive run of the Copilot CLI deep research analysis. The repository shows healthy growth in core feature adoption (cache-memory +45%, custom agents +133%, bare mode +250%), but 10 significant features remain completely unused across all 196 workflows — a persistent pattern across every analysis run.
The most impactful unused capability is
features: mcp-gateway: true, which would improve MCP server security and observability for the 100+ workflows with MCP configurations. The complete absence ofengine.args,engine.env,blocked-domains,observability, and version pinning represents a systemic adoption gap in advanced Copilot CLI configuration.Key wins this cycle: cache-memory surge (55→80, +45%), custom agent adoption tripling (3→7), bare mode expansion (2→7). These are positive indicators of growing workflow sophistication.
🔴 Critical Findings
Persistent Zero-Adoption Features (5+ Days Unchanged)
engine.versionpinningengine.args/engine.envfeatures: mcp-gatewayblocked-domainsobservabilityengine.api-target🟡 Improving But Underutilized
max-continuations(Copilot autopilot)mcp-scriptsrate-limiton issue/PR triggers1️⃣ Current State Analysis
View Copilot CLI Capabilities Inventory
Engine Configuration Options (from
pkg/workflow/frontmatter_types.go+ docs)Automatically Applied CLI Flags (from
copilot_engine_execution.go)--add-dir /tmp/gh-aw/--disable-builtin-mcps--no-ask-user--log-level all--autopilot --max-autopilot-continues Nmax-continuations > 1--no-custom-instructionsbare: true--allow-all-toolsbash: ["*"]--allow-tool shell(cmd)--add-dir GITHUB_WORKSPACE--allow-all-pathsedit:tool enabledAvailable Features Matrix
engine.versionengine.modelengine.agent(custom agent file)engine.argsengine.envengine.api-targetmax-continuations(autopilot)bare: truesandbox: agent: awfblocked-domainsmcp-gateway: truemcp-cli: trueobservability:cache-memoryrepo-memorymcp-scriptsView Usage Statistics
Engine Distribution (196 total workflows)
copilot(explicit)claudecodexCopilot Workflow Configuration Patterns
network:configsandbox:explicittimeout-minutesstrict: truetracker-idskip-if-matchcache-memoryrepo-memoryfeatures: mcp-clirate-limitTimeout Distribution (top values)
GitHub Tool Toolset Patterns
[default][default, discussions][default, issues][default, actions][repos, pull_requests][all]2️⃣ Feature Usage Matrix
3️⃣ Missed Opportunities
View High Priority Opportunities
🔴 Opportunity 1:
features: mcp-gateway: true— MCP Security & Observability🔴 Opportunity 2:
blocked-domains— Defense-in-Depthnetwork.allowedwildcards*.github.combut blockraw.githubusercontent.com/malicious-user/...network: allowed: [defaults]or broad wildcards🔴 Opportunity 3:
rate-limitMissing on PR/Issue Triggersissues:orpull_request:events without rate-limitExample workflows that would benefit:
code-simplifier.md,ci-coach.md,approach-validator.md,architecture-guardian.mdView Medium Priority Opportunities
🟡 Opportunity 4:
engine.versionPinning — ReproducibilityBest candidates for pinning: High-value production workflows like
auto-triage-issues.md,breaking-change-checker.md,security-review.md🟡 Opportunity 5:
max-continuations— Copilot Autopilot for Complex Tasks--autopilot --max-autopilot-continues N) for multi-step autonomous runssmoke-copilot: 2,test-quality-sentinel: 40)Example workflows that would benefit:
agent-performance-analyzer.md,api-consumption-report.md,agentic-observability-kit.md🟡 Opportunity 6:
engine.args— Copilot CLI Customization🟡 Opportunity 7:
engine.env— Environment-Based ConfigurationGITHUB_COPILOT_BASE_URLrouting, debug flags, custom feature toggles🟡 Opportunity 8: Activate 5 Unused Custom Agent Files
.github/agents/are never referenced in any workflowgrumpy-reviewer,w3c-specification-writer,create-safe-output-type,custom-engine-implementation,interactive-agent-designerSuggested pairings:
grumpy-reviewer→ Code review workflowsw3c-specification-writer→ Documentation and spec workflowscreate-safe-output-type→ Developer tooling workflowsView Low Priority Opportunities
🟢 Opportunity 9:
observabilityConfiguration🟢 Opportunity 10:
toolsets: [all]Over-Privilegingtoolsets: [all]giving full GitHub API accesssecurity-review.md,github-mcp-structural-analysis.md,github-mcp-tools-report.mdcould use more specific toolsets🟢 Opportunity 11:
mcp-scriptsExpansionsecurity-review.mdusesmcp-scripts🟢 Opportunity 12: Model Selection for Cost Optimization
gpt-4.1-mini,gpt-5.1-codex-mini)4️⃣ Specific Workflow Recommendations
View Workflow-Specific Recommendations
auto-triage-issues.md— Add rate-limit + version pingpt-4.1-mini(good!)rate-limit: max: 10 / window: 60; considerengine.versionpinbreaking-change-checker.md— Add max-continuationstimeout-minutes: 10max-continuations: 5would allow more thorough investigationsecurity-review.md— Replacetoolsets: [all]+ add blocked-domainstoolsets: [all]andmcp-scripts; no blocked-domains[repos, pull_requests, code_security]; addblocked-domainsfor defense-in-depthtest-quality-sentinel.md— Good example of max-continuations usemax-continuations: 40— excellent use of Copilot autopilot for thorough test analysisDaily creative workflows (daily-fact, poem-bot, daily-news) — Already using bare mode
bare: trueto suppress AGENTS.md overhead5️⃣ Trends & Insights
View Historical Trends (5 Runs)
engine.versionengine.args/envmcp-gatewayblocked-domainsmax-continuationsbare modecustom agent filescache-memorystrict modeInterpretation:
6️⃣ Best Practice Guidelines
Based on this research, here are recommended best practices for Copilot workflows:
Add
rate-limitto issue/PR-triggered workflows: Protects against accidental or malicious over-triggering. Usemax: 5 / window: 60as a baseline.Use
bare: truefor narrow-scope analytical workflows: SuppressesAGENTS.mdloading overhead when a workflow has a tightly defined task. Already adopted by 7 workflows.Use
max-continuationsfor complex multi-step analysis: Copilot's unique autopilot feature enables truly autonomous deep analysis.test-quality-sentinel.md(max 40) is the gold standard example.Prefer specific
toolsets:over[all]: Follow least-privilege for GitHub MCP tools. Only include the toolsets the workflow actually needs.Leverage custom agent files for specialized behavior: 5 agent files remain unused. Match agent personalities to workflow tasks (e.g.,
grumpy-reviewerfor code review,w3c-specification-writerfor documentation).Consider
engine.versionpinning for critical workflows: Prevents unexpected behavior changes from Copilot CLI updates. Re-evaluate after each stable release.7️⃣ Action Items
Immediate Actions (this week):
features: mcp-gateway: trueon at least one production workflow as a pilotrate-limitto the top 5 most-triggered issue workflowsgrumpy-revieweragent file in a code review workflowShort-term (this month):
engine.versionpinning best practices in DEVGUIDEengine.argsandengine.envusage in docsmax-continuationsto 3-5 complex analysis workflowsblocked-domainsto at least the AWF-enabled workflowsLong-term (this quarter):
toolsets: [all]workflows and narrow permissionsView Supporting Evidence & Methodology
Research Methodology
Phase 1 — Codebase inventory:
pkg/workflow/copilot_engine*.gofor all CLI flags and featurespkg/workflow/frontmatter_types.goforEngineConfigstructdocs/src/content/docs/reference/engines.mdfor documented featuresPhase 2 — Usage analysis:
grep -rl "engine: copilot"— counted workflow distributiongrep -rl "feature:, engine.*, sandbox:"— measured adoption ratesPhase 3 — Trend analysis:
/tmp/gh-aw/repo-memory/default/copilot-research-latest.jsonData Sources:
pkg/workflow/copilot_engine_execution.go— CLI argument constructionpkg/workflow/copilot_engine.go— Engine capabilities.github/workflows/*.md— 196 workflow frontmatter configs/tmp/gh-aw/repo-memory/default/— Historical analysis dataReferences:
References:
Beta Was this translation helpful? Give feedback.
All reactions