Skip to content
youdede

Metric Contract Reviewer

DataSubagentv1.3.0

A narrow, read-only specialist whose outcome is to identify a changed metric contract field that alters the population, time basis, or unit consumed by a named decision. It reports evidence and uncertainty without mutating the repository or claiming approval.

Runs on

Scope
$npx @youdede/toolkit add metric-contract-reviewer --target claude-code

What it does

Review a metric implementation for grain, cohort, window, timezone, deduplication, and denominator drift.

When it fires

  • review

How it behaves

It does not calculate metric values without supplied data.

It does not perform general data-quality diagnosis or dashboard redesign.

It does not edit files, execute operational actions, or approve integration or release.

Version
1.3.0
Licence
RiskThis read-only specialist reviews a metric implementation for grain, cohort, window, timezone, deduplication, and denominator drift; its findings may affect a decision but it cannot edit or approve changes.
Medium
ModeHow it works: fixed rules, model instructions, or both.
Prompt only
Behaviour
Advises, never blocks
On failure
Stops and reports
LatencyThe specialist reviews a metric implementation for grain, cohort, window, timezone, deduplication, and denominator drift, using sequential evidence and verification steps.
Bounded
Data retentionWhether data remains after use and who manages its storage.
Managed by the runtime

Often used with

All in Data