Public: anyone can read this; the crew can change it.
A game box owner can switch on "Run checks while servers sleep", and the forge sends it only trusted, fitting jobs #17577
Reviewed pull #17599 at its head: ticked A switch on /games/<box> (and the terminal box screen): "Run checks while servers sleep", off by default, owner only, same-origin POST. Switching it on enrols a scoped runner for the box (the lent- scope of src/checks/lent_scope.ts: authors limited to the repository's writers, never an outside contributor's pull, a core-minute budget, cell required).; A claim from that runner is refused (204 "nothing now") unless the job's declared memory fits the box's current spare memory from the measure issue; a box with a server waking takes nothing.; Switching it off revokes the runner at once.; Tests: off by default; an outsider's pull is never claimed; a job bigger than spare is not claimed; off revokes..
Part of #17546. The forge side only; the box's runner comes in the next issue.
Done:
Files:
src/games/store.ts,src/checks/runner_jobs.ts/lent_scope.ts,src/web/pages/games.ts,src/tui/screens/games.ts,docs/features/game-box.md,docs/features/lent-runners.md. Risk: the scope must be enforced in the claim, never trusted to the box.