This repository has no description

split the supervisor roster file into smaller modules (#3156)

* pa-daemon: supervisor_roster.rs split - under 1,000 lines The 1,799-row roster-serving module becomes its 30-row facade plus two test-family children at the same tree position (supervisor_roster::{passivation,delta_push}): - The facade keeps the product whole (the zero-move cut): the `WorkerRosterDelta` record, the entire `impl Supervisor` (the subscribe handling, the delta merge, the stop-path passivation, the roster pushes, the `write_roster_summary` arms), and the free fns (`passivated_summary`, `normalize_model_to_durable_pair`). - passivation.rs (650): the passivation + snapshot family - the stop-path passivation (the anchored-child preservation, the live-field stripping, the family pruning), the rewrite/diff-baseline snapshots, the registration-mark + re-registration rules, with the seed-tests fixtures the family drives; the shared drain fixture resolves through the facade. - delta_push.rs (514): the roster-delta push family - the supervisor fixture, the sequence-drop, the flip/push batching, and the push benchmark. - The shared `drain_roster_pushes` fixture (both families drive it, 23 passivation call sites) rides in the facade under `#[cfg(test)]` per the agents_view shared-fixture precedent; the children reach it through `use super::*`. ZERO product moves: the facade's crate::supervisor_roster::X paths (WorkerRosterDelta and every impl member) resolve unchanged; the test families reach the product through `use super::*` with the supervisor_roster_seed::tests fixture block riding in the passivation child (its sole consumer). Byte-proof: each family child is byte-identical to the tip block modulo the enumerated headers, the uniform dedent, one fmt-canonical signature wrap, and the seed use block (verify_supervisor_roster.py); the facade is the tip minus the test mass plus the two cfg(test) decls; the tip blob reassembles ZERO-DELTA. External-path audit: the only external reference (supervisor/clients.rs's crate::supervisor_roster::WorkerRosterDelta) resolves unchanged. * ci: the empty-commit retrigger (the shard 4/8 tui_dispatches_slash_commands_menu_and_suggestions red is the adjudicated view-render/data-arrival ordering flake, red-slashmenu-tui-dispatch-parallel-flake-20260930-1 - solo x3 GREEN at the exact head cf8f86f5e plus the pristine-tip control x2 GREEN in the lane sandbox; this diff is the pa-daemon supervisor_roster pure-structure split, zero pa-cli/tui surface; the rerun-failed route is banned by the fleet retrigger policy) * pa-daemon: drop the split-narration doc leftovers --------- Co-authored-by: Sebastian <sebastian@primeintellect.ai> Co-authored-by: Seth Karten <32787133+sethkarten@users.noreply.github.com>


Author kt Co-author SebastianCo-author Seth Karten Committer GitHub Date Commit Parent c0d7e889
+1440 -1433
3 changed files
+1440 -1433
3 changed files