Skip to content

[feature] /ca:metrics — turn the audit trail into trends #79

Description

@SUaDtL

Source: feature-gap review (upheld twice — strongest item: highest leverage, lowest risk, fully inside the state-in-repo + no-network invariants, directly serves the commercialization/promotability goal).

Problem: You capture rich append-only audit data and never analyze it. /ca:audit, /ca:status, /ca:adr-status all only list/snapshot — nothing computes a trend.

Do: add /ca:metrics (or /ca:audit --trends), read-only over the same five sources /ca:audit already cites (overrides.log, triage.log, decisions/, sprint-log.md, checkpoints/). Pin it to a small fixed set of single-number trends a lead reads in <10s, each with a direction arrow vs. the prior window:

  • override-rate per N commits over the last K windows
  • top-3 most-blocked gates
  • small-lane share of total triage entries
  • sprint low-confidence ratio

Guardrail: do NOT re-print what /ca:audit assembles — bare counts/percentages, not a second compliance packet. Answers "is discipline holding or eroding?" at a glance.

Effort: M.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestmarket-evalFrom the 2026-06 multi-agent market-readiness evaluation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions