- GapDetector.RecordHit(topic): recall 命中后自动关闭该 topic 的 open gap - GapDetector.ClearMisses(topic): 清除 miss 计数,避免重复触发 - SetGlobalGapDetector / GetGlobalGapDetector: 全局实例注册,供 recall 回调使用 - recall handler (core.go): 命中时调用 RecordHit + ClearMisses 实现 gap auto-close - conflict_muchen handler (server.go): 注册处理器,自动裁决 pending conflict(latest_wins / primary_wins / dismiss) - fix: server_sqlite_nowindows.go 修复 osGetenv → os.Getenv (pre-existing) |
||
|---|---|---|
| .. | ||
| client | ||
| cmd | ||
| internal | ||
| proto | ||
| static | ||
| go.mod | ||
| go.sum | ||
| integration_test.go | ||
| zhiyid-new | ||