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:
@@ -0,0 +1,37 @@
|
||||
# Memory V2 Phase A canary example
|
||||
# Copy selected variables into memind_adm runtime overrides or local .env.
|
||||
# See docs/architecture/memory-v2-phase-a-closure-plan.md
|
||||
|
||||
MEMORY_ENABLED=1
|
||||
MEMORY_FAIL_OPEN=1
|
||||
|
||||
# Candidate pipeline: canary only auto-accepts explicit "请记住"
|
||||
MEMORY_CANDIDATE_ENABLED=1
|
||||
MEMORY_CANDIDATE_MODE=canary
|
||||
MEMORY_CANDIDATE_PERSISTENCE_ENABLED=1
|
||||
MEMORY_CANDIDATE_AUTO_ACCEPT_ALL=0
|
||||
MEMORY_CANDIDATE_MIN_IMPORTANCE=0.7
|
||||
MEMORY_CANDIDATE_MIN_CONFIDENCE=0.8
|
||||
|
||||
# Agent injection aligned with the same canary users
|
||||
MEMORY_AGENT_RESOLVE_ENABLED=1
|
||||
MEMORY_AGENT_INJECTION_MODE=canary
|
||||
MEMORY_AGENT_CANARY_USER_IDS=32035858-9a20-425b-89da-c118ef0779aa,1c99b83b-0454-474f-a5d2-129d34506a32
|
||||
|
||||
# Lifecycle: promote only; forgetting/decay stay off in Phase A
|
||||
MEMORY_LIFECYCLE_ENABLED=1
|
||||
MEMORY_LIFECYCLE_ROLLOUT_MODE=canary
|
||||
MEMORY_LIFECYCLE_ROLLOUT_USER_IDS=32035858-9a20-425b-89da-c118ef0779aa,1c99b83b-0454-474f-a5d2-129d34506a32
|
||||
MEMORY_PROMOTION_ENABLED=1
|
||||
MEMORY_LIFECYCLE_WORKER_ENABLED=1
|
||||
MEMORY_LIFECYCLE_FORGETTING_ENABLED=0
|
||||
MEMORY_LIFECYCLE_DECAY_ENABLED=0
|
||||
|
||||
# pgvector (set URL + embedding module before enabling retrieval canary)
|
||||
# MEMORY_BACKEND=pgvector
|
||||
# MEMORY_VECTOR_ENABLED=1
|
||||
# MEMORY_PGVECTOR_ENABLED=1
|
||||
# MEMORY_PGVECTOR_DATABASE_URL=postgresql://john@127.0.0.1:5432/memind_memory
|
||||
# MEMORY_PGVECTOR_TABLE=memory_embeddings
|
||||
# MEMORY_PGVECTOR_EMBEDDING_MODULE=./scripts/embed-memory-v2-local-hash.mjs
|
||||
# MEMORY_V2_LOCAL_EMBEDDING_DIMENSIONS=3
|
||||
Reference in New Issue
Block a user