You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bootstrap writes .mcp.json with unpinned npx, bypassing the repo's pinned CLI #399
The same template is used in a repo that pins the CLI as a devDependency and uses pnpm.
Why it matters
.mcp.json is committed and agent clients can start it automatically. Before dependencies are installed, npx can fetch whatever is currently latest, so a repo that pinned the CLI may run a different, unreviewed version. This is the same class of problem #380 and #379 fixed for CI and git hooks; those fixes did not cover this file.
Expected
Follow the #379/#380 approach and resolve through the repo's package manager with no fetch, for example pnpm exec charter serve --ai-dir .ai, or npm exec --no --package=@stackbilt/cli -- charter serve --ai-dir .ai for npm.
Scope
The generated file is measured on 2.1.0 and the template was read on main. I did not observe an actual version mismatch at runtime.
Activity
docs(changelog): 3.0.0 release notes (#456)