Expand description
Process and filesystem execution boundaries for workflow runs.
ReplicateExecutor starts the current executable once per replicate and
gives every worker a ReplicateContext containing its isolated scope and
lazy seed deriver. ExecutionScope owns the directory lifecycle:
- creation mode (
open_or_create,create_generated,create_named), - path derivation for per-task recordings,
- and opening of previously used scopes.
§Boundary
This module owns only process-level replicate isolation and filesystem scopes. It does not define task policies, phase scheduling, artifact identity rules, or payload serialization. The downstream caller owns those concerns and consumes the contexts and directories this module provides.
Structs§
- Execution
Scope - One created or reopened study-execution directory.
- Replicate
Context - Immutable identity and output scope for one replicate worker process.
- Replicate
Executor - Controller that dispatches the current executable once per declared replicate.
Enums§
- Execution
Scope Error - Failure while validating or creating an execution-directory scope.
- Replicate
Execution Error - Failure while dispatching or entering a replicate subprocess.