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
// Bistun Linguistic Metadata Service (LMS)
// Copyright (C) 2026 Francis Xavier Wazeter IV
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
//! # Capability Engine Root
//! Ref: [012-LMS-ENG]
//! Location: `crates/bistun-lms/src/lib.rs`
//!
//! **Why**: This crate root centralizes the 5-phase capability engine's operational modules and exposes the primary SDK entry point. It serves as the orchestrator for resolving BCP 47 tags into actionable Linguistic DNA.
//! **Impact**: If this root is compromised or misconfigured, external consumers cannot access the `LinguisticManager`, rendering the entire capability resolution service unreachable and breaking downstream UI/NLP integrations.
//!
//! ### Glossary
//! * **Orchestration**: The coordination of multiple sub-engines (Taxonomy, Typology, etc.) into a unified result.
//! * **SDK (Software Development Kit)**: The public interface providing tools and libraries for developers to integrate Bistun capabilities.
/// The 5-phase resolution pipeline logic.
/// WORM hydration and memory pool management.
/// The primary SDK interface for external consumers.
/// System observability and performance telemetry.
/// Cryptographic verification and JWS gates.
/// Runtime and pre-persistence integrity checks.
// [Logic Trace: Re-exports]
// To maintain a "Living Document" and ergonomic API, we surface the primary
// operational models at the crate root.
// Re-export the operational status enum for SDK health monitoring.
pub use SdkState;
// Re-export the primary orchestrator for capability resolution.
pub use LinguisticManager;