piker/ai/prompt-io/opencode
Gud Boi efa72980f8 Raise on IB socket disconnects in proxy and trades
Propagate the authoritative `disconnectedEvent` as a
`ConnectionError` so proxy callers and trade consumers fail loudly
instead of waiting on a dead socket. Preserve the last `apiError`
text as the reason without treating numeric farm/order errors as
socket failures.

Deats,
- Disconnect the one-shot callback before sending the exception.
- Raise when `recv_trade_updates()` loses its socket, and relay
  disconnect exceptions through both Trio-side consumers.
- Exercise real `eventkit` error/disconnect callbacks and preserve
  the supplied commission fill while testing bridge termination.
- Record the aborted integration stage as historical provenance;
  its test passes do not validate this post-abort boundary.

Prompt-IO: ai/prompt-io/opencode/20260916_ib_connectivity_integration.md

(this patch was generated in some part by `opencode` using
`gpt-6-astra` (`openai`))
2026-09-17 18:24:17 -04:00
..
20260721T205228Z_58ffe487_prompt_io.md Share piker skills across coding harnesses 2026-07-21 17:09:07 -04:00
20260721T205228Z_58ffe487_prompt_io.raw.md Share piker skills across coding harnesses 2026-07-21 17:09:07 -04:00
20260721T215055Z_c6ec3d41_prompt_io.md Plan gap-checker and backfiller repairs 2026-07-24 18:33:06 -04:00
20260721T215055Z_c6ec3d41_prompt_io.raw.md Plan gap-checker and backfiller repairs 2026-07-24 18:33:06 -04:00
20260722T001357Z_16f3cd6f_prompt_io.md .tsp: normalize gaps after sorted dedupe 2026-07-24 18:33:06 -04:00
20260722T001357Z_16f3cd6f_prompt_io.raw.md .tsp: normalize gaps after sorted dedupe 2026-07-24 18:33:06 -04:00
20260722T001358Z_16f3cd6f_prompt_io.md `.tsp._history`: drop orphaned backfill events 2026-07-24 18:33:06 -04:00
20260722T001358Z_16f3cd6f_prompt_io.raw.md `.tsp._history`: drop orphaned backfill events 2026-07-24 18:33:06 -04:00
20260722T024133Z_3a4f6737_prompt_io.md .tsp: report non-positive timestamp steps 2026-07-24 18:33:06 -04:00
20260722T024133Z_3a4f6737_prompt_io.raw.md .tsp: report non-positive timestamp steps 2026-07-24 18:33:06 -04:00
20260722T024134Z_3a4f6737_prompt_io.md Make `NativeDB` backfills atomic and non-destructive 2026-07-24 18:33:06 -04:00
20260722T024134Z_3a4f6737_prompt_io.raw.md Make `NativeDB` backfills atomic and non-destructive 2026-07-24 18:33:06 -04:00
20260724T220156Z_43d7a3ed_prompt_io.md Add Piker `/run-tests` harness 2026-07-24 18:22:12 -04:00
20260724T220156Z_43d7a3ed_prompt_io.raw.md Add Piker `/run-tests` harness 2026-07-24 18:22:12 -04:00
20260727T204711Z_84a6d47b_prompt_io.md Drop redundant `NativeDB` writer locks 2026-07-27 16:58:00 -04:00
20260727T204711Z_84a6d47b_prompt_io.raw.md Drop redundant `NativeDB` writer locks 2026-07-27 16:58:00 -04:00
20260727T212454Z_689df816_prompt_io.md Normalize provider OHLCV for `NativeDB` 2026-07-27 18:08:33 -04:00
20260727T212454Z_689df816_prompt_io.raw.md Normalize provider OHLCV for `NativeDB` 2026-07-27 18:08:33 -04:00
20260727T215906Z_689df816_prompt_io.md Clean test-owned SHM leaks in `pytest` 2026-07-27 18:09:03 -04:00
20260727T215906Z_689df816_prompt_io.raw.md Clean test-owned SHM leaks in `pytest` 2026-07-27 18:09:03 -04:00
20260728T003247Z_ed85721c_prompt_io.md Add `xonsh` backfill qualification workflow 2026-07-28 19:41:55 -04:00
20260728T003247Z_ed85721c_prompt_io.raw.md Add `xonsh` backfill qualification workflow 2026-07-28 19:41:55 -04:00
20260728T005034Z_ed85721c_prompt_io.md Add raw OHLCV audit to `NativeDB` 2026-07-28 19:38:50 -04:00
20260728T005034Z_ed85721c_prompt_io.raw.md Add raw OHLCV audit to `NativeDB` 2026-07-28 19:38:50 -04:00
20260728T232718Z_ed85721c_prompt_io.md Repair legacy timestamps in `NativeDB` merges 2026-07-28 19:37:15 -04:00
20260728T232718Z_ed85721c_prompt_io.raw.md Repair legacy timestamps in `NativeDB` merges 2026-07-28 19:37:15 -04:00
20260729T034106Z_922a5df8_prompt_io.md Use IB UTC syntax for history `endDateTime` 2026-07-28 23:44:15 -04:00
20260729T034106Z_922a5df8_prompt_io.raw.md Use IB UTC syntax for history `endDateTime` 2026-07-28 23:44:15 -04:00
20260729T041723Z_ce33deb6_prompt_io.md Repair first-slot OHLC sentinels in `NativeDB` 2026-07-29 13:30:51 -04:00
20260729T041723Z_ce33deb6_prompt_io.raw.md Repair first-slot OHLC sentinels in `NativeDB` 2026-07-29 13:30:51 -04:00
20260729T185406Z_d359b1cb_prompt_io.md Guard `ldshm` from invalid SHM snapshots 2026-07-29 15:07:50 -04:00
20260729T185406Z_d359b1cb_prompt_io.raw.md Guard `ldshm` from invalid SHM snapshots 2026-07-29 15:07:50 -04:00
20260729T204046Z_ad6c560f_prompt_io.md Repair IB startup gaps in `ShmArray` 2026-07-29 16:46:52 -04:00
20260729T204046Z_ad6c560f_prompt_io.raw.md Repair IB startup gaps in `ShmArray` 2026-07-29 16:46:52 -04:00
20260731T165215Z_0846cbd4_prompt_io.md Expose storage state through `piker store` 2026-07-31 17:26:11 -04:00
20260731T165215Z_0846cbd4_prompt_io.raw.md Expose storage state through `piker store` 2026-07-31 17:26:11 -04:00
20260801T015321Z_74ea2152_prompt_io.md Simplify `store` series and SHM discovery 2026-08-01 00:34:55 -04:00
20260801T015321Z_74ea2152_prompt_io.raw.md Simplify `store` series and SHM discovery 2026-08-01 00:34:55 -04:00
20260805T195001Z_f0f3c806_prompt_io.md Fix sparse IB history prepends in `ShmArray` 2026-08-05 19:40:07 -04:00
20260805T195001Z_f0f3c806_prompt_io.raw.md Fix sparse IB history prepends in `ShmArray` 2026-08-05 19:40:07 -04:00
20260811T205826Z_06d5ea5d_prompt_io.md Fix IB `MethodProxy` response routing 2026-08-11 18:46:23 -04:00
20260811T205826Z_06d5ea5d_prompt_io.raw.md Fix IB `MethodProxy` response routing 2026-08-11 18:46:23 -04:00
20260814T032716Z_2aa66c2c_prompt_io.md Own gap overlays in chart-local `GapOverlayMngr` 2026-08-14 19:03:11 -04:00
20260814T032716Z_2aa66c2c_prompt_io.raw.md Own gap overlays in chart-local `GapOverlayMngr` 2026-08-14 19:03:11 -04:00
20260817T222036Z_f65df6a1_prompt_io.md Test gap dialogs through a real `tractor` actor 2026-08-17 19:11:03 -04:00
20260817T222036Z_f65df6a1_prompt_io.raw.md Test gap dialogs through a real `tractor` actor 2026-08-17 19:11:03 -04:00
20260818T064340Z_09ddcf50_prompt_io.md Plan repository-wide branch landing order 2026-08-18 12:47:30 -04:00
20260818T064340Z_09ddcf50_prompt_io.raw.md Plan repository-wide branch landing order 2026-08-18 12:47:30 -04:00
20260826T222600Z_5f631e19_prompt_io.md Fix Binance USD-M websocket routing 2026-08-26 19:24:37 -04:00
20260826T222600Z_5f631e19_prompt_io.raw.md Fix Binance USD-M websocket routing 2026-08-26 19:24:37 -04:00
20260828T013057Z_6ca6ab2a_prompt_io.md Fix `SymbologyCache.search()` key matching 2026-08-27 23:11:43 -04:00
20260828T013057Z_6ca6ab2a_prompt_io.raw.md Fix `SymbologyCache.search()` key matching 2026-08-27 23:11:43 -04:00
20260828T021411Z_6ca6ab2a_prompt_io.md Add `piker-clearing-expert` skill 2026-08-27 23:24:54 -04:00
20260828T021411Z_6ca6ab2a_prompt_io.raw.md Add `piker-clearing-expert` skill 2026-08-27 23:24:54 -04:00
20260828T063126Z_1606122b_prompt_io.md Fix string errors in `.ib.broker` relay 2026-08-28 02:52:12 -04:00
20260828T063126Z_1606122b_prompt_io.raw.md Fix string errors in `.ib.broker` relay 2026-08-28 02:52:12 -04:00
20260828T195032Z_9115d24d_prompt_io.md Target FSP history graphics by SHM token 2026-09-01 22:07:22 -04:00
20260828T195032Z_9115d24d_prompt_io.raw.md Target FSP history graphics by SHM token 2026-09-01 22:07:22 -04:00
20260903T232525Z_fadab3d2_prompt_io.md Honor M4 renderer cache invalidation 2026-09-15 12:49:53 -04:00
20260903T232525Z_fadab3d2_prompt_io.raw.md Honor M4 renderer cache invalidation 2026-09-15 12:49:53 -04:00
20260908T020619Z_fadab3d2_prompt_io.md Formalize `FspStream` and fix builtin call contracts 2026-09-15 12:17:02 -04:00
20260908T020619Z_fadab3d2_prompt_io.raw.md Formalize `FspStream` and fix builtin call contracts 2026-09-15 12:17:02 -04:00
20260916T194052Z_749ca1f0_prompt_io.md Fix IB fill accounting by execution identity 2026-09-16 17:12:01 -04:00
20260916T194052Z_749ca1f0_prompt_io.raw.md Fix IB fill accounting by execution identity 2026-09-16 17:12:01 -04:00
20260916_ib_connectivity_integration.md Raise on IB socket disconnects in proxy and trades 2026-09-17 18:24:17 -04:00
20260916_ib_connectivity_integration.raw.md Raise on IB socket disconnects in proxy and trades 2026-09-17 18:24:17 -04:00
README.md Share piker skills across coding harnesses 2026-07-21 17:09:07 -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. Substantive AI contributions are logged with the model, timestamp, prompt, response, and affected files.

Usage

Entries are created by the prompt-io skill. Human contributors remain accountable for all code decisions; AI-generated content is not presented as human-authored work.