Files
fleet/scripts
CatoandClaude Opus 5 d87fed9a52 fix(registry): generatedAt means when the facts changed, not when it ran (#62)
A timestamp that moves on every run makes the file differ on every run, so
"commit only when something changed" commits every week and says nothing.

Not theoretical, and it took under an hour to prove: the sibling workflow on
bitbaum/hire pushed a commit whose entire diff was one generatedAt line — while
the PR that introduced it claimed a quiet week would produce no commit.

So generatedAt now records when the derived facts last MOVED. When nothing
moved, the previous stamp is kept and the file is byte-identical, which makes
the workflow's own claim true. It is also the more useful reading: "these
adopter counts were true as of X" beats "this script ran at X".

Verified by emitting twice against the live org: the second run produced a
byte-identical file.


Claude-Session: https://claude.ai/code/session_01NLZ6vs1jsWw2kKbpWTZHf2

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-12 12:04:36 -07:00
..