Skip to content

feat(telemetry): filter the report by task, ticket, person and more #1030

Closed

Description

@blafourcade

Problem to solve

aidd telemetry report splits a period along one axis only. Common questions can't be answered: "what did ticket PROJ-12 cost, day by day?", "what did I spend on this repository, per model?".

Proposed solution

Filters first, which are additive to the report envelope. A second axis only if a real need remains.

  1. Filters: --task <name>, --ticket <ref>, --person <id>, --repository <id>, --model <name>, --session <id>, combinable with any --axis.
    • Example: aidd telemetry report --ticket PROJ-12 --axis day.
    • The envelope gains a filters field. That is an addition, so it stays version: 1.
    • Rows still add up to totals, now the totals of the filtered calls.
    • unattributed and absent rows can be selected too (e.g. --task none).
  2. Two axes (later, if needed): --axis person,task. This changes the row shape, so it means envelope version: 2, with every consumer updated in the same change (the 01-usage skill).

Files: cli/src/contexts/telemetry/domain/report/, application/report/report-envelope.ts, presentation/commands/telemetry.ts, the help golden, the usage contract, plugins/aidd-telemetry/skills/01-usage/.

Content type

  • Rule
  • Skill
  • Command
  • Agent
  • Plugin
  • Other

Target tool(s)

  • Claude Code
  • Cursor
  • Windsurf
  • Gemini CLI
  • Other

Additional context

Follows #993. The partition guarantee (every axis adds up to the same total) must hold within a filter.

Code of Conduct

Activity

  1. blafourcade commented on Oct 16, 2026

    @blafourcade
    ContributorAuthor

    Shipped in #1033, released in cli-v5.5.0.

  2. moved this from Ideation to Done in AIDD Roadmapon Oct 16, 2026
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

    No labels
    No labels

    Fields

    Priority

    None yet

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions