Skip to content

feat(harness-ops): observability rolls up usage per work item #11875

Description

@kyle-sexton

Problem

Agent telemetry carries the work item URL (autonomy.work_item.url) and cloud sessions carry
ccr.session.id, but /harness-ops:observability reports no usage per item.

Origin: D68, Q58, Q560 (session-to-item map keyed on ccr.session.id).

Fix

Add a per-item rollup to /harness-ops:observability: tokens and turns grouped by
autonomy.work_item.url, with cloud sessions joined to items through a ccr.session.id map. It
never prices.

Done when

  • The observability skill documents the rollup and the join; its query groups by the item URL and ccr_session_id.
  • A test over a fixture store with two items and one cloud session checks the per-item totals; it passes under scripts/run-test-file.sh.
  • No output carries a price (the repository's cost-claims rule); bash plugins/skill-quality/scripts/check-skill.sh plugins/harness-ops/skills/observability exits 0 and bash scripts/check-changelog-fragments.sh passes with a harness-ops fragment.

Parent: #7578

Activity

  1. added
    priority: mediumReal value, no hard deadline; normal backlog flow.
    status: readyTriaged, unblocked, and fully specified; eligible to pick up.
    on Nov 1, 2026
  2. added
    agent-readyFully specified and briefed; eligible for autonomous pickup from the frontier.
    on Nov 1, 2026
  3. github-actions commented on Nov 1, 2026

    @github-actions
    Contributor
    No description provided.
  4. melodic-automation-lanes commented on Nov 1, 2026

    @melodic-automation-lanes
    Contributor

    This records a re-fire of an earlier refusal, not a new refusal. The lanes kill switch stopped run 41281707718, the work-resolve-issue run that agent-ready started, before it did any work; that run ended at 2026-11-01T07:31:35Z. work-unblock has now removed and added agent-ready back to start a fresh run. A kill-switch refusal is no fault in this issue or the lanes, so it never counts against later re-fires; after limits.limit-stops-per-issue of them since a person last added agent-ready or a run last reported, work-unblock waits longer before each one, up to 24 hours.

  5. added
    agent-readyFully specified and briefed; eligible for autonomous pickup from the frontier.
    and removed
    agent-readyFully specified and briefed; eligible for autonomous pickup from the frontier.
    on Nov 1, 2026
  6. github-actions commented on Nov 1, 2026

    @github-actions
    Contributor
    No description provided.
  7. github-actions commented on Nov 1, 2026

    @github-actions
    Contributor
    No description provided.
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

    agent-readyFully specified and briefed; eligible for autonomous pickup from the frontier.priority: mediumReal value, no hard deadline; normal backlog flow.status: readyTriaged, unblocked, and fully specified; eligible to pick up.

    Fields

    No fields configured for Feature.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions