[prompt-clustering] Prompt Clustering Analysis - 2026-08-19 #53962
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by Copilot Agent Prompt Clustering Analysis. A newer discussion is available at Discussion #54207. |
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.
Summary
Analysis Period: 2026-08-02 to 2026-08-19 (most recent 1000 copilot-authored PRs, search-capped)
Total Tasks Analyzed: 1000
Clusters Identified: 4
Overall Merge Rate: 78.1% (776 merged / 218 closed / 6 open)
The clearest signal in this run isn't really an NLP cluster — it's a PR-body attribution tag. 650 of 1000 PR bodies carry no
Generated by [...]footer ("hand-authored" copilot tasks, 77.3% merge), while 305 are stampedGenerated by 👨🍳 PR Sous Chef— an internal auto-fix workflow in this repo — at a notably higher 90.1% merge rate. A further ~30 PRs come from small daily reporting/audit workflows (Container Image Security Scan, Squad Plan, GEO Optimizer, Deep Report, Serena Go Expert) that merge at 0% across the board, though each has too few samples (3–11) to count as a formal outlier cluster.The one cluster that does clear the outlier bar (≥15 PRs, ≥10-point merge-rate gap) is container image vulnerability remediation — 72 PRs at 55.6% merged vs. the 78.1% baseline, a 22.5-point gap. Root cause below: over half of its closed PRs never produced a single file change because the fix is blocked on an upstream vendor, not on the agent.
Full Analysis Report
General Insights
Cluster Analysis
Cluster 1: Go package/CLI feature & linter work
on.needscompiler fix), fix: supportready_for_reviewactivity type inpull_request_targettrigger #49865 (ready_for_reviewtrigger support), fix: migrate all 10 filepath.Walk err-shadow sites (ADR-49633) and enforce in CI #49907 (filepath.Walk err-shadow migration, ADR-49633)Cluster 2: Documentation & agentic-workflow/skill authoring
Cluster 3: General fixes & CI/test reliability
Cluster 4 (outlier): Container image vulnerability remediation
Success Rate by Cluster
Source-Workflow Breakdown (from PR-body attribution footer)
PRs grouped by the internal agentic workflow that generated them
PR Sous Chef — an auto-fix/iteration bot — is both the second-largest source (30.5% of all PRs) and the highest performing at scale (90.1%), well above baseline. The five "Daily ... Audit/Report/Scan" sources are unanimous 0% at n=3–11 each; too small individually to call a statistical outlier, but consistent enough across five independent sources to flag as a pattern worth a maintainer look (see recommendations).
Sample Data Table
Representative PRs per cluster (sample of 24; full dataset is 1000 rows and omitted for size — available in the workflow's cached PR data)
20 of 1000 rows shown — no cluster or generator was silently dropped from the aggregate stats above, only the row-level table is truncated for report size.
Key Findings
Lowest-Merge Cluster Root Cause
Of the 32 closed PRs in this cluster, 18 (56%) never produced a single file change — they were opened as
[WIP], the agent could not identify an actionable code change, and the PR was eventually closed stale. This pattern is distinct from every other cluster, where closed PRs almost always carry a real (if rejected) diff. Explicit titles in this set — "Document blocker for gh-aw-firewall/agent scan remediation", "Track upstream remediation for api-proxy 0.28.1 findings", "Verify CLI proxy container remediation availability" — confirm the root cause directly: these tasks ask the agent to patch a CVE in a third-party base image, but the fix requires the upstream vendor to publish a patched image first. The agent has no code change to make and no way to know that in advance, so it opens a WIP PR, stalls, and the PR ages out.Reinforcing this: PR #53674, "Add task-preflight skill to stop zero-diff retry PRs on container-vuln and refactor tasks," merged during this same period — the team has already started building the mitigation this finding recommends.
[WIP]PRs, 0 files changed, no available fix pathRecommendations
Based on clustering analysis:
[WIP]PR that stalls. This directly extends the work already started in Add task-preflight skill to stop zero-diff retry PRs on container-vuln and refactor tasks #53674.Limitations
gh-awCLI or cached workflow-run logs (aw_info.json) were available in this environment, so turn counts, duration, and cost per PR could not be joined into this analysis — clustering and outcome data are based on PR content and metadata only.Generated by Prompt Clustering Analysis (Run: §32239808421)
All reactions