Skip to content

verification: a build lane, narrower keys and selection, a release blocking set and a nightly real-tier run - #1196

Merged
midagedev merged 5 commits into
mainfrom
vfast
Nov 12, 2026
Merged

midagedev merged 5 commits into
mainfrom
vfast

Conversation

@midagedev

Copy link
Copy Markdown
Owner

검증 시간 줄이기 1차: 빌드 전용 줄, 좁은 키와 변형 선택, 릴리스 차단 집합과 야간 real-tier 실행.

What and why

A fixture landing batch took 43 min and the real-tier release batch 130 min. This is the first cut toward a landing check of 10 min and a release check of 30 min. It moves no assertion; it changes what blocks and when things run.

  • Build lane (tools/gate-batch.sh, BLOOMERY_BUILD_ONLY in gate.sh, gpu-gate.sh, ptx-spill-check.sh, host-gate.sh): builds run ahead of the run lanes, card-free items take a host lane. --no-build-lane keeps the old shape.
  • Keys and selection (tools/recipes.py): a gate that reads no model has one key on both tiers (102 of 265); a fixture's variant items run only when the change reaches the quant path; key --diff says which parts moved.
  • Release (tools/recipes.py release-list --blocking, tools/rotation.py release-check, tools/release/publish.sh): a blocking set by rule from tools/gate-class.tsv marks (7 items, predicted 1786 s); everything else runs in tools/nightly-real.sh once a night with its own ledger, and publishing stops on a blocking item with no green at the tag's key or a night red.
  • Budget (tools/gate-budget.py): the predicted landing wall of three change sets and each blocking item's median against dated pins. Red today for two change sets (2000 s against 1800, 1270 s against 900); the card-slot and feature-set rounds are what turn it green, so no recipe runs it yet.

Coverage decisions, dated 2026-11-12 in the tools: variant items left to the night run when the change reaches no quant file; the non-blocking real-tier gates and the weekly recipes left to the night run.

Release notes: internal — verification tooling; no engine behaviour changes.

Code shape

  • No second copy.
  • Model code holds only architecture facts. No model code touched.
  • Dead code is gone. The old host nightly's files (tools/nightly/run.sh and its units) are not removed here; a follow-up removes them with the AGENTS.md wording.
  • No silent failure. A value of BLOOMERY_BUILD_ONLY other than 0/1 ends 64; a recipe that cannot build ahead is named inline with its reason.
  • Comments state what is true now.
  • No relaxed gate. No band or tolerance moved. The moves between "blocks a landing", "blocks a release" and "night" are the dated coverage lines above.
  • cargo fmt and cargo clippy are clean on what I touched; the lint count did not go up. (One lever registry row.)

Duplication found or removed (path:line), or "none": none

What I ran

On the Mac (the tools' own tests; no card needed):

python3 tools/recipes.py --self-test      -> self-test: ok (21 sections, 265 gate recipes, 0 failures)
bash tools/gate-batch.sh --self-test      -> gate-batch self-test: 947 of 947 ok
bash tools/gpu-gate.sh --self-test        -> gpu-gate self-test: 220 of 220 ok
bash tools/ptx-spill-check.sh --self-test -> ptx-spill-check: self-test ok
python3 tools/rotation.py --self-test     -> rotation self-test: ok
bash tools/nightly-real.sh --self-test    -> self-test ok (103 cases)
bash tools/release/publish.sh --self-test -> ok (97 cases)
python3 tools/gate_class.py check         -> 0 finding(s)
bash tools/check-levers.sh                -> check-levers: ok
cargo test -p bloomery-levers             -> 63 passed

Dry run on the 197-item list of the 11-12 fixture batch: predicted wall 2347 s without the lane, 1846 s with it [derived from the batch's own logs]. affected on the EXAONE reader range: 206 items before, 182 after (24 variant items left out by name).

Not run yet: the box. The measured wall of a fixture batch with the build lane, and the night run on the box itself (its ssh loopback, its ledger pull), are added here before the merge.

🤖 Generated with Claude Code

https://claude.ai/code/session_01CjHkkjSnQu1gPsqfbYpEAQ

midagedev and others added 4 commits November 12, 2026 21:03
…s, and card-free items take a host lane (BLOOMERY_BUILD_ONLY; --no-build-lane keeps the old shape)

A card sat idle while its own lane compiled: of a 197-item fixture batch's 4316 s of item time,
1341 s was build, serial on the one build directory anyway. gate.sh under BLOOMERY_BUILD_ONLY=1
stops after the build and gpu-gate.sh exits before any lock or card. The build lane builds items
in the order the run lanes take them; a run lane starts an item only when its build is done and
takes another ready item instead of waiting. A recipe that cannot build ahead builds inline and
its line says why; a failed build fails the item with the build's rc. Card-free items run on
lane H. The plan and DONE lines carry build-lane=, laneH= and lockwait=.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01CjHkkjSnQu1gPsqfbYpEAQ
…ure's variant items run only when the change reaches the quant path; key --diff says which parts moved

The ledger skip never fired (skipped=0 in every recorded batch) and 55 card-free items ran at the
landing and again at the release because the key carried the tier. A gate whose run is the same on
both tiers (no model directory, self fixture rows only, no script or target that reads the tier)
is tier-blind; 102 of 265 fixture keys now equal their real keys and no real key moved. Variant
items (a recipe on the fixture's other quants) are left out by name unless the change reaches a
quant owner's file, a moved scan pair, the row, or the recipe's own text or bin (coverage decision
2026-11-12: the nightly real-tier run holds the rest). owners.tsv gains quant_types.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01CjHkkjSnQu1gPsqfbYpEAQ
…ightly real-tier run with its own ledger, and a release check that reads the night; a landing-wall budget check

The release batch ran every real-tier gate (162 items, 130 min) and mostly found real-tier pins
that had gone stale over 141 commits, because nothing ran the real tier between releases.
release-list --blocking is the gates a release must see green at the tag's keys: the main
families' shipped serve path and two-card gates, the forced-exact count pin and gate-ptx-spill
(coverage decision 2026-11-12; predicted wall 1786 s). Every other real-tier gate and the weekly
recipes run in tools/nightly-real.sh (just nightly-real), once a night on the gate machine with
its own ledger; publish.sh pulls that ledger and stops while a blocking item has no green at the
tag's key or a night item is red at its newest run. tools/gate-budget.py holds the predicted
landing wall of three canonical change sets and each blocking item's median to dated pins.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01CjHkkjSnQu1gPsqfbYpEAQ
@github-actions github-actions Bot added host Host crates: qdot, threads, engram, engram-lab, runtime, sampler, levers, decision, vision, refset tools Tools, recipes, CI and the toolchain: tools/, justfile, .github/, Cargo labels Nov 12, 2026
tools/nightly-real.sh reads BLOOMERY_NIGHT_BOUND, _DIR, _HOME, _LOCK,
_NOTIFY and _PULL; check-levers refused them (35 problems, CI run
43221771425). Each is a runner row naming the script.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01CjHkknz4RyyoBnLW3MM7pX
@midagedev
midagedev merged commit ec15eda into main Nov 12, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

host Host crates: qdot, threads, engram, engram-lab, runtime, sampler, levers, decision, vision, refset tools Tools, recipes, CI and the toolchain: tools/, justfile, .github/, Cargo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant