Repository navigation
[copilot-session-insights] Daily Copilot Agent Session Analysis — 2026-10-29 #73044
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by Copilot Session Insights. A newer discussion is available at Discussion #73144. |
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.
🤖 Copilot Agent Session Analysis — 2026-10-29
Executive Summary
events.jsonlagent transcripts; 47 are CI gates, command dispatchers, and skipped Squad runs)copilot/*model-routing*/route-agent-*branches; transcripts are all for PR Route Claude Code User Documentation Review with model routing (cost / economy) #73032)Key Metrics
action_required, 15skipped📈 Session Trends Analysis
Completion Patterns
Completion swings widely from day to day (4%–80%). That tracks which workflow population lands in the 50-run sample more than any change in agent quality. Today's 46% sits just above the 30-day mean. Only 2 runs actually failed (
PR Data Prefetchfailure, one cancelledStale Lock Files). The rest of the non-successes areSquadruns that skipped or are waiting for approval (action_required).Duration & Efficiency
Today has one of the shortest average run durations on record (1.7 min). That's because 27/50 runs were near-zero-length
Squad/Agentic Commandsdispatches. Breaks in the lines are days with no cache snapshot (10-04 → 10-13). Loop counts are recorded from today onward.Success Factors ✅
All three transcribed sessions published their safe output, and every one of the 5 tool errors was recovered (n = 3, so treat the rates as indicative).
/tmp/gh-aw/agent/pr-diff.patch/pr-meta.jsonand didn't call GitHub APIs for diffs._test.go/.test.cjschanges, and finished in 5 turns.task_complete+noopin 13 s of agent time.gpt-5.6-luna) ran agrumpy-codersub-agent onclaude-haiku-5.5in the background (3 tool calls, 14 s) and submitted one unified review in 11 turns at ~1.2 AIU.safeoutputs <tool> . < file, which succeeded.Failure Signals⚠️
tool.execution_completereportedsuccess=truefor 2 bash calls that exited 1: a shell syntax error from inline JSON quoting, and asafeoutputsschema error. The exit code appears only in the result text.submit_pull_request_review→unknown parameter 'requestReview'requestReviewfield that isn't in the tool schema, then had to strip it with apython3edit and resubmit.greppasses forclaude-haiku-4.5. It also rangh aw compile/go run ./cmd/gh-aw compileon the workspace, then reverted the change withgit checkout --. 36 of its 45 bash calls began with a redundantcd /home/runner/work/gh-aw/gh-aw &&.command -v safeoutputswas denied by the unattended permission fallback, even though the system prompt tells agents to run exactly that. Agrumpy-coderpython3 -ccall was also denied by workflow tool permissions. Both sessions recovered.read_agentan agent ID with one character dropped →Agent not found. It recovered vialist_agents.Prompt Quality Analysis 📝
Per-Prompt Breakdown
High-Quality Prompt Characteristics
Example High-Quality Prompt (paraphrased):
Low-Quality Prompt Characteristics
requestReview)Example Low-Quality Prompt (paraphrased):
All 3 transcribed prompts rated high quality overall. The other 47 runs have no prompt data.
Orphaned Branch Escalation Alerts 🚨
Summary
main.Escalation Candidate Details
Escalation Candidates
✅ No orphaned branches exceed the escalation threshold today. 13/14 open PRs have Copilot assigned. The one that doesn't (#72543) has no active gate runs.
CI Waste Estimate
Data note: the baseline query in the workflow prompt reads
.orphan_rate, but every earlier history entry storedorphan_rate_pct, so the query as written returnsnull(it would report "insufficient history"). The baseline above usesorphan_rate_pct. Today's entry writes both fields.Notable Observations
Loop Detection and Session Diagnostics
Loop Detection
pkg/workflow/*.go, docs, and workflow filesTool Usage
bash54,view9,task2,grep2,read_agent2,glob1,list_agents1,read_bash1,task_complete1Token & Cost Efficiency
The Test Quality Sentinel no-op cost ~11× more than the full 11-turn code-quality review.
The
pr-triagesub-agent in Matt Pocock Skills Reviewer is set by its agent definition to default toclaude-haiku-4.5. Today's Squad replies on the routing PRs say the router never ranks that model first. The sub-agent default bypasses the router.Context Issues
Experimental Analysis
Standard analysis only. No experimental strategy this run (roll = 91 ≥ 30).
Actionable Recommendations
For Users Writing Task Descriptions
body,event,pull_request_number), or tell the agent to runsafeoutputs <tool> --helpfirst.submit_pull_request_reviewwith onlyeventandbody"safeoutputs tool '{...it's...}'→ After:printf '%s' '<json>' | safeoutputs tool ., or escape apostrophes as\u0027For System Improvements
success=falsewhen a bash tool exits non-zero, so session metrics and agents both see the failure.command -v safeoutputs, or drop that instruction for engines that deny it.For Tool Development
safeoutputsCLI: reject unknown fields with the list of allowed fields before the MCP round-trip.{run_id}-conversation.txtor update the prompt: the fetch module now writes{run_id}-events.jsonl, but the analysis prompt still describes-conversation.txtfiles.Historical Trends and Statistical Summary
Trends Over Time
Statistical Summary
Next Steps
orphan_ratevsorphan_rate_pct) and the conversation-log filename in the workflow promptAnalysis generated automatically on 2026-10-29 at 21:40 UTC
Run ID: 40955410097
Workflow: Copilot Session Insights
All reactions