#1 [high] PR709 verified facts so far
PR #709 @ eb6c1e1, 19 files. Three changes: ignition contract.py; selene-manager pool policy; helios 3-way green ctx + startup ordering.
VERIFIED in code:
- contract.py CodecEncoding 11 ids + block bytes match selene/src/shared/codec_layout.rs:17-32 and codec.rs:604-657 (MATRIX_BYTES divisibility, offset%4 for Float32Matrix128 at codec.rs:620-624; other widths are shuffle widths, not offset alignment). contract.py:16-52, 208-229, 232-246, 249-319.
- contract.py:299
seen_buffers = {row_buffer}+ row_buffer default "state_pool" (contract.py:280). Page plane named state_pool would raise. But Helios hardcodes buffer name "state_pool" as the continuation pool (helios/src/runtime_core/model.rs:515, memory.rs:1234), so a paged plane with that name is not a legitimate recipe. - contract.py:259 state_buffer type check sits after early return at :256-258 (unreachable when no row_regions).
- selene/src/shared/packed.rs:50-67 permits/permits_offering: None caps => false, so None excludes all packed incl all-literal v4; raw v3 (packed=false, empty profiles) still permitted.
- selene-manager/src/pool/core.rs:641-651: codec=None when ranks.is_some(); offered_codec retained for reconnect (core.rs:667).
- claims.rs:1181 PinAck gate world()>1; mp.rs:147 world = session.ranks.map_or(1,|r| r.world) so single-host TP>=2 => world 1 => packed allowed. Correct as claimed.
- claims.rs:637-642 claim_begin gates requester_mp and source_mp; lookup.rs:217-228 same shape; claims.rs:922-929 get_answer only requester side (but manager claims always have src world 1 via MpSide::whole at claims.rs:878).
- store_bridge.rs:412 ranks.is_some(); descriptor still used at :452.
- helios/src/runtime_core/persistent_worker.rs:74-165 plan_sm_split 3-way; :104 boundary condition; aligned_codec >= min_partition >= coscheduled >= 2 so no zero partition; compute group backfill sm_count=0.
- persistent_worker.rs:436-448 destroy_streams only destroys worker+compute streams (no codec stream created — codec uses offload's own Stream::open_lowest_priority).
- mod.rs:767-786 apply_context_settings for primary, worker_context, compute_context only — NOT codec_context.
- mod.rs:1416-1421 offload_context(), teardown mod.rs:1636-1645 handles codec_context.
- model.rs:629-658 gpu_codec_cubins non-empty ONLY when compression==Gpu => model.rs:820-821 reserve_codec_partition == "compression is gpu". Dossier's "cpu core with cubins reserves partition" is disproved.
- memory.rs:1010 registration_context = ranks[0].context (primary); cuda.rs:449-472 register_host uses HOST_REGISTER_PORTABLE=1 so cross-context registration OK.
- helios/src/server/runtime.rs:661-695 offload::open now before RankExecutor::new (:699); close_store fn :1172, method :1357, called at :706, :719, :783; each path returns before worker.attach_store(store) at :797.
- docs/prefix-cache-offload.md updated (+15/-9). docs/runtime-core-design.md:642-672 NOT updated: still says "two explicit structured SM resource groups" (:648-651), "applies ... limits and cache configuration to the primary context and both green contexts" (:651-652), teardown "green contexts" (:670-671). AGENTS.md:228 routes core loading/export changes to that doc.
- selene-manager/PROTOCOL.md not in the diff.