You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dsh-mneme 0.8.1(npm view @modusensus/dsh-mneme version → 0.8.1,无已修复版本)
宿主:dsh Web profile(~/.dsh/profiles/web),Windows + node v24.14.1
记忆库规模:13243 行,其中 6 行带 scope 标注
现象
memory_get 对任意被 scope 标注过的记忆 id 返回:
tool "memory_get" returned invalid output: "value.memory.agent_scope_source" is not a declared property (additionalProperties: false); "value.memory.workspace_scope_source" is not a declared property (additionalProperties: false)
未被标注的 id 正常返回,所以外部表现为「个别 id 必失败、多数 id 正常」,容易被当成偶发问题。
Activity
modusensus commentedon Sep 15, 2026
报告质量极高——三段代码证据链全部核实,
getById → toApiList的返回路径、内联 schema 的漏键、以及「为什么只有 memory_get 炸」的解释都准确。还多亏你的 SQL 口径:我们按它复现时发现实际漏声明的是三个键(你抓到两条,scope_decided_at在你那几行恰好为 NULL 所以没进报错)。已修复:PR #186——
memory_get的输出 schema 不再维护内联副本,直接复用与memory_search/memory_list共享的MEMORY_ITEM_SCHEMA(键集漂移从此不可能发生),并按你的建议补了回归测试:用宿主生产同款校验器 + 全量标注行复现 #184(修前逐字复现你的报错),外加 DTO 键集 ⊆ schema 声明的防漂移断言。你推测的引入点也对:#171 加列时只更新了共享 schema,漏了内联那份;CI 缺口(DTO 键集 ⊆ 各工具 output schema 的系统性断言)我们会在独立 issue 里跟进(全工具矩阵比单工具复杂,值得单独做)。
感谢报告——这是 0.8.1 当天的第三个高质量 issue,修复会随下一个 patch 版本发布。
fix(tools): memory_get 输出 schema 复用 MEMORY_ITEM_SCHEMA——scope 标注行不再被拒收(…
test(tools): 全工具矩阵的 DTO 键集 ⊆ output schema 断言(issue #195) (#240)