Skip to main content

Module registry

Module registry 

Source
Expand description

Spec registry for loading and querying function specifications.

The registry loads specs from multiple directories with a defined precedence order:

  1. ./saf-specs/*.yaml — project local (highest priority)
  2. ~/.saf/specs/*.yaml — user global
  3. <binary>/../share/saf/specs/*.yaml — shipped defaults
  4. $SAF_SPECS_PATH/*.yaml — explicit override (if set)

Structs§

SpecRegistry
A registry of function specifications.

Enums§

RegistryError
Errors that can occur when loading the registry.