Files
fleet/scripts
CatoandClaude Opus 5.5 92fc62db83 Duplication ratchet: date-utils stops counting *-updates.ts; a rise names its files (#173)
* fix(inventory): date-utils stops counting *-updates.ts; a rise names its files

The ratchet went red on 2026-10-14 with six concerns up and no way to tell
where. Two fixes:

- date-utils was unanchored, so with grep -i '(dates)\.ts' matched
  ballot-updates.ts, auto-updates.ts and useActivityUpdates.ts. Anchor it to
  a path segment.
- The baseline holds counts only, so a failure now prints every file the
  rising concern counts (repo: path).

Tests cover both.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M6u11m24oVkG98wAVbN7nf

* test(inventory): match patterns with a here-string, not a pipe into grep -q

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M6u11m24oVkG98wAVbN7nf

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-14 02:15:25 -07:00
..