From b9485bae5c2e62fa9c1b1c56d0f75be67cb47c37 Mon Sep 17 00:00:00 2001 From: Agando Date: Mon, 8 Jun 2026 06:01:25 +0200 Subject: auto: 2026-06-08_06:00 changes --- modules/core/module-neural-vfs.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/core/module-neural-vfs.js') diff --git a/modules/core/module-neural-vfs.js b/modules/core/module-neural-vfs.js index 5c30718..e216656 100644 --- a/modules/core/module-neural-vfs.js +++ b/modules/core/module-neural-vfs.js @@ -445,8 +445,9 @@ class NeuralVFSModule { } _isSystemFile(path) { + const normalized = path.startsWith('/') ? path : '/' + path; const sysPrefixes = ['/.trash', '/.semantic_index', '/.memory_graph', '/_snapshots', '/_sessions', '/logs', '/memory', '/system', '/_mods', '/backups']; - return sysPrefixes.some(p => path.startsWith(p) || path.includes('/node_modules')); + return sysPrefixes.some(p => normalized.startsWith(p) || path.includes('/node_modules')); } _contentHash(str) { -- cgit v1.2.3