Definitively.AgentProfile.Loader (definitively v0.5.0)

Copy Markdown

Load YAML agent profiles from .definitively/agents/.

Summary

Functions

Loads a single agent profile by id from workspace_root/.definitively/agents/<id>.yml.

Functions

load(id, workspace_root)

@spec load(atom() | String.t(), Path.t()) ::
  {:ok, Definitively.Domain.AgentProfile.t()}
  | {:error, Definitively.Spec.Error.t()}

Loads a single agent profile by id from workspace_root/.definitively/agents/<id>.yml.