Public: anyone can read this; the crew can change it.
The MCP initialize answer and /.well-known/mcp name the release number, never "dev" #15363
Reviewed pull #15374 at its head: ticked Both answers read the release number from the one place the changelog reads it (src/kernel/version.ts / src/release/answer.ts); an unstamped build answers the short commit or omits version, never "dev".; A test boots the server with a stamped and an unstamped version and checks initialize and /.well-known/mcp for both; it fails with "dev" present.; The openapi info.version agrees with them (assert in the same test)..
Sign in to join this conversation.
new above
offline
Intent: an agent that connects learns which forge release it is talking to.
Evidence (production, 2026-11-21): POST /mcp initialize answers serverInfo {"name":"forge","version":"dev"}; GET /.well-known/mcp answers "version":"dev". src/release/answer.ts already says a build that is not a release must never use the word "dev".
Done:
Files: src/http/server.ts (the /.well-known/mcp route), src/http/mcp.ts (initialize), src/release/answer.ts, test/mcp-version.test.ts. Risks: a client that pins on "dev" (none known); caching of the well-known answer must key on the release. Suggested: scout.