pub fn agent_config(
config: &ServerConfig,
) -> Result<SupervisorConfig, StartError>Expand description
The supervising agent’s configuration, as Server::start composes it.
The template and the assessment schema are written into the assets
directory; the skill is the installed one supervisor.skill_path names, and
every turn runs in the directory holding it — where an installed skill’s
reference/ documents sit, so the links the skill carries resolve from
where the agent stands. The harness is the one supervisor.harness names,
found by name, and a harness this program can sign in is pointed at the
sign-in kept under the state directory.
§Errors
Returns StartError::State when the assets or the sign-in directory
cannot be written, and StartError::Supervisor when the schema it wrote
constrains nothing.