tractor/ai/prompt-io/opencode
Gud Boi 754458ee7d Centralize `Context` registry removal
Derive the `Actor._contexts` key from each `Context` in one
idempotent `Actor._drop_context()` helper instead of reconstructing
the peer UID and CID at every teardown site.

Use the helper for caller-side context exit and preserve a strict
identity assertion when the callee-side RPC task deregisters
itself. Keep channel closure and cancellation shielding with their
existing lifecycle owners.

Caught-during: review remediation
Found-via: staged P2 lifecycle review

Review: PR #481 (opencode)
https://github.com/goodboy/tractor/pull/481#pullrequestreview-4956692120

Prompt-IO: ai/prompt-io/opencode/20260818T193002Z_bf06b4f8_prompt_io.md

(this patch was generated in some part by `opencode` using `gpt-5.6-sol` (`openai`))
2026-08-18 20:21:55 -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-18 01:58:45 -04:00
20260818T031532Z_4151b956_prompt_io.raw.md Reap `to_actor.run()` children before return 2026-08-18 01:58:45 -04:00
20260818T193001Z_bf06b4f8_prompt_io.md Close interrupted `MsgTransport.send()` streams 2026-08-18 20:21:10 -04:00
20260818T193001Z_bf06b4f8_prompt_io.raw.md Close interrupted `MsgTransport.send()` streams 2026-08-18 20:21:10 -04:00
20260818T193002Z_bf06b4f8_prompt_io.md Centralize `Context` registry removal 2026-08-18 20:21:55 -04:00
20260818T193002Z_bf06b4f8_prompt_io.raw.md Centralize `Context` registry removal 2026-08-18 20:21:55 -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.