feat: add mise install support
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 52/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- go
- Domain
- ci-cd, documentation, tooling
Research direction
Read the 3-comment thread and closed PRs #790, #791, #792 first — three prior attempts were not merged, so the scope or approach may be contested. Then start from updateInstructions() in internal/version/check.go (plus its unit test) for the mise detection part, and compare go.mod with the CI workflow files to see what a root mise.toml pin and its drift-guard script must stay in sync with. Done means mise.toml exists, the guard runs in CI, docs/INSTALLATION.md and README.md document the mise install, and non-mise install hints are unchanged.
Written by the indexing model from the issue text.
Description
Pre-flight Checks
- I have searched existing issues and this is not a duplicate
- I understand this issue needs status:approved before a PR can be opened
Problem Description
engram supports Homebrew, go install, and manual binary downloads, but has no first-class mise install path, and the repo declares no pinned toolchain of its own (contributors reconstruct Go/Node versions by reading go.mod and the CI workflows by hand). Separately, updateInstructions() (internal/version/check.go) only branches on runtime.GOOS, so a user who installed engram via mise is told to run brew upgrade engram or go install .../engram@latest — instructions that ignore (and can conflict with) the install mise already manages.
Proposed Solution
- Add a
mise.tomlat the repo root pinninggoandnodeto the versions the project already targets, plus a small CI guard script that fails a PR if that pin drifts fromgo.mod/ the CI workflow files (so it can't silently go stale). - Document installing engram via mise in
docs/INSTALLATION.md/README.md(macOS, Linux, and Windows — engram already ships Windows release archives). - Teach
updateInstructions()to detect a mise-managed install and printmise upgrade engraminstead of the Homebrew/go installhint in that case; every other install method keeps today's behavior unchanged.
Example:
mise use -g github:Gentleman-Programming/engram@latest
engram version
Companion registry submissions (separate, non-code, tracked outside this repo) are both merged now, so the shorter mise use -g engram@latest form will resolve once mise ships a release with the updated registry:
- https://github.com/aquaproj/aqua-registry/pull/59476 (merged)
- https://github.com/jdx/mise/pull/12480 (merged)
Affected Area
Other
Alternatives Considered
Leaving mise unsupported and only documenting Homebrew/go install/manual download — but this repo's own CI already needs a pinned Go/Node toolchain that contributors currently have to reconstruct by hand, and the update hint giving wrong advice to mise users is a real (if minor) correctness bug independent of mise adoption.
- Dominant language
- Go
- Stars
- 7.1k
- Forks
- 729
- Avg merge
- 9h 11m
- Merged PRs (30d)
- 359
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Gentleman-Programming/engram
-
status:needs-review
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Gentleman-Programming/engram#2065 ·
Maintainers usually reply within 1 day
-
priority:medium status:needs-review type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
Gentleman-Programming/engram#863 · 1 comment ·
Maintainers usually reply within 1 day
-
status:needs-review type:feature
Difficulty 5/5 Over a week Newbie friendliness 25/100
Gentleman-Programming/engram#2122 ·
Maintainers usually reply within 1 day
-
status:needs-review type:feature
Difficulty 5/5 Over a week Newbie friendliness 35/100
Gentleman-Programming/engram#2121 ·
Maintainers usually reply within 1 day
-
feat(governance): allow self-contained PRs and retire universal issue and label merge gatesPossibly taken @dnlrsls claimed this today. Openstatus:approved type:feature
Gentleman-Programming/engram#2120 · 4 comments · 1 assignee ·
Maintainers usually reply within 1 day
All issues in Gentleman-Programming/engram
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 61/100
Maintainers usually reply within 1 day
-
stage-fail
Difficulty 1/5 Under an hour Newbie friendliness 72/100
siyuan-note/bazaar#2405 ·
Maintainers usually reply within 1 day
-
bug priority: high workstream:cache
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
rossoctl/context-guru#707 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
prime-radiant-inc/evener#5028 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day