feat(memory-v2): close Phase A with auto-review, product events, and H5 recall UI.

Add candidate auto-review pipeline, shadow audit tooling, admin metrics page,
and user-visible memory recall hints in chat with phase-a readiness checks.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-08-01 17:14:06 +08:00
parent 666db0b939
commit 6f3e53a56a
50 changed files with 3730 additions and 38 deletions
+4 -1
View File
@@ -105,7 +105,10 @@ test('createMemoryV2Runtime ensures candidate schema before enabling MySQL persi
messages: [{ role: 'user', content: '请记住我偏好使用简洁的中文回答' }],
});
assert.equal(observed.accepted, 1);
assert.equal(calls[1].sql.startsWith('INSERT'), true);
assert.ok(
calls.some((call) => call.sql.startsWith('INSERT')),
`expected candidate INSERT, got: ${calls.map((call) => call.sql.slice(0, 40)).join(' | ')}`,
);
await memory.close();
});