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
update root docs to S276, handoff for deep debt evolution II
README, DOCUMENTATION, DEBT, CHANGELOG, NEXT_STEPS, sporeprint bumped
to S276. Test counts updated to 9,158+. S276 deep debt evolution II
entry added to CHANGELOG and README. NEXT_STEPS header refreshed.
Handoff created for primalSpring audit.
Co-authored-by: Cursor <cursoragent@cursor.com>
Copy file name to clipboardExpand all lines: DOCUMENTATION.md
+5-4Lines changed: 5 additions & 4 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**: May 2026 — S275
3
+
**Last Updated**: May 2026 — S276
4
4
5
5
---
6
6
@@ -30,11 +30,11 @@ These root documents were **fully resolved** and **fossilized** in wateringHole
30
30
31
31
---
32
32
33
-
## Current State (S275 — May 2026)
33
+
## Current State (S276 — May 2026)
34
34
35
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
-
-**23,000+ tests** (9,149+ lib-only), 0 failures, 0 clippy warnings, 0 fmt diffs. Full workspace concurrent test suite.
37
+
-**23,000+ tests** (9,158+ lib-only), 0 failures, 0 clippy warnings, 0 fmt diffs. Full workspace concurrent test suite.
38
38
-**88 JSON-RPC methods** (direct) + semantic registry. Wire Standard L3 (partial): `cost_estimates`, `operation_dependencies`. **Recommended caller timeout: ≥3 seconds** for health probes during startup.
39
39
-**Phase C complete** (S245–S253) — toadstool-cylinder (153 .rs, 700 tests), DRM/MMIO/AMD/NVIDIA/VFIO hardware modules absorbed from `coral-driver`. `OwnedFd` VFIO fd ownership (S253). SwapOrchestrator real quiesce/persist/restore (S253). `toadstool device` CLI with swap/list/status/warm subcommands (S253). GspBridge trait boundary.
40
40
-**Phase D: Sovereign dispatch validated** (S250–S263) — `try_local_dispatch()` via `ComputeDevice` trait before `coral_client` IPC forward. Full buffer lifecycle. AMD DRM dispatch live. **NV VFIO e2e dispatch validated on Titan V** (S263): warm handoff → VFIO open → channel → DMA roundtrip → GR init. Current frontier: FECS PENDING_CTX_RELOAD.
@@ -44,12 +44,13 @@ These root documents were **fully resolved** and **fossilized** in wateringHole
-**Deep Debt** (S240–S273) — All Duration literals extracted to named constants. `CORALREEF_*` env vars deprecated with `TOADSTOOL_*` primaries + deprecation warnings (S253). Zero `#[allow(deprecated)]` remaining. All lint attrs have `reason`. Zero production mocks/TODO/FIXME/unreachable!(). All unsafe SAFETY-documented. `cargo deny check bans` passes clean.
46
46
-**Deep Debt Evolution** (S273) — Production panic surface eliminated (`kernel_health.rs`, dispatch cache, `ember_client.rs`, `secure_enclave`). `dispatch/mod.rs` 1,638→839L via `dispatch/sovereign.rs` extraction. `warm_init.rs` → module dir. 6 CLI `well_known::*` sites migrated to capability-based discovery. VFIO `activity_tracker().record()` wired. hw-safe abstractions validated.
47
+
-**Deep Debt Evolution II** (S276) — Remaining production unwrap/expect/unreachable eliminated. `handler/sovereign.rs` 1,003L → module directory. `memmap2` removed from hw-safe (rustix mmap). 3 primal-name type aliases deprecated. `ipc.register` capability list aligned to Node Atomic set.
47
48
-**Capability-based everywhere**: 6 CLI hardcoded primal name sites migrated to capability-based discovery (S273); ~400 intentional legacy-compat refs remain (env fallbacks, serde aliases). 0 production mocks. All production logging via `tracing`.
48
49
-**ecoBin v3.0** — Zero C FFI deps. `deny.toml` ring + async-trait + zstd-sys bans active.
49
50
-**46 unsafe blocks** (all in hw-safe/GPU/VFIO/display/plugin containment crates); all SAFETY-documented. Workspace `unsafe_code = "deny"`, **41 crates `forbid`**.
Copy file name to clipboardExpand all lines: NEXT_STEPS.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
# ToadStool -- Next Steps
2
2
3
-
**Updated**: May 2026 — S274 (Glacial Horizon: `max_guest_load` yield semantics enforced and wired into local dispatch. `ResourceOrchestrator` on `DispatchHandler`. `TOADSTOOL_DEPLOYMENT_MODEL` env. 19 new tests. 88 JSON-RPC methods. 9,149+ lib tests.)
4
-
**Status**: Production-grade | Rust edition **2024** (MSRV 1.85) | **AGPL-3.0-or-later** | **All quality gates green** | tests verified (23,000+ workspace, 0 failures; 9,140+ lib-only) | **88 JSON-RPC methods** | Wire Standard L3 (partial) | Zero C FFI deps (ecoBin v3.0) | **Zero production panics/expects** | **Zero production TODO/FIXME/HACK** | **Zero production unreachable!()** | IPC-first | workspace `unsafe_code = "deny"`, **41 crates `forbid`** | **46 unsafe blocks** (all in hw containment, all SAFETY-documented) | **rustix 1.x workspace-wide** | **capability-based primal references (no hardcoded names)** | **`async-trait` DEPRECATED** (banned in `deny.toml`) | **`deny.toml` ring + async-trait + zstd-sys bans active** | **Phase C complete — all blocking items resolved (S253)** | **Phase D dispatch live — QMD-based VFIO PBDMA dispatch wired (S258–S263)** | **`OwnedFd` VFIO fd ownership (S253)** | **`toadstool device` CLI (S253)** | **CORALREEF_* env vars deprecated with TOADSTOOL_* primaries (S253)** | **Zero `#[allow(deprecated)]` remaining** | **700 cylinder tests** | **E2E sovereign dispatch VALIDATED on Titan V (warm handoff)**
5
-
**Latest**: S274 — **Glacial Horizon: Yield-to-Owner Dispatch (Fully Wired)**: `max_guest_load` yield semantics evolved from types-only (S269) to enforced and wired into local dispatch. `ResourceOrchestrator` on `DispatchHandler` with `pre_dispatch_resource_check()` gating VFIO dispatch. `TOADSTOOL_DEPLOYMENT_MODEL=multi|rental` triggers orchestrator from discovered GPUs. `LocalDirect` (default) = zero overhead. 19 new tests (10 core + 9 dispatch integration). 9,149+ lib tests.
6
-
**Previous**: S273 — Deep Debt Evolution: panic surface, refactoring, capability discovery. S268 — Kernel Health Preflight. S267 — Sovereign driver rotation. S266 — PLX keepalive. S265r — Driver Lab. S264 — PCIe bridge keepalive. S263 — warm handoff on Titan V.
| Full workspace test time |~7m (unlimited parallelism, `cfg!(test)` fast timeouts; GPU crates have NVK resilience wrappers) |
279
279
|`unsafe` blocks |**46 actual** (all in hw-safe/GPU/VFIO/display/plugin containment crates); all SAFETY-documented (S204, reconciled S221); workspace `unsafe_code = "deny"`, **41 crates `forbid`** + 5 hw crates with narrow `#[allow(unsafe_code, reason)]`|
@@ -295,13 +295,15 @@ toadStool/
295
295
**We are still evolving.** barraCuda (separate primal) owns all math and shaders. ToadStool focuses on hardware discovery, capability probing, and workload orchestration. All 5 spring handoffs absorbed.
0 commit comments