flybrain/docs
acamilo ab537d1045 infra: the sim's cpus are exclusive to the sim (PERF-02 review N1)
A pinned sweep worker cannot leave its cpu, so any sustained cpu-bound process allowed there
collapsed the session runtime to 0.14x real time. flysim and flysim-session now run in
flysim.slice (AllowedCPUs = the sim's set) and bin/fly-cpu-confine, run by their ExecStartPre,
confines system.slice, user.slice and init.scope to the other cpus. It refuses while a sim unit
still sits outside the slice (shrinking system.slice under it would make it float). Without a
partition the deploy writes FLY_SESSION_PIN=0. fly-recap and fly-retention run at SCHED_IDLE.
The drop-in plan is one function (cpuset_dropin_plan) shared by the deploy and lint; lint covers the
plan, the units, the deploy wiring and fly-cpu-confine against a stub systemctl and a fake /proc.
Runbook and README updated.
2026-10-01 15:01:47 +00:00
..
design infra: the sim's cpus are exclusive to the sim (PERF-02 review N1) 2026-10-01 15:01:47 +00:00
publish flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
architecture-tour.md docs: the damage reward, and the v7 migration in deploy examples 2026-09-30 02:11:45 +00:00
control-api.md docs(control-api): the chat ring's sidecar, in the [chat] section 2026-09-22 16:26:29 +00:00
dataset-format.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
feed-protocol.md docs: row 69, throw on low HP only and the fly names its catch 2026-09-29 18:54:57 +00:00
integration.md docs: the damage reward, and the v7 migration in deploy examples 2026-09-30 02:11:45 +00:00
limitations.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
loop-review.md loop recovery: an escalation ladder that unsticks a trap on its own 2026-09-28 21:23:33 +00:00
model.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
overview.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
plasticity.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
readout.md docs: PROF-02a and RT-01a, the legacy Game Boy composition on the session framework 2026-09-23 08:32:05 +00:00
rewards-learning.md docs: the stage folds a battle's damage hits into one ticker row 2026-09-30 02:41:58 +00:00
stream-mvp-plan.md docs: v0.7.3 status 2026-10-01 05:10:22 +00:00
streaming-plan.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
verification.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00