Expand description
CSpace resolution — determines an agent’s initial capability space from Seed + Config inputs.
The resolution follows a priority chain:
- Explicit cspace hint on the seed → parse and use it.
- Persona role → map known roles to built-in templates.
- Default → fall back to the
workertemplate.
§Example
ⓘ
use oxios_kernel::capability::resolve::resolve_cspace;
use oxios_kernel::types::AgentId;
let cspace = resolve_cspace(None, Some("operator"), None, AgentId::new_v4());
assert!(cspace.len() > 2);Functions§
- resolve_
cspace - Resolve an agent’s initial CSpace from the available context.