Skip to main content

made_core/ports/
execution_profile_resolver.rs

1use crate::error::DomainError;
2use crate::value_objects::ExecutionProfile;
3
4/// Resolves a host-owned execution profile before a delegated claim.
5///
6/// MADE coordinates the claim and records the result; the host owns model
7/// availability and capability negotiation behind this port.
8pub trait ExecutionProfileResolverPort: Send + Sync {
9    fn resolve(&self, profile: &ExecutionProfile) -> Result<ExecutionProfile, DomainError>;
10}