11. Extension Mechanism
MMP is designed for extensibility. Extensions add new frame types, handshake fields, or protocol behaviours without modifying the core specification.
11.1 Extension Registration
Extensions are advertised via the extensions field in the handshake frame. A node MUST ignore extensions it does not recognise. A node MUST NOT require a peer to support any extension.
11.2 Frame Type Naming
Core types (this specification): MUST NOT be redefined by extensions.Extension types: MUST use <extension>-<name> format (e.g., consent-withdraw).Vendor types: MUST use x-<vendor>-<name> format. Vendor types MUST be silently ignored by non-supporting nodes.
11.3 Extension Negotiation
If both peers advertise the same extension in handshake, it is active. If only one peer advertises it, the extension is NOT active — the advertising peer MUST NOT send extension-specific frames to a peer that does not support them.
11.4 Published Extensions
| Extension | Status | Specification |
|---|---|---|
| consent-v0.1 | Draft | MMP Consent Extension |