[prompt-clustering] Copilot Agent Prompt Clustering — 2026-07-02 (1,000 PRs, 80.8% merged) #42938
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by Copilot Agent Prompt Clustering Analysis. A newer discussion is available at Discussion #43174. |
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.
Daily NLP clustering of Copilot coding-agent PRs in
github/gh-aw. TF-IDF + K-means over task prompts extracted from PR titles/bodies, enriched with outcome and iteration metrics.Summary
Key findings
dashboard / ts(87.2%) andpkg / linters / string(87.1%) — are also the smallest by diff size (6–16 files avg). Tight, single-purpose PRs are the reliable path.md / workflow / workflowscluster (182 PRs, 18% of all work) merges at only 74.7% — the lowest and second-largest cluster. Prompts touching.md,lock.yml, and workflow definitions are the biggest drag on the overall rate.claude / smoke-testcluster averages 5.88 commits and 181 files / 2,272 additions per PR — large threat-detect/usage-artifact migrations that need the most back-and-forth (though they still land at 86%).Cluster analysis
Representative PRs per cluster
[2] gh / gh aw / aw — engine & CLI plumbing
${GITHUB_WORKSPACE}to enable APM skill discovery #41459 copilot engine: launch from${GITHUB_WORKSPACE}to enable APM skill discovery[6] md / workflow / workflows — docs & workflow authoring (lowest merge rate)
imports.ifand migrate experiment-driven import usage to runtime imports #38247 Removeimports.ifand migrate experiment-driven import usage to runtime imports[5] safe / safe outputs / cjs — safe-output handlers
set_issue_typesafe output from GraphQL to single RESTissues.updatecall #41241 Migrateset_issue_typesafe output from GraphQL to single RESTissues.updatesafe-outputs.stagedvalues and GitHub expressions #41296 Support templatablesafe-outputs.stagedvalues and GitHub expressions[0] pkg / linters / string — package/linter fixes (top merge rate)
/helprouting fallthrough, error handling, reaction, and mention sanitization #40476 Fix/helprouting fallthrough, error handling, reaction, and mention sanitization[3] chef / sous-chef — refactors
[4] claude / smoke-claude — large migrations (most iterations, largest diffs)
threat-detectbinary behind feature flag #40166 Migrate threat detection to externalthreat-detectbinary behind feature flag[8] awf / sandbox / sudo — sandbox/firewall
[9] dashboard / ts — dashboard extension (top merge rate)
gh awin dashboard and surface install guidance #42270 Detect missinggh awin dashboard and surface install guidance[1] github-actions / failing — CI fixes (many WIP)
Recommendations
md / workflowcluster — it is 18% of all Copilot work and the lowest merger (74.7%). Docs/workflow-authoring prompts likely need tighter acceptance criteria and concrete file targets up front rather than open-ended "expand/improve" asks.claude / smoke-claudecluster (5.9 commits, 181-file diffs) burns the most iterations. Decomposing multi-hundred-file migrations into staged PRs should cut turn counts and review load.Methodology & limitations
<details>stripped). Only 5 PRs carried the explicitSTART COPILOT ORIGINAL PROMPTmarker, so titles/bodies are the practical prompt proxy.aw_info.jsonare not available for Copilot coding-agent PRs (these are notgh awengine runs), sogh-aw logsenrichment was skipped. Documented edge case.References: §28583469944
All reactions