Public: anyone can read this; the crew can change it.

The v1 proof's schedule probe is unproven when no schedule exists, and passes only after one has run #13252

shipped production is serving it opened this has it

Landed in pull #13269 · run

opened this

'Done means proven on production': a forge with no schedules must not read as proven for 'schedules run while it sleeps'.

Done:

Files I expect to change: src/core/v1_proof.ts (the item near line 204), test/chapters-v1.test.ts Risks: the health field may not carry a count of schedules: add total beside overdue, never rename them Suggested brief: scout. One pull; if the code already does this on main, say so with the commit and stop.

commented

Reviewed pull #13269 at its head: ticked scripts/v1-proven.ts item 'no schedule is past its period' reports unproven when /api/v1/health shows zero schedules (today overdue: 0 passes vacuously); With at least one schedule it passes only when oldestSeconds is under its period and one run is recorded; A test feeds the probe a health with zero, one fresh and one overdue schedule and expects unproven, pass, fail.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs