pub fn eval_graduated_capacity(
competence: GraduatedCompetence,
endorsements: &[KinshipEndorsement],
min_endorsement_weight: f32,
required_quorum: usize,
elder_veto: bool,
) -> CapacityStatusExpand description
Evaluate graduated capacity under Gillick competence and supported decision-making.
Rules:
- If an authorized elder or parent asserts an active veto (
elder_veto == true), capacity isUnderDuress(voidable / suspended) to safeguard the dependent. - If the agent’s individual
understanding_score >= decision_complexity, they possess autonomous Gillick competence (CapacityStatus::Intact). - If individual competence is insufficient, supported decision-making is evaluated:
endorsers with
weight >= min_endorsement_weightare counted. If the count reachesrequired_quorumand the collective support bridges the gap, returnsCapacityStatus::Intact. - Otherwise returns
CapacityStatus::Impaired.