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
//! Execution-environment seam: the kernel-side executor implementations and
//! process primitives.
//!
//! - [`local::LocalExecutor`] — reference [`ToolExecutor`] backed by the local
//! filesystem (`tokio::fs`) and process table (`tokio::process`), built with
//! the `local` feature (default).
//! - [`sandbox::SandboxExecutor`] — stub executor for remote-sandbox execution
//! (`sandbox` feature); every operation fails promptly with
//! [`ExecutorError::UnsupportedKind`] until a real backend lands.
//! - [`file_lock::FileLock`] — cross-process advisory lock for the editing
//! tools' read→modify→write cycle (issue #17).
//!
//! Both features share the same tool bodies and assembly; the composition root
//! picks the executor by feature via [`default_executor`].
use Arc;
use ToolExecutor;
/// The composition-root executor for the built feature set: the local
/// filesystem/process executor for `local` builds, the sandbox stub for
/// `sandbox`-only builds.