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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
// ---------------------------------------------------------------------------
// Domain: Compression
// ---------------------------------------------------------------------------
pub mod adaptive_chunking;
pub mod codebook;
pub mod compression_safety;
pub mod compressor;
pub mod entropy;
pub mod information_bottleneck;
pub mod pop_pruning;
pub mod preservation;
pub mod process_guard;
pub mod progressive_compression;
pub mod rabin_karp;
pub mod rules_canonical;
pub mod structural_tokenizer;
/// Convenience re-export: all compression-related modules.
pub mod compression {
pub use super::adaptive_chunking;
pub use super::codebook;
pub use super::compression_safety;
pub use super::compressor;
pub use super::entropy;
pub use super::information_bottleneck;
pub use super::pop_pruning;
pub use super::preservation;
pub use super::progressive_compression;
pub use super::rabin_karp;
pub use super::structural_tokenizer;
}
// ---------------------------------------------------------------------------
// Domain: Memory
// ---------------------------------------------------------------------------
pub mod episodic_memory;
pub mod memory_boundary;
pub mod memory_consolidation;
pub mod memory_guard;
pub mod memory_lifecycle;
pub mod memory_policy;
pub mod procedural_memory;
pub mod prospective_memory;
/// Convenience re-export: all memory-related modules.
pub mod memory {
pub use super::episodic_memory;
pub use super::memory_boundary;
pub use super::memory_consolidation;
pub use super::memory_lifecycle;
pub use super::memory_policy;
pub use super::procedural_memory;
pub use super::prospective_memory;
}
// ---------------------------------------------------------------------------
// Domain: Graph
// ---------------------------------------------------------------------------
pub mod call_graph;
pub mod community;
pub mod gamma_cover;
pub mod graph_context;
pub mod graph_enricher;
pub mod graph_export;
pub mod graph_features;
pub mod graph_index;
pub mod graph_provider;
pub mod pagerank;
pub mod property_graph;
/// Convenience re-export: all graph-related modules.
pub mod graph {
pub use super::call_graph;
pub use super::community;
pub use super::gamma_cover;
pub use super::graph_context;
pub use super::graph_enricher;
pub use super::graph_export;
pub use super::graph_features;
pub use super::graph_index;
pub use super::graph_provider;
pub use super::pagerank;
pub use super::property_graph;
}
// ---------------------------------------------------------------------------
// Domain: Context
// ---------------------------------------------------------------------------
pub mod context_artifacts;
pub mod context_compiler;
pub mod context_deficit;
pub mod context_field;
pub mod context_handles;
pub mod context_ir;
pub mod context_ledger;
pub mod context_os;
pub mod context_overlay;
pub mod context_package;
pub mod context_policies;
pub mod context_proof;
pub mod context_proof_v2;
pub mod context_radar;
/// Convenience re-export: all context-related modules.
pub mod context {
pub use super::context_artifacts;
pub use super::context_compiler;
pub use super::context_deficit;
pub use super::context_field;
pub use super::context_handles;
pub use super::context_ir;
pub use super::context_ledger;
pub use super::context_os;
pub use super::context_overlay;
pub use super::context_package;
pub use super::context_policies;
pub use super::context_proof;
pub use super::context_proof_v2;
}
// ---------------------------------------------------------------------------
// Domain: Knowledge
// ---------------------------------------------------------------------------
pub mod claim_extractor;
pub mod knowledge;
pub mod knowledge_bootstrap;
pub mod knowledge_embedding;
pub mod knowledge_relations;
/// Convenience re-export: all knowledge-related modules.
pub mod knowledge_domain {
pub use super::claim_extractor;
pub use super::knowledge;
pub use super::knowledge_bootstrap;
pub use super::knowledge_embedding;
pub use super::knowledge_relations;
}
// ---------------------------------------------------------------------------
// Domain: Search & Retrieval
// ---------------------------------------------------------------------------
pub mod bm25_index;
pub mod dense_backend;
pub mod embedding_index;
pub mod embeddings;
pub mod hybrid_search;
#[cfg(feature = "qdrant")]
pub mod qdrant_store;
pub mod semantic_cache;
pub mod semantic_chunks;
pub mod splade_retrieval;
/// Convenience re-export: all search-related modules.
pub mod search {
pub use super::bm25_index;
pub use super::dense_backend;
pub use super::embedding_index;
pub use super::embeddings;
pub use super::hybrid_search;
pub use super::semantic_cache;
pub use super::semantic_chunks;
pub use super::splade_retrieval;
}
// ---------------------------------------------------------------------------
// Domain: Session & Handoff
// ---------------------------------------------------------------------------
pub mod ccp_session_bundle;
pub mod handoff_ledger;
pub mod handoff_transfer_bundle;
pub mod session;
pub mod session_diff;
/// Convenience re-export: all session-related modules.
pub mod session_domain {
pub use super::ccp_session_bundle;
pub use super::handoff_ledger;
pub use super::handoff_transfer_bundle;
pub use super::session;
pub use super::session_diff;
}
// ---------------------------------------------------------------------------
// Domain: Attention & Placement
// ---------------------------------------------------------------------------
pub mod attention_layout_driver;
pub mod attention_model;
pub mod attention_placement;
pub mod litm;
/// Convenience re-export: all attention-related modules.
pub mod attention {
pub use super::attention_layout_driver;
pub use super::attention_model;
pub use super::attention_placement;
pub use super::litm;
}
// ---------------------------------------------------------------------------
// Domain: Neural / ML
// ---------------------------------------------------------------------------
pub mod neural;
// ---------------------------------------------------------------------------
// Domain: Patterns & Shell
// ---------------------------------------------------------------------------
pub mod patterns;
// ---------------------------------------------------------------------------
// Domain: Agents & A2A
// ---------------------------------------------------------------------------
pub mod a2a;
pub mod a2a_transport;
pub mod agents;
pub mod autonomy_drivers;
// ---------------------------------------------------------------------------
// Domain: Adaptive & Scoring
// ---------------------------------------------------------------------------
pub mod adaptive;
pub mod adaptive_mode_policy;
pub mod adaptive_thresholds;
pub mod bandit;
pub mod mode_predictor;
pub mod task_relevance;
// ---------------------------------------------------------------------------
// Domain: Diagnostics & Quality
// ---------------------------------------------------------------------------
pub mod anomaly;
pub mod benchmark;
pub mod cognitive_load;
pub mod contracts;
pub mod cyclomatic;
pub mod degradation_policy;
pub mod loop_detection;
pub mod output_verification;
pub mod quality;
pub mod safety_needles;
pub mod setup_report;
pub mod slo;
pub mod slow_log;
pub mod smells;
pub mod surprise;
pub mod verification_observability;
// ---------------------------------------------------------------------------
// Domain: Config & Infrastructure
// ---------------------------------------------------------------------------
pub mod binary_detect;
pub mod bounce_tracker;
pub mod budget_tracker;
pub mod budgets;
pub mod cache;
pub mod cli_cache;
pub mod client_capabilities;
pub mod client_constraints;
pub mod config;
pub mod consolidation_engine;
pub mod data_dir;
pub mod error;
pub mod events;
pub mod evidence_ledger;
pub mod feedback;
pub mod filters;
pub mod gain;
pub mod gotcha_tracker;
pub mod hasher;
pub mod heatmap;
pub mod home;
pub mod import_resolver;
pub mod index_namespace;
pub mod index_orchestrator;
pub mod instruction_compiler;
pub mod integrity;
pub mod intent_engine;
pub mod intent_protocol;
pub mod intent_router;
pub mod io_boundary;
pub mod jsonc;
pub mod language_capabilities;
pub mod limits;
pub mod llm_feedback;
pub mod logging;
pub mod mcp_manifest;
pub mod mdl_selector;
pub mod pathutil;
pub mod pipeline;
pub mod portable_binary;
pub mod profiles;
pub mod project_hash;
pub mod protocol;
pub mod provider_cache;
pub mod providers;
pub mod redaction;
pub mod roles;
pub mod route_extractor;
pub mod sandbox;
pub mod sanitize;
pub mod startup_guard;
pub mod stats;
pub mod structural_diff;
pub mod symbol_map;
pub mod task_briefing;
pub mod tdd_schema;
pub mod telemetry;
pub mod terse;
pub mod theme;
pub mod tokenizer_translation_driver;
pub mod tokens;
pub mod tool_lifecycle;
pub mod updater;
pub mod version_check;
pub mod workflow;
pub mod workspace_config;
pub mod wrapped;
// ---------------------------------------------------------------------------
// Feature-gated modules
// ---------------------------------------------------------------------------
pub mod archive;
pub mod artifact_index;
pub mod artifacts;
pub mod buddy;
#[cfg(feature = "tree-sitter")]
pub mod chunks_ts;
pub mod deep_queries;
pub mod deps;
pub mod editor_registry;
pub mod pathjail;
pub mod signatures;
#[cfg(feature = "tree-sitter")]
pub mod signatures_ts;