cep.envelope.v2.2
This document specifies the execution result envelope for cep.envelope.v2.2.
Goals
- One canonical success/failure shape across CLI/HTTP/MCP.
- Stable error structure with explicit codes.
- Machine-parseable
meta(includingrisk) with strict validation.
Required Fields (High Level)
ok: booleanversion: string (MUST be"2.2"forcep.envelope.v2.2)data: any (present on success; may be present on failure as partial output)error: object (present on failure; must includecodeandmessage)meta: object (risk/explain/trace-related fields; must be an object when present)
Optional Context Fields
module: string (transport context)provider: string (transport context)
Notes
- Trace/debug wrappers (for example
compose --trace) are not the pure envelope and must be documented as such.