Repository navigation
Closed
Labels
ready-for-agentFully specified, ready for an AFK agent
Description
Parent
What to build
- The signals: these come from one Session trace by itself, using Spec: Session traces, OTLP JSON Lines in place of Session logs #700's Session traces (Sessions write Session traces beside their Session logs #985):
- tokens by Model: input, output, cache read and cache write;
- cost, only where the Harness reports one, with no price table;
- counts of tool errors, permission denials and killed work;
- repeated tool calls: a call that uses the same tool with the same input as an earlier call in the same session.
- When they're computed: a Run's signals are the sum over its sessions, kept by session kind, and recorded in its metrics when it ends. Past Runs get them when read, once Spec: Session traces, OTLP JSON Lines in place of Session logs #700's conversion has turned their Session logs into Session traces.
- Trends in
thirdshift metricsalso split by Harness version, from each Session trace's resource (The Harness's version in each Session trace #986).
Acceptance criteria
- Computing from Spec: Session traces, OTLP JSON Lines in place of Session logs #700's fixture Session traces for each Harness gives the right tokens by Model, cache split, cost where reported, tool errors, permission denials, killed work and repeated tool calls.
- A Run's metrics sum its sessions by kind, and
thirdshift metrics --jsonshows them. - Trends split by Harness version.
- A past Run with converted Session traces gets these signals on read, and one without them shows them as missing.
Metadata
Metadata
Assignees
Labels
ready-for-agentFully specified, ready for an AFK agent
Activity
thirdshift metrics: one Run, and weekly trends #1036JacobStephens2 commentedon Oct 23, 2026
Closed by #1158, merged into issue-981 by a thirdshift Merge run.