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
// SPDX-License-Identifier: Apache-2.0
//! LeanCTX | Engine extensions: the engine modules above the core, split
//! upward out of the Engine (crate split cut 2, docs/internal/engine-core-split.md).
//!
//! Nothing in the Engine uses these modules; they depend on the Engine
//! library (package lean-ctx-engine, lib `lean_ctx`) and the crates above
//! use them. The moved modules keep their engine paths: the crate root
//! glob-imports the engine and `core` re-exports `lean_ctx::core::*` next
//! to the moved modules, so `crate::core::X`, `crate::test_env` and
//! `super::X` resolve unchanged and each move stays a pure rename.
// Every `unsafe` block must carry a `// SAFETY:` comment justifying soundness.
// The glob keeps `crate::X` paths of the moved modules resolving to the Engine.
use *;
/// Protected GitLab source bootstrap for agent launches.
/// The containment helper test of this crate's unit-test harness, at the path
/// the Engine starts its helpers and guards on (`shell::containment::tests`).
/// The moved sandbox and GitLab bootstrap tests spawn this harness as their
/// guard. The module shadows the glob-imported engine `shell`, so it
/// re-exports the engine paths those tests use next to the helper.