piker/ai/prompt-io/claude
Gud Boi 6418121923 Add `datad` daemon machinery to `.data`
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
2026-06-10 13:12:26 -04:00
..
20260610T170859Z_75cefe10_prompt_io.md Fix `pytest` config-dir isolation in subactors 2026-06-10 13:10:09 -04:00
20260610T170859Z_75cefe10_prompt_io.raw.md Fix `pytest` config-dir isolation in subactors 2026-06-10 13:10:09 -04:00
20260610T171022Z_4485f2b9_prompt_io.md Port service+tests to latest `tractor` APIs 2026-06-10 13:11:05 -04:00
20260610T171022Z_4485f2b9_prompt_io.raw.md Port service+tests to latest `tractor` APIs 2026-06-10 13:11:05 -04:00
20260610T171105Z_bc6e18d7_prompt_io.md Declare per-daemon-kind backend mod groups 2026-06-10 13:11:42 -04:00
20260610T171105Z_bc6e18d7_prompt_io.raw.md Declare per-daemon-kind backend mod groups 2026-06-10 13:11:42 -04:00
20260610T171142Z_119d2c04_prompt_io.md Add `datad` daemon machinery to `.data` 2026-06-10 13:12:26 -04:00
20260610T171142Z_119d2c04_prompt_io.raw.md Add `datad` daemon machinery to `.data` 2026-06-10 13:12:26 -04:00
README.md Fix `pytest` config-dir isolation in subactors 2026-06-10 13:10:09 -04:00

README.md

AI Prompt I/O Log — claude

This directory tracks prompt inputs and model outputs for AI-assisted development using claude (claude-code CLI).

Policy

Prompt logging follows the NLNet generative AI policy. All substantive AI contributions are logged with: - Model name and version - Timestamps - The prompts that produced the output - Unedited model output (.raw.md files)

Usage

Entries are created by the /prompt-io skill or automatically via /commit-msg integration.

Each commit carrying AI-generated changes links to its provenance entry via a Prompt-IO: commit-msg trailer; entries use “diff-ref mode” (pointers into git log -p instead of verbatim code copies) to avoid duplicating committed code.

Human contributors remain accountable for all code decisions. AI-generated content is never presented as human-authored work.