Repository navigation
fix(gs): keep upgrade go installs off ~/.local/bin and fail on pre-v3 engram - #118
Conversation
… engram gentle-ai's beta upgrade ignores GENTLE_AI_ENGRAM_BIN and go-installs the pre-v3 Engram module path into the effective GOBIN. With go env GOBIN set to ~/.local/bin it replaced the engram symlink with Engram v1. gs sync now exports GOBIN=~/go/bin for its steps and reports INCOMPLETE when ~/.local/bin/engram lacks instance-id.
Post-merge QA (glm)Lens: requirements + adversarial. El fix fija GOBIN para que los installs de go upgrade no caigan en ~/.local/bin y falla de forma explicita con engram pre-v3. Sin hallazgos. No findings. Verdict: clean |
Post-merge QA (deepseek)Lens: evidence + test design. QA of the merge that landed: Suggestion (1)
Verdict: clean |
Problem
gentle-shell upgrade --channel mainruns gentle-ai's beta upgrade, which ignoresGENTLE_AI_ENGRAM_BINand runsgo install github.com/Gentleman-Programming/engram/cmd/engram@main(pre-v3 module path → Engram v1) into the effectiveGOBIN. On hosts withgo env GOBIN=~/.local/binthis replaced the~/.local/bin/engramsymlink with v1, breaking every Engram integration (does not support "instance-id").Change
gs syncexportsGOBIN=~/go/binfor every step it runs; its own builds already setGOBINexplicitly.gs syncchecks~/.local/bin/engram instance-idand reportsINCOMPLETE — failed: engram lacks instance-id (pre-v3)on failure.docs/gs-sync.md.Tests
tests/gs_test.sh: two new cases (RED before, GREEN after); full suite passes.Upstream root cause (gentle-ai
internal/update/upgrade/strategy.go,internal/components/engram/download.go) remains to be reported separately.🤖 Generated with Claude Code
https://claude.ai/code/session_01A9D7phtzRBjJGKsHtaiVWj