piker/ai/prompt-io
Gud Boi b349332e6b Distinguish websocket receive and relay timeouts
The `proxy_msgs()` deadline covers both `ws.get_message()` and
`snd.send()`. Repeated socket-ready reports with no first relay
could therefore mean either a silent source or a blocked local
consumer; the old generic reset log could not distinguish them.

Track the currently awaited operation and report its phase, URL,
deadline, accumulated timeout count and reset threshold on each
timeout. Snapshot `NoBsWs._timeout` once per iteration so the log
reflects the deadline that actually elapsed. Keep the existing
shared deadline, counter behavior and reconnect policy intact.

Add two real loopback regressions: a silent websocket server and
one payload blocked on an unconsumed zero-capacity Trio relay.
Require the matching timeout phase and URL before the reset budget
is exhausted. The 15 selected Binance/websocket cases pass.

The human observes this after invalid `.usdm.` startup followed
by corrected `.usdtm.` input. Metadata accepts the typo but later
history lookup expects canonical keys. Record that investigation
as context; this diagnostic patch does not fix FQME validation,
failed-startup cleanup or prove the cause of corrected-feed stalls.

Prompt-IO: ai/prompt-io/opencode/20261028T180856Z_032580bf_timeout_phase.md

(this patch was generated in some part by `opencode` using
`gpt-6.1-sol` (`openai`))
2026-11-06 15:40:58 -05:00
..
claude Port service+tests to latest `tractor` APIs 2026-10-07 03:10:41 -04:00
opencode Distinguish websocket receive and relay timeouts 2026-11-06 15:40:58 -05:00
20261007T165453Z_bde2457b_prompt_io.md Fix endpoint config and daemon startup from PR94 review 2026-10-10 14:20:52 -04:00
20261007T165453Z_bde2457b_prompt_io.raw.md Fix endpoint config and daemon startup from PR94 review 2026-10-10 14:20:52 -04:00
20261010T232852Z_1fa45dfa_prompt_io.md Use `tractor`'s reviewed address-unpacking branch 2026-10-11 00:43:06 -04:00
20261010T232852Z_1fa45dfa_prompt_io.raw.md Use `tractor`'s reviewed address-unpacking branch 2026-10-11 00:43:06 -04:00
20261106T185628Z_495c0915_215e9b_prompt_io.md Contain provider failures during SHM gap repair 2026-11-06 15:20:58 -05:00
20261106T185628Z_495c0915_215e9b_prompt_io.raw.md Contain provider failures during SHM gap repair 2026-11-06 15:20:58 -05:00
20261106T201746Z_495c0915_612dfc_prompt_io.md Pin qualified `tractor` and require `trio>=0.34.0` 2026-11-06 15:21:33 -05:00
20261106T201746Z_495c0915_612dfc_prompt_io.raw.md Pin qualified `tractor` and require `trio>=0.34.0` 2026-11-06 15:21:33 -05:00
README.md Contain provider failures during SHM gap repair 2026-11-06 15:20:58 -05:00

README.md

AI Prompt I/O Log

This directory records substantive AI-assisted changes, prompts, original harness identity, and unedited outputs. Human contributors remain accountable for code decisions.

Records follow the NLNet generative AI policy. Each structured entry links its immutable .raw.md partner. Code output uses Git diff references to avoid duplication.