Repository navigation
[prompt-clustering] Copilot Agent Prompt Clustering — 2026-07-29 #48850
Closed
Replies: 2 comments
|
Smoke bot grunt. Me touch talk. Run 30448361038 alive. Warning Firewall blocked 6 domainsThe following domains were blocked by the firewall during workflow execution:
To allow these domains, add them to the network:
allowed:
- defaults
- "accounts.google.com"
- "android.clients.google.com"
- "clients2.google.com"
- "contentautofill.googleapis.com"
- "safebrowsingohttpgateway.googleapis.com"
- "www.google.com"See Network Configuration for more information.
|
0 replies
|
This discussion has been marked as outdated by Copilot Agent Prompt Clustering Analysis. A newer discussion is available at Discussion #49118. |
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: last 30 days (2026-06-29 → 2026-07-29), capped at the 1000 most recent copilot-authored PRs returned by the search
Total PRs analyzed: 1000
Overall merge rate: 75.4% (754 merged / 242 closed unmerged / 4 still open)
The most important finding this run isn't a cluster — it's that 23% of "copilot" PRs in this window aren't from human task prompts at all. They're generated by autonomous internal agentic workflows (mostly a bot called
pr-sous-chef) that scan the repo and open PRs on their own schedule. Clustering those together with genuine assigned-task PRs would have muddied both signals, so this report splits the two cohorts.Full analysis report
Cohort split
copilot coding agentruns)Detection method: PR bodies from autonomous workflows carry a hidden
<!-- gh-aw-agentic-workflow: ..., workflow_id: ... -->marker (and a "Generated by 👨🍳 PR Sous Chef · gpt54 · N AIC" footer for that bot specifically). PRs without that marker were treated as task-prompt-driven and used for clustering.pr-sous-chefalone accounts for 182 of these 232 PRs (78%) and has the highest merge rate of any cohort measured, 86% — it appears to run continuously against Sighthound/Poutine security findings, lint rules, and CI flakiness, and its fixes are narrow enough to land cleanly.smoke-claude(24 PRs, 96% merged) is clearly a smoke-test workflow, not real feature work. Everything else in this bucket (daily-squid-image-scan,workflow-normalizer,daily-geo-optimizer, etc.) fired 1–5 times each, mostly closed unmerged — too little volume to draw conclusions, but worth flagging that several of these autonomous experiments have a 0% land rate so far.Cluster analysis (task-prompt cohort, n=768)
Clustered via TF-IDF (unigrams+bigrams, PR title + cleaned body) + k-means, k=4 chosen by elbow method.
pr-type:*labels (already applied by the repo's own PR-triage automation) were cross-checked against clusters for validation rather than used as the clustering signal itself.Cluster 1: CI / workflow failure fixes
Cluster 2: Docs / engine / CLI config
gh awCLI/engine config changes, model/version pinning. Lower success rate suggests these tasks are either more speculative (dependency bumps, exploratory CLI features) or hit more review friction than pure bug fixes.gh aw --helpoutput #44603 (align CLI reference docs), feat: extendgh aw initwith repo setup primitives #45475 (extendgh aw init, closed), Fix serena-mcp-server container: rebuild on python:3.13-slim to eliminate 413 CVEs #48562 (fix serena-mcp-server container, closed)Cluster 3: Agentic workflow definitions
.md/.lock.ymlagentic workflow definitions themselves (daily workflows, smoke workflows, triage automation) — meta-work on the gh-aw system rather than the CLI/runtime code.Cluster 4: Go package refactors & linters
pkg/. Tightly scoped, mechanical changes — second-highest success rate.sprintfboolin cgo custom-linter CI gates #46987 (enforce sprintfbool linter), pkg/agentdrain: add nil-guard to Analyze and improve anomaly test quality #44455 (nil-guard fix in pkg/agentdrain)Success rate by cluster
pr-type label cross-check (task-prompt cohort)
Half the cohort has no
pr-typelabel yet — the repo's own triage labeler hasn't caught up to these, which is itself a gap worth closing since it would make future runs of this analysis far cheaper than re-deriving clusters from scratch.Data-quality notes / limitations
/tmp/gh-aw/agent/prompt-cache/pr-full-data/(comments, reviews, commits, turn counts) is stale — it covers PR fix(deps_security): propagate context.Context through security advisory HTTP call #30577–Bump pinned Copilot/Codex/GitHub MCP versions and regenerate workflow artifacts #34390 from a prior run (file mtimes 2026-05-24/30), while this window's PRs are Extend envutil for bool/string access and remove direct CI bypasses #44097–Suppress no-op Workflow Health Dashboard issues #48831 (2026-07-07 to 2026-07-29). There is zero overlap, so per-PR comment/review/turn/duration metrics could not be joined in for this report. Re-running the full-data fetch phase against the current PR range would let a future run add turn counts and review-cycle counts to the cluster table.pr-sous-chefPR footer text ("AIC" cost units, "sous chef", embedded run-metadata comments) rather than task content — this is why the autonomous-workflow cohort was split out first rather than clustered by text.Recommendations
gh aw initwith repo setup primitives #45475, Fix serena-mcp-server container: rebuild on python:3.13-slim to eliminate 413 CVEs #48562) to see whether they're being closed for scope/quality reasons or superseded by duplicate work.pr-typelabels on the ~65% of task-prompt PRs currently unlabeled so future clustering can validate against ground truth without re-deriving TF-IDF clusters each time.daily-squid-image-scan,workflow-normalizer,daily-geo-optimizer,deep-report,daily-hippo-learn) — each has fired only 1–5 times in 30 days with a 0% merge rate. Either they're still experimental (expected) or silently failing to produce mergeable output.Generated by Copilot Agent Prompt Clustering Analysis (Run: 30444124180)
All reactions