toolScopeStack top-level constant

List<ToolScope> const toolScopeStack

The scope stack in resolution precedence order, shallow→deep: global, project, session, runtime. Hosts building a resolveToolAvailability scopes: list map over this instead of hand-writing the quadruple. ToolScope.builtin is the implicit capability floor and never a list entry.

Implementation

const toolScopeStack = <ToolScope>[
  ToolScope.global,
  ToolScope.project,
  ToolScope.session,
  ToolScope.runtime,
];