miyabi_worktree/
lib.rs

1//! Git worktree management for parallel agent execution
2//!
3//! ```text
4//!     ___  ____   _   _ ____  ____  ____  ___
5//!    |___  ||  ) (|_| | |__| ||__  |__   |___
6//!    |   | ||    | | | |  | ||  | |     |___
7//!         WORKTREE MANAGER v2.0
8//! ```
9//!
10//! モジュール構成(新アーキテクチャ):
11//! - 🔧 `git`: Git操作(低レベル)
12//! - ⚡ `concurrency`: 並列実行制御
13//! - 📊 `telemetry`: テレメトリ・監視
14//! - 🎯 `manager`: 高レベルWorktree管理
15//! - 🏊 `pool`: Worktree並列実行プール
16
17pub mod cleanup;
18pub mod concurrency;
19pub mod five_worlds;
20pub mod git;
21pub mod manager;
22pub mod paths;
23pub mod pool;
24pub mod state;
25pub mod telemetry;
26
27// 新モジュールのエクスポート
28pub use cleanup::{CleanupReport, WorktreeCleanupManager, WorktreeCleanupPolicy};
29pub use concurrency::{ConcurrencyController, ConcurrencyStats};
30pub use five_worlds::{FiveWorldsManager, WorldStatistics, WorldWorktreeHandle};
31pub use git::{GitError, GitWorktreeOps};
32pub use paths::{normalize_path, WorktreePaths};
33pub use state::{WorktreeState, WorktreeStateManager, WorktreeStatusDetailed};
34pub use telemetry::{TelemetryCollector, TelemetryStats, WorktreeEvent};
35
36// 既存モジュールのエクスポート
37pub use manager::{WorktreeInfo, WorktreeManager, WorktreeStats, WorktreeStatus};
38pub use pool::{
39    PoolConfig, PoolExecutionResult, PoolStats, TaskResult, TaskStatus, WorktreePool, WorktreeTask,
40};