previewViolations method
The invariant_violations of a grant preview (10 11 point 1): the conflicts with
organization_ready (the agent reports organization among billing_modes_supported)
and the i1Hint.
Implementation
List<JsonMap> previewViolations(Map<String, List<String>> conflicts) => [
for (final c in conflictsJson(conflicts))
{
...c,
'organization_ready':
world.agents[c['agent_id']]?.billingModesSupported?.contains(
'organization',
) ??
false,
'hint': i1Hint,
},
];