flybrain/services/flysim/crates/fly-session/src
acamilo b2fd148f52 session: the live composition's participants on the router (BUS-01)
FLY_SESSION_TRANSPORT=bus (flysim-session --transport bus) runs the
agent and the world as socket clients of the session's router, one
process each by default (FLY_SESSION_MODE=thread and in-process too);
local, the PERF-01 lane, stays the default. Results, traces, checkpoints
and the compatibility string are the same in every arm (SessionArm:
local, bus/in-process, bus/thread, bus/process; FLY_PARITY_ARMS picks
them for the parity suites).

- process-mode placement: the service splits its cpuset as PERF-02 does
  and hands each process its CPUs (--host-cpus, --sweep-cpus;
  Launcher::place_process; pool::apply_placement); FLY_SESSION_AUX_CPUS
  moves the service and the world
- the launcher's own clients in memory in thread and process modes
- participants on a one-worker runtime; long handlers under
  block_in_place, which fixes a process-mode boot that failed when
  Agent.Initialize outlived the 2 s probe on a loaded box
- writers allocated ahead (WriterPool); a worker's own seals cached by
  clone, not a second hold
- over the bus the agent's Commit attaches its feed status, which the
  host reads instead of calling Legacy.FeedStatus at every publish
- fly-shadow --mode / FLY_SHADOW_MODE names the topology, forwarded to a
  remote box; the verdict records candidate.transport; fly-shadow check
  --require-arm

legacy-gameboy-v1 section 12 and 18 carry the dated amendments.
2026-10-02 00:09:41 +00:00
..
bin session: parallel processes, a launcher and the fault behaviour 2026-09-22 14:33:25 +00:00
agent.rs session types: the legacy Game Boy profile and the RT-01a extension methods 2026-09-23 08:31:58 +00:00
cli.rs session: the live composition's participants on the router (BUS-01) 2026-10-02 00:09:41 +00:00
clock.rs session: coherent all-participant checkpoint and recovery 2026-09-22 17:43:43 +00:00
coordinator.rs Merge port/serve-01 (SERVE-01) into v0.7.0 release candidate 2026-09-30 10:06:03 +00:00
dedup.rs refactor(session): build the session slice on the shared fly-session-types crate 2026-09-22 12:30:41 +00:00
environment.rs session: coherent all-participant checkpoint and recovery 2026-09-22 17:43:43 +00:00
harness.rs session: a snapshot publishes the telemetry of the transition that just ended 2026-09-22 20:18:49 +00:00
launcher.rs session: the live composition's participants on the router (BUS-01) 2026-10-02 00:09:41 +00:00
legacy_agent.rs session: the live composition's participants on the router (BUS-01) 2026-10-02 00:09:41 +00:00
legacy_checkpoint.rs FLYSIM01 carries the reinforcement count; the import takes its ids from the file; StageRestore refuses conflicts before building a network 2026-09-29 17:17:56 +00:00
legacy_env.rs PERF-01: spikes gathered per tick, 1 Hz session snapshots, fewer copies 2026-09-30 02:15:25 +00:00
legacy_env_parity.rs fly-session: LegacyGameboyEnvironment, the ENV-01 Game Boy environment worker 2026-09-29 13:16:22 +00:00
legacy_parity.rs FLYSIM01 carries the reinforcement count; the import takes its ids from the file; StageRestore refuses conflicts before building a network 2026-09-29 17:17:56 +00:00
lib.rs TASK-01 review N5: the per-boundary costs measured, the world's seals concurrent, bounded history 2026-09-29 21:06:32 +00:00
measure.rs session: an unknown launch option is an error, not a no-op 2026-09-22 16:28:59 +00:00
media.rs session: the live composition's participants on the router (BUS-01) 2026-10-02 00:09:41 +00:00
metrics.rs TASK-01 review N5: the per-boundary costs measured, the world's seals concurrent, bounded history 2026-09-29 21:06:32 +00:00
phase.rs fly-session: the coordinator runs the legacy composition's boundary (TASK-01) 2026-09-29 18:03:59 +00:00
profile.rs PERF-01: spikes gathered per tick, 1 Hz session snapshots, fewer copies 2026-09-30 02:15:25 +00:00
publish.rs PERF-01: spikes gathered per tick, 1 Hz session snapshots, fewer copies 2026-09-30 02:15:25 +00:00
rpc.rs PERF-01: spikes gathered per tick, 1 Hz session snapshots, fewer copies 2026-09-30 02:15:25 +00:00
state.rs TASK-01 review fixes: an artifact-backed task ledger, the pending pulse, the palette seed, queued saves 2026-09-29 20:47:19 +00:00
task.rs TASK-01 review fixes: an artifact-backed task ledger, the pending pulse, the palette seed, queued saves 2026-09-29 20:47:19 +00:00
types.rs session types: the legacy Game Boy profile and the RT-01a extension methods 2026-09-23 08:31:58 +00:00
worker.rs session: the live composition's participants on the router (BUS-01) 2026-10-02 00:09:41 +00:00