Problem statement
Two documentation gaps cause friction during installation:
1. Install from source: go build binary not in PATH
The README suggests running go install ./cmd/engram followed by go build -ldflags=... -o engram ./cmd/engram. The problem is:
go install puts the binary in $GOPATH/bin (in PATH) but with version "dev"
go build -o engram creates a versioned binary in the current directory, which is not in PATH
- Running
engram version still shows "dev" because it resolves the go install binary
Users end up confused about why the version stamp doesn't work.
2. Claude Code CLI minimum version for marketplace plugin
The marketplace manifest uses "source": "git-subdir" format (introduced in a recent Claude Code CLI version). On older versions (e.g., 2.1.39), engram setup claude-code fails with:
✘ Failed to add marketplace: Invalid schema: plugins.0.source: Invalid input
The fix is claude update (e.g., 2.1.74 works), but this is not documented anywhere.
Proposed approach
Update README.md in two places:
-
"Install from source" sections (macOS/Linux and Windows): Keep go install as the main command, then add a clear "Version stamp" callout explaining two options: (A) go install -ldflags directly, or (B) go build + move to PATH. This clarifies the two approaches without removing either.
-
"Claude Code" under "Agent Setup": Add a visible note about minimum Claude Code CLI version (>= 2.1.70 recommended), how to check (claude --version), how to update (claude update), and the exact error message users will see with older versions.
Risks/tradeoffs
- Minimal risk — documentation-only change
- The exact minimum Claude Code CLI version that supports
git-subdir is not precisely known; we say ">= 2.1.70 recommended"
Affected areas
Problem statement
Two documentation gaps cause friction during installation:
1. Install from source:
go buildbinary not in PATHThe README suggests running
go install ./cmd/engramfollowed bygo build -ldflags=... -o engram ./cmd/engram. The problem is:go installputs the binary in$GOPATH/bin(in PATH) but with version"dev"go build -o engramcreates a versioned binary in the current directory, which is not in PATHengram versionstill shows"dev"because it resolves thego installbinaryUsers end up confused about why the version stamp doesn't work.
2. Claude Code CLI minimum version for marketplace plugin
The marketplace manifest uses
"source": "git-subdir"format (introduced in a recent Claude Code CLI version). On older versions (e.g., 2.1.39),engram setup claude-codefails with:The fix is
claude update(e.g., 2.1.74 works), but this is not documented anywhere.Proposed approach
Update
README.mdin two places:"Install from source" sections (macOS/Linux and Windows): Keep
go installas the main command, then add a clear "Version stamp" callout explaining two options: (A)go install -ldflagsdirectly, or (B)go build+ move to PATH. This clarifies the two approaches without removing either."Claude Code" under "Agent Setup": Add a visible note about minimum Claude Code CLI version (>= 2.1.70 recommended), how to check (
claude --version), how to update (claude update), and the exact error message users will see with older versions.Risks/tradeoffs
git-subdiris not precisely known; we say ">= 2.1.70 recommended"Affected areas