You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This umbrella tracks the 34 issues opened from a parallel-reviewer audit of v2.3.0 spanning security, HTTP transport + concurrency, WebSocket subsystem, models + types + Decimal, resource API surface, performance hot paths, test coverage + contract drift, and docs + DX.
Goal: harden the SDK against the workloads it markets to — real-time orderbook streaming, automated trading, integration into production trading systems.
Reviewer outputs are captured in this orchestrator's agent:// artifacts (one per reviewer). All evidence is cross-referenced inline in each child issue with file:line + verbatim code excerpts.
Tier 1 — Critical / High (release-blocking class)
Correctness or money-impact defects on the hot paths. These should land before the next minor release.
Audit: 2026-05-21 multi-reviewer SDK sweep
This umbrella tracks the 34 issues opened from a parallel-reviewer audit of v2.3.0 spanning security, HTTP transport + concurrency, WebSocket subsystem, models + types + Decimal, resource API surface, performance hot paths, test coverage + contract drift, and docs + DX.
Goal: harden the SDK against the workloads it markets to — real-time orderbook streaming, automated trading, integration into production trading systems.
Reviewer outputs are captured in this orchestrator's
agent://artifacts (one per reviewer). All evidence is cross-referenced inline in each child issue with file:line + verbatim code excerpts.Tier 1 — Critical / High (release-blocking class)
Correctness or money-impact defects on the hot paths. These should land before the next minor release.
Page.to_dataframe/to_polarssilently corrupt Decimal columnsRETRYABLE_STATUS_CODESbatch_create/batch_cancelmust return typed per-leg responses (breaking)subscribe()silently drops unknown params keysstr(should be Decimal/datetime)list_all()capTier 2 — Medium (next minor)
Important correctness, consistency, and DX gaps.
KalshiError(+ tests)base_urlincludes/trade-api/v2path component_map_errorbody buffering (memory + log volume)KalshiTimeoutError+KalshiPoolExhaustedErrororder_group_updatessequence gap has no recovery pathws_ping_interval/ws_close_timeoutviaKalshiConfigKalshiClient.close()shouldn't shut externally-providedKalshiAuthexecutorlimitranges client-side per spec boundsKalshiSequenceGapError+KalshiSubscriptionErrorlack channel/sid contextAuthRequiredErrormessage omitsKALSHI_PRIVATE_KEY_PATH_coerce_decimalsilently accepts bool → cryptic InvalidOperationTier 3 — Polish bundles (opportunistic)
Each is a small atomic refactor; bundled to keep the issue tracker focused.
model_dump_jsonbytes, bench scripts,from_envprecedence test, integration env isolation,KalshiAuth.closeterminality)Suggested release plan
Source
Identified during the 2026-05-21 parallel-reviewer audit (8 subagents: security/auth, HTTP transport + concurrency, WebSocket, models + types, resources, performance hot paths, tests + contract drift, docs + DX).