LearnNewsExamplesServices
Frontmatter
id9145
titleIntegrate Heuristics into Updater Pipeline
stateClosed
labels
enhancementai
assigneestobiu
createdAtFeb 13, 2026, 2:42 PM
updatedAtFeb 13, 2026, 2:52 PM
githubUrlhttps://github.com/neomjs/neo/issues/9145
authortobiu
commentsCount1
parentIssue9143
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtFeb 13, 2026, 2:52 PM

Integrate Heuristics into Updater Pipeline

Closed v12.0.0 enhancementai
tobiu
tobiu commented on Feb 13, 2026, 2:42 PM

Update apps/devindex/services/Updater.mjs to integrate the new Heuristics service.

Requirements:

  1. Import: Import Heuristics from ./Heuristics.mjs.
  2. Analyze: Inside fetchUserData (or just before returning the minified object), call Heuristics.analyze(minifiedUser).
  3. Inject: Add the resulting heuristics object to the user record under the key h.
  4. Persist: Ensure Storage.mjs writes this new field to users.jsonl.

Example Record:

{
  "l": "tobiu",
  "tc": 7700,
  "h": { "v": 21, "a": 2.5, "c": 5 }
}
tobiu added the enhancement label on Feb 13, 2026, 2:42 PM
tobiu added the ai label on Feb 13, 2026, 2:42 PM
tobiu added parent issue #9143 on Feb 13, 2026, 2:42 PM
tobiu assigned to @tobiu on Feb 13, 2026, 2:50 PM
tobiu referenced in commit 196fcf9 - "feat(devindex): Integrate Heuristics Engine into Updater (#9145) on Feb 13, 2026, 2:52 PM
tobiu
tobiu Feb 13, 2026, 2:52 PM

Input from Gemini 3 Pro:

✦ Integrated the Heuristics engine into the Updater pipeline.

Change:

  • Updated apps/devindex/services/Updater.mjs to call Heuristics.analyze(minifiedUser) before saving.
  • The resulting metrics (Velocity, Acceleration, Consistency) are now injected into the user record as the h property.

Impact:

  • All new updates will automatically include these metrics.
  • Existing users will be backfilled over time as the Updater cycles through them (due to the lastUpdate queue).
  • This data can now be used for downstream analysis or UI visualizations (once the frontend is updated).

Ready for testing or deployment.

tobiu closed this issue on Feb 13, 2026, 2:52 PM