tractor/ai/prompt-io/opencode
Gud Boi a2e0df4ba1 Expose stream subscriber lag policy
`MsgStream.subscribe()` and `LinkedTaskChannel.subscribe()` omitted
`BroadcastReceiver.raise_on_lag`, forcing downstream consumers to
mutate a private receiver attribute when overruns were acceptable.

Add `raise_on_lag` to both public wrappers. The first subscription
sets the irreversible root broadcaster's policy, while every child
selects its own strict or warn/drop/resume behavior independently.

Document both fan-out APIs. Cover policy forwarding plus real IPC
and infected-asyncio paths.

Prompt-IO: ai/prompt-io/opencode/20260812T213117Z_51185487_prompt_io.md

(this patch was generated in some part by `opencode` using `gpt-5.6-sol` (`openai`))
2026-08-13 00:37:07 -04:00
..
20260804T030309Z_65bf9df5_prompt_io.md Wait for ctx exit in `maybe_open_context()` 2026-08-03 23:45:42 -04:00
20260804T030309Z_65bf9df5_prompt_io.raw.md Wait for ctx exit in `maybe_open_context()` 2026-08-03 23:45:42 -04:00
20260811T233833Z_7cbd64ee_prompt_io.md Fix `BroadcastReceiver` lag counts 2026-08-11 19:45:53 -04:00
20260811T233833Z_7cbd64ee_prompt_io.raw.md Fix `BroadcastReceiver` lag counts 2026-08-11 19:45:53 -04:00
20260812T012324Z_06c4af17_prompt_io.md Fix `BroadcastState.statistics()` queue counts 2026-08-11 22:49:23 -04:00
20260812T012324Z_06c4af17_prompt_io.raw.md Fix `BroadcastState.statistics()` queue counts 2026-08-11 22:49:23 -04:00
20260812T030608Z_1095e7f7_prompt_io.md Wake broadcast peers on shared receive failures 2026-08-12 00:51:22 -04:00
20260812T030608Z_1095e7f7_prompt_io.raw.md Wake broadcast peers on shared receive failures 2026-08-12 00:51:22 -04:00
20260812T150027Z_c2a6ccef_prompt_io.md Isolate `BroadcastReceiver.aclose()` wakeups 2026-08-12 17:22:59 -04:00
20260812T150027Z_c2a6ccef_prompt_io.raw.md Isolate `BroadcastReceiver.aclose()` wakeups 2026-08-12 17:22:59 -04:00
20260812T213117Z_51185487_prompt_io.md Expose stream subscriber lag policy 2026-08-13 00:37:07 -04:00
20260812T213117Z_51185487_prompt_io.raw.md Expose stream subscriber lag policy 2026-08-13 00:37:07 -04:00
README.md Wait for ctx exit in `maybe_open_context()` 2026-08-03 23:45:42 -04:00

README.md

AI Prompt I/O Log - OpenCode

This directory tracks prompt inputs and model outputs for AI-assisted development using opencode.

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 workflow. Human contributors remain accountable for all decisions. AI-generated content is never presented as human-authored work.