piker/ai/prompt-io/claude/20260610T171142Z_119d2c04_p...

1.4 KiB
Raw Blame History

Prompt

Same session-initiating brokerd-split instruction (see 20260610T170859Z_75cefe10_prompt_io.md); this is the approved plans “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_mods
  • piker/service/_actor_runtime.py — add piker.data._daemon to _root_modules
  • piker/service/__init__.py — re-export spawn eps
  • tests/test_services.py — add test_datad_spawn

Human edits

None — committed as generated.