478c33376c
Memind CI / Test, build, and release guards (push) Has been cancelled
Provide context-runtime-profile simulation for gateway shadow events, run-context-runtime-offline.mjs for zero-LLM verification, and a local dev guide for user-led shadow self-tests later. Co-authored-by: Cursor <cursoragent@cursor.com>
66 lines
2.4 KiB
Bash
66 lines
2.4 KiB
Bash
# Goose v1.49 local canary example.
|
||
# Copy into .env.local via: bash scripts/switch-goose-v149-canary.sh on all
|
||
# Rollback: bash scripts/switch-goose-v149-canary.sh rollback
|
||
|
||
# --- Full canary (all Portal traffic → v1.49) ---
|
||
# TKMIND_GOOSE_CANARY=all
|
||
# TKMIND_API_TARGET=https://127.0.0.1:18049
|
||
# TKMIND_API_TARGET_STABLE=https://127.0.0.1:18006
|
||
# TKMIND_API_TARGET_V149=https://127.0.0.1:18049
|
||
|
||
# --- Per-user canary ---
|
||
# TKMIND_GOOSE_CANARY=users
|
||
# TKMIND_API_TARGET=https://127.0.0.1:18006
|
||
# TKMIND_API_TARGETS=https://127.0.0.1:18006,https://127.0.0.1:18049
|
||
# TKMIND_GOOSE_CANARY_USER_IDS=replace-with-user-uuid
|
||
|
||
# Memory safety (Phase 0–1)
|
||
MEMORY_BACKEND=legacy
|
||
MEMORY_VECTOR_ENABLED=0
|
||
MEMORY_AGENT_INJECTION_MODE=off
|
||
MEMORY_LIFECYCLE_ENABLED=0
|
||
MEMORY_CANDIDATE_ENABLED=0
|
||
|
||
# Goose v1.49 local session DB (isolated from production memind_sessions)
|
||
# GOOSE_SESSION_DB_URL=postgresql://john@127.0.0.1:5432/goose_sessions_v149_dev
|
||
|
||
# Headroom context compression (Phase 1, local loopback only)
|
||
# MEMIND_HEADROOM_MODE=off
|
||
# MEMIND_HEADROOM_PROXY_BASE_URL=http://127.0.0.1:8787/v1
|
||
# MEMIND_HEADROOM_UPSTREAM_BASE_URL=http://127.0.0.1:18036/v1
|
||
# OPENAI_TARGET_API_URL=http://127.0.0.1:18036/v1
|
||
# HEADROOM_OUTPUT_SHAPER=0
|
||
# MEMIND_HEADROOM_OBS_MODEL=deepseek-chat
|
||
|
||
# DeepSeek Harness code executor (developer preview, default off)
|
||
# MEMIND_TOOL_GATEWAY_DSH_ENABLED=0
|
||
# MEMIND_TOOL_GATEWAY_DSH_TASK_TYPES=repo_refactor,multi_file
|
||
# MEMIND_DSH_BIN=dsh
|
||
|
||
# Context injection budget (Phase 2, default off — does not open memory injection)
|
||
# MEMIND_CONTEXT_BUDGET_MODE=off
|
||
# MEMIND_CONTEXT_BUDGET_MAX_CHARS=12000
|
||
|
||
# Recall fusion (Phase 3, default off)
|
||
# MEMIND_RECALL_FUSION_MODE=off
|
||
# MEMIND_RECALL_FUSION_RRF_K=60
|
||
# MEMIND_RECALL_FUSION_LIMIT=3
|
||
|
||
# zvec-grep workspace search for code tasks (dev/local, default off)
|
||
# MEMIND_ZVEC_WORKSPACE_MODE=off
|
||
# MEMIND_ZVEC_BINARY=zg
|
||
# MEMIND_ZVEC_WORKSPACE_TASK_TYPES=page_data_dev_complex,repo_refactor,multi_file
|
||
|
||
# MCP tool result compaction (Phase 1-B, default off — version无关)
|
||
# MEMIND_MCP_COMPACT_MODE=off
|
||
# MEMIND_MCP_COMPACT_BUDGET_CHARS=4000
|
||
# MEMIND_MCP_COMPACT_TTL_SECONDS=3600
|
||
# MEMIND_RUNTIME_REDIS_URL=redis://127.0.0.1:6379/0
|
||
|
||
# Context Runtime shadow observe-only bundle (see docs/context-runtime-local-dev.md)
|
||
# MEMIND_HEADROOM_MODE=shadow
|
||
# MEMIND_CONTEXT_BUDGET_MODE=shadow
|
||
# MEMIND_RECALL_FUSION_MODE=shadow
|
||
# MEMIND_MCP_COMPACT_MODE=shadow
|
||
# MEMIND_ZVEC_WORKSPACE_MODE=shadow
|