Expand description
Provisioner (RFC-041 Phase 4).
Executes SkillInstallSpecs as a privileged kernel operation — the
same pattern the clawhub/skills_sh installers use (tokio::process::Command
directly), NOT the agent-sandbox ExecTool. Per D8, ExecTool’s allowlist
and metacharacter blocking defend against untrusted agent command strings;
here the command is kernel-constructed from a trusted registry spec, so those
defenses are redundant. The security gate is user consent at the API layer
- audit logging + registry-derived command (no free text → no injection).
Covers the package-manager install kinds (brew/node/bun/cargo/
pip/go/uv). The download kind fetches an archive and extracts it.
Structs§
- Install
Output - Outcome of an install attempt.
Functions§
- build_
command - Build the command line for a single spec (no spawn). Used by dry-run + tests.
- install
- Run the first applicable spec from a list (the first whose kind’s manager is
available, else the first spec). Package-manager specs spawn directly;
downloadspecs fetch+extract. - install_
download - Fetch a
downloadspec’s archive and extract it intotarget_dir. - install_
manager - Run a package-manager install spec. Spawns the command directly (D8).