1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//! Execution module for OpenSpec Orchestrator.
//!
//! Provides the common execution logic managed-worktree orchestration uses.
//! This module serves as a foundation for consolidating duplicate implementations
//! of archive, apply, and progress tracking operations.
//!
//! # Module Structure
//!
//! - `types` - Common type definitions (`ExecutionContext`, `ExecutionResult`, `ProgressInfo`)
//! - `archive` - Common archive operation logic (path verification, task completion)
//! - `apply` - Common apply operation logic (iteration control, progress commits)
//! - `index_lock` - Shared managed-worktree `index.lock` evidence primitives
//! - `index_lock_reclaim` - Same-dispatch post-quiescence `index.lock` reclamation
//! - `stage_gate` - Task-complete Apply finalization staging classification
//! - `wip_lock_retry` - Transient WIP snapshot `index.lock` retry policy
//! - `final_commit_lock_retry` - Transient final Apply commit `index.lock` retry policy
pub
pub
// Re-export apply items for convenience.
// Note: Some items are currently unused but will be used as the refactoring progresses
// in parallel/executor.rs and other modules.
// Allow unused_imports as these are public API exports for future use.
pub use ;
// Re-export archive items for convenience.
// Note: Some items are imported directly by modules (tui/orchestrator, parallel/executor)
// to avoid circular dependency issues and to make the import intent clearer.
pub use ;
// Re-export state items for convenience.
pub use ;
// Re-export type items for convenience.
// Note: These are foundation types that are used by apply, archive, and external modules.
pub use ;