Skip to content

Latest commit

 

History

History
121 lines (81 loc) · 7.18 KB

File metadata and controls

121 lines (81 loc) · 7.18 KB

ToadStool Documentation Hub

Last Updated: Jun 2026 — S288


Fossil Record

These root documents were fully resolved and fossilized in the ecosystem fossil record (see github.com/ecoPrimals/fossilRecord): UNSAFE_AUDIT_REPORT, SOVEREIGN_COMPUTE_GAPS, PURE_RUST_TRACKING, STATUS, EVOLUTION_TRACKER, QUICK_REFERENCE, SOVEREIGN_COMPUTE, SPRING_ABSORPTION_TRACKER, BREAKING_CHANGES — all renamed with _S166 suffix.


Quick Navigation

I Want To... Document
Get started README.md
See active debt and evolution paths DEBT.md
Universal precision design specs/UNIVERSAL_PRECISION_ARCHITECTURE.md
Roadmap and next steps NEXT_STEPS.md
Full session-by-session changelog CHANGELOG.md
Hardware Transport Layer specs/HARDWARE_TRANSPORT_SPEC.md
Dual-Fabric Architecture specs/DUAL_FABRIC_ARCHITECTURE.md
GPU operations See barraCuda (ecoPrimals/barraCuda/)
FHE encryption docs/guides/QUICK_START_ENCRYPTION.md
Run tests docs/guides/TESTING.md
Deploy NPU drivers docs/guides/AKIDA_DRIVER_DEPLOYMENT.md
NPU driver design specs/NPU_DRIVER_ARCHITECTURE.md
Multi-tenant security specs/MULTITENANT_COMPUTE_ARCHITECTURE.md

Current State (S288 — Jun 2026)

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.

  • 23,000+ tests (9,156+ lib-only), 0 failures, 0 clippy warnings, 0 fmt diffs. Full workspace concurrent test suite.
  • 111 JSON-RPC methods (direct) + semantic registry. Wire Standard L3 (partial): cost_estimates, operation_dependencies. Recommended caller timeout: ≥3 seconds for health probes during startup.
  • Deep Debt Evolution VIII (S288) — Akida MMIO panicking wrappers removed; BearDog type aliases removed; modbus feature-gated (modbus-transport); ioctl SAFETY docs complete on all output_from_ptr impls.
  • Cross-gate trust + telemetry (S286–S287) — dispatch.verify_trust, dispatch.telemetry.schema; DispatchTrustLevel in CallerContext; GateOwnership + yield-to-owner audit; telemetry to_feature_vector() for barraCuda ml.mlp_train.
  • Deep Debt Evolution VII (S285) — Server crypto migrated to crypto_integration; production Noop/Stub sentinels return typed errors (NoProviderRegistered, NoEngineRegistered); embedded-placeholder-impls opt-in only; PRIMAL_NAME replaces hardcoded literals; last production expect() eliminated; ~100L dead code removed.
  • Deep Debt Evolution VI (S284) — Last 3 production files >800L split (sovereign_init, open_vfio, experiment); final library panics eliminated; dead deprecated symbols pruned; 33 server clippy fixes; 0 production files >800L.
  • Deep Debt Evolution V–VI (S282–S283) — Systematic 6-wave refactor: path/sysfs consolidation, oversized-file splits (S278/S283 waves), mmap/volatile → hw-safe, feature-gated security sandbox, runtime-python archived, capability-based discovery hardened.
  • Diesel Engine Crash Fault Tolerance (Exp 233) — Three-layer crash protection validated: IRQ clutch (irq_clutch.ko), PRI fault guard (skip GPU writes when PRI ring faulted), zombie module strategy (skip rmmod for catalyst handoffs to prevent use-after-free from uncanceled RM kernel timers). System survives warm handoff without lockup.
  • Phase C complete (S245–S253) — toadstool-cylinder, DRM/MMIO/AMD/NVIDIA/VFIO absorbed. OwnedFd VFIO. GspBridge trait.
  • Phase D: Sovereign dispatch validated (S250–S263) — NV VFIO e2e on Titan V. Current frontier: FECS PENDING_CTX_RELOAD.
  • ecoBin v3.0 — Zero C FFI deps. deny.toml ring + async-trait + zstd-sys bans active.
  • 46 unsafe blocks (all in hw-safe/GPU/VFIO/display/plugin containment crates); all SAFETY-documented. Workspace unsafe_code = "deny", 41 crates forbid.
  • Dual-socket IPCcompute.sock (JSON-RPC primary) + compute-tarpc.sock (tarpc hot-path).

See CHANGELOG.md for full session-by-session history (S43–S288).


Core Documentation

README.md -- Project overview, architecture, quality gates, evolution roadmap.

DEBT.md -- Active debt register, workarounds, and evolution paths.

NEXT_STEPS.md -- Roadmap: active work, upcoming infrastructure, completed milestones.

CHANGELOG.md -- Full session-by-session evolution history.


Architecture and Specs

specs/ -- Technical specifications (FP64 evolution, hybrid core streaming, NPU, multi-tenant, cross-platform).

docs/architecture/ -- Design documents, ADRs, migration patterns.


Guides

docs/guides/TESTING.md -- Testing strategy: unit, integration, property-based, fault, chaos testing.

docs/guides/AKIDA_DRIVER_DEPLOYMENT.md -- NPU driver deployment.

BarraCuda guides have been fossilized to ecoPrimals/infra/wateringHole/fossilRecord/. See the barraCuda primal for current docs.


Scientific Middleware

Scientific computing middleware (linalg, numerical, special, stats, optimize, surrogate, sample, PDE) has moved to barraCuda (ecoPrimals/barraCuda/). Legacy API examples are preserved in the fossil record (ecoPrimals/infra/wateringHole/fossilRecord/toadstool/TOADSTOOL_QUICK_REFERENCE_S166.md).


By Role

ML/AI Engineers: README.md then see barraCuda (ecoPrimals/barraCuda/)

Computational Scientists: See barraCuda (ecoPrimals/barraCuda/) for scientific middleware

System Architects: README.md then specs/

DevOps Engineers: README.md then docs/guides/AKIDA_DRIVER_DEPLOYMENT.md


Directory Structure

README.md                  -- Project overview, honest status
DEBT.md                    -- Active debt register, evolution paths
NEXT_STEPS.md              -- Roadmap and upcoming work
CHANGELOG.md               -- Full session history
CONTEXT.md                 -- Public surface summary
DOCUMENTATION.md           -- This file (navigation hub)
docs/
  guides/                  -- Deployment and usage guides
  architecture/            -- Design documents and ADRs
  reference/               -- API reference, constants
  daemon/                  -- Daemon mode user guide
  debt/                    -- Debt tracking details
specs/                     -- Technical specifications

Fossil record — 9 session trackers archived with _S166 suffix under ecoPrimals/infra/wateringHole/fossilRecord/toadstool/.