Global
Overview
global: is the router-wide override layer.
Unlike signal/, decision/, algorithm/, and plugin/, this section is not route-local. It defines shared runtime behavior, shared backing services, built-in model assets, and shared capability modules.
Key Advantages
- Gives the router one shared place for runtime overrides.
- Avoids duplicating shared backing-service settings across routes.
- Keeps route-local matching in
routing:and runtime-wide behavior inglobal:. - Works with router-owned defaults, so users only override what they need.
What Problem Does It Solve?
Some configuration belongs to the whole router, not to any one route. If that state leaks into route-local config, it becomes harder to reuse routes and harder to understand what is shared versus local.
global: solves that by holding sparse, router-wide overrides on top of built-in defaults.