Commit 60eca42
committed
feat: Phase 0 — promote SPO from extensions/ to top-level src/spo/
SPO, BNN, and CLAM are no longer experimental. They are the core cognitive
substrate, always-on with no feature gates.
Moves:
- src/extensions/spo/*.rs → src/spo/ (6 core files)
- src/extensions/{context_crystal,meta_resonance,nsm_substrate,
codebook_training,deepnsm_integration,cognitive_codebook,
crystal_lm,sentence_crystal}.rs → src/spo/ (8 spo-gated modules)
Updates:
- lib.rs: add `pub mod spo`, remove "spo" from extensions cfg gate
- extensions/mod.rs: strip all #[cfg(feature = "spo")] entries
- Cargo.toml: rename "spo" feature to "spo_jina" (only reqwest needs gating)
- Fix crate::extensions::spo:: → crate::spo:: in shift_detector + crystal_lm
- Fix super::spo::jina_embed_curl → super::jina_embed_curl in sentence_crystal
Zero compilation errors. All SPO tests pass (40+ tests green).
Note: sentence_crystal.rs and grammar.rs flagged as future promotion
candidates to rustynum — their encoding logic overlaps with what the
SPO harvest pipeline now provides natively at the BNN level.
https://claude.ai/code/session_0152b2NJYnjCJjvMAmgsTx3p1 parent e5c7f57 commit 60eca42
20 files changed
Lines changed: 56 additions & 61 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
| 43 | + | |
| 44 | + | |
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
| |||
60 | 59 | | |
61 | 60 | | |
62 | 61 | | |
63 | | - | |
| 62 | + | |
64 | 63 | | |
65 | 64 | | |
66 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
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 | 13 | | |
39 | 14 | | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
120 | | - | |
| 121 | + | |
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
124 | | - | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| |||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
File renamed without changes.
0 commit comments