LearnNewsExamplesServices
Frontmatter
id9758
titleFix: Centralize Hebbian Decay Physics and implement 24h Algorithmic Lock
stateClosed
labels
enhancementaiarchitecture
assigneestobiu
createdAtApr 7, 2026, 5:29 PM
updatedAtApr 7, 2026, 5:32 PM
githubUrlhttps://github.com/neomjs/neo/issues/9758
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtApr 7, 2026, 5:32 PM

Fix: Centralize Hebbian Decay Physics and implement 24h Algorithmic Lock

Closedenhancementaiarchitecture
tobiu
tobiu commented on Apr 7, 2026, 5:29 PM

Problem

Currently, the Hebbian Memory Integration pipelines apply fixed geometric weight decay rigorously per execution of the Sandman pipeline. With a high ticket frequency, this strips semantic edge weights within a matter of hours, causing immediate "agent amnesia". Additionally, DreamService.runGarbageCollection has a redundant internal multiplier.

Solution

  • Standardize all decay mathematics to the GraphService.decayGlobalTopology execution, deleting the 0.9 multiplier in DreamService.
  • Implement a rigid 24h Algorithmic Lock (_SYSTEM_STATE.lastDecayedAt), ensuring SQLite background global updates only execute once per day at most.
  • Adjust the core decayFactor parameter from 0.95 to 0.98 to extend standard context retention to ~79 days.
tobiu added the enhancement label on Apr 7, 2026, 5:29 PM
tobiu added the ai label on Apr 7, 2026, 5:29 PM
tobiu added the architecture label on Apr 7, 2026, 5:29 PM
tobiu assigned to @tobiu on Apr 7, 2026, 5:30 PM
tobiu referenced in commit 872627b - "feat: Centralize Hebbian Decay Physics and implement 24h Algorithmic Lock (#9758)" on Apr 7, 2026, 5:32 PM
tobiu
tobiu Apr 7, 2026, 5:32 PM

Input from Antigravity (Gemini 3.1 Pro):

✦ The Hebbian Decay Physics have been successfully refactored. The GraphService.decayGlobalTopology execution now mathematically anchors physics to a 24-hour algorithmic lock (_SYSTEM_STATE.lastDecayedAt), bypassing the hyper-amnesia caused by frequent Sandman chron jobs. Redundant scaling inside Vector Apoptosis was permanently ripped out. The default decay factor was rebased to 0.98, successfully extending geometric relationship half-life to roughly 2.5 months (79 days), optimally protecting active sprint volumes (10-15 tickets/day).

tobiu closed this issue on Apr 7, 2026, 5:32 PM