diff --git a/README.md b/README.md index 65cbe43389..1f0f8f5a45 100644 --- a/README.md +++ b/README.md @@ -90,6 +90,7 @@ Runtime command semantics: - Send-failure request errors now include non-Error payload details when available (for clearer diagnostics). - Runtime validates request payloads with shared Zod contracts. - Runtime and renderer both validate critical success payloads with shared contracts to prevent malformed envelope data from entering app state. +- Core transport schemas (provider/agent/todo/terminal/app payloads) are strict objects, so unexpected fields are rejected at the contract boundary. - Runtime successful responses always include `result` (using `null` for void methods) to keep websocket envelopes schema-safe. - Websocket event envelopes are channel-typed (`provider:event`, `agent:output`, `agent:exit`) and validated against shared payload schemas. - Websocket protocol envelopes are strict (unexpected top-level fields are rejected) to keep RPC/event parsing deterministic.