#1 [high] Why: 128 MiB envelope limit vs TP16 aggregate metadata — driven by #398 Kimi TP16 stack
PR #618 (open, lukealonso, 2026-11-29, +4784/-399, 23 files, head 3a57a70) changes helios/src/core/protection.rs (+834/-38), adds helios/src/core/synthesis.rs (+1804), flare/src/hub.rs (+619/-34), heliopause/src/export/capture.rs (+261/-62), ignition/preparation/aot.py (+168/-34), capture.py (+110/-91), helios/proto/core.proto (+13).
Area 2 (external bodies) is the direct continuation of:
- #371 (merged 2026-11-21, voipmonitor): "Verify bounded TP16 weight catalogs in existing native cores". Why: "TP16 MoE cores carry ~37 MiB of reconstructed prepared-weight metadata per rank (each well within the 128 MiB MAX_BODY per-rank limit). When all 16 ranks are selected on a single host, their aggregate reconstructed metadata reaches ~592 MiB and exceeds the previous 512 MiB MAX_SELECTED_RANK_METADATA cap". That PR raised MAX_SELECTED_RANK_METADATA 512 MiB → 1 GiB in helios/src/core/schema.rs, explicitly not increasing the 128 MiB per-rank/envelope caps. #618 now removes the envelope-level limit for deployment+rank bodies by spilling them to
flare.body.<sha256>tensors — i.e. the step #371 deliberately deferred. - #398 (open issue, voipmonitor, 2026-11-19): "Kimi K3.1 Pro + DSpark TP16/DCP8 C4 PR stack and merge guide" — 16× RTX PRO 6000 Blackwell TP16 cores; lists #371 as an independent infra PR. Published TP16 cores on HF (local-inference-lab/kimi-k3.1-pro-dspark-flare). This is the concrete workload #618's "large multi-rank MoE, TP8/TP16" framing refers to. No issue in the tracker names "128 MiB envelope blocks publication" directly — the PR description asserts it, not a linked report.
#2 [high] Process: #618 open + ready, CI failed, zero reviews, large single-author PR
PR #618 process facts (orientation packet + read_item #618):
- Open, marked ready for review, opened and last updated 2026-11-29 19:40 (same day), 0 reviews, 0 comments (pr_comments returns "No comments"), no labels.
- Head commit 3a57a7073b35810ef20edcb2f03049df6a1c924a; base main. 23 files, +4784/−399.
- CI on head commit: failed (per orientation packet). Cause not visible from the local copy; PR description says all local test runs were done on Linux x86_64 CPU fixtures and lists pre-existing failures elsewhere: flare-cli
distribution::tests::source_waits_for_receiver_file_verification(BrokenPipe), 3 selene-manager TCP/TLS loopback relay tests, 6 helios frontend template tests needing FLARE_TEST_TEMPLATE_DIR, 2 Python env failures (test_installation_does_not_write_dependency_sources,test_heliopause_build_source_identity_matches_workspace_sources). - Description follows the charter's four-part PR description standard (why / what changed / claimed result / evidence) and has "Discord: lukealonso".
- Explicitly declared limitations: CUDA-gated GPU capture/export tests (FLARE_RUN_CUDA_TESTS=1, FLARE_RUN_TP_CUDA_TESTS=1) and live multi-rank
ignition export/flare runnot executed; frontend template tests, rebuilt flare_heliopause wheel source-identity tests, Windows builds not executed; "Live multi-GPU export memory and download throughput on whole checkpoints are not measured in this PR." - Also states contradiction inside itself: bullet 3 says the update to the timing of
Element? (n/a). Two real oddities: (a) In capture.rs diff theelif materialize is not None: materialize()line in the PR description is "deferred"; (b) the description's claim "ForwardCache.prepare_manyandcapture_forwardsretain all ... " vs. tests.
#3 [high] Claims/evidence: HF LFS + adoption defects verified real on main (hub.rs:1741, 1621, 1558)
Verified against main (read at ref main):
- Bare-hex LFS oid is not treated as a digest.
flare/src/hub.rs:1741 content_digest()requires thesha256:prefix ("A bare 64-hex ETag is opaque", hub.rs:1737-1752).fetch_tree_identities(hub.rs:1073) storeslfs.oidverbatim asFileIdentity.etag(hub.rs:1144-1152). So for every tree-API LFS entry,content_digest(etag)= None on main ⇒pending_network_from_identitiestreats a size-matching complete blob as settled (hub.rs:1305-1313) and no SHA-256 checking happens downstream. The PR addsFileIdentity.sha256(populated byparse_sha256_hexonlfs.oid,content_digeston ETag) and switchespending_network_*,fetch_file_with_identity_and_streams,transfer_blob_with_streamstometadata.sha256(). So claim 1's premise is TRUE on main. - Temp-name mismatch is REAL.
flare/src/download_cache.rs:1103-1107 adopted_key()parses.<key>.adopt-<pid>-<n>viatransient_key(name, ".adopt-")(download_cache.rs:1081-1095: requires.<key>then.adopt-thendigits-digits).main'spublish_copy(hub.rs:1621-1640) creates.adopt-<pid>-<n>-<destination name>, which does NOT satisfy that pattern (after stripping the leading dot the string startsadopt-, and there is no.adopt-marker; also the trailing-<name>breaks digits-onlycount). Crash orphans were therefore unreclaimable. PR renames temporaries to.<key>.adopt-<pid>-<n>and adds a reclaim test. - adopt_complete had no lock and could overwrite.
mainhub.rs:1558-1581adopt_completechecksdestination.exists()and callspublish_copyWITHOUT taking<key>.lock(contrastadopt_partial, hub.rs:1595-1598, which doestry_lock_exclusive), andpublish_copyhub.rs:1656-1665 falls back tostd::fs::renameover an existing destination onAlreadyExists— i.e. it can replace an existing complete blob. PR takes a non-blocking exclusive<key>.lock, and gates the rename fallback behindreplace(true only for the.partpath). Claim 1's second and third premises are TRUE. Chronology:drop-inthese behaviours came from Luke Alonso's own recent Hub work — commits21b2eae3(2026-11-23, "Speed up Hub core downloads with authenticated HTTP/2 and parallel range transfers") and9710cadc(2026-11-23, "Bound core acquisition descriptors, eliminate warm re-downloads, and speed up core verification") are the last two touches of hub.rs before this PR (search_history path=flare/src/hub.rs). So #618 is partly self-repair of the author's own unmerged-to-reviewer-attention Hub work, and the tree-API path is unconditional (no flag) — plan_dependency_download always tries the tree API first (hub.rs:1203-1216), falling back to per-file range probes.
#4 [high] The change: verified mechanics of spill, synthesis gating, single-pass capture, streaming forwards
Verified in the PR tree (pr/618):
- Spill path:
EnvelopeBuilder::sign_envelope(helios/src/core/protection.rs:1350-1500) signs all bodies over the uncompressed bytes, encodesProtectedCore, and only ifenvelope.encoded_len() > inline_limit(defaultschema::MAX_ENVELOPE) re-encodes each deployment/rank body as one zstd frame (level viaCOMPRESSION_LEVEL,WINDOW_LOG, checksum+contentsize on) intoExternalBody{sha256, stored_nbytes, decoded_nbytes}, dedupes by digest into aBTreeMap, and re-encodes the manifest (protection.rs:1494re-checksmanifest.len() <= MAX_ENVELOPE). Rank compression is parallel over up toMAX_RANK_AUTH_WORKERSthreads. - Verification order:
verify_deployment_bodiespreflights declared selected-rank bytes againstMAX_SELECTED_RANK_METADATA(protection.rs:998-1018) before any external body is read, then per rankread_rank_body→ SHA-256 of the compressed frame checked insidedecompress_external_body→ single-frame zstd withwindow_log_max(WINDOW_LOG), exact decoded length, zero trailing bytes, thencheck_commitment+ Ed25519 signature over decoded bytes. - Sheer-size limits unchanged:
helios/src/core/schema.rs:25 MAX_BODY = 128 MiBper record (stored and decoded),:27 MAX_ENVELOPE = 128 MiB(now only forflare.manifest),:32 MAX_SELECTED_RANK_METADATA = 1 GiBaggregate.FORMAT_VERSIONis used unmodified insign_envelope— no core format version bump in the diff. - Synthesis gating (helios/src/core/synthesis.rs):
synthesize_remote_payloads(synthesis.rs:1119) only runs if some remote file name is non-empty, requires at least one donor (:1134-1137), probes[0, len/2, last]when more thanPROBE_THRESHOLD = 8plans and bails out to HTTP if none of the probes matches (:1146-1172), then runs up toMAX_WORKERS = 16threads withSYNTHESIS_CHUNK = 8 MiBbuffers (:1184-1228).execute_plan(synthesis.rs:973) returnsAlreadyPresentfor an existing verified blob, writes a fresh companion container, and accepts only whenPayloadId::from_digest(sha256 of the reassembled bytes) == plan.target(:1082-1085) — otherwiseMismatch(silent HTTP fallback). Cancellation is cooperative viaAcquisitionProgress::is_cancelled. - Donor discovery (synthesis.rs:639-708): scans versions of the caller's cache model key and of
model_key(target_model_identity), then all models in the cache whose signedcore.model_identitymatches; donor deployments whosecheckpoint_revisiondiffers from the target's non-empty revision are skipped (:494-499); per-deployment rank bytes are capped byMAX_SELECTED_RANK_METADATA(:506-518). It leases entries (index kept for the process lifetime of the plan) — so donor versions cannot be reclaimed mid-synthesis. - Only
flare/src/hub.rs:3053passes a model key (plan_acquisition_for_model(..., Some(&model_key), ...)); the publicRoot::plan_acquisition_withstill calls it withNone(helios/src/core/cache.rs:654-660), so the model key is supplied only by the Hub download path, not by the other in-tree callers (which are all tests: cache.rs:6522, 6667, 6724, 6966, 7268, 7741). heliopause/src/export/capture.rs: old code didscan_group_blocks(...)thenroot.insert_payload(payload_id, length, ElidedBlocks::new(...))over the same callback (i.e. two device read passes; the--no-weightsbranch also scanned then verified). Newcapture_group_into_cache(capture.rs:2519+) doesroot.capture_streaming_payloadin one pass, and forno_weights && is_weightscans once thenroot.verified_payload(length + on-disk SHA-256, no staging).ElidedBlocksis now#[cfg(test)]only.heliopause/src/export/core.rs:1771-1778staging name nowrank-{rank}-{stable|tuned}-{base}.payload;materialize_payload_spansusescreate_new(true)(core.rs:2042-2045) so a collision is a hard error rather than a silent truncate. Old code usedFile::create.ignition/preparation/aot.py: newStorageBackend.retire_after_capture()(aot.py:453-499) caches_cuda_allocation_sizesfromgraph._flare_pool_sizesbefore clearing_bound,inputs,signature,invocations,_serialized_artifact,artifact; keepsCachingAutotuner→StaticTritonCompileResultkernels (strippingcubin_raw) andctypes.CDLL/codecache owners in_retained_kernels. NewDeferredCompiledForwarddataclass (aot.py:672-694) re-materializes viacache._load(...)at capture time.ForwardCache.prepare_many/_prepare_many/_prepare_ranksgainedstream=False(and_locked), which returnsDeferredCompiledForwardhandles instead of liveBoundForwards.ignition/preparation/capture.py:capture_forwardsnow wraps the whole body inExitStack, and whenretain_forwards=Falseand there are compiled forwards it enterscache._publication_lock(coordinator)(capture.py:120-131) and passes_locked=Trueplusstream=True, then materializes/captures/retires oneDeferredCompiledForwardat a time in the capture loop (del functionafter each).
#5 [high] The change: what the description does not say (version bump absent, sign() API break, empty bodies, Orbit/inspect/reuse-weights)
Facts a reader would not learn from the PR description:
- Core format version is not bumped.
sign_envelopestill writesversion: schema::FORMAT_VERSION(helios/src/core/protection.rs:1400 area) and core.proto only adds a new optionalExternalBodymessage/fields (helios/proto/core.proto:396-420). Consequence to flag as a question, not a verdict: a core exported from this branch whose envelope exceeded 128 MiB has empty inlinebodyfields, and older readers reject it — onmain,signed_rank_entrypasses an empty body through (helios/src/core/protection.rsmain: body.len() > MAX_BODY check only) and then failscheck_commitment(body_digest, body). The PR's own test asserts the mirror-image case:verify(&signed.manifest, publishers, Selection::Deployment{..})errors without a BodyStore (new testexternal_body_spills_and_round_trips_through_container_conversion_and_cache). So spilled cores are only loadable by this version or newer, and nothing in the description says which release/tag first ships it. Cores ≤128 MiB keep the byte-identical inline layout, so the compatibility claim in the description ("existing inline v2 cores continue to verify") is supported. - New public API surface, no user-facing flag.
EnvelopeBuilder::with_inline_limit(usize)is new public API clamped toMAX_ENVELOPE(protection.rs:1354-1360); production export never sets it, so the trigger is automatic at 128 MiB.EnvelopeBuilder::sign()is now a failing API for oversized cores (protection.rs:1370-1378returns "core envelope exceeds its inline limit and requires external body tensors") — out-of-tree signers usingsignwould break, in-tree callers were moved tosign_envelope. - Behaviour change in the builder.
EnvelopeBuilder::deployment/ranknow reject empty bodies (protection.rs:1362-1372,body.is_empty() || body.len() > MAX_BODY), previously only oversized ones. That silently tightens what conversion/edit/third-party signing may pass. flare inspect(unverified path) changed shape.helios/src/runtime_core/metadata.rs:129-210now picks the deployment before decoding rank bodies (filtersSignedRankbydeployment == dep_indexinstead of the olddeployment_idstring match), enforces the 1 GiB aggregate on declared sizes before decompressing, and decodes external bodies through the container. Error text changes ("unverified rank metadata exceeds its limit"). No test in the diff covers this path; the PR cites--test unverified_emptyonly.- Orbit mirroring changed.
flare-cli/src/orbit/controller.rs:2143-2160mirrored_rangesnow mirrors everyflare.body.*tensor and refuses a core whose body exceedsMAX_BODYor whose bodies sum aboveMAX_SELECTED_RANK_METADATA. This is an Orbit agent/controller wire behaviour: an older controller on a peer node will not mirrorflare.body.*, so a spilled core mirrored by a mixed-version fleet is a deployment hazard worth checking. The description says "mirrored over Orbit" but not that the mirrorer must be this version. --reuse-weightsserializedSourcegrew a field.heliopause/src/export/weight_reuse.rs:19-40addsexternal_bodies: Vec<ExternalBodyEntry>(base64 frames) with#[serde(default)], so old JSON still parses; new JSON carrying external bodies cannot be read by an older heliopause. Relevant because this JSON is passed between preparation and export processes/binaries.- Capture holds a publication lock across the capture phase.
ignition/preparation/capture.py:124-131enterscache._publication_lock(coordinator)for the wholecapture_forwardsbody when streaming (retain_forwards=False), i.e. the export now holds the forward-cache publication lock while capturing every graph. Description says "holds the publication lock and materializes, captures, and retires one compiled forward at a time" but does not discuss the added lock duration / concurrency with other ranks or processes. - Deferred forwards are re-materialized from the cache path at capture time (
aot.py:672-694DeferredCompiledForward.materialize_for_capture→cache._load(owner, path, required=True)). If the artifact file disappears or is reaped between warm and capture, capture fails withrequired=True; only thesharecompiler publishes to a shared path (capture.py/aot.py_prepare_ranksbound.artifact.save_compiled_function(path)), so the non-share paths rely on a temp path still existing. Not covered by the described tests.
#6 [high] Related work: #371 → #618 lineage; conflicts with open #586/#606; extends merged #559/#587/#498
- #371 (merged 2026-11-21, voipmonitor) helios/src/core/protection.rs + schema.rs: raised
MAX_SELECTED_RANK_METADATA512 MiB → 1 GiB for 16-rank TP16 Kimi cores (~592 MiB aggregate), explicitly keeping the 128 MiB per-rank/per-envelope caps. #618 is the follow-on that removes the envelope-level ceiling by spilling bodies; it touches the sameprotection.rsverify path #371 last touched and keeps #371's 1 GiB aggregate. Not competing; stacked in intent. - #398 (open issue, voipmonitor) "Kimi K3.1 Pro + DSpark TP16/DCP8 C4 PR stack and merge guide": the concrete TP16 workload (16× RTX PRO 6000 Blackwell, published HF TP16 cores). It enumerates infrastructure PRs (#371, #383, #391, #393) and requires "mutually disjoint, zero merge conflicts" PRs. #618 is not in that list and touches helios/src/core/protection.rs, hip/export/capture.rs and flare/src/hub.rs — files the stack's PRs do not own — so it is additive to the TP16 stack rather than part of it.
- #587 (merged 2026-11-29, FujitsuPolycom) "skip digest and fsync on disposable export spans" — same file
heliopause/src/export/core.rs; removed per-span digest+fsync inmaterialize_span. #618'smaterialize_payload_spansin the same file now usescreate_new(true)+rank-{rank}-{stable|tuned}-{base}.payload. Adjacent but disjoint hunks; merged before #618 so #618 rests on it. - #586 (open, FujitsuPolycom) "parallelize Engram plane assembly in core export" — heliopause/src/export/core.rs + 3 shared files. #587's thread documents that whoever lands second resolves
fn materialize_span; #618 touches a different function (materialize_payload_spans, core.rs:2039-2045) and addspayload_export_testscases, so a three-way overlap risk inpayload_export_testsexists (all three add tests to the same module). - #559 (merged 2026-11-27, voipmonitor) "defer full cyclic GC to phase boundaries" — modified
BoundForward.retire_after_capture()in ignition/preparation/aot.py and createdtests/preparation/test_preparation_reclamation.py. #618 modifies the same function (callsbackend.retire_after_capture()before_CapturedForwardResources) and adds streaming/retirement tests to the same test file. #618 therefore extends #559's reclamation work (per-forward retirement becomes per-forward materialize+capture+retire), and its new tests sit next to #559's. - #498 (merged 2026-11-24, FujitsuPolycom) PCIe D2H tail-fence in the same
heliopause/src/export/capture.rsWeightDownload/Downloadermachinery that #618'scapture_group_into_cachenow drives with a single read pass. #498's fence work is preserved (read callback unchanged), but #618 halves the number ofWeightDownloadpasses, so it reduces exposure to the class of bug #498 fixed — a side effect worth noting. - #593 (merged 2026-11-29, lukealonso) "Fix silent export corruption in AOT lowering, zero-init downloads, and drafter scope" — previous silent-corruption fix in the same capture.rs; #618's stable/tuned staging truncation is the same family (silent overwrite of pinned staging).
- #606 (open, avifenesh) edits
ignition/preparation/capture.py_seed_warmup_workspaces/capture_forwards(warmup pool). #618 restructurescapture_forwardswholesale (ExitStack + streaming capture), so #606 and #618 conflict textually incapture_forwardseven though the semantics are disjoint; #606 was reviewed "Ready to merge" at 18:03 on 2026-11-29, #618 opened 19:40 the same day. Whichever lands second must rebase. - #79 (open, efegokdemir) no-replace rename fallback for heliopause blob install (mergerfs, #54) — same "publish a blob atomically without clobbering" concern as #618's
publish_copy(..., replace=false)for Hub blobs. Different layer (heliopause archive/blobs vs flare Hub transport blobs); complementary, both open. - #617 (open, lukealonso)
flare models gc --prune, same author, same day; not overlapping files but adjacent to cache/reclaim. - #588 (closed, lukealonso?) "Accelerate multi-host rank export transfer and check disk space up front" surfaced by name match on
publish_verified_payload; not read in depth — a lead, not followed.
#7 [high] People + Community: lukealonso owns every touched area and wrote the buggy Hub code; no engagement yet
- Author: lukealonso, GitHub association COLLABORATOR, listed in the charter as a priority contributor ("Priority contributors (
@voipmonitor,@original-el8,@lukealonso) carry extra weight — we never close their PRs out of hand", charter Respect contributors). Last 180 days: 21 merged PRs, 1 other open (#617). Dominant committer in helios/src (224 commits/180d), flare/src (62), heliopause/src (58), ignition/preparation (156), tests/preparation (205), docs (379), helios/proto (47) — i.e. the author is the primary owner of every area this PR touches, and the only listed author for helios/proto in the window besides Martin Vit (9) and jasonc (6). - Self-repair pattern: the two most recent hub.rs touches before this PR are lukealonso's own
21b2eae3(2026-11-23, HTTP/2 + parallel range transfers) and9710cadc(2026-11-23, "Bound core acquisition descriptors, eliminate warm re-downloads, and speed up core verification"). The tree-APIlfs.oidhandling and the.adopt-*temp naming that #618 fixes were introduced there, so part of #618 is fixing defects in the author's own unreviewed-to-reviewer-attention Hub work from six days earlier. Same forcapture.rssilent-overwrite family: #593 (2026-11-29, lukealonso) is the same class fix earlier the same day. - Area owners / other people: yatesdr (47 commits helios/src, 47 docs, 37 heliopause? — packet lists yatesdr 47 helios/src, 47 docs, 3 flare-cli), Martin Vit (52 helios/src, 52 ignition/preparation), voipmonitor (TP16 stack: #371, #398 and the file-area review history), Jason Cook/jasonc (flare/src 62? no — jasonc 17 flare/src), Eugene Rakhmatulin (flare/src 12). The reviewers who actually review protection.rs/exports recently: yatesdr reviewed #371 with CHANGES_REQUESTED (sign-off + evidence quality), voipmonitor reviewed #587/#586. Neither has appeared on #618 (0 comments).
- Community engagement on #618 so far: none. No comments, no reviews, no reactions recorded; CI failed on head. The PR was opened 2026-11-29 19:40 and last updated at the same time (i.e. no follow-up pushes or replies yet). By contrast, comparable-size recent PRs (#498, #606, #559, #79) all drew an automated
flare-autobotcase-file + review comment within minutes; #618 has none in the local copy, which is consistent with it being opened right at the cut-off. - Discord handle given: lukealonso (same as GitHub login).
#8 [high] Research summary
I prepared the case file for PR #618 (open, opaque-cleared as ready for review, 0 reviews/comments, CI failing on head 3a57a70, +4784/−399 across 23 files), covering all eight angles. Notes are in the scratchpad (7 entries) and organised as follows.
The change (verified in code). Four independent fixes bundled in one PR: (1) FileIdentity.sha256 in flare/src/hub.rs so tree-API lfs.oid digests are actually checked, plus a locked, never-overwriting adopt_complete and reclaimable .<key>.adopt-<pid>-<n> temp names; (2) ExternalBody/flare.body.<sha256> zstd spill in helios/src/core/protection.rs sign_envelope so flare.manifest stays ≤128 MiB while deployment/rank bodies go external; (3) single-pass capture_group_into_cache and capture_streaming_payload in heliopause, create_new staging with {stable|tuned} qualifiers, and DeferredCompiledForward/retire_after_capture streaming in ignition/preparation; (4) new 1,804-line helios/src/core/synthesis.rs that rebuilds shifted weight payloads from installed donor cores and only accepts a byte-identical SHA-256 match.
What the description omits (highest-value findings). No core-format version bump accompanies external bodies, so a spilled core is unreadable by main (the PR's own test asserts verification fails without a BodyStore); EnvelopeBuilder::sign() becomes a failing API past 128 MiB and now rejects empty bodies; flare inspect (unverified path), Orbit mirrored_ranges (older controllers cannot mirror flare.body.*) and the --reuse-weights Source JSON all change shape without being called out; and capture_forwards now holds the forward-cache publication lock across the whole capture phase.
Claims vs evidence. I verified on main that all three Hub-adoption defects are real (content_digest prefix gate at hub.rs:1741, unreclaimable .adopt- names at hub.rs:1621 vs download_cache.rs:1103, unlocked overwrite at hub.rs:1558). Test evidence is broad CPU-only (exact pass counts given); the PR itself admits no live multi-GPU export memory, throughput, CUDA-gated capture, Windows or frontend-template runs.
Related work. #371 (merged) → #398 TP16 Kimi stack is the lineage for the 128 MiB work; #559, #587, #498, #593 are merged work in the same files this extends; #586 (open) and #606 (open, "ready to merge") both conflict textually, #606 with capture_forwards itself; #79 covers the same no-clobber publication problem at another layer.
People/community. lukealonso is the dominant committer in every area touched and authored the Hub code being repaired six days earlier; charter lists them as a priority contributor. No reviewers (yatesdr, voipmonitor, FujitsuPolycom review these areas routinely) have engaged yet.
Process. Ready, same-day single push, CI failed — cause not visible locally; the description's own failure list attributes CI-adjacent failures to pre-existing tests, which I could not confirm.
#9 [high] Why: capture/staging/re-download defects — no linked issue, only author's framing
Searches for tracked motivation behind areas 3 and 4 of #618 found nothing filed:
search_items "export weight capture device host copy twice staging","export payload staging tuned stable overwrite corruption","payload reuse cached payload acquisition planning","PayloadId reuse","PreparedWeightCatalog views sources","flare download cache reclaim adopted files","parallel range transfer Hub blob cache lock adopt","LFS sha256 verification download integrity"— every query returned only #618 itself (plus, for one, #267 and #334, which are about Engram read-ahead, not these paths).
So the "why" for area 3 (double D2H read, stable/tuned staging truncation, peak capture host RAM) and area 4 (full weight re-download after layer-layout edits) rests entirely on the PR description's own diagnosis, with no user report, issue, or benchmark behind it. Nearest predecessors in the same code, all authored/reviewed around it:
- #593 (merged 2026-11-29, lukealonso) "Fix silent export corruption in AOT lowering, zero-init downloads, and drafter scope" — the same silent-corruption family in heliopause/src/export/capture.rs, merged hours before #618 opened.
- #498 (merged 2026-11-24, FujitsuPolycom) PCIe D2H tail-fence in
Downloader/WeightDownloadin the same capture.rs: discusses exactly these pinned-staging reuse paths and measures the two-passWeightDownload(404copies across 4 ranks). #618's single-pass change halves the number of such passes, which reduces exposure to #498's bug class — a side benefit the description does not mention. - #559 (merged 2026-11-27, voipmonitor) measured the host-RAM/GC cost of per-forward retention during Kimi K3.1 Pro TP16 export (6.1 GiB RSS/rank, 6.5–8 s full GC scans, 96% of CPU in
gc_collect_main) — the closest published evidence that the retention problem area 3 describes is real, though #559 solved the reclamation half, not the retention half. Synthesis (area 4) has no in-repo precedent at all; it is a new capability, and the only evidence it works is the newdownload_synthesizes_shifted_weight_layer_locally_without_fetching_ittest in flare/src/hub.rs, which builds three cores in a mock Hub and asserts zero HTTP fetches for v2 and a fallback for v3.
#10 [medium] Recent activity: #618 sits on top of a week of the author's own one-day-per-file churn
Last up-to-8 commits per area on the default branch within 60 days (orientation packet + search_history):
- flare/src/hub.rs (path history, newest first):
21b2eae32026-11-23 Luke Alonso "Speed up Hub core downloads with authenticated HTTP/2 and parallel range transfers";9710cadc2026-11-23 Luke Alonso "Bound core acquisition descriptors, eliminate warm re-downloads, and speed up core verification";9de65fbd2026-11-17 Luke Alonso "Reuse cached core payloads and return transferable Orbit primaries";a161b17f2026-10-29 "Make prepared-package downloads resumable". → The tree-API identity handling and adoption copies #618 repairs were introduced by the author 6 days earlier; #618 therefore fixes forward, not reverses, and its synthesis feature extends9de65fbd's "reuse cached core payloads" idea one level deeper (byte-range reuse instead of whole-payload reuse). - helios/src:
eee6a9fa2026-11-29 PCCessna (USE_NODE_PRIORITY on exported CUDA graphs, #581);0c25e88f2026-11-29 Luke Alonso (#613 deferred_prefill, shared_pages, >64 MiB wire prepares);9a054b49(#608 catalog validation/CPU Python tests);fb32cd39(#598 GPU platforms, Orbit revision matching). Actively churning daily, mostly by the same author; #618'sprotection.rsrewrite sits on top offb32cd39/0c25e88f-era changes and partly follows #371. - heliopause/src:
f1bd42102026-11-28 FujitsuPolycom (now #587, merged 11-29);a39f67772026-11-28 Luke Alonso "Fix silent export corruption in AOT lowering, zero-init downloads, and drafter scope" (= #593);190efabb2026-11-27 PCCessna "zero-staging export blob reuse and rank-local compact head staging" (#539) — the direct precursor of #618'scapture_streaming_payload(zero-staging idea generalised to unknown-length streaming), andf1bd4210's no-digest/no-fsync decision is what makes a single-pass stream affordable. - ignition/preparation:
3e2fcd272026-11-28 Martin Vit (#559, GC phase boundaries) editedBoundForward.retire_after_capturein aot.py and createdtests/preparation/test_preparation_reclamation.py, both of which #618 edits/extends;eee6a9fa(#581) also touches capture.py. - docs: dominated by Luke Alonso (379 commits/180d);
docs/core-format-design.mdanddocs/runtime-core-design.mdwere both edited by #371's merger and are updated again here. Net: #618 is a continuation of an in-flight, same-author series (#539 → #593 → #587 → #618) rather than a reversal of anyone else's work; the only textual conflicts are with still-open #586 and #606.
#11 [medium] Project fit: charter lines that support and that cut against #618
Charter (read_charter) statements that bear on #618, as facts:
- Aligns: "PR descriptions: expect four parts — why, what changed, claimed result, evidence" — #618 has exactly those four headings plus a Limitations block. "Bring real evidence: performance PRs need benchmarks showing an actual speedup over
mainon a served workload (#210). Bug fixes need to address the root cause; don't just swallow, skip or retry an unexplained error (#397)" — #618 is framed as four root-cause defect fixes and explicitly says "Live multi-GPU export memory and download throughput on whole checkpoints are not measured in this PR", so the performance half of its claims (halved D2H passes, bounded peak RAM, fewer downloads) has no served-workload benchmark, which is the one charter rule it visibly falls short of. Its predecessor PRs in the same spirit (#587) also shipped without GPU timing and were accepted by reviewers on contract tests. - Aligns: "Keep the runtime small and model-agnostic… no per-model branches (#267, #334)" — synthesis matches on
PreparedWeightCataloglayouts and checkpointsourcesonly (helios/src/core/synthesis.rs:66-330), no model names; the diff adds no model aliases and no user-facing flag (with_inline_limitis internal/API-level, clamped to 128 MiB). - Aligns: the hardware target "SM120/SM121 workstations and DGX Spark" — the motivating workloads (TP8/TP16 MoE cores) are the GB10/SM120 TP16 Kimi cores from #371/#398.
- Aligns: "Supported matrix & compatibility: … verify that existing data, artifacts, and exported cores still load" — inline v2 cores are unchanged and the PR keeps the 128 MiB inline path byte-identical; the reverse direction (new spilled cores loading on older binaries) is not addressed and is the compatibility question a reviewer should ask.
- Tension (potential): "What gets merged: PRs that address a maintainer request, a roadmap item, a reproducible bug, a measured performance/memory issue, or bad docs." Areas 1 and 2 have concrete, reproducible defects (verified above); areas 3 and 4 are not backed by a filed bug or a measurement, so they lean on the author's priority-contributor standing ("Priority contributors (
@voipmonitor,@original-el8,@lukealonso) carry extra weight — we never close their PRs out of hand", and "Judged on its merits, review will spell out exactly what's needed #229"). - Nothing in the roadmap (
#6Rust SDK,#267Engram,#215FlashInfer pin) covers this work; it is infrastructure maintenance, not roadmap-driven.