ReadonlyageSeconds since the recording — Infinity when never recorded, never null.
🔴 THE TYPE IS THE SAFETY PROPERTY. With number | null, the test every
author writes first (age < 3600) reads a never-recorded fact as FRESH,
because null < 3600 is true in JavaScript. A hook that has never run
would therefore never run. With Infinity every comparison lands on the
side that speaks, and there is no null case to forget.
ReadonlyatISO-8601 instant of the recording; "" when never recorded.
ReadonlyrecordedHas this key ever been recorded? The only way to distinguish "never" from "long ago".
ReadonlyvalueThe recorded string; "" when never recorded.
True iff recorded within within. Never-recorded → false (so the hook speaks).
True iff not recorded within within. Never-recorded → true (so the hook speaks).
A recorded fact as a hook reads it — the typed replacement for "cat the stamp file and clamp whatever comes back".