symfonic.core.roles¶
roles ¶
Canonical role-name constants.
v7.9.0 introduced :attr:FrameworkConfig.role_models keyed by role
name; v7.9.5 routed the force-introspector through the same role
resolver; v7.11.0 adds :attr:FrameworkConfig.role_tools consumed
via :class:ToolPaletteResolver. All three sites need to agree on
the SAME role string, otherwise model selection and tool palette
diverge -- exactly the "introspect the wrong source of truth" bug
class (v7.7.6 / v7.7.7 / v7.9.3 / v7.9.5).
Use these constants instead of string literals at call sites so the agreement is enforced by symbol resolution rather than string equality.