docs(context): note agent memory shadow setup for fusion E2E
Memind CI / Test, build, and release guards (push) Failing after 3m15s

Allow custom shadow portal probe messages and document admin-db steps to
enable recall_fusion_resolved without turning on active injection.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-09-10 09:33:47 +08:00
parent c7a9d439ca
commit 0daf40d950
2 changed files with 25 additions and 3 deletions
+18 -1
View File
@@ -74,7 +74,24 @@ node scripts/run-context-runtime-shadow-portal-e2e.mjs
# 通过 → CONTEXT_RUNTIME_SHADOW_PORTAL_OK
```
`recall_fusion_resolved` agent memory 关闭时可能缺失脚本 WARN 但不阻断。
`recall_fusion_resolved` 需要 **agent memory resolve 开启**admin-db `runtimeControl.agentResolveEnabled=true` + `agentInjectionMode=shadow`**不要**开 `active` injection)。缺失脚本 WARN 但不阻断。
本地曾用(仅 dev,不入库):
```bash
# admin-db 写入 shadow resolve(示例 one-shot
node -e "
import { createDbPool } from './db.mjs';
import { createMemoryV2AdminConfigService } from './memory-v2-admin-config.mjs';
const pool = createDbPool();
const svc = createMemoryV2AdminConfigService(pool);
await svc.updateAdminConfig({
runtimeControl: { agentResolveEnabled: true, agentInjectionMode: 'shadow' },
chatIntentRouter: { memoryResolveEnabled: true },
}, { updatedBy: 'local:context-runtime-shadow' });
await pool.end();
"
```
## 用户自测清单(有 LLM 配额时)