Task · CAOT-0004

Repo mapping and bounded-dimension enforcement

Description

internal/attr classifies every field into DestMetric, DestRecord or DestContent and the tests pin the classification. What is missing is the enforcement at the point a dimension value is built: the cap, the overflow bucket and the cwd-to-repo mapping.

Repo is the dimension that makes the whole dashboard useful and cwd is the field most likely to blow up the series count, so the mapping is the control that lets both be true.

Acceptance Criteria

Definition of Done

Implementation Plan

Wave 1 lane 2: implement bounded dimensions and structural content bounds within owned attr/redact files; run focused tests; root integrates and runs the final gate.

Final Summary

Metric dimensions are declared, capped, overflow-counted, and cwd maps only through the repository allowlist; focused and full gates passed.

References

View the source file on GitHub