Repository navigation
Agent fleet analytics from ground truth: merge rate, review tax, rework, cost per merged PR (#375) - #424
Merged
currentbits merged 7 commits intoAug 17, 2026
Conversation
…re (#375) The seam three parallel workers build against: FleetEvidence / FleetPr / FleetThread in shared/ipc.ts, coder.fleet.evidence(), and the pure summarizeFleet signature in src/fleet.ts (stubbed empty until the rollup lands, so an unimplemented rollup reads as no data, never as zero merge rate). Co-Authored-By: Claude Opus 5 <[email protected]>
Pure rollup: merge rate excludes open PRs, cost per merged PR is null when nothing merged, durability/rework stay null until a thread is old enough to judge, review tax is agent/human median latency. Totals are recomputed from pooled counts.
Facts-only FleetEvidence from store + gh + git. Rates stay in src/fleet.ts.
…le (#375) Pure FleetReport presenter plus FleetView container (7/30/90, loadGen). Null is not zero: missing cost/durable/review-tax render as placeholders, never $0.00 or 0%. Sidebar/App nav next to Usage. Browser fixture so dev:browser has threads, mixed PR outcomes, a human baseline, and notes.
…into coder/agent-fleet-analytics-from-ground-truth--efe17c
…into coder/agent-fleet-analytics-from-ground-truth--efe17c
Worker A built the collector against a fake rollup and worker B the rollup against fake evidence, so neither proved the join. fleet-seam.test.js drives the real collector's evidence into the real summarizeFleet and asserts the numbers the view renders: merge rate with open PRs excluded, cost per merged PR, durable share from blame, per-run active time, and the agent-vs-human review tax. Co-Authored-By: Claude Opus 5 <[email protected]>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
currentbits
deleted the
coder/agent-fleet-analytics-from-ground-truth--efe17c
branch
October 3, 2026 16:07
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #375.
Solenta launches every session and sees every commit, so merge rate, rework and review tax are ground truth here rather than inference. Three parallel workers built against one contract; a seam test drives the real collector into the real rollup.
Shape
electron/fleet.js→fleet:evidencesrc/fleet.tssummarizeFleet(evidence, range, now)src/components/FleetView.tsx(FleetReportis a pure presenter)electron/test/fleet-seam.test.jsEvidence comes from
gh pr list --state all(withreviews, through a newlistPrsRawso the unknown-field fallback is not re-implemented) joined to threads by head branch, plus per-run active time from the work log. A PR with no matching branch is a human PR and is kept — it is the baseline the review tax divides by.Line durability uses the squash-merge shape: find the merge commit by
(#N)on the default branch,git show --numstatfor lines added,git blame HEADfor how many are still there. Blame is capped and the shortfall is reported innotes, which the view renders — silent truncation would read as full coverage.Definitions that are deliberate
nullwhen nothing merged, never$0.00.nulland0mean different things throughout, and the view renders them differently.Tests
npm test— 907 renderer, 1125/1126 electron. The one failure is the knownweb-integrationreconnect-backoff baseline on main (120000 !== 1000), untouched by this branch.The seam test exists because each worker was built against a fake of the other side: it asserts the numbers the view actually renders (merge rate with open PRs excluded, cost per merged PR, durable share from blame, per-run active time, agent-vs-human review tax).
Not in scope
LLM classification of threads as creating/debugging/refactoring (second issue comment) — that is model-based detection, not ground truth, and belongs on top of these numbers once they are proven.
🤖 Generated with Claude Code