acpEffortSuffix function
The effort suffix tier requires.
GUARD, LOUD: a rung missing from kAcpEffortSuffixByTier refuses instead of falling back to the bare id — an effort nobody declared is exactly the silent downgrade an explicit pin exists to prevent.
Implementation
String acpEffortSuffix(AgentTier tier) =>
kAcpEffortSuffixByTier[tier] ??
(throw StateError(
'no ACP effort suffix is declared for tier "${tier.name}"',
));