The page-script bound runs on the real timer, not the paused clock (#425) #428

Merged
cmoriarty merged 2 commits from fix-evaluate-bound-real-timer into main 2026-11-08 07:13:32 -05:00
Owner

Run 182 (braid#425, finding 14): the judge paused Braid's clock and awaited a socket message the clock's gate (#415) holds while paused; the 180 s bound on page scripts is a setTimeout in the page, on that paused clock, so it never fired, and the watchdog ended the attempt after 1,201 s. The clock exposes realTimeout/realClear and the bound uses them when present. Journey: a bound script that pauses the clock and waits is cut at its limit; the Python guard tests still pass.

🤖 Generated with Claude Code

Run 182 (braid#425, finding 14): the judge paused Braid's clock and awaited a socket message the clock's gate (#415) holds while paused; the 180 s bound on page scripts is a setTimeout in the page, on that paused clock, so it never fired, and the watchdog ended the attempt after 1,201 s. The clock exposes realTimeout/realClear and the bound uses them when present. Journey: a bound script that pauses the clock and waits is cut at its limit; the Python guard tests still pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix(guards): the page-script bound runs on the machine's timer, not Braid's clock
Some checks failed
test / suite (pull_request) Failing after 1s
30630d61e6
Run 182's judge paused the clock and awaited a socket message the clock's gate holds while
paused (braid#415); the 180 s bound on the script was a setTimeout in the page, on that same
paused clock, so it never fired and the watchdog ended the attempt 20 minutes later. The clock
now exposes realTimeout/realClear and the bound uses them; a journey proves a paused script is
cut at its limit (braid#425, finding 14).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
test(e2e): type the guard import in the paused-clock bound journey
All checks were successful
test / suite (pull_request) Successful in 2m21s
abe940a574
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
cmoriarty deleted branch fix-evaluate-bound-real-timer 2026-11-08 07:13:32 -05:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
cmoriarty/braid!428
No description provided.