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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
//! The retired V10 raw module surface (Feature 020 Slice 4, C5 — the
//! exposure flip). Every module the frozen migration category
//! `v10-01-raw-crate-root-modules` REMOVES from the public crate root is
//! declared here, inside a private wrapper, and re-imported at the crate
//! root with `pub(crate)` visibility — every `crate::X` path in the tree
//! resolves unchanged while `lib.rs`'s public census holds exactly the
//! kept + introduced V11 atoms (`embed`, `server_api`).
//!
//! The `__test-internals` dunder feature (enabled ONLY by this repository's
//! dev-dependency on itself — no supported configuration cell, no default
//! feature, no downstream consumer) swaps the root re-imports to `pub`, so
//! the integration suite keeps naming `symforge::X` without widening any
//! supported cell's public graph.
//!
//! Every `#[path]` below is a same-directory remount the wrapper requires
//! (child files of a non-mod-rs module would otherwise resolve under
//! `src/internals/`); each is allowlisted in the source-splicing sweep.
// Without the door, the wrapped modules' formerly-public items are
// structurally unreachable, and rustc counts an unreachable re-export as an
// unused import and an unreachable pub item as dead code. Suppress those
// lints ONLY in the doorless build. Every LINTING gate must therefore run
// door-open: `cargo test` and `clippy --all-targets` get the door through
// the self dev-dependency, and the CI embed clippy lanes pass
// `--features embed,__test-internals` explicitly (T038 round-1 repair: the
// doorless embed clippy lanes were linting with this blanket allow active,
// disarming unused-import/dead-code detection for the whole engine tree in
// that cell). The doorless `cargo build` lanes stay as compile gates only.
// ── Engine: always compiled (parsing + live_index + query + git + shared base) ──
// The dark lifecycle directory, mounted at the crate root since C5 (the
// campaign's pre-plotted flip: the `#[path]` mount inside `live_index`
// became this declaration; `live_index/mod.rs` aliases it so every
// `crate::live_index::index_lifecycle::` path resolves unchanged).
// Console-flash-free child spawning (CREATE_NO_WINDOW on Windows); used by
// the daemon's helper spawns, worktree listing, PATH-shadow probes, the
// updater, and the integration suite (through the test door). Not
// server-gated: embed-cfg'd test code in git/store/discovery spawns git
// through it.
// Watcher state snapshot types (data only) — used by engine health stats;
// the notify-based watcher runtime lives in the server-gated `watcher`.
// ── Protocol-free STEL storage + calibration seam (D3-ROOT extract-up) ──
// ── Server surface: excluded from `--no-default-features --features embed` ──
// Proactive PATH-shadow detection: warns when a bare `symforge` resolves to
// a different (stale) install than the one we believe we are.
// Transport-agnostic operator server spine (v8): `symforge serve` over /mcp.
// The STEL planner, economics, ledger and status renderers are protocol-free:
// the embedded facade routes them to the same lanes MCP does. Only the rmcp
// tool-list schema (`stel::surface_list`) stays server-only.
// Worktree routing hooks into the protocol edit registry — server-only.