ok an undated record is REFUSED /undated.json names no instant field (covered_at, observed_at, measured_at, generated_at, walked_at, ok the refusal names 'no instant field' /undated.json names no instant field (covered_at, observed_at, measured_at, generated_at, walked_at, ok an unparseable instant is REFUSED and quoted back /bad.json at='yesterday-ish' is present but is not a usable instant: it cannot be read as current ok a dated record loads and reports its field and instant {'path': '/dated.json', 'field': 'covered_at', 'instant': '2026-09-23T00:00:00Z', 'retro_stamped': F ok a file older than the record IS covered by it ok a file NEWER than the record is NOT covered by it ok a served record is reported as CITED path tail tmptkldqri1/cited.json ok an unserved record is NOT cited ok stamping a CITED record is REFUSED (its bytes are published) /cited.json was SERVED by this run (path tail tmptkldqri1/cited.json): adding an instant would make ok an unserved undated record IS stamped with its own mtime {'path': '/undated.json', 'action': 'stamped', 'field': 'covered_at', 'instant': '2026-09-26T15:00:2 ok the stamp RECORDS that it is a retro-fit, not a measurement {'path': '/undated.json', 'field': 'covered_at', 'instant': '2026-09-26T15:00:24Z', 'retro_stamped': ok stamping twice is a no-op that says so ok audit: dated -> dated {'path': '/dated.json', 'status': 'dated', 'field': 'covered_at', 'instant': '2026-09-23T00:00:00Z', ok audit: undated+served -> undated-cited (a reasoned exemption) {'path': '/cited.json', 'status': 'undated-cited', 'why': 'served by this run (path tail tmptkldqri1 ok audit: unparseable -> undated-fixable, NOT dated {'path': '/bad.json', 'status': 'undated-fixable', 'why': 'no instant field and never served: stamp ok audit: the stamped record now reads as dated AND flags its retro-fit {'path': '/undated.json', 'status': 'dated', 'field': 'covered_at', 'instant': '2026-09-26T15:00:24Z ok the refusal is an exception a caller can catch and disclose ok a record written through the helper always carries an instant {'path': '/written.json', 'field': 'covered_at', 'instant': '2026-09-26T15:00:24Z', 'retro_stamped': ok the instant is the MOMENT OF WRITING, not a value the caller supplied 2026-09-26T15:00:24Z ok a write-time record is NOT flagged as a retro-fit {'path': '/written.json', 'field': 'covered_at', 'instant': '2026-09-26T15:00:24Z', 'retro_stamped': ok a caller MAY name an earlier observation, and it is recorded as the covered instant 2026-09-26T12:00:24Z ok ...and the moment of writing is recorded BESIDE it, so the lag is visible ('2026-09-26T12:00:24Z', '2026-09-26T15:00:24Z') ok a FUTURE observed_at is REFUSED (an observation cannot be scheduled) observed_at=2026-09-27T15:00:24Z is in the FUTURE (now 2026-09-26T15:00:24Z): an observation cannot be scheduled ok a failed write leaves the previous bytes untouched (temp + replace, no partial file) ok a write-time record and a retro-fitted one are told apart ('measured at write time by sahdated/1.1.2', 'file mtime, retro-stamped by sahdated/1.1.2 at 2026-09-26T15:00:24Z; NOT a measurement') ok a naked json.dump is reported UNGUARDED {'guarded': 0, 'routed': 1, 'not-a-write': 0, 'exempt': 0, 'unguarded': 1, 'unreadable': 0} ok a generator that lets the helper write reports a ROUTED site (1.1.2; 1.1.1 reported none, so 'no writes' and 'all routed' looked alike) [("json.dump({'rows': rows}, fh)", 'unguarded'), ("write_dated('out.json', {'rows': rows})", 'routed')] ok a hand-rolled dated writer is GUARDED (the safer direction is a false alarm, not a miss) {'guarded': 1, 'routed': 0, 'not-a-write': 0, 'exempt': 0, 'unguarded': 0, 'unreadable': 0} ok the finder names itself a finder, not a proof ok a reasoned exemption closes the site without touching the file {'guarded': 0, 'routed': 1, 'not-a-write': 0, 'exempt': 1, 'unguarded': 0, 'unreadable': 0} ok an exemption that matches NOTHING is reported STALE, not kept [{'path': 'gone.py', 'contains': 'x', 'why': 'obsolete'}] ok ...and an exemption matching a REAL site is not called stale {'guarded': 0, 'routed': 0, 'not-a-write': 0, 'exempt': 1, 'unguarded': 0, 'unreadable': 0} ok an UNDATED exemption list is refused by load (it claims to cover a population) ok a MISSING record is refused by load as the same catchable refusal, and the refusal names the file /no-such-record.json cannot be read as current: FileNotFoundError: [Errno 2] No such file or directo ok ...and no other exception TYPE reaches the caller (a raw FileNotFoundError would sit outside the one contract this module exists to enforce) ok VERSION is a string sahdated/1.1.2: PASS