You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Analysis Date: 2026-06-11 Repository: github/gh-aw Scope: 245 total workflows, ~95 using extended Copilot config, 63 with Copilot SDK Default Copilot CLI Version: v1.0.60
📊 Executive Summary
This first comprehensive analysis identifies 10 missed opportunities across 4 priority levels. Most impactful gaps: zero workflows pin the Copilot CLI version (all 245 workflows could break simultaneously from a bad release), max-continuations is used in only 6/245 workflows despite 20+ complex ones with 30–180 minute timeouts, and enterprise features like api-target and engine.harness have never been used. On the positive side, cache-memory (96/245 = 39%), copilot-sdk (63/245 = 26%), and strict: true (149/245 = 61%) show healthy adoption.
Critical Findings
🔴 High Priority Issues
1. Zero Version Pinning (0/245 workflows)
No workflow pins the Copilot CLI version. A bad release could silently break all 245 workflows. Production critical workflows like release.md, security-compliance.md, and contribution-check.md are most exposed.
engine:
id: copilotversion: "1.0.60"# Pin to tested version
2. max-continuations Severely Underused (6/245 = 2.4%)
20+ workflows run 30–180 minutes without autopilot. agent-persona-explorer.md has a 180-minute timeout with no max-continuations set — it likely times out instead of self-continuing.
engine:
id: copilotmax-continuations: 3# Allow up to 3 autopilot continuationstimeout-minutes: 20# Reduce per-session timeout
3. max-tool-denials Never Configured (0/245)
63 workflows use copilot-sdk: true but none configure max-tool-denials. Runaway inference against unavailable tools wastes tokens. Default is 5 but setting explicitly documents intent.
4. api-target Completely Unused (0/245)
Zero workflows use the custom API endpoint feature for GHEC/GHES or corporate LLM proxies — a significant enterprise feature gap.
🟡 Medium Priority Opportunities
5. strict: true Missing in 96/245 Workflows (39%) release.md, daily-doc-updater.md, craft.md, contribution-check.md and 92 more lack strict mode.
6. engine.harness Completely Unused (0/245)
Custom harness scripts (Copilot-specific) for startup hooks or enhanced retry logic have never been exercised.
7. mcp-scripts Barely Used (1/245 = 0.4%)
Only daily-performance-summary.md uses mcp-scripts. Reusable agent tools could simplify many workflows duplicating bash analysis logic.
8. Network Config Missing in 13 Copilot Workflows security-compliance.md, workflow-health-manager.md, video-analyzer.md, craft.md and 9 more lack explicit network: constraints.
View Full Analysis
1️⃣ Feature Usage Matrix
Feature
Available
Used
Count
Rate
engine.version pinning
✅
❌
0/245
0%
api-target
✅
❌
0/245
0%
engine.harness
✅
❌
0/245
0%
max-tool-denials
✅
❌
0/245
0%
mcp-scripts
✅
⚠️
1/245
0.4%
BYOK (COPILOT_PROVIDER_*)
✅
⚠️
2/245
0.8%
copilot-sdk-driver
✅
⚠️
3/245
1.2%
max-continuations
✅
⚠️
6/245
2.4%
AWF firewall (agent: awf)
✅
⚠️
16/245
7%
bare: true
✅
✅
15/245
6%
web-fetch tool
✅
✅
25/245
10%
Custom engine.agent file
✅
✅
24/245
10%
strict: true
✅
✅
149/245
61%
cache-memory
✅
✅
96/245
39%
copilot-sdk: true
✅
✅
63/245
26%
2️⃣ Available Copilot CLI Flags (from code)
From pkg/workflow/copilot_engine_execution.go:
--add-dir — filesystem scope (used in all runs)
--agent — custom agent file (used via engine.agent)
--autopilot + --max-autopilot-continues — enabled by max-continuations
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Analysis Date: 2026-06-11
Repository: github/gh-aw
Scope: 245 total workflows, ~95 using extended Copilot config, 63 with Copilot SDK
Default Copilot CLI Version: v1.0.60
📊 Executive Summary
This first comprehensive analysis identifies 10 missed opportunities across 4 priority levels. Most impactful gaps: zero workflows pin the Copilot CLI version (all 245 workflows could break simultaneously from a bad release),
max-continuationsis used in only 6/245 workflows despite 20+ complex ones with 30–180 minute timeouts, and enterprise features likeapi-targetandengine.harnesshave never been used. On the positive side,cache-memory(96/245 = 39%),copilot-sdk(63/245 = 26%), andstrict: true(149/245 = 61%) show healthy adoption.Critical Findings
🔴 High Priority Issues
1. Zero Version Pinning (0/245 workflows)
No workflow pins the Copilot CLI version. A bad release could silently break all 245 workflows. Production critical workflows like
release.md,security-compliance.md, andcontribution-check.mdare most exposed.2.
max-continuationsSeverely Underused (6/245 = 2.4%)20+ workflows run 30–180 minutes without autopilot.
agent-persona-explorer.mdhas a 180-minute timeout with nomax-continuationsset — it likely times out instead of self-continuing.3.
max-tool-denialsNever Configured (0/245)63 workflows use
copilot-sdk: truebut none configuremax-tool-denials. Runaway inference against unavailable tools wastes tokens. Default is 5 but setting explicitly documents intent.4.
api-targetCompletely Unused (0/245)Zero workflows use the custom API endpoint feature for GHEC/GHES or corporate LLM proxies — a significant enterprise feature gap.
🟡 Medium Priority Opportunities
5.
strict: trueMissing in 96/245 Workflows (39%)release.md,daily-doc-updater.md,craft.md,contribution-check.mdand 92 more lack strict mode.6.
engine.harnessCompletely Unused (0/245)Custom harness scripts (Copilot-specific) for startup hooks or enhanced retry logic have never been exercised.
7.
mcp-scriptsBarely Used (1/245 = 0.4%)Only
daily-performance-summary.mduses mcp-scripts. Reusable agent tools could simplify many workflows duplicating bash analysis logic.8. Network Config Missing in 13 Copilot Workflows
security-compliance.md,workflow-health-manager.md,video-analyzer.md,craft.mdand 9 more lack explicitnetwork:constraints.View Full Analysis
1️⃣ Feature Usage Matrix
engine.versionpinningapi-targetengine.harnessmax-tool-denialsmcp-scriptsCOPILOT_PROVIDER_*)copilot-sdk-drivermax-continuationsagent: awf)bare: trueweb-fetchtoolengine.agentfilestrict: truecache-memorycopilot-sdk: true2️⃣ Available Copilot CLI Flags (from code)
From
pkg/workflow/copilot_engine_execution.go:--add-dir— filesystem scope (used in all runs)--agent— custom agent file (used viaengine.agent)--autopilot+--max-autopilot-continues— enabled bymax-continuations--disable-builtin-mcps— always set by AWF--no-custom-instructions— enabled bybare: true--headless,--no-ask-user,--no-auto-update— non-interactive flagsBYOK provider variables:
COPILOT_PROVIDER_BASE_URL,COPILOT_PROVIDER_API_KEY,COPILOT_PROVIDER_BEARER_TOKEN,COPILOT_PROVIDER_TYPE,COPILOT_PROVIDER_WIRE_API,COPILOT_PROVIDER_MODEL_ID,COPILOT_PROVIDER_MAX_PROMPT_TOKENS,COPILOT_PROVIDER_MAX_OUTPUT_TOKENS3️⃣ Specific Workflow Recommendations
View Workflow-Specific Recommendations
agent-persona-explorer.md(timeout: 180min, no autopilot, no strict)max-continuations: 4and reducetimeout-minutes: 45per sessionstrict: truerelease.md(no strict, no version pinning)strict: truecontribution-check.md(has max-continuations: 25, no strict)strict: truecraft.md(copilot-sdk: true, no network, no strict, no max-tool-denials)max-tool-denials: 5,strict: true, and minimalnetwork:configsecurity-compliance.md(no network config despite security focus)network:constraints — ironic for a security workflow4️⃣ Best Practice Guidelines
versionfor production workflows — prevents silent CLI update breakagemax-continuationsfor workflows > 20 min — enables autonomous multi-session completionstrict: trueto all production workflows — only omit for experimental workflowsmax-tool-denialsin SDK mode — prevents token waste from repeated denialsnetwork:config — evennetwork: {}documents intentional defaultsengine.agentfor reusable instruction sets — enables sharing across workflows5️⃣ Trends (First Run Baseline)
This is the first comprehensive analysis. Future runs will track adoption of:
max-continuationsadoptionstrict: truecoverage progressionNotable:
copilot-sdk: truegrowing to 63/245 (26%) shows strong SDK adoption.cache-memoryat 39% shows healthy persistence usage. AWF firewall at only 7% suggests security sandboxing remains largely opt-in.7️⃣ Action Items
Immediate (this week):
strict: truetorelease.mdandsecurity-compliance.mdnetwork:config to the 13 Copilot workflows that lack itmax-tool-denials: 5in top SDK workflows (craft.md,daily-safe-output-integrator.md)Short-term (this month):
max-continuationsto 20+ long-running workflows (start withagent-persona-explorer.md)mcp-scriptsfor centralized analysis patternsLong-term (this quarter):
engine.harnessfor smoke test customizationView Methodology & References
Research Methodology
Phase 1 — Inspected
pkg/workflow/copilot_engine*.go,copilot_mcp.go,pkg/constants/to enumerate all available Copilot CLI features and flags.Phase 2 — Statistical survey of all 245
.github/workflows/*.mdfiles using grep/awk frontmatter extraction.Phase 3 — Gap analysis comparing available vs. used features.
References
pkg/workflow/copilot_engine.go,copilot_engine_execution.go,copilot_engine_tools.godocs/src/content/docs/reference/engines.mdmemory/copilot-cli-researchbranch →copilot-cli-research/latest.jsonReferences:
Beta Was this translation helpful? Give feedback.
All reactions