From 1b7ca5ecf1f12bf58f6c0e28f7e738536afea7dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=93=88=E5=9F=BA=E7=B1=B3?= <140241684+BlueX888@users.noreply.github.com> Date: Mon, 12 Oct 2026 22:45:08 +0800 Subject: [PATCH] fix(memory): keep non-core fact categories instead of rewriting to other (#6733) * fix(memory): keep non-core fact categories instead of rewriting to other _normalize_category rewrote any category outside CORE_CATEGORIES to "other" and parked the original label in a write-only categoryExtension field, so memory_add(category="personal") -- an example label in the tool's own docstring -- persisted as "other" and memory_search(category="personal") ("Only facts with this exact category are returned") never matched it. get_memory documents kept reporting "other" as well. Keep the caller's label as the stored category so it round-trips through search, documents, and the retrieval index. * fix(memory): finish migrations interrupted across the category change A pre-native-category Gateway committed a per-agent legacy JSON migration as category="other" + categoryExtension=