-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
1733 lines (1401 loc) · 63.3 KB
/
Cargo.toml
File metadata and controls
1733 lines (1401 loc) · 63.3 KB
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
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
[workspace]
resolver = "2"
members = [
".",
"symthaea-core",
"crates/symthaea-nix",
"crates/symthaea-stt",
"crates/symthaea-sentinel",
"crates/symthaea-perception",
"crates/symthaea-causal-reasoning",
"crates/symthaea-fep",
"crates/symthaea-dream",
"crates/symthaea-phi-search",
"crates/symthaea-narrative-self",
"crates/symthaea-field-dynamics",
"crates/symthaea-hodge",
"crates/symthaea-factor-graph",
"crates/symthaea-enactive",
"crates/symthaea-sensorimotor",
"crates/symthaea-consciousness-topology",
"crates/symthaea-exploration",
"crates/symthaea-wisdom",
"crates/symthaea-types",
"crates/symthaea-harmonies",
"crates/symthaea-consciousness-resonance",
"crates/symthaea-embeddings",
"crates/symthaea-observability",
"crates/symthaea-support",
"crates/symthaea-psych-bench",
"crates/symthaea-lean-bridge",
"crates/symthaea-flight",
"crates/symthaea-helicopter",
"crates/symthaea-auv",
"crates/symthaea-manipulator",
"crates/symthaea-humanoid",
"crates/symthaea-physics",
"crates/symthaea-physics-bridge",
"crates/symthaea-vocal-tract",
"crates/symthaea-voice",
"crates/symthaea-vehicle",
# New platforms (uncomment after creating crates):
"crates/symthaea-exoskeleton",
"crates/symthaea-surgical",
"crates/symthaea-orbital",
"crates/symthaea-quadruped",
"crates/symthaea-sensors",
"crates/symthaea-browser",
"crates/symthaea-hal",
"crates/symthaea-ssm",
"crates/symthaea-zkproof",
"crates/symthaea-zkproof/core",
"crates/symthaea-broca",
"crates/symthaea-geodesic",
"crates/symthaea-consciousness-equation",
"crates/symthaea-neuromodulators",
"crates/symthaea-cell-foundry",
"crates/symthaea-ectogenesis",
"crates/symthaea-genomics",
"crates/symthaea-nurture",
"crates/symthaea-population",
"crates/symthaea-neuroevolution",
"crates/symthaea-jepa",
"crates/symthaea-materials",
"crates/symthaea-bandgap",
"crates/symthaea-gravcraft",
"crates/symthaea-nuclear",
"crates/symthaea-quantum-chemistry",
"crates/symthaea-particle-physics",
"crates/symthaea-continuum-physics",
"crates/symthaea-frontier-physics",
"crates/symthaea-proteins",
"crates/symthaea-bandgap",
"crates/symthaea-physics-catalog",
"crates/symthaea-nuclear-forensics",
"crates/symthaea-memory",
"crates/symthaea-fabrication-kernel",
"crates/symthaea-vision-manifold",
"crates/symthaea-phone-embodiment",
"crates/symthaea-foveation",
"crates/symthaea-phi-oracle",
"crates/symthaea-pulse",
"crates/symthaea-spore",
"crates/symthaea-soma",
"crates/symthaea-crucible",
"crates/symthaea-canvas",
"crates/symthaea-aesthetic",
"crates/symthaea-atelier",
"crates/symthaea-muse",
"crates/symthaea-biometrics",
"crates/symthaea-gallery",
"crates/symthaea-circular",
"crates/symthaea-clinical",
"crates/symthaea-therapeutic",
"crates/symthaea-hdc-store",
"crates/symthaea-mycelix-conductor",
"crates/symthaea-epistemic-types",
# Phase 1 spike for MSP / IT-ops wedge. See memory/project_msp_wedge.md.
"crates/symthaea-logparse",
# DRM/KMS boot animation — needs Linux DRM headers; not in default-members.
"crates/symthaea-quicken-fb",
# Leptos CSR web frontend — WASM target, not in default-members.
"crates/symthaea-web",
]
exclude = [
# RISC Zero guest/host crates need the rzup toolchain (RISC-V cross-compiler);
# kept out of the workspace so normal `cargo build` isn't affected.
"crates/symthaea-zkproof/methods",
"crates/symthaea-zkproof/host",
# WASM crate targets wasm32-unknown-unknown; excluded so `cargo build` works normally.
"crates/symthaea-muse-wasm",
# Fuzz crates use libfuzzer-sys and require nightly + sanitizer flags.
"crates/symthaea-spore/fuzz",
]
# Only build core crates by default; platform-specific crates (quicken-fb) require explicit -p flag.
default-members = [
".",
"symthaea-core",
]
[workspace.package]
edition = "2021"
license = "AGPL-3.0-or-later"
[workspace.dependencies]
candle-core = { version = "0.8", default-features = false }
candle-nn = "0.8"
arrow-array = "56"
arrow-schema = "56"
ndarray = { version = "0.16", features = ["rayon", "serde"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
bincode = "1.3"
rmp-serde = "1.3"
anyhow = "1.0"
thiserror = "1.0"
rand = "0.8"
tokio = { version = "1.35", features = ["full"] }
tracing = "0.1"
blake3 = "1.5"
uuid = { version = "1.6", features = ["serde", "v4"] }
chrono = { version = "0.4", features = ["serde"] }
parking_lot = "0.12"
once_cell = "1.19"
nalgebra = "0.34"
rustfft = "6.2"
clap = { version = "4.4", features = ["derive"] }
hound = "3.5"
flacenc = "0.4"
rubato = "0.14"
petgraph = { version = "0.6", features = ["serde-1"] }
regex = "1.10"
strsim = "0.11"
tree-sitter = "0.24"
tree-sitter-nix = "0.3"
rusqlite = { version = "0.37", features = ["bundled"] }
dashmap = "5.5"
lru = "0.16"
rayon = "1.10"
proptest = "1.4"
[package]
name = "symthaea"
version = "2.0.0"
edition = "2021"
authors = ["Luminous Dynamics <tristan.stoltz@evolvingresonantcocreationism.com>"]
description = "Symthaea: Holographic Liquid Brain lineage - Consciousness-first AI in Rust"
license = "AGPL-3.0-or-later"
repository = "https://github.com/Luminous-Dynamics/symthaea"
readme = "README.md"
homepage = "https://luminousdynamics.org"
documentation = "https://docs.rs/symthaea"
keywords = ["consciousness", "ai", "hdc", "integrated-information", "neuroscience"]
categories = ["science", "algorithms", "data-structures"]
[dependencies]
# Symthaea Core - HDC, Φ engine, and minimal consciousness pipeline
symthaea-core = { path = "symthaea-core" }
# Shared epistemic types (E/N/M, Prismatic context, provenance)
symthaea-epistemic-types = { path = "crates/symthaea-epistemic-types" }
# Symthaea Consciousness Equation - Master Consciousness Equation C(t)
symthaea-consciousness-equation = { path = "crates/symthaea-consciousness-equation" }
# Symthaea Neuromodulators - DA/NE/5-HT/ACh/GABA/Oxytocin/Glutamate/Adenosine bath
symthaea-neuromodulators = { path = "crates/symthaea-neuromodulators" }
symthaea-memory = { path = "crates/symthaea-memory" }
# Symthaea Causal Reasoning - Pearl's do-calculus, counterfactual reasoning, causal emergence
symthaea-causal-reasoning = { path = "crates/symthaea-causal-reasoning", default-features = false }
# Symthaea FEP - Free Energy Principle active inference (always enabled)
symthaea-fep = { path = "crates/symthaea-fep" }
# Shared positioning and peer-fusion primitives
positioning = { path = "stubs/positioning" }
# Symthaea Dream - Counterfactual Dream Engine (always enabled)
symthaea-dream = { path = "crates/symthaea-dream" }
# Symthaea Phi Search - Phi-guided architecture search (always enabled)
symthaea-phi-search = { path = "crates/symthaea-phi-search" }
# Symthaea Narrative Self - Narrative self-model (always enabled)
symthaea-narrative-self = { path = "crates/symthaea-narrative-self" }
# Symthaea Field Dynamics - Consciousness field wave equations (optional)
symthaea-field-dynamics = { path = "crates/symthaea-field-dynamics", optional = true }
# Symthaea Hodge - Hodge Laplacian for simplicial complexes (always enabled)
symthaea-hodge = { path = "crates/symthaea-hodge" }
# Symthaea Factor Graph - Belief propagation inference (always enabled)
symthaea-factor-graph = { path = "crates/symthaea-factor-graph" }
# Symthaea Enactive - Enactive cognition paradigm (always enabled)
symthaea-enactive = { path = "crates/symthaea-enactive" }
# Symthaea Sensorimotor - Sensorimotor contingency theory (optional)
symthaea-sensorimotor = { path = "crates/symthaea-sensorimotor", optional = true }
symthaea-consciousness-topology = { path = "crates/symthaea-consciousness-topology" }
symthaea-exploration = { path = "crates/symthaea-exploration" }
symthaea-wisdom = { path = "crates/symthaea-wisdom" }
symthaea-types = { path = "crates/symthaea-types" }
symthaea-harmonies = { path = "crates/symthaea-harmonies" }
symthaea-consciousness-resonance = { path = "crates/symthaea-consciousness-resonance" }
symthaea-embeddings = { path = "crates/symthaea-embeddings" }
symthaea-ssm = { path = "crates/symthaea-ssm", optional = true }
linux-embedded-hal = { version = "0.4", optional = true, default-features = false, features = ["i2c"] }
symthaea-observability = { path = "crates/symthaea-observability", optional = true }
symthaea-support = { path = "crates/symthaea-support", optional = true }
# Mycelix FL Core - Unified federated learning algorithms (shared with Mycelix SDK)
mycelix-fl-core = { path = "stubs/mycelix-fl-core", optional = true }
# Mycelix Conductor bridge - governance dispatch to Holochain conductor
symthaea-mycelix-conductor = { path = "crates/symthaea-mycelix-conductor", optional = true }
# Mycelix Crypto - Post-quantum cryptography (ML-KEM-768, ML-DSA-65, SPHINCS+)
mycelix-crypto = { path = "stubs/mycelix-crypto", optional = true, features = ["native"] }
# Symthaea STT - Speech-to-Text, Bioacoustics, EEG processing
symthaea-stt = { path = "crates/symthaea-stt", optional = true }
# Symthaea Sentinel - Zero-shot temporal audio pattern recognition
symthaea-sentinel = { path = "crates/symthaea-sentinel", optional = true }
# Symthaea Flight - HDC-LTC + FEP Active Inference quadrotor flight control
symthaea-flight = { path = "crates/symthaea-flight", optional = true }
# Symthaea Helicopter - HDC-LTC + FEP Active Inference SAR helicopter control
symthaea-helicopter = { path = "crates/symthaea-helicopter", optional = true }
# Symthaea Humanoid - HDC-LTC + FEP Active Inference DMC Humanoid bipedal control
symthaea-humanoid = { path = "crates/symthaea-humanoid", optional = true }
# Symthaea Vehicle - HDC-LTC + FEP Active Inference autonomous vehicle control
symthaea-vehicle = { path = "crates/symthaea-vehicle", optional = true }
# Symthaea Browser - Consciousness-driven browser agent via CDP
symthaea-browser = { path = "crates/symthaea-browser", optional = true }
# Symthaea AUV - HDC-LTC + FEP Active Inference autonomous underwater vehicle control
symthaea-auv = { path = "crates/symthaea-auv", optional = true }
# Symthaea Manipulator - HDC-LTC consciousness-coupled industrial arm control
symthaea-manipulator = { path = "crates/symthaea-manipulator", optional = true }
# New platforms (uncomment after creating crates with scripts/new-platform.sh):
symthaea-exoskeleton = { path = "crates/symthaea-exoskeleton", optional = true }
symthaea-surgical = { path = "crates/symthaea-surgical", optional = true }
symthaea-orbital = { path = "crates/symthaea-orbital", optional = true }
symthaea-quadruped = { path = "crates/symthaea-quadruped", optional = true }
# Symthaea HAL - Hardware abstraction layer (PCA9685 servo, I2C sensors, safety)
symthaea-hal = { path = "crates/symthaea-hal", optional = true }
# Symthaea Vocal Tract - LTC-driven articulatory synthesis (encoder, controller, FEP, pipeline, metrics)
symthaea-vocal-tract = { path = "crates/symthaea-vocal-tract", default-features = false }
# Symthaea Physics - Tokamak plasma HDC encoding, C-Mod adapter, Phi-based control
symthaea-physics = { path = "crates/symthaea-physics", optional = true }
# Symthaea Physics Bridge - HDC semantic search for mathematical physics analogies
symthaea-physics-bridge = { path = "crates/symthaea-physics-bridge", optional = true }
# Symthaea Broca - SSM Language Center: CfC-HDC autoregressive thought-to-text generation
symthaea-broca = { path = "crates/symthaea-broca", optional = true }
# Symthaea Spore - WASM consciousness kernel (BrocaLite fallback for always-on language)
symthaea-spore = { path = "crates/symthaea-spore", optional = true, default-features = false }
# Symthaea Muse - Consciousness-driven music synthesis (streaming PCM for cognitive loop)
symthaea-muse = { path = "crates/symthaea-muse", optional = true }
# Symthaea Geodesic - Topology-aware code verification (PDG, Betti numbers, execution oracle)
symthaea-geodesic = { path = "crates/symthaea-geodesic", optional = true }
# Symthaea Canvas - Living topology UI: cognitive geometry → SVG
symthaea-canvas = { path = "crates/symthaea-canvas", optional = true }
# Symthaea Aesthetic - Aesthetic evaluation and feedback
symthaea-aesthetic = { path = "crates/symthaea-aesthetic", optional = true }
# Symthaea Atelier - Generative art studio
symthaea-atelier = { path = "crates/symthaea-atelier", optional = true }
# Symthaea Clinical - Clinical assessment and therapeutic reasoning
symthaea-clinical = { path = "crates/symthaea-clinical", optional = true }
symthaea-therapeutic = { path = "crates/symthaea-therapeutic", optional = true }
# Symthaea Nix - Conscious NixOS mind (HDC + active inference)
symthaea-nix = { path = "crates/symthaea-nix", optional = true }
# Genesis Pipeline - DNA-to-Human species stewardship
symthaea-genomics = { path = "crates/symthaea-genomics", optional = true }
symthaea-cell-foundry = { path = "crates/symthaea-cell-foundry", optional = true }
symthaea-ectogenesis = { path = "crates/symthaea-ectogenesis", optional = true }
symthaea-nurture = { path = "crates/symthaea-nurture", optional = true }
symthaea-population = { path = "crates/symthaea-population", optional = true }
symthaea-neuroevolution = { path = "crates/symthaea-neuroevolution", optional = true }
symthaea-jepa = { path = "crates/symthaea-jepa", optional = true }
symthaea-materials = { path = "crates/symthaea-materials", optional = true }
symthaea-nuclear = { path = "crates/symthaea-nuclear", optional = true }
symthaea-nuclear-forensics = { path = "crates/symthaea-nuclear-forensics", optional = true }
symthaea-quantum-chemistry = { path = "crates/symthaea-quantum-chemistry", optional = true }
symthaea-fabrication-kernel = { path = "crates/symthaea-fabrication-kernel", optional = true }
# Symthaea Vision Manifold - Patch-based HDC video encoding with CfC temporal dynamics
symthaea-vision-manifold = { path = "crates/symthaea-vision-manifold", optional = true }
symthaea-phone-embodiment = { path = "crates/symthaea-phone-embodiment", optional = true }
# Symthaea Foveation Bridge - Dorsal surprise → ventral recognition dispatch
symthaea-foveation = { path = "crates/symthaea-foveation", optional = true }
# Symthaea HDC Store - Zero-copy mmap'd BinaryHV storage with persistent LSH
symthaea-hdc-store = { path = "crates/symthaea-hdc-store", optional = true }
# HDC / Vector Symbolic Architectures
# hypervector = "0.1" # Using custom HDC implementation instead
# Neural networks (for LTC implementation)
ndarray = { workspace = true }
# Linear algebra (pure Rust, validated eigenvalue calculations)
nalgebra = { workspace = true }
# ndarray-linalg = "0.16" # Removed to avoid external BLAS dependency during tests
# Graph structures (for autopoietic consciousness)
petgraph = { workspace = true }
# Phase 11: Semantic Ear - Now Active with Qwen3-Embedding
tokenizers = { version = "0.21", optional = true } # Tokenization for Qwen3/BGE
# safetensors removed: referenced in neural-bridge feature but never imported in source
# Neural Bridge v2: BGE-M3 via Candle (pure Rust ML)
candle-core = { workspace = true, optional = true }
candle-nn = { workspace = true, optional = true }
candle-transformers = { version = "0.8", optional = true }
# half removed: referenced in neural-bridge feature but never imported in source
# Phase 11: Database Trinity (Deferred to Week 11+)
# - cozo: graph_builder 0.4.1 rayon compat
# DuckDB is the active database backend (unconditional dep below)
# Phase 11: Swarm Intelligence - Hybrid Iroh + Holochain Architecture
# REMOVED: libp2p (declared but never used - 0 integration lines)
# Architecture: Cortex (Holochain) for trust + Synapse (Iroh) for real-time
# Iroh 0.95+ has unified the crates - iroh-net is deprecated
iroh = { version = "0.97", optional = true }
# LanceDB: Columnar vector storage backend (optional)
# Implementation: src/databases/lance_client.rs
lancedb = { version = "0.23", optional = true }
# DuckDB: Epistemic Auditor analytics backend (optional, bundled for reproducibility)
# Note: does NOT conflict with rusqlite (libduckdb-sys has no links="sqlite3")
duckdb = { version = "1.1", features = ["bundled"], optional = true }
arrow-array = { workspace = true, optional = true }
arrow-schema = { workspace = true, optional = true }
futures = { version = "0.3", optional = true }
# Phase 11+: Mycelix Protocol Integration (Deferred to Week 9+)
uuid = { workspace = true } # Week 3: Enabled for Goal IDs
mycelix-sdk = { path = "stubs/mycelix-sdk", optional = true, default-features = false, features = ["standalone"] }
sha3 = { version = "0.10", optional = true } # For gradient hashing
# Prism epistemic search (local, offline, 16,384-bit BinaryHV)
# Web Research & Epistemic Verification (Track 6)
reqwest = { version = "0.13", features = ["json", "multipart", "rustls"], default-features = false }
scraper = "0.25"
# html2text removed: scraper is used for HTML parsing, html2text never imported
# API server (optional)
axum = { version = "0.7", features = ["ws"], optional = true }
tower-http = { version = "0.5", features = ["cors", "fs"], optional = true }
# Core async utilities
async-trait = "0.1"
# Filesystem utilities
dirs = "5.0"
# Phase 12: Resonator Networks (FFT for morphogenetic field)
rustfft = { workspace = true }
# num-complex removed: codebase uses custom Complex struct in spectral_analysis.rs
# Async runtime
tokio = { workspace = true }
rayon = { workspace = true }
# Serialization (for consciousness persistence)
serde = { workspace = true }
serde_json = { workspace = true }
bincode = { workspace = true }
# Observability
tracing = { workspace = true }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Week 0: Defer Prometheus metrics (needs OpenSSL via hyper)
# metrics = "0.22"
# metrics-exporter-prometheus = "0.13"
# Utilities
anyhow = { workspace = true }
thiserror = { workspace = true }
parking_lot = { workspace = true }
rusqlite = { workspace = true }
once_cell = { workspace = true }
dashmap = { workspace = true }
lru = { workspace = true }
rand = { workspace = true }
rand_chacha = "0.3" # Deterministic RNG for reproducible JL projections
blake3 = { workspace = true }
hex = "0.4" # Hex encoding for node IDs in federated network
ed25519-dalek = { version = "2.1", features = ["serde", "rand_core"], optional = true } # MFDI identity signatures
sha2 = { version = "0.10", optional = true } # MFDI credential hashing
chrono = { workspace = true }
regex = { workspace = true }
# Note: wasmtime 29.x has a critical CVE affecting aarch64 with the Winch
# compiler backend (sandbox-escape memory access, fix: 36.0.7). NOT
# exploitable in this build — the Winch feature is not enabled and the
# default Cranelift backend is unaffected. Version staying at 29.0 until
# we land the 29→36 migration (significant API break).
wasmtime = { version = "29.0", optional = true }
# bumpalo removed from main crate: only used in symthaea-core
# Week 2: Cerebellum - Procedural Memory
# qp-trie removed: planned for skill lookup but never imported
strsim = { workspace = true }
# Week 12: Perception & Tool Creation
image = "0.24" # Image loading and processing
# imageproc removed: only image crate is used, imageproc never imported
tree-sitter = { workspace = true }
syn = { version = "2.0", features = ["full", "visit"] } # Rust syntax parsing (self-analysis)
ignore = "0.4" # .gitignore-aware file walking
urlencoding = "2.1"
shlex = "1.3"
# Week 12 Phase 2a: Voice Output (Larynx) - Kokoro TTS (optional)
# Also used for Qwen3-Embedding and SigLIP vision models
ort = { version = "=2.0.0-rc.10", features = ["half", "load-dynamic", "ndarray"], optional = true } # ONNX Runtime (pinned RC; upgrade to 2.0.0 stable when released)
# futures removed: voice-tts-async feature never implemented in source
rodio = { version = "0.19", default-features = false, optional = true } # Audio playback (no backends by default)
cpal = { version = "0.17", optional = true } # Low-level audio I/O (live-voice)
ringbuf = { version = "0.4", optional = true } # Lock-free ring buffer (live-voice)
hound = { workspace = true, optional = true }
rubato = { workspace = true }
lz4_flex = { version = "0.11", default-features = false, optional = true }
chacha20poly1305 = { version = "0.10", optional = true }
zeroize = { version = "1.8", features = ["derive"], optional = true }
x25519-dalek = { version = "2.0", features = ["static_secrets"], optional = true }
hkdf = { version = "0.12", optional = true }
hf-hub = { version = "0.4", optional = true } # HuggingFace Hub for model download
espeak-rs = { version = "0.1", optional = true } # espeak-ng bindings for proper G2P
# Enhancement #8 Week 4: PyPhi Integration (IIT 3.0 exact Φ calculation)
# pyo3 removed: pyphi feature was never implemented (no cfg gates, no code using pyo3)
# nix (unix syscall crate) removed: no nix:: imports in source (NixOS integration uses CLI commands)
# CLI argument parsing (optional - for service binary)
clap = { workspace = true, optional = true }
ctrlc = { version = "3.4", optional = true } # Ctrl+C signal handling
# Shell Sidecar TUI dependencies (optional)
crossterm = { version = "0.27", optional = true }
ratatui = { version = "0.29", optional = true }
# GUI dependencies (optional) - for symthaea-gui
eframe = { version = "0.33", optional = true }
egui = { version = "0.33", optional = true }
# WebSocket client dependencies (optional) - for holon_rdp_viewer (Phase I.A.2)
# tokio-tungstenite: same version as symthaea-scan workspace member.
# The holon-viewer feature pulls egui + eframe + tokio-tungstenite together
# so the viewer example can compile as a single feature-gated unit.
tokio-tungstenite = { version = "0.24", optional = true }
futures-util = { version = "0.3", optional = true } # SinkExt/StreamExt for tokio-tungstenite split()
bytes = { version = "1", optional = true }
quinn = { version = "0.11", optional = true }
rustls = { version = "0.23", optional = true }
rcgen = { version = "0.13", optional = true }
# IPC Protocol Enhancements
rmp-serde = { workspace = true } # MessagePack binary protocol (A1)
# Syntax Highlighting (B4)
tree-sitter-nix = { workspace = true }
# syntect = "5.2" # Alternative: regex-based highlighting
# Code Understanding & Generation (Consciousness-Aware Code)
tree-sitter-rust = { version = "0.23", optional = true } # Rust grammar for code understanding
tree-sitter-python = { version = "0.23", optional = true } # Python grammar for code understanding
# Desktop Notifications (E1)
zbus = { version = "4.0", optional = true } # D-Bus for notifications
# Sandbox command timeouts
wait-timeout = "0.2"
# libsystemd removed: systemd feature was never implemented (no cfg gates, no code using libsystemd)
[features]
default = ["default-mind"]
parallel = [] # Rayon parallelism in cognitive loop (gate for WASM compat)
turbo-quant = [] # PolarQuant HDC vector compression (hv_compression.rs, memory_bridge.rs)
# ── Binary build gates ──────────────────────────────────────────────
# These enable optional dependencies for specific binaries.
service = ["clap"] # symthaea service daemon binary
shell = ["crossterm", "ratatui"] # symthaea-shell TUI binary
gui = ["eframe", "egui"] # symthaea-gui binary
demo = ["clap", "ctrlc"] # Demo binaries (CLI args + signal handling)
full = ["service", "shell", "gui", "demo"] # All binaries
api_module = ["axum", "tower-http"] # HTTP API binary + module
holon-quic = ["api_module", "mesh-encryption", "dep:bytes", "dep:quinn", "dep:rustls", "dep:rcgen"] # Phase I.C QUIC transport for Holon RDP
holon-viewer = ["eframe", "egui", "dep:tokio-tungstenite", "dep:futures-util", "mesh-encryption", "holon-quic"] # Phase I.A.2 viewer + Phase I.C transport A/B
# ── Sovereign RDP ──────────────────────────────────────────────────
rdp = [] # Core RDP protocol + codec + session
rdp-server = ["rdp"] # RDP server with screen capture
rdp-x11 = ["rdp-server"] # X11 SHM capture + XTest injection (x11rb TODO)
# ── Voice & Audio ───────────────────────────────────────────────────
# Voice Pipeline (hierarchy):
# voice-tts → base TTS with Kokoro ONNX + espeak-ng G2P
# audio → voice-tts + rodio playback
# vocal-tract → articulatory synthesis (LTC-driven, independent of TTS)
# neural-vocoder → vocal-tract + BigVGAN ONNX (Path A waveform generation)
# live-voice → real-time cpal output + vocal-tract (UNTESTED in CI)
# liquid-mamba → SSM language center + pre-trained Mamba fusion (CPU; see ssm_language)
voice-tts = ["ort", "hound", "hf-hub", "espeak-rs"] # TTS with Kokoro (ONNX) + espeak-ng G2P
voice-stt = ["symthaea-stt", "hound"] # STT with symthaea-stt crate (HDC + LTC + CfC)
voice-stt-live = ["voice-stt", "cpal", "ringbuf"] # Live microphone capture → STT → perception HV (cpal input + ring buffer)
# ── Sensor Fusion (real sensors → perception HV) ────────────────────
# Bridges physical/simulated sensor readings into the cognitive loop's
# perception phase. Each sensor is independently gated so a platform
# only pulls in the code for sensors it actually has.
sensor-fusion = [] # Core SensorFusion trait + ContinuousHV bundler
sensor-imu = ["sensor-fusion"] # 6-axis accel + gyro role-filler fusion
audio = ["voice-tts", "rodio"] # Full audio including playback
vocal-tract = ["hound", "symthaea-vocal-tract/hound"] # LTC-driven articulatory synthesis pipeline + WAV output
neural-vocoder = ["ort", "vocal-tract", "symthaea-vocal-tract/mel-conversion"] # BigVGAN ONNX neural vocoder (Path A)
neural-vocoder-gpu = ["neural-vocoder"] # UNTESTED: not in CI matrix; GPU-accelerated neural vocoder (CUDA/CoreML execution providers)
live-voice = ["cpal", "ringbuf", "vocal-tract"] # Real-time speaker output (cpal + ringbuf + vocal tract pipeline)
muse = ["dep:symthaea-muse"] # Consciousness-driven music synthesis in cognitive loop (streaming PCM)
# ── Perception & Embeddings ─────────────────────────────────────────
embeddings = ["tokenizers", "hf-hub", "symthaea-embeddings/burn-hub"] # Qwen3/BGE text embeddings via Burn + HF Hub
# REMOVED: embeddings-gpu (0 cfg gates; pure dependency passthrough, never tested in CI)
vision = ["ort", "hf-hub"] # SigLIP image embeddings via ONNX
perception = ["embeddings", "vision"] # Full multimodal perception stack
webcam = [] # Live webcam capture (gates cfg blocks in source)
vision-manifold = ["dep:symthaea-vision-manifold"] # Patch-based HDC video encoding + CfC temporal manifold
phone = ["dep:symthaea-phone-embodiment", "vision-manifold"] # ADB phone screen embodiment
phone-scrcpy = ["phone", "symthaea-phone-embodiment/scrcpy"] # Phase I.B persistent HEVC capture via scrcpy-server
phase-2a-lz4 = ["phone-scrcpy", "holon-viewer", "dep:lz4_flex"] # Phase II.A LZ4 compression measurement gate
# REMOVED: vision-manifold-camera (0 cfg gates; requires V4L2 hardware, never tested)
foveation = ["dep:symthaea-foveation", "vision-manifold"] # Foveation bridge for active vision (dorsal→ventral dispatch)
# REMOVED: foveation-perception (0 cfg gates; requires GPU models, never tested)
integrity = [] # Hardware integrity / tamper detection framework (attestation, temporal checks, canaries)
glyph_codex = [] # Glyph Codex: symbolic consciousness field (70 glyphs, 11 Field Modality basis vectors)
semantic-encoder = ["symthaea-embeddings/embed-channel"] # Background Qwen3 embedding channel for cognitive loop telemetry
# Neural Bridge v2: BGE-M3 via Candle (LLM as Semantic Sensor)
neural-bridge = ["candle-core", "candle-nn", "candle-transformers", "tokenizers", "hf-hub", "dep:sha2"]
neural-bridge-cuda = ["neural-bridge", "candle-core/cuda", "candle-nn/cuda", "candle-transformers/cuda"]
# ── Motor / Embodiment ─────────────────────────────────────────────
cpg = [] # Central Pattern Generator (Kuramoto coupled oscillators)
creative = ["dep:symthaea-muse", "dep:symthaea-canvas", "dep:symthaea-aesthetic", "dep:symthaea-atelier"] # Creative agency: motor rendering bridge, artistic expression
complex_cfc = ["symthaea-core/complex_cfc"] # Complex-valued CfC neuron with native oscillation
spectral_state = [] # Spectral twin: frequency-domain CfC state analysis
# ── Defense / Immune System ────────────────────────────────────────
sentinel = [] # Distributed immune system: governance anomaly detection, threat memory, collective immunity
audio-sentinel = ["dep:symthaea-sentinel"] # Zero-shot temporal audio pattern recognition (HDC+LTC+CfC)
hypervisor = [] # Hierarchical consciousness supervision
# ── Consciousness Deepening ───────────────────────────────────────
provenance = [] # Source tracking on StructuredThought (Goldman 1986: reliabilism)
self_schema = [] # Autobiographical self-model in knowledge graph (Northoff 2011)
digital_metabolism = [] # Real hardware constraints as embodiment (Sterling 2012: allostasis)
# ── Distributed / Network ──────────────────────────────────────────
mesh = [] # Physical mesh radio (LoRa + B.A.T.M.A.N. + Yggdrasil)
lz4_compression = ["mesh", "dep:lz4_flex"] # LZ4 packet compression for mesh radio
holon-lz4 = ["mesh-encryption", "dep:lz4_flex"] # Phase II.A: LZ4-before-seal for holon RDP wire
mesh-encryption = ["mesh", "dep:chacha20poly1305", "dep:zeroize"] # ChaCha20-Poly1305 AEAD encryption for mesh packets
mesh-key-exchange = ["mesh-encryption", "dep:x25519-dalek", "dep:hkdf", "dep:sha2"] # X25519 Diffie-Hellman per-peer key agreement
swarm = ["iroh"] # Real-time P2P tensor streaming via Iroh 0.95+
# REMOVED: secure-mesh (0 cfg gates; pure convenience bundle — enable identity + mesh-key-exchange + swarm directly)
pqc-handshake = ["identity", "mesh-key-exchange", "dep:mycelix-crypto"] # Hybrid Ed25519 + ML-KEM-768 post-quantum handshake
mycelix = ["mycelix-fl-core", "sha3", "dep:symthaea-mycelix-conductor"] # Mycelix FL algorithms + hashing + conductor bridge
mycelix_sdk = ["mycelix", "dep:mycelix-sdk"] # Enabled Mycelix SDK integration
epistemic = [] # Epistemic integration: immune threats, thermodynamic cost, provenance tags, collective health
neural_validation = ["symthaea-core/neural_validation"] # TRIBE v2 fMRI comparison: cortical activation maps, Glasser parcellation, HRF
# ── Sovereign Inoculation ──────────────────────────────────────────
mesh-trust = ["mesh", "identity"] # Post-quantum web-of-trust over mesh
social-fabric = ["mesh"] # Resonance-based content routing (sovereign social)
survival = ["mesh"] # Infrastructure monitoring + demand forecasting
# ── Desktop & System Integration ────────────────────────────────────
notifications = ["zbus"] # D-Bus desktop notifications
nix-mind = ["symthaea-nix"] # Conscious NixOS mind with HDC world model + active inference
# Note: nix-cli/nix-tui/nix-daemon removed — use `cargo build -p symthaea-nix --features cli/tui/daemon` directly
identity = ["ed25519-dalek", "dep:sha2"] # Ed25519 signatures, capability gating
physics = ["dep:symthaea-physics"] # Tokamak plasma encoding, C-Mod adapter
flight = ["dep:symthaea-flight"] # HDC-LTC quadrotor flight control via FEP Active Inference
flight-mujoco = ["flight", "symthaea-flight/mujoco"] # Flight control with MuJoCo physics
flight-mujoco-renderer = ["flight-mujoco", "symthaea-flight/mujoco-renderer"] # Offscreen MuJoCo rendering for video capture
flight-swarm = ["flight", "symthaea-flight/swarm"] # Parallel swarm training via MuJoCo + rayon
helicopter = ["dep:symthaea-helicopter"] # HDC-LTC SAR helicopter control via FEP Active Inference
humanoid = ["dep:symthaea-humanoid"] # HDC-LTC bipedal humanoid control via FEP Active Inference (DMC benchmark)
vehicle = ["dep:symthaea-vehicle"] # HDC-LTC autonomous vehicle control via FEP Active Inference
browser-agent = ["dep:symthaea-browser"] # Consciousness-driven browser agent via CDP + HDC encoding
auv = ["dep:symthaea-auv"] # HDC-LTC autonomous underwater vehicle control
manipulator = ["dep:symthaea-manipulator"] # HDC-LTC consciousness-coupled industrial arm control
# New platforms (uncomment after creating crates):
exoskeleton = ["dep:symthaea-exoskeleton"]
surgical = ["dep:symthaea-surgical"]
orbital = ["dep:symthaea-orbital"]
quadruped = ["dep:symthaea-quadruped"]
hal = ["dep:symthaea-hal", "humanoid"] # Hardware abstraction layer (PCA9685 servos, I2C sensors, safety interlocks)
ssm-power = ["dep:symthaea-ssm", "mesh", "school_learning"] # Diagonal SSM sensor integration (power stream)
ssm-power-hal = ["ssm-power", "hal", "symthaea-hal/linux", "dep:linux-embedded-hal"]
broca_lite = ["dep:symthaea-spore"] # Lightweight always-on language generation (512 tokens, 1024D, ~2MB)
ssm_language = ["dep:symthaea-broca"] # Native CfC-HDC language center (SSM Broca's area)
canvas = ["dep:symthaea-canvas"] # Living topology UI: cognitive geometry → animated SVG
neuroevolution = ["dep:symthaea-neuroevolution"] # CfC-HDC neuroevolution: evolve neural organisms via Free Energy minimization
jepa = ["dep:symthaea-jepa"] # JEPA: latent-space prediction for thermodynamically efficient FEP
therapeutic = ["dep:symthaea-clinical", "dep:symthaea-therapeutic", "ssm_language", "symthaea-broca/therapeutic"]
liquid-mamba = ["ssm_language", "symthaea-broca/mamba-cpu"] # Liquid-Mamba fusion: pre-trained Mamba SSM + HDC consciousness gating (CPU; use symthaea-broca/mamba for GPU)
humanoid-mujoco = ["humanoid", "symthaea-humanoid/mujoco"] # Humanoid with MuJoCo physics
humanoid-viewer = ["humanoid-mujoco", "symthaea-humanoid/viewer"] # Humanoid with MuJoCo viewer
# ── Storage ────────────────────────────────────────────────────────
hdc-store = ["dep:symthaea-hdc-store"] # Zero-copy mmap'd BinaryHV storage with persistent LSH
fhe-wisdom = [] # FHE collective wisdom pool for privacy-preserving peer learning
space-alerts = [] # Space situational awareness alerts from mycelix-space
circular = [] # Waste/circular economy tracking (SwarmEvent + telemetry)
field-dynamics = ["dep:symthaea-field-dynamics"] # Consciousness field wave equations
sensorimotor = ["dep:symthaea-sensorimotor"] # Sensorimotor contingency theory
# ── Database backends ───────────────────────────────────────────────
# DuckDB is an unconditional dep. Others deferred:
# - cozo: graph_builder 0.4.1 rayon compat
lancedb-backend = ["dep:lancedb", "dep:arrow-array", "dep:arrow-schema", "dep:futures"]
# Note: duckdb optional dep declared in [dependencies] as duckdb = { optional = true }
epistemic_auditor = ["symthaea-core/duck", "dep:duckdb"] # DuckDB-backed consciousness telemetry audit trail
# ── Consciousness & Reasoning (code-level cfg gates) ────────────────
multi_agent = ["full_consciousness"] # Multi-agent trust scoring (byzantine, causal consensus)
structured_bottleneck = [] # Structured consciousness equation: necessary {Phi,B,W} + amplifiers {A,R,E,K} (Michel 2023)
continuous_hot = [] # Continuous HOT depth: sub-level resolution + self-Phi + attention schema (Brown et al. 2019)
ctc_wiring = ["symthaea-core/ctc_wiring"] # Communication Through Coherence: binding gates GWT entry (Fries 2015)
unified_precision = [] # Dynamic precision = IIT-Phi × interoception × blanket (Parr & Friston 2019)
interoceptive_inference = [] # Interoceptive prediction error in FEP hierarchy (Seth 2021)
england_dissipation = [] # England's dissipation-driven adaptation + Prigogine regime gating (England 2013)
iit4 = ["symthaea-core/iit4"] # IIT 4.0: concept structures, cause-effect power (Albantakis 2023)
full_consciousness = [] # Extended consciousness submodules
full_perception = [] # Extended perception submodules
full_language = ["neural-bridge"] # Advanced language features (grammar, parsers) — candle deps via neural-bridge
magi_loop = [] # MAGI Loop world-grounded prediction
# Unified reasoning engine: epistemic conflict, tool gating, temporal planning, counterfactual.
# Subsumes former epistemic_conflict, conscious_tool_gate, temporal_planning, counterfactual features.
reasoning_engine = ["magi_loop", "symthaea-causal-reasoning/counterfactual"]
# ── Code Understanding & Generation ─────────────────────────────────
# Subsumes former code_understanding feature (tree-sitter parsers + code generation).
code_generation = ["tree-sitter-rust", "tree-sitter-python", "symthaea-core/synthesis-trait"]
geodesic_synthesis = ["dep:symthaea-geodesic"] # GCS verification gate for CodingAgent (PDG topology + execution oracle)
wasm-sandbox = ["dep:wasmtime"]
# ── Example & module build gates ───────────────────────────────────
# These gate cfg blocks in src/ code and/or examples.
school_learning = ["code_generation"] # Anticipatory curriculum learning (CfC lookahead, mastery tracking)
mathematics = [] # MathService cognitive loop dispatcher + scientific method engine
scientific_method = ["mathematics"] # Hypothesis-test-update scientific reasoning cycle
benchmarks = [] # Causal validation benchmarks (used by examples/)
integration_module = [] # Integration module (cfg-gated in lib.rs)
observability_module = ["dep:symthaea-observability"] # Observability (cfg-gated in gwt_integration + lib.rs)
support = ["dep:symthaea-support"] # IT support intelligence (triage, diagnostics, knowledge, privacy, actions, prediction)
web_research_module = [] # Web research epistemic verification (cfg-gated in lib.rs)
# [standalone-stripped] prism_search = ["dep:prism-common", "dep:prism-search"] # Prism epistemic search (local, offline)
unstable-examples = [] # UNTESTED: quarantine gate for examples with stale APIs (never enabled by default, gates test files only)
# ── Genesis Pipeline (DNA-to-Human species stewardship) ───────────
genomics = ["dep:symthaea-genomics"] # DNA assembly, damage modeling, repair
cell-foundry = ["dep:symthaea-cell-foundry"] # iPSC, IVG, SCNT, multi-scale prediction
ectogenesis = ["dep:symthaea-ectogenesis"] # Artificial womb, consent proxy escalation
nurture = ["dep:symthaea-nurture"] # Bowlby attachment, co-regulation, milestones
population = ["dep:symthaea-population"] # Population genetics, breeding strategy, governance
genesis = ["genomics", "cell-foundry", "ectogenesis", "nurture", "population"] # Full DNA-to-human pipeline
# ── Genesis Mission Challenges (DOE 2026) ─────────────────────────
# Safety-agents is required for all mission features to ensure safety checks
# are never silently compiled away (see src/safety/mod.rs cfg gates).
fusion-twin = ["physics", "safety-agents"]
safety-agents = []
materials = ["dep:symthaea-materials", "safety-agents"]
nuclear = ["dep:symthaea-nuclear", "safety-agents"] # Computational nuclear structure: mass formula, shell model, island of stability
nuclear-forensics = ["dep:symthaea-nuclear-forensics", "safety-agents"]
quantum-consciousness = ["dep:symthaea-quantum-chemistry"] # Ground consciousness in Schrödinger equation (10 theories × molecular wavefunction)
water-prediction = ["cell-foundry", "safety-agents"]
physics-bridge = ["physics", "dep:symthaea-physics-bridge"] # HDC semantic physics bridge + guided design exploration
analogy-engine = [] # Cross-domain analogy detection in cognitive loop (AnalogyEngine from symthaea-core)
ucl-frames = [] # UCL cross-domain semantic frame detection in cognitive loop
grid-scaling = ["physics", "safety-agents"]
fission-reactor = ["physics", "safety-agents"]
accelerator = ["physics", "safety-agents"]
threat-assessment = ["physics", "safety-agents"]
datacenter = ["physics", "safety-agents"]
experiment-planner = ["cell-foundry", "safety-agents"]
strategic-materials = ["materials"]
critical-minerals = ["materials"]
advanced-manufacturing = ["dep:symthaea-fabrication-kernel", "safety-agents"]
proliferation-safeguards = ["nuclear-forensics"]
# ── Convenience bundles ───────────────────────────────────────────
# Group related features that users commonly enable together.
# REMOVED: consciousness_full (0 cfg gates; pure bundle — enable reasoning_engine + identity directly)
# REMOVED: candle_stack (was alias for neural-bridge) — use neural-bridge directly
# REMOVED: nix_full (was alias for nix-mind) — use nix-mind directly
all_benchmarks = ["benchmarks", "physics"] # All benchmarking features (causal validation + tokamak plasma)
# ── Tested profiles — CI-validated feature combinations ──────────
# Each profile bundles logically related features that are tested together.
# Run: ./scripts/test-feature-profiles.sh to validate all profiles compile.
# Deep consciousness stack: IIT 4.0 + structured bottleneck + reasoning + provenance + self-schema
profile-consciousness = [
"full_consciousness",
"provenance",
"self_schema",
"structured_bottleneck",
"continuous_hot",
"ctc_wiring",
"unified_precision",
"interoceptive_inference",
"england_dissipation",
"iit4",
"reasoning_engine",
"epistemic",
]
# Voice pipeline: vocal-tract articulatory synthesis + SSM language center (no ONNX runtime needed)
profile-voice = [
"vocal-tract",
"ssm_language",
"muse",
]
# Embodiment: all robotics platforms with CPG motor control
profile-embodiment = [
"cpg",
"humanoid",
"flight",
"helicopter",
"vehicle",
"auv",
"manipulator",
]
# Distributed networking: mesh radio + P2P swarm + identity + encryption
profile-distributed = [
"mesh",
"mesh-encryption",
"mesh-key-exchange",
"swarm",
"identity",
"pqc-handshake",
"fhe-wisdom",
]
# Reasoning + code understanding + scientific method
profile-reasoning = [
"reasoning_engine",
"code_generation",
"school_learning",
"scientific_method",
"mathematics",
"geodesic_synthesis",
]
# Genesis: full DNA-to-human species stewardship pipeline
profile-genesis = [
"genesis",
"safety-agents",
"sentinel",
]
# ── Mind bundles (graduated consciousness stacks) ─────────────────
default-mind = [
"broca_lite",
"reasoning_engine",
"integrity",
"glyph_codex",
"sentinel",
"safety-agents",
"cpg",
"spectral_state",
"structured_bottleneck", # Benchmark-validated: composite 0.636→0.877 (+38%)
"ctc_wiring", # GWT entry gated by binding coherence (Fries 2015)
"continuous_hot", # Sub-level HOT depth: accuracy + self-Phi + attention
"unified_precision", # Dynamic HFE precision (Parr 2019). Fixed: 46 Hz (was 1.1 Hz)
"england_dissipation", # England exploration + Prigogine-England tension resolution
"interoceptive_inference", # Body-state prediction modulates precision + blanket (Seth 2021)
"observability_module", # Prometheus metrics + GWT integration telemetry
]
[dev-dependencies]
criterion = "0.5"
proptest = "1.4"
serial_test = "3.2"
symthaea-broca = { path = "crates/symthaea-broca", default-features = false }
symthaea-crucible = { path = "crates/symthaea-crucible" }
symthaea-psych-bench = { path = "crates/symthaea-psych-bench" }
symthaea-humanoid = { path = "crates/symthaea-humanoid" }
symthaea-mycelix-conductor = { path = "crates/symthaea-mycelix-conductor" }
symthaea-epistemic-types = { path = "crates/symthaea-epistemic-types" }
tempfile = "3.8" # For perception tests
tower = { version = "0.5", features = ["util"] } # Router oneshot helpers in integration tests
# Binaries
# Note: Some binaries require specific features or external crates
[[bin]]
name = "symthaea"
path = "src/bin/symthaea.rs"
required-features = ["service"]
[[bin]]
name = "symthaea-shell"
path = "src/bin/symthaea-shell.rs"
required-features = ["shell"]
[[bin]]
name = "symthaea-gui"
path = "src/bin/symthaea-gui.rs"
required-features = ["gui"]
[[bin]]
name = "symthaea-api"
path = "src/bin/symthaea-api.rs"
required-features = ["api_module"]
# Demo binaries (no required features)
[[bin]]
name = "demo-sentinel"
path = "src/bin/demo_sentinel.rs"
required-features = ["demo"]
[[bin]]
name = "symthaea-mind"
path = "src/bin/symthaea-mind.rs"
required-features = ["demo"]
[[bin]]
name = "symthaea-repl"
path = "src/bin/symthaea-repl.rs"
required-features = ["demo"]
[[bin]]
name = "symthaea-demo"
path = "src/bin/symthaea-demo.rs"
required-features = ["api_module"]
[[bin]]
name = "symthaea-watch"
path = "src/bin/symthaea-watch.rs"
required-features = ["api_module", "service"]
[[bin]]
name = "symthaea-multi-embodiment-demo"
path = "src/bin/symthaea-multi-embodiment-demo.rs"
required-features = ["humanoid"]
[[bin]]
name = "symthaea-story"
path = "src/bin/symthaea-story.rs"
[[bin]]
name = "code-gen-smoke"
path = "src/bin/code_gen_smoke.rs"
required-features = ["code_generation"]
[[bin]]
name = "symthaea-holon"
path = "src/bin/symthaea-holon.rs"
required-features = ["api_module"]
# Examples
# Examples that need cfg-gated modules are marked with required-features
# They won't be built by default until the required modules are fixed
# Integration tests needing cfg-gated modules
[[test]]
name = "defense_cascade_integration"
required-features = ["safety-agents", "sentinel"]
[[test]]
name = "flight_integration"
required-features = ["flight"]
# Examples needing cfg-gated modules
[[example]]
name = "quadrotor_hover"
required-features = ["flight"]
[[example]]
name = "quadrotor_formation"
required-features = ["flight"]
[[example]]
name = "mujoco_vs_simple_benchmark"
required-features = ["flight-mujoco"]
[[example]]
name = "mujoco_flight_viewer"
required-features = ["flight-mujoco"]
[[example]]
name = "mujoco_swarm_training"
required-features = ["flight-swarm"]
[[example]]
name = "moral_drone_video"
required-features = ["flight-mujoco-renderer"]
[[example]]
name = "kinetic_sacrifice"
required-features = ["flight-mujoco"]
[[test]]
name = "causal_consciousness_experiments"
required-features = ["humanoid"]
[[test]]
name = "breaking_points_embodied"
required-features = ["humanoid"]
[[test]]
name = "kessler_cascade_scenario"
required-features = ["humanoid", "manipulator"]
[[test]]
name = "robotics_scenarios"
required-features = ["humanoid"]
[[test]]
name = "substrate_embodiment_integration"
required-features = ["humanoid"]
[[test]]
name = "humanoid_integration"
required-features = ["humanoid"]
[[test]]
name = "embodiment_integration"
required-features = ["humanoid"]
[[test]]
name = "safe_fallback_scorecard"
required-features = [
"vehicle", "helicopter", "flight", "surgical",
"exoskeleton", "auv", "quadruped", "manipulator", "orbital",
]
[[example]]
name = "helicopter_phi_benchmark"
required-features = ["helicopter"]