Files
wadamesh/scripts
Kaj SchittecatandClaude Opus 5.5 17c4fa5739 test: the clock floor with #756's system-clock fallback
test/test_clock_floor.cpp runs src/helpers/ClockFloorRTC.h over a
settable hardware clock (test/clock_floor_fakes) with settimeofday /
gettimeofday faked, so the machine's clock is never touched. A chip
behind the floor or asserting 2043 gives way to the system clock when that
is ahead and plausible, else the floor or the core's seed as before; a
negative or implausible system clock is never used; a healthy chip whose
write takes is followed; a 20000-step random walk of both clocks never
steps back or past the plausible window; garbage sets are refused, a
>10 min backward set lowers the floor, a poisoned persisted floor is
refused.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 14:01:05 +01:00
..
2026-08-23 20:32:26 -04:00
2026-08-23 20:32:26 -04:00