tractor/ai/prompt-io
Gud Boi 0553fcf88c Reproduce `@context` final-`Return` disconnect cascade
A chart disconnect can leave its context endpoint returning over
a closed channel. Exercise the real `_rpc._invoke()` dispatcher
with loopback TCP and a sibling service to isolate the resulting
`TransportClosed` nursery cancellation.

Deats,
- Order caller close, callee EOF and endpoint completion with
  events instead of timing sleeps or injected transport errors.
- Keep an ordinary-RPC control for existing response hardening.
- Capture the collateral task, actor/PID, nursery, cancel scope
  and cancellation source in a test-generated exception note.
- Record the live IB diagnosis and generated-test provenance.

The ordinary-RPC control passes; the context case remains red
with `ClosedResourceError` wrapped as `TransportClosed`. This
commit establishes the regression before runtime remediation.

Prompt-IO: ai/prompt-io/20261019T140536Z_9a0f220f_final_return_prompt_io.md

(this patch was generated in some part by `opencode` using
`gpt-6.1-sol` (`openai`))
2026-10-19 10:51:17 -04:00
..
claude Pin tpt prompt provenance to immutable refs 2026-08-31 12:27:23 -04:00
opencode Emit canonical tagged addresses 2026-09-01 15:47:28 -04:00
prompts Add `tractor.to_actor` one-shot task API subpkg 2026-08-21 15:03:34 -04:00
20261011T053737Z_a966928d_prompt_io.md Fix built-in level names in `at_least_level()` 2026-10-16 20:31:49 -04:00
20261011T053737Z_a966928d_prompt_io.raw.md Fix built-in level names in `at_least_level()` 2026-10-16 20:31:49 -04:00
20261019T140536Z_9a0f220f_final_return_prompt_io.md Reproduce `@context` final-`Return` disconnect cascade 2026-10-19 10:51:17 -04:00
20261019T140536Z_9a0f220f_final_return_prompt_io.raw.md Reproduce `@context` final-`Return` disconnect cascade 2026-10-19 10:51:17 -04:00
README.md Fix built-in level names in `at_least_level()` 2026-10-16 20:31:49 -04:00

README.md

AI Prompt I/O Log

This directory tracks prompt inputs and model outputs for AI-assisted development across harnesses.

Policy

Prompt logging follows the NLNet generative AI policy. All substantive AI contributions are logged with:

  • Original harness, and provider/model when known
  • 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.

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