flybrain/services/flysim/crates
acamilo d3fa7908ec flysim: FLY_FEED_VIA=bus publishes every snapshot on an embedded flybus router
feed.via (FLY_FEED_VIA, default direct) and feed.bus_dir (FLY_BUS_DIR,
default /run/fly/bus). In bus mode flysim does not bind the feed port: it
starts a router on its own two-thread runtime with a closed policy (flysim
may publish fly.feed.snapshots, fly-edge may only subscribe to it), listens
for the edge on <bus_dir>/edge.sock, and a publisher task copies each snapshot
out of the watch slot onto the latest-retained topic: frame, audio and spikes
as sealed artifacts, the header as the envelope payload, or as a header
artifact past 48 KiB. The sim thread still only writes its watch slot, so a
slow bus costs snapshots on the bus and never a frame of the loop.

feedbus holds both halves of the encoding, publish and receive, and the
limits sized for the real 122,367-byte snapshot. Two counters are new:
fly_bus_published_total and fly_bus_publish_failures_total.
2026-09-23 11:41:28 +00:00
..
fly-session session types: boundary actions and captures in the step trace, a capture never precedes a slot save 2026-09-23 09:00:11 +00:00
fly-session-types session types: shared decoderConfigDigest vectors from both decoder presets 2026-09-23 09:00:12 +00:00
flybrain-core flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
flybrain-gb a refusal that teaches the ledger something is not held against the tile 2026-09-23 07:25:19 +00:00
flybus docs: the two sweep flakes are fixed, and one assertion that could not fail 2026-09-22 18:28:54 +00:00
flysim flysim: FLY_FEED_VIA=bus publishes every snapshot on an embedded flybus router 2026-09-23 11:41:28 +00:00