Define Protocol

Compile a clinical protocol definition. Returns rule count, protocol ID, and integrity fingerprint.

Protocol Format

Supported formats: compiled node graph (with nodes + entry_node) or simple rule list (with rules). Both are compiled to a deterministic selector machine with an integrity fingerprint.