RSHL-Inventor-Disclosure-2026.md (1151 lines, 52K chars)---
Critical Gaps Found:
1. Sparsity σ=0.04 — Code uses σ=0.12 (default) or σ=0.10 (feature flag), not the claimed 4%.
2. Predictive scoring weights — Code uses 0.10/0.65/0.10/0.45; whitepaper specifies 0.20/0.55/0.15/0.20.
3. Epistemic immune system — Component 1 (Dynamic Calibration) missing; Component 3 (Three-Angle Protocol) incomplete.
---
Status: PARTIAL ⚠️
DIM = 16384 ✅ | VERIFIED |SPARSITY = 0.12 (1966 dims), or 0.10 with feature flag | GAP |data: Vec<i8> with values -1/0/+1 | VERIFIED |Evidence:
src/core/sparse_vec.rs:12-13: pub const SPARSITY: f32 = 0.12; (default)src/core/sparse_vec.rs:10-11: #[cfg(feature = "sparsity_010")] pub const SPARSITY: f32 = 0.10;Impact: Higher sparsity (12%) increases expected random dot-product overlap from ~25.6 std to ~44.3 std, reducing effective 3σ isolation capacity from ~43,000 to a lower bound. The Boid engine's apply_to_universe hardcodes 4% requantization (target_nnz = DIM * 0.04), but this only affects post-flocking positions, not the original encoded vectors.
---
Status: PARTIAL ⚠️
n_active = 24 | VERIFIED |n_active = 24 | VERIFIED |n_active = 8 | VERIFIED |Evidence:
src/core/sparse_vec.rs:223-398: Five layers implemented (trigrams, word-hash, word-bigrams, char-bigrams, char-4grams)Impact: Additional character-level layers improve surface-form matching but increase the accumulator's nnz before thresholding, potentially changing the statistical properties of the final ternary vectors.
---
Status: VERIFIED ✅
raw * (strength_bonus + 0.6 * conf) + keyword | VERIFIED |morphological_keyword_overlap + stem_overlap | VERIFIED |Evidence:
src/core/universe.rs:1158-1159, 1207-1208, 1280-1285: All query paths implement the hybrid scorer---
Status: VERIFIED ✅
if cell.claim.confidence >= 2.9 | VERIFIED |0.85 (high) / 0.5 (low) | VERIFIED |0.6 * cell.claim.confidence.min(5.0) | VERIFIED |Evidence:
src/core/universe.rs:967, 1018, 1158, 1207, 1280: All retrieval functions implement the step-function---
Status: VERIFIED ✅
text | String | pub text: String | VERIFIED |vec | SparseVec (16,384-dim) | pub vec: SparseVec | VERIFIED |confidence | f32 ∈ [0.0, 5.0] | pub confidence: f32 (clamped at 5.0 in code) | VERIFIED |source | String | pub source: String | VERIFIED |evidence | Vec<String> | pub evidence: Vec<String> | VERIFIED |contradictions | Vec<String> | pub contradictions: Vec<String> | VERIFIED |created_at | u64 | pub created_at: u64 | VERIFIED |last_verified | u64 | pub last_verified: u64 | VERIFIED |continuation | SparseVec (16K) | pub continuation: SparseVec (on Cell) | VERIFIED |last_fired | u64 | pub last_fired: u64 (on Cell) | VERIFIED |convergence_score | f32 ∈ [1.001, 9.99] | pub convergence_score: f32 (on Cell) | VERIFIED |nnz | u32 | pub nnz: u32 (on Cell) | VERIFIED |Evidence:
src/core/claim.rs:4-46: Full Claim structsrc/core/universe.rs:70-87: Cell struct with all metadata fields---
Status: PARTIAL ⚠️
GOLDEN_ANGLE: f32 = 2.399_963_1_f32 | VERIFIED |project_vogel_spiral for spatial placement | GAP |cosine() or query() scoring | GAP |Evidence:
src/core/sparse_vec.rs:803: const GOLDEN_ANGLE: f32 = 2.399_963_1_f32;src/core/sparse_vec.rs:800-833: project_vogel_spiral() uses golden angle for cell placementImpact: The golden angle is used for spatial initialization but NOT for retrieval scoring. The whitepaper's claim that "phasor coherence" improves retrieval precision is not implemented in the query path.
---
Status: VERIFIED ✅
GOLDEN_B: f32 = 0.306_349 | VERIFIED |theta_step = 0.05 (default) | VERIFIED |tau_r = 0.5 + 0.5 * radius | VERIFIED |THETA_FOLD_PERIOD = 8π | VERIFIED (implementation detail) |Evidence:
src/core/spiral.rs:17-24: All constants match whitepaper exactlysrc/core/spiral.rs:52-84: tick(), recompute(), tau_r() implementation---
Status: VERIFIED ✅
separation_weight: 1.5, alignment_weight: 1.5, cohesion_weight: 1.5 | VERIFIED |ANCHOR_CONFIDENCE_THRESHOLD: f32 = 3.5 | VERIFIED |MIN_NEIGHBOR_SIM: 0.15, MAX_NEIGHBOR_SIM: 0.85, separation at sim>0.6 | VERIFIED |if state.regions[i] != state.regions[j] { continue } | VERIFIED |if current_layer == LAYER_CELLULAR && user_ids[i] != user_ids[j] { continue } | VERIFIED |Evidence:
src/core/boid_engine.rs:15-38: All constants matchsrc/core/boid_engine.rs:124-252: Full run_boid_iteration() with all safeguards---
Status: VERIFIED ✅ (structure) / PARTIAL ⚠️ (scoring weights)
pub continuation: SparseVec on Cell | VERIFIED |predictive_query_filtered | DEVIATION |Evidence:
src/core/predictive.rs:12-15: Comments claim 0.55 * predictive_matchsrc/core/universe.rs:2382: Actual code: let score = 0.10 * sim + 0.65 * predict_match + 0.10 * mh - 0.45 * rec;Impact: The continuation match is overweighted (0.65 vs 0.55), and similarity is underweighted (0.10 vs 0.20), making retrieval more trajectory-dependent than specified.
---
Status: VERIFIED ✅
pub struct ConversationTrace { current: SparseVec, turns_seen: u64 } | VERIFIED |permute(current, 1) then bundle | let rotated = self.current.permute(1); self.current = SparseVec::bundle(&[&rotated, &v]); | VERIFIED |Evidence:
src/core/predictive.rs:37-68: Full ConversationTrace implementation---
Status: PARTIAL ⚠️
MONOCULTURE_THRESHOLD: f32 = 0.35, MONOCULTURE_MIN_SIZE: usize = 5 | VERIFIED |run_homeostasis_cycle() calls Boid + pruning | VERIFIED |Evidence:
src/core/universe.rs:1625-1664: FID scan fully implementedsrc/core/universe.rs:1746-1802: ingest_and_verify() exists but only calls should_accept_claim()src/core/universe.rs:1910-1947: should_accept_claim() checks confidence floor, evidence, and basic contradiction — no Three-Angle ProtocolPHYSICS_RESONANCE_FLOOR=0.55, COHERENCE_FLOOR=0.40 — these constants are mentioned in seed data but NOT used in ingest_and_verifyImpact: The epistemic immune system is missing its most sophisticated component (dynamic calibration) and its primary gate (Three-Angle Protocol) is reduced to a simple contradiction check. This significantly weakens the system's ability to reject false claims.
---
Status: VERIFIED ✅
"roundtable" region exists | VERIFIED |LAYER_CELLULAR with user_id filter in Boid + query | VERIFIED |query_in_regions() + user_id parameter | VERIFIED |Evidence:
src/core/claim.rs:48-52: Layer constants including LAYER_CELLULAR = 2src/core/boid_engine.rs:191-194: Per-user isolation in Boid enginesrc/core/universe.rs:2314-2318: Per-user query filtering---
Status: VERIFIED ✅
const BASE_LTP: f32 = 0.035; | VERIFIED |const LTD_IDLE_TICKS: u64 = 80; | VERIFIED |const MAX_FAN_OUT: usize = 32; | VERIFIED |const MAX_TOTAL_SYNAPSES: usize = 8192; | VERIFIED |BASE_LTP * (1.0 + dopamine * 0.8) | VERIFIED |* (1.0 + phi_g * 0.5) | VERIFIED |(1.0 - chi * 0.8).max(0.05) | VERIFIED |synapse.rs:296-312 documents all 12 stages | VERIFIED (as documentation) |Evidence:
src/core/synapse.rs:44-63: All constants match whitepaper exactlysrc/core/synapse.rs:115-142: record_co_firing() with full neuromodulator gatingsrc/core/synapse.rs:318-391: NeuralBus::query_associative() implements stages 1-3Note: The 12-step NeuralBus is documented as comments but not executable as a single pipeline. Engine::query() implements stages 1-4; run_homeostasis_cycle() implements pruning + Boid (stages 10-11). Stages 5-9 and 12 are distributed across the engine tick.
---
Status: VERIFIED ✅
get_settings_for_layer(0..4) | VERIFIED |movement_speed: 0.40, 0.25, 0.35, 0.15, 0.08 | VERIFIED |vitality_decay: 0.05, 0.01, 0.02, 0.005, 0.001 | VERIFIED |if new_vitality > 0.95 && phi_g > 0.7 && current_layer < 5 { current_layer += 1 } | VERIFIED |if new_vitality < 0.15 && current_layer > 1 { current_layer -= 1 } | VERIFIED |Evidence:
src/core/scale_manager.rs:6-62: All 5 layers with distinct parameterssrc/core/boid_engine.rs:163-170: Maturation/degradation logic---
The whitepaper and code comments in predictive.rs specify:
0.20 * sim + 0.55 * predict_match + 0.15 * mh - 0.20 * rec
The actual implementation in universe.rs:2382 uses:
let score = 0.10 * sim + 0.65 * predict_match + 0.10 * mh - 0.45 * rec;
This shifts emphasis from raw similarity (-0.10) and consensus (-0.05) toward trajectory prediction (+0.10) and anti-recency (-0.25). The comment in predictive.rs is misleading and should be updated to match the code, or the code should be restored to the documented weights.
The whitepaper claims σ=0.04 (4%, ~655 active dims) throughout. The code uses σ=0.12 (12%, ~1966 dims) by default. The Boid engine's apply_to_universe does requantize to 4% (target_nnz = DIM * 0.04), but this only affects cells AFTER flocking, not the original encoding.
Recommendation: Either update the whitepaper to reflect 12% sparsity, or adjust SPARSITY to 0.04 and re-validate retrieval performance.
ingest_and_verify Three-Angle ProtocolThe whitepaper describes a rigorous protocol:
1. Angle 1: Query lattice for positive evidence
2. Angle 2: Query lattice for contradicting evidence
3. Angle 3: Compute domain resonance score
4. Physics resonance floor (0.55) for established-physics claims
5. Coherence floor (0.40) for all claims
The actual ingest_and_verify():
1. Creates a temporary claim
2. Calls should_accept_claim() — which only checks: confidence ≥ 0.45, evidence non-empty, no direct contradiction
3. Does NOT query the lattice for corroboration or contradiction
4. Does NOT compute domain resonance
5. Does NOT enforce physics/coherence floors
Recommendation: Implement the full Three-Angle Protocol in ingest_and_verify().
Component 1 of the epistemic immune system ("Dynamic Calibration") is entirely absent. There is no mechanism that tracks retrieval accuracy and adjusts confidence thresholds.
Recommendation: Implement a calibration tracker that monitors query→response accuracy and adjusts effective confidence thresholds per region.
The whitepaper claims Fibonacci torsion "improves retrieval precision" via phasor coherence. The project_vogel_spiral() function uses the golden angle for spatial placement, but no retrieval function (query(), predictive_query(), cosine()) uses phase-angle-based coherence scoring.
Recommendation: Either remove the retrieval-precision claim from the whitepaper, or implement phasor_coherence = cos(θ_q) * cos(θ_cell) as an additive term in retrieval scoring.
---
sparse_vec.rs:SPARSITY=0.12 vs claimed 0.04 | Critical gap |universe.rs:1158-1159 | Exact match |universe.rs:967,1280 | Exact match |claim.rs:4-46, universe.rs:70-87 | All fields present |spiral.rs:17-84 | Exact match |boid_engine.rs:15-252 | Exact match |predictive.rs:37-68 | Exact match |claim.rs:48-52, Boid + query isolation | Exact match |synapse.rs:44-391 | All constants match |scale_manager.rs:14-61 | Exact match |---
*End of Audit Report*