Skip to content

Commit 3d2adbc

Browse files
author
eastgate
committed
v2.78: blocking debt resolved, AI routing evolved, smart refactoring
All 4 blocking debt items from primalSpring audit resolved: - B-1: Graph rollback with checkpoint/restore + reverse topo lifecycle.stop - B-2: DNS-SD mDNS discovery (RFC 6762) with health probes and LAN fallback - B-3: Remote primal acquisition (GitHub + HTTP + SHA256 verification) - B-4: Federation manifest deployment with topology validation AI module evolved from embedded intent classifier to thin capability routing — biomeOS deploys with ecoBins alone, Squirrel tags in at runtime. capability.discover accepts both capability/domain params (primalSpring compat). Smart refactoring: discovery.rs 1128→467, primal_registry 1150→823 lines. Removed dead tokio-process dep, evolved blake3 to pure, cleaned all Future comments to implementations or documented delegation. Root docs, handoff, CHANGELOG updated to v2.78. Stale version refs fixed. SECURITY.md added. bin/README cleaned. 7,204 tests, 0 failures, 0 clippy warnings, 0 files >1000 LOC, 0 blocking debt. Made-with: Cursor
1 parent 36a7109 commit 3d2adbc

45 files changed

Lines changed: 2678 additions & 1185 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,41 @@
22

33
All notable changes to biomeOS will be documented in this file.
44

5+
## v2.78 (2026-03-29) — Blocking Debt Resolved + AI Routing Evolution + Smart Refactoring
6+
7+
### Blocking Debt Resolved (all 4)
8+
- **B-1 Graph rollback**: Real checkpoint/restore with reverse topological lifecycle.stop + capability.unregister — replaces former no-op
9+
- **B-2 DNS discovery**: mDNS/DNS-SD (RFC 6762) over `_biomeos._tcp.local` with SRV/TXT parsing, health probes, and LAN fallback
10+
- **B-3 Remote primal acquisition**: GitHub releases (curl subprocess) + HTTP downloads (hyper pure Rust) + SHA256 verification + XDG cache
11+
- **B-4 Federation manifest deployment**: YAML manifest parsing, topology validation (acyclic trust graph), per-gate JSON-RPC `federation.configure` + `federation.join`
12+
13+
### Evolved
14+
- **AI module**: Removed embedded intent classifier / recommendation engine (565→395 lines). AI capabilities now route to Squirrel via `capability.discover { domain: "ai" }` at runtime — biomeOS deployable with ecoBins alone, users tag in AI primal on demand
15+
- **capability.discover**: Accepts both `capability` and `domain` parameter names for primalSpring cross-transport compatibility
16+
- **Health check (S-2)**: Deploy-graph health path evolved from socket-existence to real JSON-RPC `health.liveness` probes with 3s timeout
17+
- **Harvest tool (S-3)**: GitHub acquisition implemented — curl + asset matching + SHA256 checksum + manifest provenance
18+
- **capabilities.list**: Added canonical route alias alongside `capability.list` per SEMANTIC_METHOD_NAMING_STANDARD
19+
- **boot/init.rs network config**: Replaced placeholder with loopback verification; network management delegated to Songbird
20+
- **blake3 ecoBin compliance**: Platypus chimera evolved to `blake3 { features = ["pure"] }` — zero C code paths
21+
- **All `Future:` comments**: Evolved to either real implementations or documented architectural delegation
22+
23+
### Refactored
24+
- **discovery.rs** (1128→467 lines): Extracted `dns_sd` module into `discovery/dns_sd.rs` (663 lines)
25+
- **primal_registry/mod.rs** (1150→823 lines): Extracted remote acquisition into `primal_registry/remote.rs` (337 lines)
26+
- Zero files over 1000 LOC in workspace
27+
28+
### Removed
29+
- **tokio-process 0.2**: Dead dependency (listed but never imported) removed from biomeos-deploy
30+
- **Embedded AI types**: `AIRecommendation`, `Priority`, `QueryIntent`, `AIAction`, `AIResponse` — AI policy belongs in Squirrel, not biomeOS
31+
- **GeneticAccessKey String alias**: Consolidated to single struct definition in types.rs
32+
33+
### Added
34+
- `SECURITY.md`: Vulnerability disclosure policy, supported versions, security design principles
35+
- `unsafe_code = "deny"` at workspace level (overridable by `#[expect]` in test-only env helpers)
36+
37+
### Metrics
38+
- **7,204 tests**, 0 failures, 134 ignored, 0 Clippy warnings, 0 files >1000 LOC, 0 blocking debt
39+
540
## v2.77 (2026-03-28) — Deep Audit + DI Evolution + Cleanup
641

742
### Evolved

CONTEXT.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ multiple gates (devices).
2323
- **Architecture:** Single binary (UniBin) with multiple operational modes (bootstrap, nucleus, deploy, doctor, continuous, rootpulse)
2424
- **Communication:** JSON-RPC 2.0 over Unix sockets, abstract sockets, TCP, and HTTP — with tarpc binary protocol escalation for hot paths
2525
- **License:** AGPL-3.0-only (scyBorg triple-copyleft: AGPL-3.0 + ORC + CC-BY-SA 4.0)
26-
- **Tests:** 7,209 passing, 0 failures
26+
- **Tests:** 7,204 passing, 0 failures
2727
- **Coverage:** 90%+ line coverage (llvm-cov verified)
28+
- **Blocking debt:** 0 (graph rollback, DNS discovery, remote acquisition, federation manifest — all resolved)
2829
- **Edition:** Rust 2024 across all workspace crates
2930
- **Crate count:** 26 workspace crates
3031
- **Clippy:** 0 warnings (pedantic + nursery lints)

CURRENT_STATUS.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# biomeOS - Current Status
22

3-
**Updated**: March 28, 2026 (v2.77: deep audit + DI evolution, commented-code cleanup, Cargo.toml hygiene)
4-
**Version**: 2.77
5-
**Status**: PRODUCTION READY - Multi-Computer Federation Validated
3+
**Updated**: March 29, 2026 (v2.78: blocking debt resolved, AI routing evolved, smart refactoring, primalSpring compat)
4+
**Version**: 2.78
5+
**Status**: PRODUCTION READY - Multi-Computer Federation Validated - Zero Blocking Debt
66

77
---
88

@@ -17,7 +17,7 @@
1717
| **Security Score** | 100/100 (HSTS, X-Frame, CSP, Referrer-Policy, Cache-Control) |
1818
| **Code Quality** | A++ (Pure Rust, Edition 2024 all crates, ecoBin v3.0, fully concurrent, zero warnings, full doc coverage, sovereignty audit) |
1919
| **Lint hardening** | `deny` on unwrap_used/expect_used, workspace lints inherited by all 26 workspace crates |
20-
| **Tests Passing** | 7,209 lib + bin + doc + proptest (0 failures, ~135 ignored hardware-dependent — run with `--ignored --test-threads=1`) |
20+
| **Tests Passing** | 7,204 lib + bin + doc + proptest (0 failures, ~134 ignored hardware-dependent — run with `--ignored --test-threads=1`) |
2121
| **Test Coverage** | 90%+ (llvm-cov workspace-wide verified) — all three metrics above 90% target |
2222
| **Unsafe Code** | 0 production (test-only env helpers with RAII guards) |
2323
| **Clippy** | PASS (0 warnings, pedantic+nursery, `-D warnings`, all crates via `[lints] workspace = true`) |
@@ -941,7 +941,7 @@ Family: Shared .family.seed, both enrolled with Blake3-Lineage-KDF
941941
# Build
942942
cargo build --workspace
943943

944-
# Test (7,202 tests — ~135 ignored hardware-dependent — use --ignored --test-threads=1 for those)
944+
# Test (7,204 tests — ~134 ignored hardware-dependent — use --ignored --test-threads=1 for those)
945945
cargo test --workspace
946946

947947
# Clippy (0 warnings, entire workspace)
@@ -963,8 +963,8 @@ echo '{"jsonrpc":"2.0","method":"query_ai","params":{"prompt":"hello","model":"c
963963

964964
---
965965

966-
**Status**: Production Ready (v2.77deep audit + DI evolution, commented-code cleanup, Cargo.toml hygiene)
967-
**Tests**: 7,209 passing, 0 failures, ~135 ignored cwd-sensitive (90%+ llvm-cov verified)
966+
**Status**: Production Ready (v2.78blocking debt resolved, AI routing evolved, smart refactoring, primalSpring compat)
967+
**Tests**: 7,204 passing, 0 failures, ~134 ignored hardware-dependent (90%+ llvm-cov verified)
968968
**Clippy**: PASS (0 warnings, pedantic+nursery) | **Format**: PASS | **Docs**: Full coverage | **Unsafe**: 0 production | **C deps**: 0
969969
**IPC**: Universal IPC v3.0 (Unix/Abstract/TCP/HTTP JSON-RPC) + tarpc binary escalation
970970
**Neural API**: 290+ translations, 26 domains, proxy_http, capability.call, graph coordination

0 commit comments

Comments
 (0)