piker/ai/prompt-io/claude
Gud Boi 59d5d9a66d .clearing: lazily spawn `brokerd` from `emsd`
Drop the ONE coupling that forces feed + trading eps into
the same actor: `Router.open_trade_relays()` pulling its
trades-dialog portal from `feed.portals[brokermod]`.
Instead `open_brokerd_dialog()` now (maybe) spawns/finds
`brokerd.<broker>` itself via `maybe_spawn_brokerd()` and
ONLY when a live trades-ep will actually be opened; the
paper-mode short-circuit never touches it, so post
feed-cutover paper sessions will run with zero `brokerd`
procs.

Pre-cutover this is a pure refactor: the registry lookup
just finds the same feed-spawned daemon.

Deats,
- new `open_brokerd_dialog()` sig: portal acquisition moves
  inside via an `acquire_live_portal()` helper; keep an
  explicit `portal: Portal|None` override for the
  `piker ledger` cli which boots its own ad-hoc actor.
- `Router.maybe_open_brokerd_dialog()` drops its `portal`
  param; `open_trade_relays()` drops the `feed.portals`
  lookup entirely.
- `.accounting.cli`: pass `portal=` by keyword.

(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/20260610T171226Z_64181219_prompt_io.md
2026-06-10 13:12:59 -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
20260610T171226Z_64181219_prompt_io.md .clearing: lazily spawn `brokerd` from `emsd` 2026-06-10 13:12:59 -04:00
20260610T171226Z_64181219_prompt_io.raw.md .clearing: lazily spawn `brokerd` from `emsd` 2026-06-10 13:12:59 -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.