Validates the render-frame boundary before a command batch reaches a frontend.
Semantic render commands must appear between matching begin_frame and commit_frame markers. Only a deliberately small set of setup and side-channel commands may be emitted outside a frame. The manager logs violations before it writes the batch so a producer regression is attributable without inspecting payload content.
Summary
Functions
Formats a validation error using only protocol metadata, never command payloads.
Validates one ordered frontend command batch without inspecting payload data.
Types
Functions
@spec format_error(validation_error()) :: String.t()
Formats a validation error using only protocol metadata, never command payloads.
@spec validate([binary()]) :: :ok | {:error, validation_error()}
Validates one ordered frontend command batch without inspecting payload data.