Are you an LLM? You can read better optimized documentation at /protocols/rpc/conformance.md for this page in Markdown format
RPC Conformance
Authority: Supporting (Test specification)
Purpose: Test vectors and validation checklist for RPC implementations.
Status: Stub — This document is non-authoritative until content is added.
See tracking issue for progress.
Scope
This document will cover:
- Envelope encoding round-trip tests
- Subject validation tests
- Correlation matching tests
- Timeout behavior tests
- Error handling tests
Envelope Validation
- [ ]
RpcRequestMUST havet: "r",m, andcid - [ ]
RpcSuccessMUST havet: "R"andcid - [ ]
RpcErrorMUST havet: "E",code,message, andcid - [ ]
RpcNotificationMUST havet: "N"ande
Subject-Envelope Validation
- [ ]
t:"r",t:"R",t:"E"envelopes MUST userpcchannel - [ ]
t:"N"envelopes MUST useeventchannel - [ ] Mismatched envelopes MUST be dropped (log recommended)
- [ ] Rejection is non-fatal (continue processing subsequent frames)
- [ ] Subject format rules are validated by SBP (see SBP Behavior)
Error Handling
- [ ] Valid
RpcErrorresponse MUST NOT close transport
Test Vectors
To be added.