670 Python package modules + 97 Rust kernel files in spo-kernel. The generated capability inventory partitions the package as 296 core-engine, 131 runtime/serving, 27 integration, and 213 research/experimental modules.
| Package | Modules | Responsibility |
|---|---|---|
| monitor | 87 | 19 dynamical observers: R, PLV, PAC, chimera, Lyapunov, entropy, TE, EVS, sleep, winding, ITPC, PID, NPE, STL, Poincaré, HCP, psychedelic, session gate |
| upde | 73 | 12 UPDE engine variants (Kuramoto, Stuart-Landau, Inertial, Swarmalator, Simplicial, Stochastic, Geometric, Delay, Ott-Antonsen, Hypergraph, Variational, Market) |
| runtime | 54 | gRPC server, Redis state, Prometheus metrics, OpenTelemetry export, service lifecycle |
| supervisor | 45 | Regime manager (NOMINAL/DEGRADED/CRITICAL), policy engine, MPC, Petri nets, coherence projector |
| coupling | 26 | Knm construction, Hodge decomposition, plasticity, TE-adaptive, spectral, connectome, prior |
| nn | 25 | JAX differentiable: KuramotoLayer, StuartLandauLayer, BOLD generator, Reservoir, UDE, Inverse, OIM, SAF spectral loss |
| studio | 24 | Backend for the interactive web studio / demo and SCPN-STUDIO surface |
| binding | 23 | YAML spec loading, validation, schema enforcement |
| adapters | 22 | 12 bridges: OpenTelemetry, Modbus TLS, Redis, Quantum, Fusion, Plasma, Prometheus, gRPC, WebSocket, MQTT, Nengo, Lava |
| autotune | 13 | Frequency ID, coupling estimation, phase extraction, SINDy data-driven discovery |
| oscillators | 10 | P/I/S phase extractors: Hilbert, event, ring, graph, wavelet, zero-crossing |
| plugins | 9 | Plugin registration and discovery |
| actuation | 8 | Control output mapping with safety constraints |
| assurance | 8 | Assurance and safety-case tooling |
| ssgf | 7 | Self-Stabilising Gauge Field: carrier, ethical constraints, identity costs |
| apps | 6 | QueueWaves FastAPI cascade detector and demo services |
| grpc_gen | 4 | Protocol buffer stubs for the gRPC service |
| reporting | 4 | Coherence plots and PDF reporting |
| visualization | 3 | D3 network graph, Three.js torus, matplotlib |
| drivers | 3 | External forcing across P/I/S channels |
| imprint | 2 | History-dependent coupling modulation |
| scaffold | 1 | Domainpack scaffolding generator |
| meta | 1 | Package metadata and capability registry |
| artifacts | 1 | Evidence and artifact management |
The 24 supported subpackages above hold 459 modules; a research/experimental surface (213 modules) and the package top level make up the rest, for 670 Python package modules overall. The generated capability inventory is the source of truth for module, Rust-file, test, and documentation counts.
7 Rust crates. PyO3 cdylib + WebAssembly target. Pure Python fallback guaranteed.
| Crate | Modules | Purpose |
|---|---|---|
| spo-engine | 57 | All 12 UPDE engines, coupling, monitors, SSGF, autotune in Rust |
| spo-supervisor | 11 | Regime manager, policy, coherence projector |
| spo-oscillators | 5 | Phase extraction (P/I/S channels) |
| spo-types | 5 | Shared config and state types |
| spo-ffi | 1 | PyO3 bindings (cdylib) |
| spo-wasm | 1 | WebAssembly target (browser demo) |
| spo-fpga | — | FPGA / Zynq-7020 target scaffold |
[rust][nn][quantum][plasma][fusion][queuewaves][otel][full]