feat: add git-consistent memory gateway architecture

This commit is contained in:
lingyuzeng
2026-03-07 22:33:41 +08:00
commit d4cd81f498
40 changed files with 2114 additions and 0 deletions

18
.env.example Normal file
View File

@@ -0,0 +1,18 @@
# Required: git source-of-truth URL (ssh/https/local path)
GIT_REMOTE_URL=git@github.com:your-org/your-memory-repo.git
# Optional runtime tuning
DEFAULT_BRANCH=main
QMD_TIMEOUT_SECONDS=300
QMD_TOP_K=5
QMD_INDEX_PREFIX=ws
QMD_UPDATE_ON_LATEST_QUERY=true
QMD_EMBED_ON_CHANGE=true
# GPU pinning for qmd container
CUDA_DEVICE=1
CUDA_VISIBLE_DEVICES=1
NVIDIA_VISIBLE_DEVICES=1
# Optional warmup profile interval (seconds)
WARMUP_INTERVAL_SECONDS=300