feat(goose): add local v1.49 canary routing, smoke gates, and migration docs

Wire Portal and TKMind proxy to loopback Goose v1.49 via canary env blocks,
with verification scripts, Phase 2/3 evidence baselines, and rollback runbooks
so local upgrade stays isolated from stable 1.41 and production.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-09-08 21:10:20 +08:00
parent d2d463b1db
commit 716ef407fe
68 changed files with 48162 additions and 2 deletions
+25
View File
@@ -0,0 +1,25 @@
# 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 01)
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