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

1.7 KiB
Raw Blame History

Prompt

Same session-initiating brokerd-split instruction (see 20260610T170859Z_75cefe10_prompt_io.md); this is the approved plans “stage 0” prep. Plan-shaping user decisions captured via in-session Q&A:

  • datad.<broker> topology: sibling of brokerd.<broker> under pikerd (vs. child subactor).
  • migration: hard cutover, staged by layer (no dual-mode runtime flag).
  • post-split brokerd scope: trading-only + EMS-lazy-spawned (charts/CLI never touch it).

Response summary

Declare per-daemon-kind backend submod groups (_datad_mods/_brokerd_mods) in the split-style backends, keyed to the pre-existing piker.data.validate._eps contract; add a validate.get_eps() introspection helper; ws-import hygiene in .kraken.broker. Zero behavior change (__enable_modules__ unions unchanged).

Files changed

  • piker/data/validate.py — add get_eps()
  • piker/brokers/kraken/__init__.py — mod groups
  • piker/brokers/binance/__init__.py — mod groups (note: no symbols.py; search eps live in .feed)
  • piker/brokers/deribit/__init__.py — datad-only groups (no broker.py yet)
  • piker/brokers/ib/__init__.py — add 'api' to the pre-existing _datad_mods
  • piker/brokers/kraken/broker.py — import NoBsWs/open_autorecon_ws from piker.data._web_bs directly

Human edits

None — committed as generated.