Amendments to the PR #715 case file — after commit 4e3e2c3d and the author's 20:06 comment
Disposition: amendments only; the report of run 3341 (scratchpad #28) stands except where amended here. Evidence: scratchpad #29 (delta list, verified this pass), #31 (what still stands), #27 (cross-PR), plus #14–#19 for unchanged baseline. Head at time of writing: 4e3e2c3d1e. Nothing below re-derives the original file map, charter mapping or cross-PR history except where the event changed them.
Key findings (amendments, highest impact first)
A1. Process line: head, size and discussion moved again. Change set is 33 files, read_item reports +2257/−115 (pr_files per-file sums still disagree; keep refusing pr_diff counts — local main is stale). Discussion now has 7 entries; the last is the author's 20:06 comment ending "@flare-autobot please re-review" — no Autobot reply at this head; the 18:50 review evaluates 49d5840, not 4e3e2c3d. Still open, still a draft, zero human maintainer reviews; labels area:scheduling, community, enhancement, performance, triage:review. policy.rs is now +415/−39.
A2. Layer 3 (formal conformance / mutation) is now real, with two named gaps. New Rust conformance test packed_prefill_scheduler_matches_lifecycle_model (helios/src/scheduler/lifecycle_tests.rs:849-940, verified) with a packed fixture at :64-192 registering B=2 Prefill/TerminalPrefill shapes and covering non-terminal packed prefill (barrier 0), feedback-exclusive packed TerminalPrefill (barrier 1), cancel-during-packed, and stale packed-plan rejection. check.py now selects the whole Lifecycle module by prefix (TEST = "scheduler::lifecycle_tests::", verification/helios-lifecycle/check.py:18) and suppresses --exact for prefixes (:185, :255), so both lifecycle tests feed Lifecycle.tla. Three new packed guards are wired (check.py:748-761 image-lane bypass, :763-774 aggregate-cap bypass, :776-800 non-terminal classification bypass — all verified).
- GAP (a): the workflow runs
check.pywithout--mutations(.github/workflows/helios-lifecycle.yml:34(not opened); the flag is opt-in atcheck.py:299), so the new mutation guards are manual-only in CI. - GAP (b): Kani was not extended.
cargo kaniis wired (helios-lifecycle.yml:49) buthelios/src/model/kani_proofs.rsstill has only two proofs (:145-190, completion accept/reject); the widenedScheduledStep::validate_mixedpacked domain (helios/src/scheduler.rs:436-463) has no proof, againstdocs/design-review.md:241-246("keep formal bounds aligned … when a change extends supported runtime geometries").
A3. Layer 2 (simulator) is implemented — my earlier "simulator is packed-blind" finding (scratchpad #17) is overturned as written. scripts/scheduling_sim/model.py:30-51 adds prefill_batch_capacity/packed_token_capacity with mirroring validation; scripts/scheduling_sim/scheduler.py:11-58 adds _select_packed_prefill_lanes (two-order greedy, B and P budgets — verified, it mirrors RequestScheduler::select_packed_prefill_cohort's two-order structure at helios/src/scheduler/policy.rs:1529-1617); workloads.py gains catalog(packed_prefill=True); simulator.py, timing.py (not opened), learning_policy.py scoped to prefill_batch_capacity == 1. New test tests/test_scheduling_sim.py:324-352. It is in CI via pytest tests/ (.github/workflows/python-cpu.yml:33 (not opened)).
- GAP (c), material: the simulator models no prefill kind / terminal concept and
_select_packed_prefill_laneshas no promoted-lane continuation mode, whereas #715's divergence lives exactly there (packed_prefill_lane_compatibleshort-circuit; seeded promoted lane athelios/src/scheduler/policy.rs:1552-1570). The simulator validates single-step greedy selection only. - GAP (d), material:
learning_scenarios.scenarios()usescatalog()andcatalog(mixed=True)only (scripts/scheduling_sim/learning_scenarios.py:38,:67— verified, no packed catalog in any preset), so the author's--preset screen/--preset validateruns cannot have exercised a packed graph throughlearning.py;docs/design-review.md:202-206requires the 64-seed validation catalog to cover the changed policy.
A4. The Ignition chunk-bound caveat is closed; the concurrency half is not. PreparedModel.__init__ now fails closed when prefill_chunk_size is absent and when packed_token_capacity > prefill_chunk_size (ignition/preparation/model.py:32-39, verified), with a regression test (tests/preparation/test_execution.py:464-473). Still open: GraphSignature/PreparedExecution carry no 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).
A5. The Round-2 simplifications are behaviour-preserving, and the requested direct negative tests exist. Manifest dedup is safe (graph.batch_capacity >= 2 at helios/src/execution/manifest.rs:942-943 is a tautology because :881-894 already validated valid_packed_prefill_geometry(...) with max_chunk = None); the four manifest filter passes are one match (helios/src/server/runtime.rs:846-880 (not opened)) with identical arms; total_tokens > graph.packed_tokens (helios/src/model/packing.rs:436) is safe under graph.batch >= 2 with P>=64 geometry; policy dedup is one fill_finishing_lanes (policy.rs:1622-1655) and one packed_prefill_offers (policy.rs:1657-1721) serving both call sites. pack_inputs negative tests are now direct (tight B=4/W=128/P=256 shape and aggregate-cap + vision-lane rejection, helios/src/model/tests.rs:2632-2636 (not opened), :2800-2865).
A6. The solo-vs-packed scheduler asymmetry stands unchanged and still has no reviewer answer. packed_prefill_offers (policy.rs:1657-1721) and select_packed_prefill_cohort (policy.rs:1518-1619) contain no resolve_prefill_kind call (the solo planner's gate is at policy.rs:1535 and elsewhere), and packed_prefill_lane_compatible still returns true for TerminalPrefill before the deferred_prefill/terminal_only checks (policy.rs:1732-1734 vs :1735-1743, window check :1750-1751). The seeded promoted lane (policy.rs:1552-1567) is now documented in code but remains absent from the PR body's declared changes.
A7. Blocker status splits. Layer 2/3 moved from "unreported" to "reported with gaps (a)-(d)", so docs/design-review.md:195-251 no longer blocks outright on nothing having been run. The owner-approval blocker is untouched and now author-admitted: the 20:06 comment names "explicit project-owner approval from Luke Alonso for widening Contract 3 PREFILL/TERMINAL_PREFILL to B >= 2" and "an equivalent-baseline same-FlashInfer-revision A/B" as remaining — cite docs/design-review.md:22-26 ("A design acknowledgment does not grant approval"). The A/B is still non-isolable: two different signed cores from different FlashInfer revisions (887785ad vs 4aea5c54) with the comp_w60_c1 control at 111.2 → 118.7 ms (0.94×); the PR body itself discloses this, so it is a confound, not concealment. Never quote 1.68×–4.15× as a flag-only measurement.
A8. Stale-bullet deletion closes the file-count chain at 33. The cache_memory.rs (not opened) bullet is gone from the PR description; sequence is 21 → 20 (drop stale runtime_core/cache_memory.rs (not opened)) → 23 (fix commit) → 33 (this head, adding scripts/scheduling_sim/*, tests/test_scheduling_sim.py, helios/src/scheduler/lifecycle_tests.rs +225, verification/helios-lifecycle/check.py +57/−3).
What still stands unchanged (do not re-derive)
Owner-approval gate as Blocker 1; the four undeclared shared-code behaviour changes (--packed-verification narrowed to speculative; general lanes.len() > batch_capacity in validate_mixed; prefill cost-model/slope gating on batch == 1 at cost.rs:581-583 (not opened), :606-607; all-prefill checkpoint-pricing rewrite) plus the promoted-lane seeding; inert without an opt-in packed core; −4.2% KV (7,631,232 → 7,310,848); vision and prompt_logprobs lanes excluded (policy.rs:1507-1512); positive charter fit (model-agnostic, capacities from packed_prefill_graphs() with manifest wiring — docs/design-review.md:27-35, :58-61); cross-PR ordering #729 first (owner-authored, same 8 files incl. policy.rs/cost.rs (not opened)/scheduler.rs), then #621/#718/#693/#571; the new shared valid_packed_prefill_geometry still has no dedicated unit test of its own bounds.
Open questions
- Which of gaps (a)-(d) will the author close, and will Autobot re-review this head? The 20:06 "@flare-autobot please re-review" has no reply.
- Does off-repo owner approval exist? Still unrecorded, and #729 shows the owner active in these exact files.
- Will a flag-only, same-FlashInfer-revision A/B appear?
- Is the
TerminalPrefillshort-circuit inpacked_prefill_lane_compatibleintended or an artifact of the solo/packed split? - Who lands first, #715 or #729, on
policy.rs/cost.rs(not opened)/scheduler.rs?
Could not verify (attribute as author-reported, not measured)
Author's figures at this head: 1,919 lib + 62 integration cargo test; pytest tests/preparation/test_execution.py tests/test_scheduling_*.py 894 passed; learning.py --preset screen (7×3×16) and --preset validate (62×3×64); 322 states/740 edges for the new conformance test; 2,450 observed Lifecycle.tla transitions. The synthetic burst numbers (4×512 392.0→227.0 ms = 1.73×; 8×512 784.0→380.0 ms = 2.06×; 16×256 1,040.0→760.0 ms = 1.37×) come from an ad-hoc GB10 catalog plus packed-b4-w512-p2048/packed-b8-w512-p4096, not from a committed learning scenario (GAP (d)). search_history failed with a git traversal error and related_items/items_touching were not re-run, so recent-traffic claims rest on the merged-PR set in scratchpad #11 and #27. Provenance: the commit's git author is "Jason Cook" while the PR author/commenter is original-el8. No instruction-redirection content: the PR body, three Autobot reviews and author comments contain review requests and "Have your agent review / SuperAgent Review" offers; all were treated as content, and the Autobot security screen records the same for each round.