autoany_core 0.1.0

EGRI microkernel — Evaluator-Governed Recursive Improvement runtime
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::error::Result;
use crate::types::ExecutionResult;

/// Executes a candidate artifact inside the harness.
///
/// Implementations handle the domain-specific execution:
/// - local process spawning
/// - container execution
/// - API calls
/// - simulator invocations
pub trait Executor {
    /// The artifact type this executor operates on.
    type Artifact;

    /// Execute the candidate artifact and return raw results.
    fn execute(&self, artifact: &Self::Artifact) -> Result<ExecutionResult>;
}