@@ -5,6 +5,54 @@ All notable changes to rhizoCrypt will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ 0.14.0-dev] - 2026-04-01 (session 24)
9+
10+ ### Changed
11+
12+ #### Deep Debt: Lock-Free Concurrency, Zero-Sleep Testing, Allocation Elimination
13+
14+ ** 1. Lock-Free CircuitBreaker**
15+ - Replaced ` tokio::sync::Mutex<Option<Instant>> ` with ` AtomicU64 ` (nanos since epoch)
16+ - ` state() ` , ` allow_request() ` , ` record_failure() ` now fully synchronous — zero async overhead
17+ - Uses ` Ordering::Acquire/Release ` for correctness without locks
18+
19+ ** 2. Zero-Sleep Testing (all non-chaos tests)**
20+ - ` JsonRpcServer ` + ` UdsJsonRpcServer ` : added ` serve_with_ready(Arc<Notify>) ` — deterministic readiness
21+ - Binary integration tests: ` wait_for_tcp_ready() ` + ` wait_for_exit() ` replace all ` sleep ` calls
22+ - Discovery tests: removed 22x serialization lock (` DISCOVERY_MOCK_TCP_LOCK ` ) — instances already isolated
23+ - Circuit breaker tests: converted to plain ` #[test] ` with ` Duration::ZERO ` — no tokio needed
24+
25+ ** 3. Hot-Path Allocation Elimination**
26+ - ` HandlerError::InvalidParams ` + ` MethodNotFound ` : ` String ` → ` Cow<'static, str> ` (zero alloc for static messages)
27+ - ` list_capabilities ` : ` OnceLock ` cache — computed once, cloned by reference
28+
29+ ** 4. Dehydration Pipeline Evolution**
30+ - Payload bytes: queries ` InMemoryPayloadStore::total_bytes() ` with vertex-count fallback
31+ - Agent summaries: walks DAG for real ` AgentJoin ` /` AgentLeave ` events (roles, counts, timestamps)
32+ - Attestation collection: discovers ` SigningClient ` at runtime, requests real cryptographic attestations
33+ - Deleted orphan ` dehydration_ops.rs `
34+
35+ ** 5. Test Coverage (+21 tests)**
36+ - Handler: health aliases, MCP tools.list/tools.call, capability aliases, RPC error propagation
37+ - Discovery manifest: env resolution, publish/unpublish roundtrip, scan, discover-by-capability
38+
39+ ** 6. Doc & CI Fixes**
40+ - Fixed broken ` [rhizocrypt_service::ServiceError] ` intra-doc link (` cargo doc -D warnings ` clean)
41+ - Archived 6 stale Dec 2025 session docs from root to ` archive/dec-27-2025-session-docs/ `
42+
43+ ### Quality Gates
44+
45+ - ` cargo fmt ` — clean
46+ - ` cargo clippy --workspace --all-targets --all-features -- -D warnings ` — 0 warnings
47+ - ` RUSTDOCFLAGS="-D warnings" cargo doc --workspace --all-features --no-deps ` — clean
48+ - ` cargo test --workspace --all-features ` — ** 1,423 tests passing** , 0 failures
49+ - All ` .rs ` files under 1000 lines
50+ - Zero unsafe, zero production unwrap/expect
51+ - Zero sleeps in non-chaos tests
52+ - SPDX headers on all 129 ` .rs ` files
53+
54+ ---
55+
856## [ 0.14.0-dev] - 2026-03-31 (session 23)
957
1058### Added
@@ -1283,6 +1331,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
12831331
12841332## Version History Summary
12851333
1334+ - ** 0.14.0-dev** (2026-04-01 s24): Lock-free CircuitBreaker, zero-sleep testing, Cow errors, OnceLock cache, dehydration evolution, +21 tests → 1,423
12861335- ** 0.14.0-dev** (2026-03-31 s23): RC-01 fix — UDS transport + dual-mode TCP + ` biomeos ` path migration + deep debt evolution, 1,402 tests
12871336- ** 0.13.0-dev** (2026-03-23 s19): MCP tools, DagBackend enum, GC sweeper, RedbDagStore wiring, 5 proptests, normalize_method, health alignment, debris cleanup, 1,412 tests
12881337- ** 0.13.0-dev** (2026-03-17 s18): Sovereignty — provenance-trio-types eliminated, wire types inlined, 14-crate ecoBin deny, 6 file extractions, cross-compile CI, RUSTSEC-2026-0049 fix
0 commit comments