tractor/ai/prompt-io/opencode
Gud Boi 7f2654770a Read WireGuard iface keys through `pyroute2`
Add async `read_wg_pubkey()` and `read_wg_peers()` helpers which
offload `WireGuard.info()` calls to a `trio` worker thread.

Deats,
- add the Linux-only `wg` extra and pin `pyroute2`
- pass `flags=0` so a read never creates a named netns
- normalize multipart replies, validate keys and de-dup peers
- always close the netlink client, including error paths
- test thread offload, netns forwarding and client cleanup

Prompt-IO: ai/prompt-io/opencode/20260821T233204Z_5d92595f_prompt_io.md

(this patch was generated in some part by `opencode` using `gpt-5.6-sol` (`openai`))
2026-08-21 22:21:22 -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
20260818T021729Z_d9a6e2e9_prompt_io.md Add `TunnelledAddress` wrapper primitives 2026-08-18 02:01:30 -04:00
20260818T021729Z_d9a6e2e9_prompt_io.raw.md Add `TunnelledAddress` wrapper primitives 2026-08-18 02:01:30 -04:00
20260818T075031Z_dd02c7c0_prompt_io.md Support nested `wg` maddrs 2026-08-18 23:25:56 -04:00
20260818T075031Z_dd02c7c0_prompt_io.raw.md Support nested `wg` maddrs 2026-08-18 23:25:56 -04:00
20260819T213144Z_f81fc5e5_prompt_io.md Peel tunnels before `Channel` connects 2026-08-19 18:33:49 -04:00
20260819T213144Z_f81fc5e5_prompt_io.raw.md Peel tunnels before `Channel` connects 2026-08-19 18:33:49 -04:00
20260819T213145Z_f81fc5e5_prompt_io.md Peel tunnels before `Endpoint` binding 2026-08-19 21:30:10 -04:00
20260819T213145Z_f81fc5e5_prompt_io.raw.md Peel tunnels before `Endpoint` binding 2026-08-19 21:30:10 -04:00
20260820T021516Z_dfad66a0_prompt_io.md Model bindspaces as scoped capabilities 2026-08-19 22:31:56 -04:00
20260820T021516Z_dfad66a0_prompt_io.raw.md Model bindspaces as scoped capabilities 2026-08-19 22:31:56 -04:00
20260820T033107Z_ba07e09d_prompt_io.md Decode tagged transport addresses 2026-08-20 10:18:54 -04:00
20260820T033107Z_ba07e09d_prompt_io.raw.md Decode tagged transport addresses 2026-08-20 10:18:54 -04:00
20260820T033108Z_ba07e09d_prompt_io.md Emit canonical tagged addresses 2026-08-20 10:42:18 -04:00
20260820T033108Z_ba07e09d_prompt_io.raw.md Emit canonical tagged addresses 2026-08-20 10:42:18 -04:00
20260821T233204Z_5d92595f_prompt_io.md Read WireGuard iface keys through `pyroute2` 2026-08-21 22:21:22 -04:00
20260821T233204Z_5d92595f_prompt_io.raw.md Read WireGuard iface keys through `pyroute2` 2026-08-21 22:21:22 -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.