pub fn validate_agent_commands(
config: &Config,
registry: &AgentRegistry,
developer_agent: &str,
reviewer_agent: &str,
config_path: &Path,
) -> Result<()>Expand description
Validates that agent commands exist in the registry.
Checks that both developer and reviewer agents have valid commands defined either in the config or the registry.
§Arguments
config- The pipeline configurationregistry- The agent registrydeveloper_agent- Name of the developer agentreviewer_agent- Name of the reviewer agentconfig_path- Path to the unified config file for error messages
§Returns
Returns Ok(()) if validation passes, or an error with details.