pub enum MergePolicy {
Conjunction,
Disjunction,
}Expand description
How the agent combines verdicts when several installed protocols declare a step for the same performative.
Variants§
Conjunction
Strictest verdict wins: any Reject rejects, any Pending/Buffered
short-circuits before Accept. This is the fail-closed default and
matches the live verification path the parser pipeline uses.
Disjunction
A single Accept is enough to apply the message. Reject only fires
when every matching protocol rejects; otherwise Pending/Buffered
is preserved if no protocol accepted. Useful when multiple protocols
represent alternative permitted behaviours rather than a stack of
constraints to satisfy together.
Security surface. Disjunction widens trust: with mixed-trust
dialects, an attacker who can install one permissive protocol can
override another protocol’s rejection. Only opt in when every
installable dialect is trusted to the same level — typically when
they originated from the same authority or were verified by R4.
The pipeline (run_pipeline_full) is conjunction-only and remains
the right entry point for receive-side fail-closed enforcement.