From 05e0f1d5be35e648c9680aeb206721193f3d1be3 Mon Sep 17 00:00:00 2001 From: ProofOfConcept Date: Sun, 8 Mar 2026 18:31:40 -0400 Subject: [PATCH] decay: don't bump version for weight-only changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Decay is metadata, not content. Bumping version caused unnecessary log churn and premature cache invalidation. Also disable auto-decay in scheduler — was causing version spam and premature demotion of useful nodes. --- src/store/ops.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/ops.rs b/src/store/ops.rs index 28459c5..e12cdd1 100644 --- a/src/store/ops.rs +++ b/src/store/ops.rs @@ -197,8 +197,8 @@ impl Store { } // Only persist nodes whose weight actually changed + // Don't bump version — decay is metadata, not content change if (node.weight - old_weight).abs() > 1e-6 { - node.version += 1; updated.push(node.clone()); decayed += 1; }