|
1 | 1 | # biomeOS - Current Status |
2 | 2 |
|
3 | | -**Updated**: April 6, 2026 (v2.91: deep debt evolution — 4 large files smart-refactored (topology 869→433, rendezvous 862→321, verify 859→500, orchestrator 855→427), 27 new tests across 5 files (storage, networking, topology, capability, lifecycle), all duplicate deps confirmed transitive) |
4 | | -**Version**: 2.91 |
| 3 | +**Updated**: April 7, 2026 (v2.92: deep debt evolution — probe_endpoint stub→real JSON-RPC, tokio-tungstenite 0.21→0.24 aligned with axum, tokio test-util→dev-deps in 5 crates, nucleus.rs hardcoding→capability-based dispatch, detect_ecosystem→dynamic socket scan, abstract socket dedup, root detection bug fixed in genome_deploy, "registry" taxonomy alias added) |
| 4 | +**Version**: 2.92 |
5 | 5 | **Status**: PRODUCTION READY - Capability-Based Discovery Compliant - Zero Blocking Debt - Fully Concurrent Testing |
6 | 6 |
|
7 | 7 | --- |
|
17 | 17 | | **Security Score** | 100/100 (HSTS, X-Frame, CSP, Referrer-Policy, Cache-Control) | |
18 | 18 | | **Code Quality** | A++ (Pure Rust, Edition 2024 all crates, ecoBin v3.0, fully concurrent, zero warnings, full doc coverage, sovereignty audit) | |
19 | 19 | | **Lint hardening** | `deny` on unwrap_used/expect_used, workspace lints inherited by all 26 workspace crates | |
20 | | -| **Tests Passing** | 7,638 lib + bin + doc + proptest (0 failures, 0 ignored, fully concurrent) | |
| 20 | +| **Tests Passing** | 7,649 lib + bin + doc + proptest (0 failures, 0 ignored, fully concurrent) | |
21 | 21 | | **Test Coverage** | 90%+ region / function / line (llvm-cov workspace-wide, target maintained) | |
22 | 22 | | **Unsafe Code** | 0 production (`#[forbid(unsafe_code)]` on all crate roots, `mem::forget` eliminated) | |
23 | 23 | | **Clippy** | PASS (0 warnings, pedantic+nursery, `-D warnings`, all crates via `[lints] workspace = true`) | |
|
63 | 63 | | **JSON-RPC types** | `JSONRPC_VERSION` const + zero-alloc `JsonRpcVersion` marker type (was `String`), `JsonRpcRequest::new()` builder everywhere, `JsonRpcResponse::success()`/`error()` builders | |
64 | 64 | | **Zero-copy** | `JsonRpcVersion` (zero-size, zero-alloc serde), `bytes::Bytes` for binary payloads (`SecurityRpc`, P2P, compute, genomeBin, HTTP client, primal SDK IPC); `Arc<str>` for identifiers + `PrimalManifest` + `PrimalConnections` keys + `OptimizationType` graph nodes + WebSocket subscription IDs; `Arc<SubscriptionFilter>` for subscriptions; `Value::take()` on Songbird discovery + provider hot paths (eliminates subtree clone); `TransportEndpoint` (tagged enum, zero `PathBuf` allocation for abstract/TCP/HTTP transports) | |
65 | 65 | | **Safe casts** | 0 truncation `as` casts — PID casts use `i32::try_from().unwrap_or(-1)`, duration use `u32::try_from().unwrap_or(MAX)` | |
66 | | -| **Dep policy** | `deny.toml` (cargo-deny 0.19) bans openssl-sys, ring, aws-lc-sys, native-tls, zstd-sys, dirs-sys; `serde_yaml`→`serde_yml` (deprecated dep evolved via Cargo package rename) | |
| 66 | +| **Dep policy** | `deny.toml` (cargo-deny 0.19) bans openssl-sys, ring, aws-lc-sys, native-tls, zstd-sys, dirs-sys; YAML via `serde_yaml_ng` (pure Rust — `unsafe-libyaml` is a Rust translation, not C FFI); tokio-tungstenite 0.24 aligned with axum 0.7 | |
67 | 67 | | **Plasmodium** | HTTP JSON-RPC collective (runtime port, SSH legacy removed) | |
68 | 68 | | **Model Cache** | NUCLEUS-integrated, HuggingFace import, NestGate fallback | |
69 | 69 | | **AI Bridge** | Squirrel -> Songbird -> Cloud/Local AI (validated) | |
@@ -644,7 +644,7 @@ Comprehensive codebase audit against ecoPrimals standards: |
644 | 644 | | `#[allow]` unnecessary | 2 (`vec_init_then_push`) | 0 (replaced with `vec![]`) | |
645 | 645 | | Files >1000 lines | 0 | 0 (max: 985 lines) | |
646 | 646 | | Unsafe code | 0 | 0 | |
647 | | -| External C deps | 1 (`zstd-sys`) | 1 (noted for future format evolution) | |
| 647 | +| External C deps | 1 (`zstd-sys`) | 0 (zstd-sys→lz4_flex, deny.toml enforced) | |
648 | 648 |
|
649 | 649 | Key evolutions: |
650 | 650 | - `std::sync::Mutex` → `tokio::sync::Mutex` in async test contexts |
|
0 commit comments