# kcode-k1-codex-events
Transport-independent decoding for inbound Codex app-server JSON.
`decode` classifies exact unsigned client-response IDs, supported scoped events, resolved requests, global server errors, model reroutes, unsupported requests, ignored notifications, and malformed input. Scope parsing requires consistent string thread and turn IDs. Dynamic calls retain distinct string and numeric JSON-RPC IDs and require every call field.
The crate owns only decoded protocol values and pure helpers. It does not perform process I/O, track conversations or authorization, run actors, or define adapters, turns, or shims. Callers remain responsible for matching response IDs, correlating calls, applying policy, and sending payloads returned by `rejection_payload`.
## 0.2.0 compatibility
Compatible with the Conversations 0.2.0 values split.