Public: anyone can read this; the crew can change it.
Lent runners: a peer forge can lend check compute, scoped to public pulls, budgeted, sampled and revocable #16836
Check · Review · Land · Live done — Landed and live in production.
The owner: "i have an origin connected to benjiver's forge. we should be able to request runner compute from each other." Design: talk-research/f2f-design.md §2. Today a runner token claims any job on the desk, so lending a runner to or from a peer was unsafe.
-
Reviews
Changes requested — before the latest pushThe mechanics are sound and I found no security finding. The scope is enforced in the claim query, revoke kills the token and requeues what it held, the web writes check admin and read the form through readForm, tests exist, there is a how-to, and README is untouched. The one thing to fix first is the design: it breaks DESIGN.md principles 1 and 7 on Settings → Runners and Capacity. Two things to change, both in the design lane.
- Principle 7 (a fact is a
dlrow): the scope, today's core-minutes, total and expiry are packed into one·-joined meta string byscopeLine. Render them asdlrows under the runner row, and keep the terminal's single line. - Principle 1 (nothing explains itself twice): the page now carries the lent in / lent out line, the enrol hint and a docs link, and the lent-out half of the line is a standing disclaimer rather than a fact. State only the lent-in numbers, and put the enrolment how-to in docs/features/lent-runners.md.
I did not verify the preview's rendering of the new rows beyond the diff; the diff was cut at the web pages, so I read those from the tree.
ApprovedAll three earlier asks are met. Scope, today's budget, total and expiry are now
dlrows under the runner (principle 7). The explaining paragraph and the "lent out" disclaimer are gone from the page, and the v1 limits live in the how-to (principle 1). The claim enforces the scope in SQL (public only, authors, expiry, budget, cell required). Revoke kills the token hash and requeues held jobs, and the salt never leaves the forge. Web, API and terminal all have revoke and resume, with tests and a how-to in docs/features. Non-blocking: the Runners page still has the older "Enrol one with POST ..." line, which could point at the lent-runners how-to. - Principle 7 (a fact is a
-
Checks
shipped production is serving it deploy c8785d3
-
History
- Lent runners v1: a peer forge's runner is held to a scope, sampled, canaried and revocable 87473a0
- Status page: backups get their own honest row instead of reading as slow pages (#16891) e8a1cb1
- Nightly drill on the vxrail: the one-click path against production, loud on the step that broke (#16843) 3a83699
- An idle fresh forge has a memory budget test that names where its memory goes (#16883) 3bcfa79
- A front router wakes an asleep forge on its first request and says "waking…" while it does (#16882) 2d3e9b2
- Two timing flakes measured against load: page budgets scale by a same-run calibration; review budget is event-driven (#16879) fee6f7a
- /metrics: forge_process_restarts_total and forge_child_processes{comm} (#16864) 03718a4
- A crew with builders and no reviewer says so loudly: settings, the tick line and the crew page (#16842) 30b53d2
- telemetry_history and forges answer in a summary by default, with detail on request (#16893) 2601f32
- Detaching a fork keeps objects its own forks still borrow (repack --keep-unreachable) (#16892) df30c44
- Talk never reads none of a large answer: past 40,000 characters the agent gets its shape and head, and how to ask narrower (#16877) 07a9130
- Main green: four new pages' bare 'No …' empty states use the shared words; the empty-words test runs first (#16874) b1a6173
- Daily proof waits for the release's check: a pending line is proved again until it settles (#16890) 8928766
- Observability 6: a Grafana-like view bar on top - time range, compare, variables - and a grid that fills (#16865) 2aecd66
- Boards show check and crew slots against capacity; Capacity is findable; /flow answers first (3.3 MB → capped) (#16830) ff9bc70
- Model review moves a crew member up only on that model's own better outcomes; scorecard by kind; rework and no-account lines on /crew (#16817) 1c64b14
- A template card lists the files it will create before it is chosen (#16822) 2da2af9
- Cost ledger: measure compute for deploys and agent runs, not only checks (#16841) 8a8c14a
- Two order-dependent flakes made deterministic: tui-crawlers pins loop lag; job-alloc measures a kept buffer after a full collection (#16875) b5f87f0
- Checks run rule and scan tests first and stop on their red (a rule red in ~2 min, not 14) (#16866) 372ce5e
The owner: "i have an origin connected to benjiver's forge. we should be able to request runner compute from each other." Design: talk-research/f2f-design.md §2. Today a runner token claims any job on the desk, so lending a runner to or from a peer was unsafe.
What a job carries (verified in runner_step.ts before building): the commit and its history back to the base, the recipe, plain CI/FORGE_* values and its own job token. No secrets.
Lent runners v1
lend:{}(namedlent-…) claims only public pulls, in a cell, before its expiry and within a daily core-minute budget, optionally only for named authors. Enforced in claimJob.Known limits: the #16479 owner-yield measures the borrower's load, not the lender's; lent-out is not yet tracked on the lending forge; the line sits on Capacity until #16830 brings the /boards slots block. benjiver's forge (0.5.29) must upgrade before it can lend.
14 new tests pass (scope, expiry, budget, author filter, sample re-run, canary, revoke); tsc clean; gate passes.
🤖 Generated with Claude Code