feat(memory): 记忆整理 v1(design/23)——低峰定期扫描 + 事实包含判定 + 规则否决 + 只产建议队列(不自动应用)
This commit is contained in:
1 parent
012e9f3ad4
commit
91a3209c9b
25 files changed
+3418
-13
No files matched your search
@@ -109,6 +109,11 @@ func (a *app) close(ctx context.Context) {
|
||||
if a.backthink != nil {
|
||||
_ = a.backthink.Stop(ctx)
|
||||
}
|
||||
// 记忆整理与 backthink 同属后台定时任务:先停它,再关库(它每轮只有
|
||||
// 查询与候选写入,且 Stop 会等本轮跑完)。
|
||||
if a.memoryTidy != nil {
|
||||
_ = a.memoryTidy.Stop(ctx)
|
||||
}
|
||||
if a.automation != nil {
|
||||
_ = a.automation.Stop(ctx)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user