1.4 KiB
1.4 KiB
Prompt
Same session-initiating brokerd-split instruction (see 20260610T170859Z_75cefe10_prompt_io.md); this is the approved plan’s “stage 1”: introduce the datad daemon machinery additively (nothing routes through it yet). User-decided constraint applied: datad.<broker> is a SIBLING of brokerd.<broker> under pikerd, spawned via the existing Services + maybe_spawn_daemon() machinery.
Response summary
New piker/data/_daemon.py hosting the datad.<broker> feed-only daemon-actor: lifetime fixture owning the actor-global _FeedsBus, init/spawn fns mirroring .brokers._daemon conventions and the samplerd sub-daemon precedent, plus root-mod registration, piker.service re-exports and a spawn test.
Files changed
piker/data/_daemon.py— NEW:_setup_persistent_datad(),datad_init(),spawn_datad(),maybe_spawn_datad(),_datad_service_modspiker/service/_actor_runtime.py— addpiker.data._daemonto_root_modulespiker/service/__init__.py— re-export spawn epstests/test_services.py— addtest_datad_spawn
Human edits
None — committed as generated.