tractor/ai/prompt-io/opencode
Gud Boi 51a2b7a4f8 Clean failed remote-task startup state
`Actor.start_remote_task()` registers its caller context before
sending `Start`, but only cancellation cleaned that state.
Encoding, ack timeout, malformed ack and remote authorization
errors leaked it.

Protect the complete send, acknowledgement and validation phase.
Track successful publication, make a remote cancellation attempt
only when protocol-safe and always release the local context while
preserving the original startup error.

Cover both pre-publication serialization failure and a remote
`ModuleNotExposed` rejection without damaging a reused portal.

Caught-during: review remediation
Found-via: `/run-tests` startup-failure regressions

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

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

(this patch was generated in some part by `opencode` using `gpt-5.6-sol` (`openai`))
2026-08-18 21:00:26 -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
20260818T193003Z_bf06b4f8_prompt_io.md Bound cancelled remote-task startup 2026-08-18 20:24:56 -04:00
20260818T193003Z_bf06b4f8_prompt_io.raw.md Bound cancelled remote-task startup 2026-08-18 20:24:56 -04:00
20260818T193004Z_bf06b4f8_prompt_io.md Clean failed remote-task startup state 2026-08-18 21:00:26 -04:00
20260818T193004Z_bf06b4f8_prompt_io.raw.md Clean failed remote-task startup state 2026-08-18 21:00:26 -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.