You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DOCUMENTATION.md
+6-10Lines changed: 6 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# ToadStool Documentation Hub
2
2
3
-
**Last Updated**: April 11, 2026 — S200
3
+
**Last Updated**: April 11, 2026 — S202
4
4
5
5
---
6
6
@@ -30,23 +30,19 @@ These root documents were **fully resolved** and **fossilized** in wateringHole
30
30
31
31
---
32
32
33
-
## Current State (S200 — April 11, 2026)
33
+
## Current State (S202 — April 11, 2026)
34
34
35
-
**Post-budding, dependency-sovereign, IPC-first, fully concurrent.** barraCuda is a separate primal at `ecoPrimals/barraCuda/`. ToadStool is the hardware infrastructure layer — GPU/NPU/CPU discovery, capability probing, workload orchestration, and shader dispatch.
35
+
**Post-budding, dependency-sovereign, IPC-first, fully concurrent, capability-based.** barraCuda is a separate primal at `ecoPrimals/barraCuda/`. ToadStool is the hardware infrastructure layer — GPU/NPU/CPU discovery, capability probing, workload orchestration, and shader dispatch.
36
36
37
37
-**21,600+ tests**, 0 failures, 0 clippy warnings, 0 fmt diffs. Full workspace concurrent test suite.
38
38
-**~69 JSON-RPC methods**. Wire Standard L3 (partial): `cost_estimates`, `operation_dependencies`. IPC compliant (`health.liveness` → `{"status":"alive"}`, `health.readiness` → ready+version, `health.check` full envelope, `capabilities.list`, `identity.get`, socket at `$XDG_RUNTIME_DIR/biomeos/toadstool.sock`).
39
39
-**Pipeline dispatch** — `compute.dispatch.pipeline.submit` + `.status` for ordered multi-stage workloads (DAG, topological sort, result forwarding). Resolves neuralSpring PG-05.
40
-
-**Deep debt audit (S200)**: 0 production unwraps, 0 production mocks, 0 hardcoded primal names. Service discovery refactored. rustix aligned to 1.x across workspace (except display V4L2 ioctl migration pending).
40
+
-**Capability-based everywhere (S202)**: 0 production hardcoded primal names, 0 production mocks, 0 production unwraps, 0 TODOs/FIXMEs. All primal references use `PRIMAL_NAME` constant or capability identifiers. API keys evolved (e.g., `shader_compiler_available`).
41
41
-**TS-01 / shader compiler discovery** — `visualization_client.rs` uses unified `capability.discover` (no `CORALREEF_*` env, no coralreef-core.json, no coralreef dir scan).
42
42
-**BTSP Phase 2** — Handshake enforced on every UDS accept path (JSON-RPC + tarpc + daemon servers).
-**ecoBin v3.0** — Zero C FFI deps. Crypto delegated to security service. HTTP delegated to coordination service. Optional **musl-static**~11MB x86_64 PIE binary validated (S198).
47
-
-**Capability-based discovery** — Primals discover each other by capability, not name. Self-knowledge principle. S176–S198: struct fields, docs, `SocketPathEnv` / `resolve_capability_socket_fallback`, embedded `thiserror` stubs. **~400** intentional legacy-compat refs remain (serde aliases, env var fallbacks, parse_type).
43
+
-**34 unsafe blocks (all in hw-safe/GPU/VFIO/display containment crates)**; all SAFETY-documented. 41 crates forbid, 6 deny `unsafe_code`.
44
+
-**ecoBin v3.0** — Zero C FFI deps. `serialport` feature-gated in specialty crate (S202). Crypto delegated to security service. HTTP delegated to coordination service.
48
45
-**Headless GPU** — `TOADSTOOL_HEADLESS=1` env var for pure headless operation. wgpu crash isolation via `catch_unwind` + thread timeout.
49
-
-**BTSP Tier 2** — `validate_insecure_guard()` at server startup (GAP-MATRIX-12). Family-scoped socket handshake on all transports (S198 completes UDS parity).
50
46
-**Fully concurrent tests** — All tests run with unlimited parallelism. Zero `#[serial]`. Zero fixed sleeps in non-chaos tests.
51
47
-**AGPL-3.0-or-later** — All Cargo.toml + all .rs files aligned. `deny.toml` enforced.
-**Dependency evolution**: `serialport` in `toadstool-runtime-specialty` made optional behind `serial-transport` feature.
174
+
-**Unsafe audit**: 34 unsafe blocks confirmed — all in hw containment (mmap, ioctl, volatile MMIO, DMA), all genuinely necessary, all SAFETY-documented. No blocks removable.
175
+
-**Mock audit**: Zero production mocks found. All Mock* types gated behind `#[cfg(test)]` or `test-mocks` feature.
176
+
-**Large file audit**: Most >500-line files are test-only. `jsonrpc_server.rs` (659) was the main prod candidate (now DRY'd).
0 commit comments