Explore scratchpad · NVIDIA/hyperflare-inference #715

Raw Markdown for agents: https://autobot.eidonix.com/p/265ea0b5-22b9-4c0e-9089-4914a6ab3abd.md

#1 [high] Change: scope of PR #715 and a stale-base caveat for the diff

PR #715 "helios,ignition: implement additive packed multi-request prefill (Contract 3)", author original-el8 (COLLABORATOR), branch docs/packed-prefill-rfc -> main, head 84f789afb7a4b48b7c3e8c514a330dbe9edb5531 (84f789a), opened 2026-12-04 00:36, updated 2026-12-04 05:56, state: open DRAFT, no labels, no reviews, CI passed on head.

Authoritative change set (pr_files / read_item #715): 21 files, +1639 -56: docs/packed-prefill-design.md (new +155), helios/manifest.md +8/-2, helios/model-contract.md +23/-0, helios/src/execution/manifest.rs +33/-4, helios/src/execution/tests.rs +39, helios/src/model/catalog.rs +19/-1, helios/src/model/packing.rs +28/-4, helios/src/model/testing.rs +20/-5, helios/src/model/tests.rs +238, helios/src/runtime_core/cache_memory.rs +1, helios/src/runtime_core/selection.rs +178/-3, helios/src/scheduler.rs +112/-4, helios/src/scheduler/checkpoints.rs +12/-3, helios/src/scheduler/cost.rs +21/-3, helios/src/scheduler/policy.rs +342/-17, helios/src/scheduler/policy_tests.rs +312, helios/src/server/runtime.rs +43/-5, ignition/cli/serve.py +3/-1, ignition/direct/scheduler.py +3/-1, ignition/preparation/execution.py +18/-3, tests/preparation/test_execution.py +31.

CAVEAT for anyone re-reading the diff: the pr_diff tool renders against the local copy of main, which is STALE (predates merged PRs #697 by FujitsuPolycom, #711 and #720 by lukealonso). Therefore pr_diff shows unrelated hunks (AGENTS.md, docs/api.md, docs/cli-design.md, docs/core-design.md, docs/TODO.txt, .github/workflows/native-serving.yml, preserve_message_anchor, pool_vram_limit/pool_ram_limit, RowRestoreLatency, async_transfer, external_extents, partition_conditioned_windows, refresh_admission_plan_in_place, measured_duration) that are NOT part of this PR. Verified: preserve_message_anchor exists in pr head but not in local main (search_code), and it is the subject of merged #697; pool_vram_limit also exists at pr head but not local main and belongs to merged #711/#720. Only the 21 files above and the packed-prefill subject matter should be attributed to #715.

Note: the PR description itself only claims the 21 files, so there is no undeclared-file problem — the discrepancy is a tooling artifact, not a PR defect.

#2 [high] Change: what additive packed multi-request prefill actually does

Plain terms: before this PR, a PREFILL/TERMINAL_PREFILL graph had to be batch_capacity == 1, so N concurrent short prompts cost N full model replays; GraphKind::Mixed allows only one prefill lane per step. This PR lets a prepared core additionally declare batch_capacity B >= 2 prefill graphs with an explicit 64-aligned aggregate packed_token_capacity P, and teaches Helios to pack 2..B text-only prefill lanes into one replay.

Verified mechanics at pr head (84f789a):

#3 [high] Related work: merged prefill-scheduling PRs this builds on (#645, #479, #426, #661, #663, #681)

Closest prior art on the same problem, all merged, all by other authors, and this PR builds on them rather than competing:

Searches that returned nothing: issues about "packed prefill", "prefill batching", "batch_capacity 1 prefill"; there is no open or closed issue requesting multi-request prefill. The rationale is self-generated rather than a maintainer request.

#4 [high] Project fit: charter/design-review gates — owner approval for a new graph op contract is not recorded

Facts from the repo's own rules, both where #715 lines up and where it is exposed:

ALIGNED:

EXPOSED / TENSION:

#5 [high] People: original-el8 is a charter-named priority contributor; #715 has zero engagement

Author: original-el8, GitHub association COLLABORATOR, listed in the charter as a "priority contributor" (@voipmonitor, @original-el8, @lukealonso) who "carry extra weight—we never close their PRs out of hand". Charter Respect-for-Contributors section. History (from orientation packet): 25 merged, 29 closed, 10 open in the last 180 days. Recent: #712 (open, RoCE hairpin defaults, 2026-12-03), #710 (open, coalesce host VMAs / speculative cost, 2026-12-03), #666 (merged, roce_fabric), #604 (merged, deepseek-recipe lock sync). Merged PRs touch docs (15), helios/src (14), helios (5), ignition/preparation (5), ignition/recipes (4). Pattern relevant to this PR: original-el8 ships very large multi-area PRs (e.g. #410/#408 closed mega-PRs at 18 files shared with #715; #426 merged +? on prefill pricing). #715 continues that pattern: one PR spanning manifest validation, core selection, input packing, scheduler policy, cost model, checkpoints, ignition preparation, direct scheduler, docs and tests. Domain ownership: original-el8 owns the DeepSeek V4.1 / SM103 Parallax line and the prefill/terminal-prefill pricing changes (#426, #352, #311/#312). The TerminalPrefill graph kind itself came from voipmonitor's #479.

Who else works in these files (from items_touching / related_items): lukealonso (project owner) dominates helios/src/scheduler/policy.rs, manifest.rs, scheduler.rs (#645, #644, #620, #619, #613, #510, #656; also #711, #720); FujitsuPolycom on scheduler policy/cost (#661, #681, #697, #538, #542, #540); yatesdr on cost/checkpoint/cache (#655, #663, #674, #694, #459, #357); voipmonitor on manifest/capacity/packing (#479, #555, #566, #485); jcartu on manifest/packing validation (#621, #688, #505, #404); fakoli on prefill KV handoff (#718).

Engagement so far: ZERO. Only one comment on #715, by the author himself (2026-12-04 05:56) summarising highlights. No reviews, no maintainer comment, no labels, no flare-autobot case file/review posted yet (unlike #645/#655/#697, which each got an Autobot review within ~30 min). No reactions visible. This is the least-engaged of the recent scheduler PRs.

Open overlapping PRs that may need ordering (from related_items / items_touching):

#6 [high] Claims and evidence: strong served A/B, but confounded baseline and missing mandatory CPU gates

CLAIMED (all from PR #715 description/author comment):

  1. Benchmark setup: 4x NVIDIA GB10 SM121 TP4, DeepSeek V4.1 Flash, flare run, "identical runtime binary 84f789af", "identical binary and flags", 15-cell barrier-synchronized burst matrix, median of 3 rounds, temperature=0.
  2. Headline: p95 TTFT 1.68x–4.15x better; prefill throughput 1.75x–4.23x better; 3,590 ms -> 865 ms at C=16 93-token chat; 1,656 -> 455 ms at C=16 69-token completions; 383 -> 1,622 tok/s; 1,996 -> 3,559 tok/s.
  3. Backward compatibility: pre-change 151-graph core 887785ad (7,631,232 logical KV tokens/rank) loads and serves on the new binary vs 157-graph core 4aea5c54 (7,310,848 tok/rank), i.e. -4.2% KV capacity cost.
  4. Test suites: helios runtime-core lib 1,284 passed/37 ignored; runtime-core+server 1,894 passed/49 ignored with 6 failures "solely from unset FLARE_TEST_TEMPLATE_DIR"; heliopause 230 passed; flare/flare-cli all passed; Python 905 passed/2 skipped with 3 tests/cli failures blamed on an older installed flare_heliopause wheel; companion recipes PR 6/6 CUDA+CPU and 112/112 DeepSeek CPU tests.
  5. Claim "Without per-model flags... existing cores load and serve unchanged" (see below for the moved --packed-verification check).

WHAT BACKS IT:

WHAT IS WEAK OR MISSING:

#7 [high] Change: behaviour changes and limits the description does not fully say

Undeclared / partially declared behaviour changes found by reading the diff (none of these appear in the "What changed" list):

  1. ignition/cli/serve.py:462-468 — the --packed-verification preflight check changed from any(signature.packed_token_capacity ...) to any(signature.kind == "speculative" and signature.packed_token_capacity ...). This is a real behaviour change for any recipe whose only non-zero packed_token_capacity was on a non-speculative graph: previously the check passed, now it raises UsageError("this prepared recipe does not declare packed verification capacities"). It is described ("Scopes --packed-verification checks to speculative signatures") but its user-visible failure mode is not.
  2. helios/src/scheduler.rs ScheduledStep::validate_mixed gained, for ALL steps, two new general checks: step.lanes.len() > step.batch_capacity => "scheduled step exceeds batch capacity" (scheduler.rs:2611-2614) and, in commit, the same lane-count/sum validation (scheduler.rs:2611-2640). These apply beyond packed prefill and are not mentioned.
  3. helios/src/scheduler/cost.rs: fresh_duration was replaced by measured_duration and prefill cost models are now created only for key.batch == 1; refresh_prefill_context_slopes is now gated on key.batch == 1. This changes cost model behaviour for every prefill key, not only packed ones. The diff hunk is in a listed file but the semantic change to solo paths is not described.
  4. helios/src/scheduler/policy.rs:167-170: Candidate equality for prefill now also requires smaller.host_lengths == larger.host_lengths. Solo prefill candidates carry host_lengths: None, so behaviour is preserved, but this is a shared predicate change.
  5. helios/src/scheduler/checkpoints.rs: prefill_catalog_costs was refactored into prefill_catalog_costs_for(prompt_logprobs), interval_prefill_ns into interval_prefill_ns_for(window_ends, prefill_spans, ...), and terminal_only/bound/is_terminal now compare against limit instead of end, plus a new bound = bound.min(limit.saturating_sub(max_terminal_cap)). This is a substantive rewrite of checkpoint interval pricing for ALL prefill, only loosely covered by the description's "tracks non-terminal packed prefill steps during checkpoint planning".
  6. packed_prefill_candidates registers a candidate but ALSO requires promoted_count > 0 in the packed_round_candidates variant (policy.rs ~1380-1385): a packed cohort with two plain ready prefills and no promoted/continuation lane is dropped there, and instead relies on the separate packed_prefill_candidates path. Worth noting because it means two code paths build packed cohorts with different acceptance rules.

DEVIATIONS FROM WHAT THE DESCRIPTION SAYS:

#14 [high] Event: Autobot review of #715 (2026-12-04 12:56 case file, 13:21 Changes Requested)

Event (new since my 2026-12-04 baseline report, run 3266): flare-autobot opened a case file at 2026-12-04 12:56 UTC and posted a full review at 13:21 UTC on head 84f789a, recommending Changes Requested (pr_comments). Links: case file dd54101e-6f42-4e56-bced-61286dc66b04, review 6a7d21de-ae0a-4678-a3a8-9893f7427410, value prop 0729dfc8-7335-45b0-b641-6992cb823273.

#15 [high] Correction to #715 baseline: engagement is no longer zero; "zero-engagement" inference overturned

Amends my baseline report (scratchpad #13), key finding 7 and notes #5 (people), #9 (process), #12 (community).

#16 [high] Verified: Autobot's two "asymmetries" reproduce — packed path skips solo-kind resolution; Ignition gate lacks chunk/concurrency bounds

Autobot's review asserts "two verified scheduler/validation asymmetries let packed prefill do things the solo planner provably never does and let Ignition accept a core Helios rejects". I re-derived both at head 84f789a.

A. Scheduler asymmetry — packed candidates skip the solo planner's own kind resolution.

B. Export/selection asymmetry — Ignition accepts geometry Helios refuses.

C. Autobot's "same algorithm written twice with three live divergences" — reproduced, with one nuance.

#18 [high] Corrections to the file list and process facts: cache_memory.rs is not part of #715; labels exist

Amends note #13 and #1. Facts after re-reading the PR item at head caaef5a807 (read_item #715).

#19 [high] Consolidated: what still stands after the event vs. what the event superseded

For downstream reviewers reusing my cross-PR history, charter mapping and file map after this event. Everything below survived re-verification at head caaef5a807; only the deltas in notes #14–#18 supersede my baseline #13.

UNCHANGED and independently corroborated by the Autobot review (13:21 UTC):

DELTA to carry forward: engagement is no longer zero (Autobot reviewed, Changes Requested, 2 blockers); labels exist; head moved; the cache_memory.rs hunk is not part of the change. Human maintainer review is still absent, so the owner-approval question remains un-put to a human.

Claims I could not verify: the review's individual "5 should-fix / 7 subtract / 7 nits" items, which live behind the linked full-review page (not fetchable); its selection.rs:260-275 range is slightly offset from mine (selection.rs:274-302) — same code.

#20 [high] Research summary

The new event was a real change in #715's status, so the report needed amendments rather than a rewrite. flare-autobot opened a case file at 2026-12-04 12:56 UTC and posted a full review at 13:21 UTC on head 84f789a recommending Changes Requested (2 blockers, 5 should-fix, 7 subtract/simplify, 7 nits, merge risk High).

Three of my baseline conclusions had to change: (a) my "zero engagement, including from the automated reviewer" finding is overturned — the correct statement is slower automated triage than peers (#645/#655/#697 got case files in ~30 min, #715 in ~12 h), with human maintainer engagement still genuinely zero; (b) my "no labels" process point is overturned — #715 now carries area:scheduling, enhancement, performance, triage:review; (c) the authoritative change set is 20 files / +1638/−56, not 21/+1639/−56 — the helios/src/runtime_core/cache_memory.rs hunk is a stale-base artifact supplied by merged #720/#721, not part of this PR, which means my own "don't trust pr_diff" caveat applied to my file table too. Head has also moved to caaef5a807.

The substantive blockers were corroborated rather than weakened. I closed a prior caveat by verifying scripts/scheduling_sim/ exists in-repo, is completely blind to packed prefill, and is wired into no CI workflow — which strengthens the docs/design-review.md:195-251 (not opened) finding. I also independently reproduced Autobot's two claimed asymmetries: the packed cohort builder skips the solo planner's resolve_prefill_kind gate and short-circuits TerminalPrefill compatibility, and Ignition's packed GraphSignature check omits the chunk-size and request-capacity bounds that Helios enforces at selection, so a core exports and then fails at load. Of the "three live divergences" in the duplicated cohort builders, I confirmed two as unjustified and judged the third contextually sound. Notably, the A/B confound is disclosed verbatim in the PR body itself, so the criticism is non-isolability, not concealment.

All seven amendments plus a consolidated "what still stands" note are in scratchpad entries #14–#19.

#21 [high] Amendments digest: the seven deltas the final report must state, in order

The final report amends (does not restate) report #13. State these seven, in this order, each with its evidence note.

  1. "Zero engagement including the automated reviewer" is overturned. New event: case file 2026-12-04 12:56 UTC, full review 13:21 UTC on head 84f789a, Recommendation Changes Requested, 2 blockers / 5 should-fix / 7 subtract / 7 nits, merge risk High (note #14). Corrected claim: slower automated triage than peers (~12h20m to case file vs ~27–50 min for #645/#655/#697), not none. Human maintainer reviews remain zero.
  2. "No labels unlike peer scheduler PRs" is overturned. Now area:scheduling, enhancement, performance, triage:review; head also moved to caaef5a807 (note #18).
  3. Change set is 20 files / +1638 −56, not 21 / +1639 −56. helios/src/runtime_core/cache_memory.rs is a stale-base artifact from merged #720/#721 (no external_extents on main; two at head, :1397/:1670). My own "don't trust pr_diff" caveat applied to my file table (note #18).
  4. A/B framing corrected. Confound is disclosed in the PR body itself ("baseline core 887785ad … earlier FlashInfer revision … packed core 4aea5c54 … FlashInfer 5a8ceed80" plus the 0.94× C=1 control). Criticism is non-isolability, not concealment (note #18).
  5. Simulator caveat closed and the finding strengthened. scripts/scheduling_sim/ exists in-repo (16 modules incl. learning.py), is blind to packed/batch_capacity/multi_request/prefill_batch, and is in no CI workflow; TLA+/Kani are wired (helios-lifecycle.yml:33-34, new compile step :35-36, kani job :38-49) but were not reported run (note #17).
  6. Both claimed asymmetries independently reproduced. Solo gate policy.rs:1560 absent from packed_prefill_candidates (:1633-1671); packed_prefill_lane_compatible returns true for TerminalPrefill before the deferred_prefill/terminal_only checks (:1601-1602 vs :1604-1620); commit classifies such steps terminal (scheduler.rs:947-954). Ignition packed branch (ignition/preparation/execution.py:80-92) omits P <= prefill_chunk_size and B <= request_capacity, which Helios enforces at selection.rs:293/:302 but the manifest does not (execution/manifest.rs:860-872), surfacing late as "invalid or duplicate serving graph variant" (selection.rs:324). Of the "three live divergences": gate (:1393 vs :1713) and objective (:1421 vs :1716-1726) confirmed unjustified; horizon (:1305-1309 vs :1668) contextually sound, so do not count it (note #16).
  7. Everything else stands — owner-approval gate (docs/design-review.md:22-26, Autobot Blocker 1), layers 2–3 unreported (Blocker 2), four undeclared shared-code behaviour changes, #621/#718 ordering and #693/#571 hot-path conflicts, inert without an opt-in core, −4.2% KV, vision/prompt_logprobs excluded (policy.rs:1585-1590), charter fit positive (scheduler.rs:891-921, server/runtime.rs:879-899). Plus the author's new honest admission that 2–3 token tails still run solo (~50 ms/lane) because the smallest packed shape is P=512 (note #19).

Unverifiable: the review's individual 5/7/7 items (behind a non-fetchable page); its selection.rs:260-275 range is offset from mine (:274-302, same code). No instruction-redirection attempt was addressed to me; the review's security screen likewise recorded the brief's provenance note and A/B summary as content, not instructions (note #14).

#23 [high] Event: fix commit 49d58404 + re-review request (2026-12-04 18:19) — new head, 23 files, +1754/−65

Supersedes the process/head facts of notes #18/#19/#22. Facts read from read_item #715 (updated 2026-12-04 18:19) and pr_files at head.

#24 [high] Verified: the four claimed fixes in 49d58404 are real; two of three Round-2 should-fix items closed

Independent verification at head 49d58404.

  1. Shared geometry predicate. valid_packed_prefill_geometry at helios/src/execution/manifest.rs:449-468 enforces 2..=max_batch, 0<W<=P, P>=batch, P<=B*W, P>=64, 64-aligned, P<=i32::MAX, optional P<=max_chunk. Callers: manifest validation manifest.rs:885-891 and :942-948 (both pass request_capacity(), None chunk); catalog helios/src/model/catalog.rs:273-279 (usize::MAX, Some(prefill_chunk_size); batch already bounded by :253); selection helios/src/runtime_core/selection.rs:285-298 (REQUEST_LANES, Some(max_chunk), with usize::try_from guards); scheduler helios/src/scheduler.rs:439-445 (REQUEST_LANES, no chunk — step came from the validated catalog), :902-908 (request_slots, Some(prefill_chunk_size)). All five previously-divergent copies now agree; this genuinely closes Autobot's "same check written five times" should-fix.
  2. Cohort builder dedup. Single RequestScheduler::select_packed_prefill_cohort(offers, batch, packed, promoted_limit) at helios/src/scheduler/policy.rs:1567-1678 returning PackedCohort (policy.rs:14-23). Call sites: continuation valuation policy.rs:1362-1366 (Some(capacity)) and first-tier candidates :1757-1761 (None). The two divergences I recorded in note #16 are gone: the "≥1 promoted lane" gate is now the seed-or-continue at :1609-1627 plus :1652-1654 (previously promoted_count == 0 at old :1393); the objective is unified on total_value→selected→total_work→mask at :1664-1672, with ValueRate built by the callers (:1397-1399, :1774). The horizon difference I had already judged contextually justified is unchanged (:1315-1319 vs :1719). New behaviour: a promoted lane is seeded before ready lanes fill (:1607-1627), with the unit test at helios/src/scheduler/policy_tests.rs:9821-9835 asserting the seeded cohort {slot0, slot2} over the higher-value promoted-free {slot0, slot1} — correct under the two-stage continuation semantics it preserves, and the seed is the highest-value fitting promoted lane in each of the two sort orders, so it is not arbitrary.
  3. Removed commit re-validation is safe. The deleted block (helios/src/scheduler.rs:2614-2632 pre-fix: per-lane tokens <= token_capacity, overflow-checked sum, packed_token_capacity >= batch) is fully subsumed by ScheduledStep::validate_mixed (helios/src/scheduler.rs:436-463: geometry via the helper, lanes non-empty, len <= batch_capacity, 1..=W per lane, checked sum <= P, distinct slots), and commit calls step.validate_mixed()? first at :2576. Removing the duplicate does not drop a guard. The general lanes.len() > batch_capacity check at :2615-2617 remains.
  4. is_non_terminal_prefill_step → binary_search_by_key (helios/src/scheduler.rs:947-955) is sound because packed_prefill_graphs sorts by (kind as u8, batch, width, packed) (:896-899) and rejects duplicates (:909), and TerminalPrefill > Prefill in the enum order (manifest.rs:70-82), so the key ordering matches. Semantics unchanged.
  5. Docs sync is real. docs/scheduling-runtime-design.md:21-26 now lists "solo and optional packed multi-request prefill" and links the design doc; :455-459 keys cost entries on "packed token capacity (packed verification or packed multi-request prefill)" (matches cost::Key.packed, helios/src/scheduler/cost.rs:571,596); :466-475 states packed (batch >= 2) prefill uses the flat nine-sample rolling median instead of per-batch-1 context strata (matches Estimate.prefill being created only for is_prefill() && batch == 1 at cost.rs:606-607 and slope refresh gated at :581-583, :969-971, with replays.observe at :965). docs/packed-prefill-design.md:46 credits local-inference-lab/hyperflare-recipes#153 for the recipe work and :51-52 narrows "no per-model flags" to "no per-model Helios runtime flags" — an honest scoping fix rather than a silent weakening.
  6. Author-reported Layer-1 re-run (1,918 lib + 62 integration, pytest 56) is consistent with the new/changed tests (policy_tests.rs:9821-9835, tests/preparation/test_execution.py:440-463); I cannot execute them here, so treat as author-reported.

#25 [high] Residual after 49d58404: solo-vs-packed kind gate still open, Ignition chunk bound narrowed not closed, blockers 1–2 unchanged

What the fix commit did NOT change, verified at head 49d58404.

A. Solo-vs-packed kind-resolution asymmetry still stands (note #16 A). resolve_prefill_kind is called from helios/src/scheduler/policy.rs:432,466,890,1121,1535,2065,2147,2205; none of those is in packed_prefill_candidates (:1711-1778) or in the new select_packed_prefill_cohort (:1567-1678). packed_prefill_lane_compatible still returns true for TerminalPrefill before the deferred_prefill/terminal_only checks (:1689-1691 vs :1692-1699, window check :1707-1708). So a packed TerminalPrefill cohort still may run a lane the solo planner would refuse for that kind, while is_non_terminal_prefill_step reports false for any TerminalPrefill with batch >= 2 (helios/src/scheduler.rs:944-955). Not addressed by the commit, and not among the 3 remaining should-fix items Autobot named in Round 2 — a first-party finding that survives.

B. Ignition chunk bound is now enforced, but not where Helios enforces it. New check: ignition/preparation/model.py:32-43 rejects signature.packed_token_capacity > server_config["prefill_chunk_size"] for prefill/terminal_prefill with batch_capacity >= 2, raising before export/serve; test tests/preparation/test_execution.py:440-463. Gaps that keep the asymmetry partly open:

C. Both Round-2 blockers are untouched and unaddressed in the thread: (1) no owner approval recorded for widening the PREFILL/TERMINAL_PREFILL operation contract — docs/design-review.md:22-26 still requires prior explicit approval from Luke Alonso and says a design acknowledgment is not approval, and the new docs do not claim any; (2) layers 2–3 still unreported — no simulator run (scripts/scheduling_sim/ remains blind to packed prefill and in no CI workflow, note #17) and no TLA+/Kani/mutation report, against docs/design-review.md:195-251 including the "disclosure does not excuse skipping runnable CPU checks" clause at :247-251. The commit also grew policy.rs further (+342 → +373), i.e. more unverified cohort logic, not less.

D. New undeclared behaviour refinement introduced by the fix: continuation valuation now seeds a promoted lane before ready lanes can take slots (policy.rs:1607-1627), so the selected cohort can now deliberately exclude a higher-value ready lane; encoded by policy_tests.rs:9821-9835. The PR body's "What changed" section does not describe this policy change, and the author's 18:19 summary frames the whole commit as dedup/cleanup ("unifying tie-breaking"). It is defensible under two-stage continuation semantics but is a scheduler-selection change, so it belongs in the declared-change list next to the earlier undeclared items in note #19.

E. Doc/code nit: docs/packed-prefill-design.md:41 presents P <= prefill_chunk_size as enforced by "Helios manifest & catalog", but the manifest validator deliberately passes None for the chunk bound (helios/src/execution/manifest.rs:885-891, :942-948); the bound is enforced only at catalog selection (helios/src/model/catalog.rs:273-279), core selection (helios/src/runtime_core/selection.rs:285-298) and scheduler catalog registration (helios/src/scheduler.rs:902-908). Consistent with helios/manifest.md:268-273 ("transport validation does not infer a scheduling policy"). Cosmetic but worth one line so reviewers do not re-derive it.

F. Provenance oddity, reported not judged: the single new commit's git author is Jason Cook, while the PR author/commenter is original-el8. Same repository collaborator set, but reviewers should not assume the A/B and test evidence in the 18:19 comment was produced by the git author of the diff; the validation figures are author-reported and I could not execute them here.

#26 [high] Amendments digest v2: the nine deltas after 49d58404

Ready-to-use ordered amendments to report #22 (the 2026-12-04 run-3295 amendments), after commit 49d58404 and the author's 18:19 re-review request. Evidence: notes #23, #24, #25.

  1. Process line (replaces report #22's closing "Corrected process line"). Head is 49d58404f2 (short 49d5840); change set 23 files, +1754 −65; discussion now has 5 entries, the last being the author's 18:19 fix summary ending "@flare-autobot please re-review", with no reply yet. Still open draft, zero human reviews, labels unchanged (area:scheduling, community, enhancement, performance, triage:review).
  2. File-count correction chain closes: 21 → 20 (drop runtime_core/cache_memory.rs) → 23 via ignition/preparation/model.py (+12), docs/scheduling-runtime-design.md (+15/−9), helios/src/execution.rs (+1). pr_files sums +1754/−62; the 3-line gap is the stale-local-main artifact, so keep refusing pr_diff counts.
  3. Finding 6 (Autobot's asymmetries) narrows: the Ignition chunk bound is fixed at ignition/preparation/model.py:32-43 with a test (tests/preparation/test_execution.py:440-463), so my "Ignition accepts geometry Helios refuses" claim is reduced to (a) it is a PreparedModel, not GraphSignature/PreparedExecution, invariant and is skipped when prefill_chunk_size is absent, and (b) the B <= request_capacity half is still Ignition-unchecked (MAX_CONCURRENCY=64 only) versus Helios selection.rs:307.
  4. Finding 6's scheduler asymmetry stands unchanged: no resolve_prefill_kind call in packed_prefill_candidates (policy.rs:1711-1778) or select_packed_prefill_cohort (:1567-1678); packed_prefill_lane_compatible still short-circuits TerminalPrefill (:1689-1691); is_non_terminal_prefill_step still reports terminal for packed TerminalPrefill (scheduler.rs:944-955). This is now a first-party finding no reviewer has addressed.
  5. "Duplicated cohort builders" finding (report #22 finding 6 bullet 2) is overturned as duplication, though the double entry point remains: one select_packed_prefill_cohort (policy.rs:1567-1678) serves both call sites (:1362, :1757), tie-breaking unified (:1664-1672), the "≥1 promoted lane" gate expressed as seeding (:1607-1627); only the deliberate horizon difference remains (:1315-1319 vs :1719), which I had already judged justified. Also verified: the removed commit re-validation is fully covered by validate_mixed (scheduler.rs:436-463, called at :2576), and the new binary_search_by_key (:947-955) is valid against the (kind,batch,width,packed) sort (:896-899) plus duplicate rejection (:909).
  6. New undeclared behaviour change: continuation valuation now deliberately seeds a promoted lane so a higher-value ready lane can be excluded (policy.rs:1607-1627; test policy_tests.rs:9821-9835). The PR body and the 18:19 comment present the commit as dedup/cleanup only. Add it to report #22 finding 7's list of undeclared behaviour changes.
  7. Blocker status, unchanged and now stronger: neither blocker was addressed — no recorded owner approval (docs/design-review.md:22-26), no layer 2–3 verification (:195-251, incl. the :247-251 "disclosure does not excuse" clause), and policy.rs grew from +342 to +373. Round-2 should-fix #3 is the only one closed; the author's Layer-1 re-run (1,918 lib + 62 integration; pytest 56) is author-reported.
  8. Two nits to add: (a) docs/packed-prefill-design.md:41 lists P <= prefill_chunk_size under "manifest & catalog" although the manifest validator passes None (manifest.rs:885-891, :942-948) — matches helios/manifest.md:268-273, so wording only; (b) the new commit's git author is Jason Cook while the PR author is original-el8 — worth noting so no one attributes the A/B evidence to a different author than the diff.
  9. Still not verified / open questions updated: whether the author will re-run once Autobot replies; whether an off-repo owner approval exists; whether a flag-only same-core A/B will appear; whether packed_prefill_lane_compatible's TerminalPrefill short-circuit is intended.

#27 [high] Cross-PR addition: maintainer PR #729 now overlaps #715 on the same 8 files; shared geometry helper covered only transitively

Two cross-PR facts found while finalizing (related_items #715 + a scan of helios/src/execution/tests.rs). Neither is in any earlier note.

#29 [high] Amendments digest v3: after 4e3e2c3d (Layer 2/3 coverage commit)

Head 4e3e2c3d1e (git author "Jason Cook", PR author original-el8 — provenance nit repeats). Change set via pr_files = 33 files; read_item reports +2257/−115 (pattern mismatch between pr_files sum and read_item persists; quote read_item's totals, not pr_diff). policy.rs now +415. Discussion = 7 entries; last is the author's 20:06 comment ending "@flare-autobot please re-review" — no Autobot reply yet; latest review (18:50) evaluates 49d5840, not this head. Still open, still a draft, zero human reviews.

A1. Layer 3 (TLA+/conformance/mutation) is now real, with two gaps.

A2. Layer 2 (simulator) is now implemented — my "simulator is blind to packed prefill" claim (note #17) is overturned as written. scripts/scheduling_sim/model.py:30-51 adds prefill_batch_capacity/packed_token_capacity with mirroring validation; scheduler.py:11-58 adds _select_packed_prefill_lanes (two-order greedy, B and P budgets); workloads.py:9-18 catalog(packed_prefill=True); simulator.py:91-92 traces both fields; timing.py adds the packed_prefill family; learning_policy.py scopes solo interpolation to prefill_batch_capacity == 1. New test tests/test_scheduling_sim.py:324-352 asserts packing, budgets, solo never using B>=2, and a tight P cap. This is in CI via pytest tests/ (.github/workflows/python-cpu.yml:33).

A3. Ignition chunk-bound caveat (a) in my A5 is closed: PreparedModel.__init__ now fails closed when prefill_chunk_size is absent and when P exceeds it (ignition/preparation/model.py:32-39), with the missing-config regression test (tests/preparation/test_execution.py:464-473). Still open: GraphSignature carries no chunk bound (ignition/preparation/execution.py:80-92) and only the global MAX_CONCURRENCY=64 applies instead of B <= request_capacity (helios/src/runtime_core/selection.rs:307).

A4. Simplifications verified as behaviour-preserving: manifest dedup replacement (graph.batch_capacity >= 2 at helios/src/execution/manifest.rs:942-943 is a tautology because :881-894 already validated); four-pass manifest filter collapsed to one match (helios/src/server/runtime.rs:846-880) with identical arms; total_tokens > graph.packed_tokens (helios/src/model/packing.rs:436) is safe because the block is guarded by graph.batch >= 2 and geometry forces P>=64; policy dedup is one fill_finishing_lanes (:1621-1655) and one packed_prefill_offers (:1657-1721) serving both call sites (:1316, :1767).

A5. Undeclared behaviour change from 49d5840 (my A7) stands but is now documented in code: the seeded promoted lane is described at policy.rs:1514-1517 and :1552-1553. It is still absent from the PR body / "What changed".

A6. Solo-vs-packed scheduler asymmetry (my A4) stands unchanged at this head: no resolve_prefill_kind in packed_prefill_offers (policy.rs:1657-1721) or select_packed_prefill_cohort (:1518-1619); packed_prefill_lane_compatible still returns true for TerminalPrefill first (policy.rs:1732-1734).

A7. Blocker status: Layer 2/3 materially narrowed (from "unreported" to "reported with gaps (a)-(d)"), so docs/design-review.md:195-251 no longer blocks outright on nothing being run. The owner-approval blocker is untouched and now explicitly restated as remaining by the author (20:06 comment: "explicit project-owner approval from Luke Alonso ... and an equivalent-baseline same-FlashInfer-revision A/B"). A/B remains non-isolable (0.94× C=1 control, different FlashInfer revisions) — unchanged.

A8. New deleted item: the stale cache_memory.rs bullet is removed from the PR description, so the file-count chain in my A2 now ends at 33 files, not 23.

#30 [high] Research summary

The new event — commit 4e3e2c3d1e plus the author's 20:06 comment claiming resolution of the Layer 2/Layer 3 verification blocker and all subtract/nit items — does amend the report: two of my standing findings are overturned in part, one is closed, and the two blockers split (Layer 2/3 materially narrowed, owner approval untouched).

Amendments saved as scratchpad entry #29, ordered and cited:

#31 [high] Report-writer guidance after 4e3e2c3d: what still stands, what is superseded, what could not be verified

Use note #29 as the amendment list; this note says what it does NOT replace, so the report writer does not re-derive or wrongly retract.

STILL AUTHORITATIVE (unchanged at head 4e3e2c3d, do not re-derive):

SUPERSEDED by note #29 (state the correction, not the old claim):

UNVERIFIABLE HERE (must be attributed as author-reported, not measured):

NO INSTRUCTION-REDIRECTION SEEN: the PR body, the three Autobot reviews, and the author comments contain review requests ("@flare-autobot please re-review") and "Have your agent review / SuperAgent Review" offers; all were treated as content/offers, not instructions. Autobot's own security screen records the same for each round.

#8 [medium] Reach: inert without a packed core, -4.2% KV, vision/logprob excluded, docs only partially synchronized

Reach of the change — configuration, defaults, compatibility, documentation:

DEFAULTS: no new CLI flag, config key or default is introduced in this repo. Packed prefill is inert unless a core declares PREFILL/TERMINAL_PREFILL graphs with batch_capacity >= 2 (helios/src/server/runtime.rs:846-900 only feeds such graphs to packed_prefill_graphs; solos are filtered to batch_capacity == 1). Recipes opt in on their side (--packed-prefill in companion PR #153). --max-concurrency is the only existing knob that interacts: runtime_core/selection.rs:339-350 drops B>=2 packed prefill when active < 2, and --max-concurrency 1 therefore removes them entirely (covered by packed_prefill_selection_validates_geometry_and_filters_by_max_concurrency, selection.rs:2069).

COMPATIBILITY / OPERATORS:

DOCUMENTATION TOUCHED: docs/packed-prefill-design.md (new, 155 lines), helios/model-contract.md (+23), helios/manifest.md (+8/-2). NOT updated: docs/core-design.md, docs/scheduling-runtime-design.md, docs/cli-design.md, helios/README.md — the four files that merged PRs #645, #655, #661, #663 and #697 all kept in sync for scheduler/cost/checkpoint changes (see those PRs' file lists). docs/design-review.md requires present-state docs to be synchronized; the scheduling-runtime-design doc is the canonical home for cohort/pricing behaviour, and this change adds a new cohort algorithm (packed_prefill_candidates) that is documented only in a new standalone design doc and not referenced from the scheduler design doc.

DEPENDENCIES: brings in no new crate or Python dependency. The benchmark depends on an external FlashInfer revision 5a8ceed80 for the packed arm only (baseline used an earlier revision) — relevant to the charter's "pin dependencies"/#215 FlashInfer-dependency-fix roadmap item.

#9 [medium] Process: open draft, no reviews, CI green, no labels, under a day old

Process state for #715:

Not-relevant leads in the orientation packet, checked and dismissed:

#10 [medium] Why: structural single-lane prefill limit, maintainer-led burst-prefill work (#485/#645), no originating issue

The "why" — problem, prior asks, and how long it has been wanted:

#11 [medium] Recent activity: a dense week of scheduler merges that #715 builds on and must rebase over

Recent activity in the touched areas and how #715 relates:

#17 [medium] Verified: scripts/scheduling_sim exists in-repo, is untouched and simulator-blind to packed prefill

Re-checked after the Autobot review raised the same point, so my earlier "not opened" caveat can now be closed.

#12 [low] Community: no reviews, no reactions, one author comment; no Autobot review unlike peers

Community engagement, all angles: