pub fn resolve_policy(
declared: &str,
env_raw: Option<&str>,
) -> (SplitkPolicy, bool)Expand description
2026-09-25: The target’s declaration, overridden by a parseable
METRALE_ATTN_DECODE_SPLITK. An unparseable declaration is Legacy.
Returns (policy, came_from_env). Both the dispatch (metrale-model-layers
target_defaults::resolve) and the workspace sizing (via
policy_from_env) call this, so the split count a launch uses and the
one the workspace was sized for come from the same rule.