Skip to content

feat(api): maintainer quality-dashboard service + endpoint #557

Description

@JSONbored

Parent roadmap: #525
Parent phase: #528

Background

The maintainer quality dashboard (#539) is a UI; its data service + API are non-visual and reusable. Carving them out lets contributors build the backend while the rendering stays owner-led.

Goal

Build the maintainer-quality-dashboard service + the GET /v1/app/maintainer-dashboard enrichment that #539 renders.

Current Behavior

operator-dashboard.ts exists but surfaces install counts / recommendation quality, not slop/duplicate/gate-outcome trends or contributor quality bands.

Desired Behavior

  • New src/services/maintainer-quality-dashboard.ts mirroring operator-dashboard.ts: read+shape existing snapshots (buildQueueTrendReport, weekly-value-report.ts, collision clusters, gate-outcome audit) into queue-health, slop/duplicate trends, gate outcomes, and top contributors by quality band.
  • Enrich the maintainer-dashboard API; show generatedAt + stale flag; don't recompute heavy signals on load.

Implementation Requirements

  • Pure service + API; no chart/UI. Bands not raw numbers.

Public/Private Output Boundaries

  • Maintainer/operator-authenticated; never raw credibility/reward/wallet fields.

Acceptance Criteria

  • The endpoint returns shaped trend/outcome data scoped to the maintainer's repos.

Testing Requirements

  • npm run test:ci, 97%+ coverage. Shaping + access-scope + redaction tests.

Wave 3 extension (#525)

Metadata

Metadata

Assignees

No one assigned

    Labels

    gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.roadmapOn the Wave-2 agent-layer roadmap board (project 9)

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions