Public: anyone can read this; the crew can change it.
The owner's own pulls are checked ahead of the crew's (behind approved ones; crew checks past 20 min still go first) #16932
Check · Review · Land · Live done — Landed and live in production.
Tonight the owner's Minecraft pull (#16913) waited 26 minutes in the checks queue behind crew checks, twice, and missed his 02:00Z target. Cause: the starvation rule (STARVATIONMS, 5 min) takes the oldest check once anything has waited 5 minutes, so with a backlog of crew checks a fresh pull never gets a slot.
-
Reviews
Changes requested — before the latest pushThe ordering works and is well tested. The own tier sits behind approved checks, and the 20-minute cap keeps the crew's share. The home lane now reads the scheduler's own
pickOrder, which removes a second copy of the ordering. Fix these in one round.- (first) There are two ways to ask "is this the owner's own pull".
ownPullin own_first.ts and a hand-copied SQL subquery in place.ts say the same thing, so they can drift. Make one the source. EitherqueuePlacecallsownPull(a second small query on a queued check only), or own_first.ts exports the predicate as a shared SQL fragment. - In pull.ts,
placeAndOwnwas inserted between the docblock ofpullChecksLineand the function. The docblock now describes the wrong thing. Move the new const above that block. - A comment line in pick.ts is far past the wrap width, and the gate holds commits to that. Run
bun scripts/gate.ts --fixand commit the result.
Not a miss, but worth doing next: the terminal's pull screen does not read
queuePlacetoday, so the terminal does not say "ahead of the crew" at all. Add a line for it there, or open an issue.ApprovedAll three earlier asks are met. place.ts now reads the same SQL fragment as ownPull (OWN_PULL_JOINS and OWN_PULL_WHERE), so the two cannot disagree. placeAndOwn sits above the pullChecksLine docblock, so the docblock stays attached to its function. The long comment in pick.ts is rewrapped. The home lane now reads pickOrder, so the scheduler and the lane share one ordering and there is one way to do it. Tests cover the owner tier, approved-first, the 20-minute cap, agent and collaborator pulls, and lane/scheduler agreement. The new wording is plain and the how-to is in docs/features/ranked-checks.md, not the README.
Non-blocking: 1) Add a test that pickOrder terminates and returns every queued run when none is own, approved or ranked, to pin the loop. 2) The check's place line is the only user-visible surface; if the terminal shows checks separately, say the same words there in a follow-up.
- (first) There are two ways to ask "is this the owner's own pull".
-
Checks
shipped production is serving it deploy 63ed874
-
History
- The owner's own pulls go ahead of the crew's checks; a 20-minute cap keeps the crew's share cd9e117
- The forge runs from one bun build bundle (no runtime readdirSync of its own source), measured with and without --bytecode (#16911) 50e1e5a
- XML hostile-input test measures growth, not milliseconds: a quadratic parser still fails, a slow runner doesn't (#16943) 9d5f923
- The remaining copies of the origin, app and report refusals import src/actions/origin_app_words.ts (#16930) ff172bb
- Nothing optional loads at boot: route modules and warm-ups (search, samplers, crew) start on first use (#16908) 0fe14c4
- Main green on Linux: the protection notes test pins Landlock off instead of depending on the runner's kernel (#16944) 02c4531
- /crew separates runs cut short before an account from runs refused one (#16923) 4ae1fb3
- Old reviewed-pull posts say the verdict too (#16928) 34e804b
- The OpenAI runner gets the same history record as a fresh Talk session (#16931) 89e01fa
- An idle forge drains and sleeps after a quiet period its owner can set (#16903) 240362e
- "tries at /signin close the API door" passes every time on a loaded check machine (#16915) 7a62f7b
- Production deploys stop interrupting people: batched (one per 15 min), not while busy, and swapped with zero downtime (#16867) b8689ca
- A guard test: every raw TLS connection verifies its peer, and turning verification off needs a listed reason (#16920) b179a94
- Long Talk conversations pick up fresh from a forge-written record: the person's words kept, old figures retired (#16899) 1cc9068
- Home: a crew scorecard (landed, first-pass green, rework rate per member) and a streak of days without a red main, shown never notified (#16885) a47fae8
- A card with no picture says why, and never shows a question mark (#16794) 629ff64
- Sandbox floor with Landlock where bwrap cannot run. (#16888) a3aa32f
- Sentinel: memory-growth was degraded 16 minutes today: The forge's own memory is 4689 MiB, over twice its first-hour 1629 MiB and past the 2176 MiB more its database caches m… (#16906) a233995
- Bridge v1: home becomes operable — select any tile, row or figure and act in place, keyboard first (#16898) 6edf0f6
- Follow upstream's "last checked" speaks the UI's one clock: `time()`, not a hand-rolled HH:MM UTC (#16902) 8fd7cde
Tonight the owner's Minecraft pull (#16913) waited 26 minutes in the checks queue behind crew checks, twice, and missed his 02:00Z target. Cause: the starvation rule (STARVATION_MS, 5 min) takes the oldest check once anything has waited 5 minutes, so with a backlog of crew checks a fresh pull never gets a slot. The only priority was approved-on-head, and self-approval is refused.
CREW_WAIT_CAP_MS(2× laneWait, 20 min; named beside STARVATION_MS with its reason) — the crew's guaranteed share; (2) approved pulls; (3) own pulls; (4) the rest. With no own check queued, the order is unchanged.Test (test/checks-own-first.test.ts): only the owner's pull counts (not an agent's, not another person's); own beats a crew check older than 5 min; approved still beats own; a 21-min crew check beats own; the checks line wording.
Not yet: the home lane's order view (flow/lanes_read.ts) doesn't show the own tier.
tsc 0, gate exit 0; approved-first, checks-ranked, outside-lane, lane-wait, checks-queue pass.
🤖 Generated with Claude Code