tractor/ai/prompt-io/opencode
Gud Boi 086962ca36 Preserve cancellation over shielded `send_all()` errors
The frame-publication shield added in `88a23449` checks for
pending cancellation only after a successful write. If actor
teardown closes the stream first, `ClosedResourceError` escaped
as `TransportClosed` and could defeat the caller's cancel scope.

Check for pending cancellation on the transport-error path before
normalizing the close. Genuine stream errors retain their existing
translation when no cancellation is active.

The cancellation-first path can swap which nested debugger
intermediary renders as the immediate source vs. relay. Keep
assertions over both actor levels while accepting either valid role.

Prompt-IO: ai/prompt-io/opencode/20260820T143845Z_559fd0f1_prompt_io.md

(this patch was generated in some part by `opencode` using
`gpt-5.6-sol` (`openai`))
2026-08-21 15:03:34 -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
20260817T231825Z_359fe75c_prompt_io.md Restore IPC transport style conventions 2026-08-17 19:37:44 -04:00
20260817T231825Z_359fe75c_prompt_io.raw.md Restore IPC transport style conventions 2026-08-17 19:37:44 -04:00
20260818T031532Z_4151b956_prompt_io.md Reap `to_actor.run()` children before return 2026-08-21 15:03:34 -04:00
20260818T031532Z_4151b956_prompt_io.raw.md Reap `to_actor.run()` children before return 2026-08-21 15:03:34 -04:00
20260818T193001Z_bf06b4f8_prompt_io.md Close interrupted `MsgTransport.send()` streams 2026-08-21 15:03:34 -04:00
20260818T193001Z_bf06b4f8_prompt_io.raw.md Close interrupted `MsgTransport.send()` streams 2026-08-21 15:03:34 -04:00
20260818T193002Z_bf06b4f8_prompt_io.md Centralize `Context` registry removal 2026-08-21 15:03:34 -04:00
20260818T193002Z_bf06b4f8_prompt_io.raw.md Centralize `Context` registry removal 2026-08-21 15:03:34 -04:00
20260818T193003Z_bf06b4f8_prompt_io.md Bound cancelled remote-task startup 2026-08-21 15:03:34 -04:00
20260818T193003Z_bf06b4f8_prompt_io.raw.md Bound cancelled remote-task startup 2026-08-21 15:03:34 -04:00
20260818T193004Z_bf06b4f8_prompt_io.md Clean failed remote-task startup state 2026-08-21 15:03:34 -04:00
20260818T193004Z_bf06b4f8_prompt_io.raw.md Clean failed remote-task startup state 2026-08-21 15:03:34 -04:00
20260818T193005Z_bf06b4f8_prompt_io.md Use linked contexts in `to_actor.run()` 2026-08-21 15:03:34 -04:00
20260818T193005Z_bf06b4f8_prompt_io.raw.md Use linked contexts in `to_actor.run()` 2026-08-21 15:03:34 -04:00
20260819T020757Z_b38efed7_prompt_io.md Reject misplaced empty `runtime_kwargs` 2026-08-21 15:03:34 -04:00
20260819T020757Z_b38efed7_prompt_io.raw.md Reject misplaced empty `runtime_kwargs` 2026-08-21 15:03:34 -04:00
20260819T234823Z_557065d8_prompt_io.md Harden debugger teardown assertions 2026-08-21 15:03:34 -04:00
20260819T234823Z_557065d8_prompt_io.raw.md Harden debugger teardown assertions 2026-08-21 15:03:34 -04:00
20260819T234824Z_557065d8_prompt_io.md Complete IPC frames before sender cancellation 2026-08-21 15:03:34 -04:00
20260819T234824Z_557065d8_prompt_io.raw.md Complete IPC frames before sender cancellation 2026-08-21 15:03:34 -04:00
20260820T023004Z_88a23449_prompt_io.md Skip nested crash REPL on macOS CI 2026-08-21 15:03:34 -04:00
20260820T023004Z_88a23449_prompt_io.raw.md Skip nested crash REPL on macOS CI 2026-08-21 15:03:34 -04:00
20260820T023005Z_88a23449_prompt_io.md Showcase `to_actor.run()` across docs 2026-08-21 15:03:34 -04:00
20260820T023005Z_88a23449_prompt_io.raw.md Showcase `to_actor.run()` across docs 2026-08-21 15:03:34 -04:00
20260820T135125Z_9f99043b_prompt_io.md Fix macOS CI `skipif` condition 2026-08-21 15:03:34 -04:00
20260820T135125Z_9f99043b_prompt_io.raw.md Fix macOS CI `skipif` condition 2026-08-21 15:03:34 -04:00
20260820T143845Z_559fd0f1_prompt_io.md Preserve cancellation over shielded `send_all()` errors 2026-08-21 15:03:34 -04:00
20260820T143845Z_559fd0f1_prompt_io.raw.md Preserve cancellation over shielded `send_all()` errors 2026-08-21 15:03:34 -04:00
20260820T150250Z_9afda1c6_prompt_io.md Fix send-side `MsgTypeError` rendering 2026-08-20 11:57:39 -04:00
20260820T150250Z_9afda1c6_prompt_io.raw.md Fix send-side `MsgTypeError` rendering 2026-08-20 11:57:39 -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.