Skip to content

Survivorship-safe efficiency, session friction, kept PR survival, and post-merge quality signals #2066

Closed

Description

@JacobStephens2

Parent

#2036 (decisions: PR #2064, Q1.2, Q1.4, Q2.5–Q2.6, Q3.2; glossary: Run metrics, Repairs, Usual range, Suspended time, Bug origin, Scoring run, Scores; ADR 0016, ADR 0018)

What to build

Complete the four paired signal groups across metrics, /api/v1/metrics, and the Console Metrics page—replacing outcome-blind averages so crash waves cannot flatter speed or repair metrics, and pairing yield with post-merge quality, wasted-effort visibility, stage bottlenecks, and session friction.

  • Yield & kept pull-request survival: Alongside per-kind Succeeded / Failed / Paused / Stopped / Live, read kept pull-request state (merged versus unmerged closed) from the machine's local kept GitHub state file so unmerged closed pull requests are visible without making any live GitHub calls during metrics. (Q2.6)
  • Post-merge quality & human-attention load: Surface confirmed Bug origins per merged cohort, weekly calibrated Scores criterion pass rates from local Scoring run checkpoints, and Stop / Needs you counts over time. (Q1.4, Q2.6)
  • Survivorship-safe efficiency, wasted effort & Repair churn: Compute duration, Repairs, and CI rounds strictly over Succeeded runs (so fast startup crashes never lower duration or repair averages); add first-pass clean rate (Repairs == 0 among succeeded runs), effective time and cost per succeeded delivery (total ended-attempt time and observed/priced spend divided by succeeded runs, separated by Model and Harness with explicit observed / missing coverage), and wasted time/spend share on failed, crashed, and stopped runs. (Q2.6)
  • Stage bottlenecks & session trajectory friction: Surface per-stage share above repository Usual range (Position::Above, which already excludes Suspended time), plus per-session repeated_tool_calls, tool_errors, permission_denials, killed_work, non-zero destructive_commands incidence, and security > 0 Unaddressed findings holds. Omit vanity metrics (lines of code, context-free token volume headlines, pooled cross-kind pass rates, and raw standards/spec finding counts as quality proxies). (Q2.6)
  • Render compact static inline SVG/CSS sparklines, tabular signal cells, and preceding-window deltas across all four groups on /metrics using semantic Theme tokens, preserving 390px mobile legibility and zero motion. (Q2.5, Q3.2)

Acceptance criteria

  • Adding fast-failing or crashed fixture Command records increases failure rate and wasted time/spend share without lowering mean succeeded-run duration, mean succeeded-run Repairs, or mean succeeded-run CI rounds.
  • First-pass clean rate (Repairs == 0 among succeeded runs) and effective time/cost per succeeded delivery (separated by Model and Harness with observed / missing counts) match between metrics --json, /api/v1/metrics, and /metrics.
  • Kept pull-request merged versus unmerged closed counts, confirmed Bug origins, and weekly Scores criterion pass rates render in metrics and /metrics while making zero gh / GitHub network calls.
  • Stage % Above Usual range, session friction signals (repeated_tool_calls, tool_errors, permission_denials, killed_work, non-zero destructive_commands), and security > 0 holds appear with preceding-window deltas when a bounded window is selected, and raw standards/spec finding counts are not presented as quality scores.
  • All four signal sections and inline sparklines render cleanly across desktop and 390px mobile viewports with zero motion and Theme-token contrast intact.

Blocked by

Activity

  1. added
    enhancement
    ready-for-agent
    on Nov 11, 2026
  2. added a commit that references this issue on Nov 12, 2026
  3. JacobStephens2 commented on Nov 12, 2026

    @JacobStephens2
    OwnerAuthor

    Closed by #2081, merged into issue-2036 by a thirdshift Ticket run with Self-merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions