tractor/ai/prompt-io/opencode
Gud Boi 13ffb13be5 Test SIGINT teardown with stalled IPC transports
Add `examples.advanced_faults.ipc_stalls` and an external
`RootMonitor` so SIGINT delivery and shutdown evidence stay
independent of the stalled actor channels. Exercise six Linux
TCP cases with the `trio` spawner: healthy IPC, context receive,
send, both directions, context cancel send, and both directions
plus the subactor `Portal` cancel send.

Deats,
- Split cancellable send gates from buffered receive gates, and
  require actual parked operations before publishing readiness.
- Keep the OOB context `Channel` distinct from the child-control
  `Portal`; context-only faults retain cooperative child exit.
- Require finite cancel-send expiry, runtime hard-reap logs,
  SIGKILL status and completed `waitpid` for the control fault.
- Bound readiness and shutdown with an independent stdout
  watchdog; rescue cleanup cannot satisfy teardown assertions.
- Use `get_rando_addr()` for unreserved registry port selection,
  raise `TimeoutError` on watchdog expiry, and retain structured
  shutdown evidence through `record_property`.

These waits model cancellable runtime unresponsiveness, not
kernel TCP loss or an uninterruptible syscall. Preserve human
review decisions and historical working-tree verification in
the prompt provenance; exact-tree plan checks remain pending.

Prompt-IO: ai/prompt-io/opencode/20260923_ipc_fault_regressions.md

(this commit msg was generated in some part by `opencode` using
`gpt-6.1-sol` (`openai`))
2026-10-30 13:13:37 -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
20260811T233833Z_7cbd64ee_prompt_io.md Fix `BroadcastReceiver` lag counts 2026-08-27 21:18:00 -04:00
20260811T233833Z_7cbd64ee_prompt_io.raw.md Fix `BroadcastReceiver` lag counts 2026-08-27 21:18:00 -04:00
20260812T012324Z_06c4af17_prompt_io.md Fix `BroadcastState.statistics()` queue counts 2026-08-27 21:18:00 -04:00
20260812T012324Z_06c4af17_prompt_io.raw.md Fix `BroadcastState.statistics()` queue counts 2026-08-27 21:18:00 -04:00
20260812T030608Z_1095e7f7_prompt_io.md Wake broadcast peers on shared receive failures 2026-08-27 21:18:00 -04:00
20260812T030608Z_1095e7f7_prompt_io.raw.md Wake broadcast peers on shared receive failures 2026-08-27 21:18:00 -04:00
20260812T150027Z_c2a6ccef_prompt_io.md Isolate `BroadcastReceiver.aclose()` wakeups 2026-08-27 21:18:00 -04:00
20260812T150027Z_c2a6ccef_prompt_io.raw.md Isolate `BroadcastReceiver.aclose()` wakeups 2026-08-27 21:18:00 -04:00
20260812T213117Z_51185487_prompt_io.md Expose stream subscriber lag policy 2026-08-27 21:18:00 -04:00
20260812T213117Z_51185487_prompt_io.raw.md Expose stream subscriber lag policy 2026-08-27 21:18:00 -04:00
20260813T181901Z_a2e0df4b_prompt_io.md Clean broadcast cancellation diagnostics 2026-08-27 21:18:00 -04:00
20260813T181901Z_a2e0df4b_prompt_io.raw.md Clean broadcast cancellation diagnostics 2026-08-27 21:18:00 -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
20260818T021729Z_d9a6e2e9_prompt_io.md Add `TunnelledAddress` wrapper primitives 2026-09-01 13:31:56 -04:00
20260818T021729Z_d9a6e2e9_prompt_io.raw.md Add `TunnelledAddress` wrapper primitives 2026-09-01 13:31:56 -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
20260818T075031Z_dd02c7c0_prompt_io.md Support nested `wg` maddrs 2026-09-01 13:31:56 -04:00
20260818T075031Z_dd02c7c0_prompt_io.raw.md Support nested `wg` maddrs 2026-09-01 13:31:56 -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
20260819T184640Z_481ba003_prompt_io.md Bind named `to_actor.run()` inputs with partials 2026-08-25 19:20:43 -04:00
20260819T184640Z_481ba003_prompt_io.raw.md Bind named `to_actor.run()` inputs with partials 2026-08-25 19:20:43 -04:00
20260819T213144Z_f81fc5e5_prompt_io.md Peel tunnels before `Channel` connects 2026-09-01 15:21:18 -04:00
20260819T213144Z_f81fc5e5_prompt_io.raw.md Peel tunnels before `Channel` connects 2026-09-01 15:21:18 -04:00
20260819T213145Z_f81fc5e5_prompt_io.md Peel tunnels before `Endpoint` binding 2026-09-01 15:21:18 -04:00
20260819T213145Z_f81fc5e5_prompt_io.raw.md Peel tunnels before `Endpoint` binding 2026-09-01 15:21:18 -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
20260820T021516Z_dfad66a0_prompt_io.md Model bindspaces as scoped capabilities 2026-09-01 15:47:26 -04:00
20260820T021516Z_dfad66a0_prompt_io.raw.md Model bindspaces as scoped capabilities 2026-09-01 15:47:26 -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
20260820T033107Z_ba07e09d_prompt_io.md Decode tagged transport addresses 2026-09-01 15:47:28 -04:00
20260820T033107Z_ba07e09d_prompt_io.raw.md Decode tagged transport addresses 2026-09-01 15:47:28 -04:00
20260820T033108Z_ba07e09d_prompt_io.md Emit canonical tagged addresses 2026-09-01 15:47:28 -04:00
20260820T033108Z_ba07e09d_prompt_io.raw.md Emit canonical tagged addresses 2026-09-01 15:47:28 -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
20260821T023537Z_ae6f2ac3_prompt_io.md Bound `Portal.cancel_actor()` frame sends 2026-08-21 15:03:35 -04:00
20260821T023537Z_ae6f2ac3_prompt_io.raw.md Bound `Portal.cancel_actor()` frame sends 2026-08-21 15:03:35 -04:00
20260821T040803Z_3c1bbe73_prompt_io.md Close late `ActorNursery` registration race 2026-08-21 15:03:35 -04:00
20260821T040803Z_3c1bbe73_prompt_io.raw.md Close late `ActorNursery` registration race 2026-08-21 15:03:35 -04:00
20260821T052052Z_3690e43a_prompt_io.md Retry macOS tests with `pytest-rerunfailures` 2026-08-27 13:43:06 -04:00
20260821T052052Z_3690e43a_prompt_io.raw.md Retry macOS tests with `pytest-rerunfailures` 2026-08-27 13:43:06 -04:00
20260822T022526Z_5562fd9a_prompt_io.md Document canonical `/run-tests` deployment 2026-08-27 19:47:31 -04:00
20260822T022526Z_5562fd9a_prompt_io.raw.md Harden `run-tests` signal and reaper guidance 2026-08-27 18:52:16 -04:00
20260824T222033Z_ce38cb6f_prompt_io.md Share `Context.cancel()` deadline with frame sends 2026-08-24 18:34:19 -04:00
20260824T222033Z_ce38cb6f_prompt_io.raw.md Share `Context.cancel()` deadline with frame sends 2026-08-24 18:34:19 -04:00
20260824T223614Z_88d538e3_prompt_io.md Assert paired `ActorNursery` reap state 2026-08-24 18:50:59 -04:00
20260824T223614Z_88d538e3_prompt_io.raw.md Assert paired `ActorNursery` reap state 2026-08-24 18:50:59 -04:00
20260824T225356Z_2f86dd1a_prompt_io.md Factor `child_in_debug()` state sampling 2026-08-24 19:38:22 -04:00
20260824T225356Z_2f86dd1a_prompt_io.raw.md Factor `child_in_debug()` state sampling 2026-08-24 19:38:22 -04:00
20260824T233957Z_5327b25e_prompt_io.md Use `Aid` keys for child reap state 2026-08-24 21:56:00 -04:00
20260824T233957Z_5327b25e_prompt_io.raw.md Use `Aid` keys for child reap state 2026-08-24 21:56:00 -04:00
20260825T015742Z_e42ecb55_prompt_io.md Clarify provisional child registration 2026-08-24 22:11:15 -04:00
20260825T015742Z_e42ecb55_prompt_io.raw.md Clarify provisional child registration 2026-08-24 22:11:15 -04:00
20260825T021319Z_ce430fca_prompt_io.md Inline `functools.Placeholder` lookup 2026-08-24 22:19:21 -04:00
20260825T021319Z_ce430fca_prompt_io.raw.md Inline `functools.Placeholder` lookup 2026-08-24 22:19:21 -04:00
20260828T003805Z_e40c39da_prompt_io.md Support nested `wg` maddrs 2026-09-01 13:31:56 -04:00
20260828T003805Z_e40c39da_prompt_io.raw.md Support nested `wg` maddrs 2026-09-01 13:31:56 -04:00
20260828T014247Z_d06ee34b_prompt_io.md Reject concurrent `BroadcastReceiver.receive()` calls 2026-08-27 22:11:55 -04:00
20260828T014247Z_d06ee34b_prompt_io.raw.md Reject concurrent `BroadcastReceiver.receive()` calls 2026-08-27 22:11:55 -04:00
20260828T200822Z_0be872ff_prompt_io.md Record PR #512 prompt provenance 2026-08-29 20:10:13 -04:00
20260828T200822Z_0be872ff_prompt_io.raw.md Record PR #512 prompt provenance 2026-08-29 20:10:13 -04:00
20260831T022317Z_768b5316_prompt_io.md Harden the wg LAN example for real hosts 2026-08-31 12:28:19 -04:00
20260831T022317Z_768b5316_prompt_io.raw.md Harden the wg LAN example for real hosts 2026-08-31 12:28:19 -04:00
20260916_ib_disconnect_cleanup.md Notify unfinished `Context` owners on IPC EOF 2026-10-30 13:13:37 -04:00
20260916_ib_disconnect_cleanup.raw.md Keep `Actor.cancel_soon()` in the root nursery 2026-10-30 13:13:37 -04:00
20260919_context_fault_status.md Move ctx state into `ContextStatus` 2026-10-30 13:13:37 -04:00
20260919_context_fault_status.raw.md Move ctx state into `ContextStatus` 2026-10-30 13:13:37 -04:00
20260919_trio_reason_minimum.md Bump `trio` minimum for ctx cancellation reasons 2026-10-30 13:13:37 -04:00
20260919_trio_reason_minimum.raw.md Bump `trio` minimum for ctx cancellation reasons 2026-10-30 13:13:37 -04:00
20260922_context_result_removal.md Drop deprecated `Context.result()` wrapper 2026-10-30 13:13:37 -04:00
20260922_context_result_removal.raw.md Drop deprecated `Context.result()` wrapper 2026-10-30 13:13:37 -04:00
20260923_ipc_fault_regressions.md Test SIGINT teardown with stalled IPC transports 2026-10-30 13:13:37 -04:00
20260923_ipc_fault_regressions.raw.md Test SIGINT teardown with stalled IPC transports 2026-10-30 13:13:37 -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.