fix(cost): validate period metadata before choosing labels (#503)

Normalize reportingPeriod to a string once at the response boundary. Regexp coercion during history-label selection could throw on structured metadata and abort healthy sibling updates, or hide legacy labels for rolling arrays.

Update cost history and usage guides plus the Unreleased changelog. TODO is unchanged because this repairs existing normalization and adds no CLI contract or parity scope.
4f38a178e5Simone committed on 10/13/2026, 10:34:42 PM· committed by GitHubparent436fab8
5 files changedLine totals unavailable