Behaviour for pluggable agent harness profiles (H.Harness.Coding, etc.).
A harness defines the profile descriptor, tool modules, and workspace context
bootstrapping (such as AGENTS.md discovery through H.ExecutionEnv).
Follow Author a harness profile on hiness.dev
to register a custom profile.
Summary
Functions
Resolves a harness module from a string ID (defaulting nil to H.Harness.Coding).
Types
Callbacks
@callback bootstrap_agent(H.ExecutionEnv.t(), overrides :: map(), opts :: keyword()) :: {:ok, map()} | {:error, term()}
@callback descriptor() :: descriptor()
@callback id() :: String.t()
Functions
Resolves a harness module from a string ID (defaulting nil to H.Harness.Coding).
Supports custom registrations via opts[:harnesses] as either a %{id => module}
map or a list of H.Harness modules. Never creates atoms from input.