Fix AgentMemory slot MCP errors and Windows portability - #1
Merged
Conversation
arkhipowiktor-dev
marked this pull request as ready for review
August 3, 2026 10:30
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Результат
Исправлены сбои AgentMemory, обнаруженные в локальной установке Виктора, и восстановлена полноценная кроссплатформенная проверка проекта.
Функциональные исправления
memory_slot_*при отключённых optional slots больше не вызывают HTTP 500: возвращается контролируемый MCP-ответ с инструкцией включитьAGENTMEMORY_SLOTS=trueи перезапустить сервис;fs.watch, устраняя подтверждённый native crash Node.js/libuv;cp/mkdir -p;CI
Windows возвращён в полную CI-матрицу:
Exact-head проверка:
ca8ba72785602e2ca124ddf61fb8c4c13010bac6;CI #14/ run30805422866;npm test.Подтверждённая внешняя причина Windows crash
Сбой
Assertion failed: !_wcsnicmp(filename, dir, dirlen), file src\win\fs-event.c, line 72является подтверждённой регрессией Node.js/libuv на Windows Server 2025:nodejs/node#63638(confirmed-bug,windows,libuv);libuv/libuv#5152— merged, но ещё отсутствует в используемых Node 24.18 и Node 26 builds.AgentMemory больше не зависит от ожидания обновления Node: watcher передаёт libuv канонический длинный путь.
Изменённые области
21 файл:
.github/workflows/ci.yml,package.json,scripts/copy-build-assets.mjs;src/mcp/server.ts,src/functions/diagnostics.ts,src/hooks/_project.ts,integrations/filesystem-watcher/*,src/index.ts;README.md,AGENTS.md,plugin/skills/agentmemory-rest-api/REFERENCE.md,scripts/skills/generate.ts;test/cli-remove.test.ts,test/compress-file.test.ts,test/copilot-plugin.test.ts,test/diagnostics.test.ts,test/fs-watcher.test.ts,test/mcp-slots-disabled.test.ts,test/obsidian-export.test.ts,test/slots-flag-gate.test.ts.Аудит
mainи upstreamrohitg00/agentmemory:mainподтверждённо находятся на общей базе5023cf3ccbbecc4e89c345bb56e1a3de756ac144;Статус
PR намеренно остаётся Draft. Ready и merge выполнять только после отдельного подтверждения владельца.