Most-restrictive-wins (hooks-mux default)
merge-policy:most-restrictive
MergePolicychannels-hooks/merge-policies/most-restrictive.yaml·Open in Graph → {
"id": "merge-policy:most-restrictive",
"_kind": "MergePolicy",
"_file": "channels-hooks/merge-policies/most-restrictive.yaml",
"_cluster": "channels-hooks",
"attributes": {
"displayName": "Most-restrictive-wins (hooks-mux default)",
"decisionRule": "most-restrictive-wins",
"envMergeRule": "deep-merge",
"systemMessageStrategy": "concatenate",
"arraysMergeRule": "replace",
"description": "The default hooks-mux merge policy. The decision verb collapses by\nmost-restrictive-wins (deny < ask < allow < continue < noop). Plain\nobjects (persistEnv, contextVars, metadata) are deep-merged with later\nhandlers overwriting earlier ones at conflicting leaves; arrays are\nreplaced wholesale rather than concatenated. systemMessage strings are\nconcatenated across handlers in registration order.\n"
},
"outgoingEdges": [],
"incomingEdges": [
{
"from": "hook-surface:decision-point",
"to": "merge-policy:most-restrictive",
"kind": "uses_merge_policy",
"attributes": {}
}
]
}