Closing any subscriber set the shared `recv_ready` event, even when another receiver owned the source read. Waiting peers then looped until an idle source produced another value. Give each receiver private source-read and peer-wait cancellation scopes. Closing a waiting peer interrupts only that peer. Closing the source owner discards post-close source outcomes and then wakes peers for a clean ownership handoff. Keep outer task cancellation as `trio.Cancelled`; only explicit receiver close maps either private scope's cancellation to `ClosedResourceError`. Assert that scope cancellation implies the receiver is closed and document the source-owner key check. Prompt-IO: ai/prompt-io/opencode/20260812T150027Z_c2a6ccef_prompt_io.md (this patch was generated in some part by `opencode` using `gpt-5.6-sol` (`openai`)) |
||
|---|---|---|
| .. | ||
| 20260804T030309Z_65bf9df5_prompt_io.md | ||
| 20260804T030309Z_65bf9df5_prompt_io.raw.md | ||
| 20260811T233833Z_7cbd64ee_prompt_io.md | ||
| 20260811T233833Z_7cbd64ee_prompt_io.raw.md | ||
| 20260812T012324Z_06c4af17_prompt_io.md | ||
| 20260812T012324Z_06c4af17_prompt_io.raw.md | ||
| 20260812T030608Z_1095e7f7_prompt_io.md | ||
| 20260812T030608Z_1095e7f7_prompt_io.raw.md | ||
| 20260812T150027Z_c2a6ccef_prompt_io.md | ||
| 20260812T150027Z_c2a6ccef_prompt_io.raw.md | ||
| README.md | ||
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.mdfiles)
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.