Skip to content

Commit 6f151a6

Browse files
committed
B-META: wire modules + features for B1-B6 (grammar-triangle, contract-ticket, role_keys, markov_bundle)
- Add pub mod trajectory + markov_bundle (B4 D5). - Gate pub mod ticket_emit behind feature "contract-ticket" (B5 D2). - Gate pub mod triangle_bridge behind feature "grammar-triangle" (B5 D3). - Add features: contract-ticket -> dep:lance-graph-contract grammar-triangle -> dep:lance-graph-cognitive - Add optional path deps for both crates. B1 grammar-landscape doc has ASCII transliterations (Finnish ä->ae, Cyrillic->latin) per worker note; flagged for follow-up i18n PR. Contract-side modules (context_chain, role_keys, thinking_styles) already re-exported from grammar/mod.rs at base commit 22a5a32.
1 parent 115bf24 commit 6f151a6

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

crates/deepnsm/Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,14 @@ No GPU. No learned weights. Same decision boundaries as cosine.
1818
# simd_amx.rs based on hardware. This crate USES exported types like
1919
# F32x16 via their public Add/Sub/Mul impls and mul_add primitive; it
2020
# never touches backend optimization files.
21+
[features]
22+
default = []
23+
contract-ticket = ["dep:lance-graph-contract"]
24+
grammar-triangle = ["dep:lance-graph-cognitive"]
25+
2126
[dependencies]
2227
ndarray = { path = "../../../ndarray", default-features = false, features = ["std"] }
28+
lance-graph-contract = { path = "../lance-graph-contract", optional = true }
29+
lance-graph-cognitive = { path = "../lance-graph-cognitive", optional = true }
2330

2431
[dev-dependencies]

crates/deepnsm/src/lib.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,15 @@ pub mod similarity;
6161
pub mod spo;
6262
pub mod vocabulary;
6363

64+
pub mod trajectory;
65+
pub mod markov_bundle;
66+
67+
#[cfg(feature = "contract-ticket")]
68+
pub mod ticket_emit;
69+
70+
#[cfg(feature = "grammar-triangle")]
71+
pub mod triangle_bridge;
72+
6473
// ─── Re-exports ──────────────────────────────────────────────────────────────
6574

6675
pub use pipeline::DeepNsmEngine;

0 commit comments

Comments
 (0)