Skip to content

Console Metrics page, outcome taxonomy, daily/weekly windows, deltas, and Other-account Commands #2065

Closed

Description

@JacobStephens2

Parent

#2036 (decisions: PR #2064, Q1.1–Q1.5, Q2.3–Q2.5, Q2.8, Q3.2–Q3.3; glossary: Run metrics, Other-account Command; ADR 0016, ADR 0018, ADR 0026)

What to build

Turn /metrics from an unlinked raw <pre> JSON dump into a first-class server-rendered Console page named Metrics (data-jump="m"), backed by the metrics CLI command and local /api/v1/metrics endpoint with daily and weekly windowing, preceding-window deltas, honest outcome stacks, pass-through Pickup run deduplication, and Other-account Command inclusion.

  • Add Metrics (data-jump="m") to Console navigation alongside Experiments, Scores, and Bug origins ("health" stays reserved for live per-Command Slow / Silent state). Keep single-Command metrics <command> inspection working unchanged in text, --json, and /api/v1/metrics?command=.... (Q1.1)
  • Support both daily buckets and Monday weekly buckets, plus window presets (7d daily, 30d daily, 12w weekly, All weekly) alongside explicit from / through bounds and grain=day|week. When a bounded window is active, compute an explicit comparison against the immediately preceding equal-length window showing the delta, current and prior sample sizes (n), and observed / missing coverage. (Q1.5, Q2.5)
  • Mirror top-of-page GET query filters on /metrics with CLI flags on metrics: window, grain, from, through, repeatable repo, kind, harness, model, and account. (Q3.3)
  • Count work Commands (Ticket run, Spec run, Base fix, Review run, Fix run, Triage run, Architect run, Security run) in separate per-kind series/rows—never pooling parent Spec runs and child Ticket runs into a single combined pass rate. Exclude pass-through Pickup run dispatchers from outcome denominators unless the Pickup run itself failed or died before dispatching work, and exclude skipped idle Passes altogether. (Q2.3, Q2.4)
  • Separate currently Live runs from crashed Died records (outcome absent and writer process dead). Classify ended runs into four visible stacks—Succeeded, Failed (including Died), Paused (Paused Command on plan/quota limits), and Stopped (human Stop)—preserving exact sub-outcomes on breakdown/hover and computing success/failure rate as Succeeded / (Succeeded + Failed). Keep every signal in its own units with no composite score. (Q1.2, Q2.4, Q2.6)
  • Include configured readable Other-account Commands on the machine alongside the serving OS account in metrics and /api/v1/metrics, tagging buckets/rows by OS account and supporting account filtering to match Inbox and status. (Q2.8)
  • Render /metrics through server-side HTML templates paired with static inline SVG/CSS stacked outcome bars styled exclusively with semantic Theme tokens, zero client-side JavaScript charting libraries, zero motion, and responsive layout fit across desktop and a 390px mobile viewport. (Q3.2)

Acceptance criteria

  • Console navigation includes Metrics with keyboard jump m, and /metrics renders structured HTML tables and static inline SVG/CSS stacked outcome bars across built-in and custom Themes with zero motion and no horizontal page overflow at 390px.
  • metrics --json and /api/v1/metrics return matching data across window (7d, 30d, 12w, all), grain (day, week), from/through, repo, kind, harness, model, and account filters, while metrics <command> continues working unchanged.
  • Bounded windows report preceding-window deltas alongside current/prior sample sizes (n) and observed / missing counts.
  • Pass-through Pickup runs that dispatched a child Command are excluded from outcome denominators; a Pickup run that failed or died before dispatch is counted; skipped idle Passes are excluded; and parent Spec runs and child Ticket runs remain in separate per-kind denominators.
  • Crashed Died records are counted under Failed rather than conflated with Live runs, while Paused and Stopped appear as distinct visible stacks excluded from Succeeded / (Succeeded + Failed).
  • Readable configured Other-account Commands appear in metrics and /metrics tagged by OS account and can be narrowed with --account / account=.

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 #2078, 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