#1 [high] Testability facts for PR #505
PR #505 "Bind core-declared FP32 parameters into text forward graphs", merged ef94d621 (2026-11-28 23:59), 32 files +2393/-261, zero reviews, no CI, only comment is the case-file bot (pr_comments).
- No in-repo consumer:
ignition/recipes/**does not exist in this repo (list_files -> "No files match"); recipes live in local-inference-lab/hyperflare-recipes (AGENTS.md:379-384, docs/design-review.md:42-46).core_parameterappears only in ignition/preparation/contract.py helpers, ignition/direct/*, and tests (search ignition/ -> helper+direct+tests only; search tests/ -> tests/direct/test_scheduler.py only). - docs/TODO.txt has NO core-parameter entry (search pattern "core parameter|core_parameter|CORE_PARAMETER" ignore_case -> no matches), though PR discloses GPU export/serving unrun. Contradicts AGENTS.md:52-60 (unrun checks belong in TODO.txt).
- Owner sign-off exists but under different names: lukealonso 2026-11-21 asked for generic "scalar arguments... described in the model proto"; closed #404 2026-11-28 "in favor of #505, which replaces the DeepSeek-specific steering_scale path with the generic ModelContract.scalar_arguments / SCALAR_ARGUMENT binding interface". Shipped names are core_parameters / CORE_PARAMETER=43 / ValueBinding.parameter=7. AGENTS.md:373-378: new operation contract requires approval "even if it reuses an existing graph kind or enum value"; a design acknowledgment is not approval.
- GPU-observable surface: packing hot path changed for EVERY request (write_floats/write_raw refactor, checked arithmetic, second staging vector for SubmissionRow core params) - shared, not gated on a declaring core. PrefixHistory::new unchanged root.
- In-repo GPU fixtures exist and are cheap: helios/tests/runtime_core_fixture.py (real b12x CUDA graphs, RuntimeCore.write(..., server=server_config(root))), collective_core_fixture.py builds a real core with
c.model_contract(...)at line 123. So a declaring-core fixture is plausible but must be authored (no declaring core exists). - GPU test entry points: tests/preparation/test_runtime_core.py gated by FLARE_RUN_CUDA_TESTS=1, needs CUDA_VISIBLE_DEVICES; tests/direct/test_startup_tuning_cuda.py gated by FLARE_RUN_TP_CUDA_TESTS=1.
#2 [high] Verified should-fix defects (latent, not live)
-
Unsalted admission entry point (confirmed in code): helios/src/scheduler.rs:1519-1528
admit()->plan_admission()->plan_admission_with_core_parameters(spec, &[], &Default::default()). validate_resolved_core_parameters (helios/src/model/contract.rs:484-498) accepts 0==0, so a DECLARING core admits with an empty map; prefix root is unsalted (hash.rs:37-56 salts only from the iterator) and failure appears at pack time (packing.rs:582-597 "core-parameter admission plan is incomplete") on every forward launch. All production callers use the parameterized entry: helios/src/server/runtime.rs:2755, 2781, 2806 (+2861, 2883 via admit_with_checkpoint_accounting/admit_with_host_store). Every.admit(in helios/src is a test (engram/cache.rs:176 is an unrelated engram admit). So: latent trap + duplicated public API, not a live defect. Testable on CPU, not a hardware item. -
Export validates declarations but not bindings (confirmed): heliopause/src/export/binding.rs:1044-1047 calls only helios_core::runtime_core::validate_core_parameters (declarations: names/defaults/ranges). Binding invariants live in PreparedContract::validate (contract.rs:693-728) and packing.rs:139-168, reached at load only. A CORE_PARAMETER binding on a VISION/INIT graph, or a declared parameter missing from one selected prefill graph, exports OK and fails at load. Only affects declaring cores. CPU-testable.
Both are follow-ups; neither changes device-visible semantics that a hardware regression test would exercise, and neither should be the target of hardware time.
#3 [high] Draft hardware test plan (held)
Ready-to-run plan (only after the should-fix set lands):
- cn5 (4x RTX PRO 6000 Blackwell, amd64, SM120 — the project's primary target per charter). Use ONE 1-GPU job, ~45-60 min. Do not book the 4-GPU TP job.
- A. Principle-13 regression (cheap, first):
FLARE_RUN_CUDA_TESTS=1 CUDA_VISIBLE_DEVICES=0 pytest tests/preparation/test_runtime_core.py -k "payload_forms or core_replays_without_python"(tests/preparation/test_runtime_core.py:166-242, 294-330). Loads cores exported by helios/tests/runtime_core_fixture.py and the legacy fixed_core_fixture.py and replays them (192 graph launches / "native fixed-address replay passed"). Note: does not traverse Helios packing. - B. Declaring core (the PR's own admitted gap; needs author work first): a declaring variant of runtime_core_fixture.py using
c.model_contract(..., core_parameters=[c.core_parameter("gain", 1.0, minimum=0.5, maximum=1.5)])(ignition/preparation/contract.py:135-150,153-161) plus a CORE_PARAMETER binding in every text forward graph. Assert readback of the row buffer at the bound slot, 0-token reuse across different values, full reuse for equal values, and default when omitted. ~0.5 day engineering by the PR author, not a test-engineer task. - C. Shared-path A/B: serve a NON-declaring core, C=8, N prompts, compare first-token/output bits against the merge parent. Perf delta expected 0 (the PR claims none) — only guard against a regression beyond noise. ~20 min.
- Excluded: any throughput/output-quality sweep (PR claims none), C32, multi-host, Cn7 arm64 unless a GB10-specific path is in scope (none is).
#5 [high] Fixture gap: no lightweight declaring core
Refinement to plan item B: helios/tests/runtime_core_fixture.py passes server=server_config(root) and fixture_frontend.server_config (helios/tests/fixture_frontend.py:10-20) writes only assets/frontend/sampling_defaults - NO model_contract key (search for model_contract in helios/tests -> only collective_core_fixture.py:134 and legacy_cluster_fixture.py:30). Consequence:
- item A (tests/preparation/test_runtime_core.py replay) exercises raw core export/load/replay only; it never builds a PreparedContract, so it cannot cover the new core_parameters validation or Helios packing.
- item B (declaring core) cannot be a small edit of runtime_core_fixture.py; it needs the contract-building path like collective_core_fixture.py:116-136 (
c.model_contract(..., graphs=[...])+ server dict), which is a TP4/4-GPU collective fixture. A lighter standalone declaring fixture must be authored (~0.5 day, author work). This strengthens the recommendation: hardware time is premature; the prerequisite artifacts do not exist.
#4 [medium] Node constraint for GPU plan
helios/tests/runtime_core_fixture.py:43-52 builds the dense GEMM with sm_version="sm_120" hardcoded (settings dict), and asserts sm_count from device properties. So plan item A (tests/preparation/test_runtime_core.py replay tests) requires an SM120 device => cn5 (RTX PRO 6000 Blackwell, amd64), NOT cn7 (GB10, arm64; SMs differ). cn5: 4x 96 GiB, job gets 48 CPUs/125 GiB/16 GiB scratch - one 1-GPU job is the right size.
Also confirmed main == ef94d62 content at helios/src/scheduler.rs:1516-1535, i.e. the merged code is what would be tested; the should-fix rework will edit these exact files.