Skip to main content

Module decision

Module decision 

Source
Expand description

Decision mode domain types.

These plain data structs model the Decision mode’s accumulated state. They live in core (rather than in macp-modes) because the crate::policy evaluation trait names them: evaluate_decision_commitment inspects a DecisionState. Keeping them here lets macp-policy evaluate decisions without depending on macp-modes, breaking the historical mode<->policy cycle.

Structs§

DecisionState
Evaluation
Objection
Proposal
Vote

Enums§

DecisionPhase