First half of the `brokerd` split: a new per-provider
data-feed-only daemon-actor `datad.<broker>` to (soon) host
all `validate._eps['datad']` eps (live quotes, history
loading, symbology search) leaving `brokerd` for live order
ctl only. Purely additive; nothing routes through it yet.
Deats,
- new `piker.data._daemon` mod mirroring the
`.brokers._daemon` conventions (and the `samplerd`
sub-daemon precedent):
- `_setup_persistent_datad()` lifetime fixture owning the
actor-global `_FeedsBus` alloc.
- `datad_init()` building `enable_modules` from the
backend's `_datad_mods` (falling back to
`__enable_modules__` for not-yet-split backends) and
copying `_spawn_kwargs` (critical for `ib`'s
`infect_asyncio`).
- `spawn_datad()`/`maybe_spawn_datad()` wrapping
`Services` + `maybe_spawn_daemon()`.
- add `piker.data._daemon` to `_root_modules` so `pikerd`
can run `spawn_datad()` requests.
- re-export the spawn eps from `piker.service`.
- add `test_datad_spawn` verifying actor boot + service
registration via `ensure_service('datad.kraken')`.
Note the `Services`-based impl style deliberately mirrors
`spawn_brokerd()` so the eventual `tractor.hilevel`
`ServiceMngr` port (see the `service_mng_to_tractor`
branch's d8c21d44 prep work) lands symmetrically on both.
(this patch was generated in some part by [`claude-code`][claude-code-gh])
[claude-code-gh]: https://github.com/anthropics/claude-code
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Prompt-IO: ai/prompt-io/claude/20260610T171142Z_119d2c04_prompt_io.md
|
||
|---|---|---|
| .. | ||
| claude | ||
| opencode | ||
| 20261007T165453Z_bde2457b_prompt_io.md | ||
| 20261007T165453Z_bde2457b_prompt_io.raw.md | ||
| 20261010T232852Z_1fa45dfa_prompt_io.md | ||
| 20261010T232852Z_1fa45dfa_prompt_io.raw.md | ||
| 20261106T185628Z_495c0915_215e9b_prompt_io.md | ||
| 20261106T185628Z_495c0915_215e9b_prompt_io.raw.md | ||
| 20261106T201746Z_495c0915_612dfc_prompt_io.md | ||
| 20261106T201746Z_495c0915_612dfc_prompt_io.raw.md | ||
| README.md | ||
README.md
AI Prompt I/O Log
This directory records substantive AI-assisted changes, prompts, original harness identity, and unedited outputs. Human contributors remain accountable for code decisions.
Records follow the NLNet generative AI policy. Each structured entry links its immutable .raw.md partner. Code output uses Git diff references to avoid duplication.