Expand description
Layered loader that composes the final SubagentProfileRegistry.
Layers (each later one overrides earlier entries by id):
- Built-in profiles (
super::builtin::builtin_profiles). - User global config:
<bamboo_data_dir>/subagent_profiles.json. - Project-level config:
<workspace>/.bamboo/subagent_profiles.json(only loaded when a workspace path is provided). - Env override:
BAMBOO_SUBAGENT_PROFILES_FILE=<path>if set.
Missing files are silently skipped; malformed JSON returns
LoaderError::Parse so misconfiguration is surfaced loudly.
Enums§
Constants§
- CONFIG_
FILE_ NAME - File name used for both the user-global and project-level config layers.
- ENV_
OVERRIDE_ FILE - Environment variable name for ad-hoc override files.
Functions§
- load_
registry - Build the merged
SubagentProfileRegistry.