check: parity S03 (Pi no resend after output) and S09 (OC2 HTTP effort replay, capacity deadline)

Merged
OA
3h ago
+599-126

Check branch for the full CI matrix before main.


Summary by cubic

Covers parity checks S03 and S09 so the full CI matrix can pass before main: Pi no longer resends a turn that already streamed output, and OpenCode 2 now replays HTTP effort changes at their own user messages and bounds signal-less capacity waits.

Changes

  • Pi holds lifecycle events until an attempt produces text, reasoning, or a tool call, or ends; after output, a failed stream ends with fixed text instead of the provider's error so Pi's agent does not resend it, while pi-ai's own WebSocket recovery is unchanged.
  • OpenCode 2 replays each HTTP effort change at its own user message and lets the HTTP pin restart without affecting the WebSocket opening effort, and aborts signal-less capacity placement after ten minutes.