Skip to content

fix(release): align server.json with package.json (0.18.2) + drift guard - #95

Merged
milstan merged 2 commits into
mainfrom
fix/server-json-version-drift
Jun 9, 2026
Merged

milstan merged 2 commits into
mainfrom
fix/server-json-version-drift

Conversation

@milstan

@milstan milstan commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Problem

packages/mcp/server.json (the MCP-Registry manifest) was stuck at 0.17.2 since the 0.17.2 release. release.yml's registry step verifies server.json.version == package.json.version, so it has failed on every release since: 0.17.3, 0.18.0, and 0.18.1. npm + the GitHub .mcpb shipped each time (those are the channels installs/auto-update actually use), but the MCP-Registry listing silently went stale — caught only at release time, after the fact.

Surfaced while delivering #89 (0.18.1): npm published, GitHub release + .mcpb published, registry step failed on Drift: package.json=0.18.1 server.json=0.17.2.

Change

  • Align both server.json version fields — top-level version and packages[0].version — to package.json (0.18.2).
  • New audit packages/mcp/test/audit/server-json-version.test.ts asserts the alignment (version match on both fields + server.json.name == package.json.mcpName + npm identifier == package.json.name). Drift now fails at PR time, not silently at release.
  • Patch-bump package.json → 0.18.2 so a release fires and the registry finally re-syncs (the fix is inert without a new release; npm won't let 0.18.1 republish).

Heads-up (not changed here — flagging for a call)

server.json packages[0].runtimeArguments still pin @leadbay/mcp@0.17 (and the LEADBAY_TOKEN env hint references @0.17). Once this publishes, a user installing via the MCP Registry would still get npx @leadbay/mcp@0.17 — i.e. the 0.17.x line, without the quota fix. Left untouched because the major.minor pin looks deliberate; say the word and I'll bump those to @0.18 (or unpin) in a follow-up.

Verification

  • pnpm -r build + pnpm -r typecheck — green
  • pnpm -r test — green (core 344 / promptforge 16 / mcp 374, incl. the 4 new audit assertions)

🤖 Generated with Claude Code

milstan and others added 2 commits June 9, 2026 18:40
server.json sat at 0.17.2 since the 0.17.2 release, so release.yml's
MCP-Registry guard (server.json.version == package.json.version) FAILED
on 0.17.3, 0.18.0, and 0.18.1 — npm and the GitHub .mcpb shipped each
time, but the registry listing silently went stale. Align both
server.json version fields (top-level + packages[0].version) to track
package.json, and add test/audit/server-json-version.test.ts so any
future drift fails at PR time instead of only at release. Patch-bump to
0.18.2 so a release fires and the registry finally re-syncs.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
runtimeArguments + the env-var hint still pinned @leadbay/mcp@0.17, so a
registry-sourced `npx` install would pull the 0.17.x line (without the
quota fix). Bump both to @0.18, and extend the audit to assert every
@leadbay/mcp@<major.minor> pin tracks package.json's version line — so the
install pin can't silently lag the way the version field did.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@milstan
milstan merged commit ebd13f4 into main Jun 9, 2026
1 check passed
@milstan
milstan deleted the fix/server-json-version-drift branch June 9, 2026 16:50
milstan added a commit that referenced this pull request Jun 9, 2026
…s hosts (WF#16-18)

Server-built deterministic next_steps on leadbay_pull_leads (the "Triage
board" artifact offer pinned at options[0], null on empty batch), the
dual host-widget schema (ask_user_input_v0 + AskUserQuestion) documented
and made widget-mandatory-when-available, and WF#16-18 contracts.

Rebased onto current main (origin PR #70, squashed): version-bump
collision resolved at 0.19.0 (main reached 0.18.2); bumped
packages/mcp/server.json version fields + the @leadbay/mcp npx pins to
0.19 to satisfy the new server-json-version drift guard (#95); merged
the 0.18.1 / 0.18.2 CHANGELOG entries; regenerated tool descriptions /
prompts / skills from the merged templates (textual auto-merge of
tool-descriptions.generated.ts was stale, picked up #89's quota
description changes on regen).

Co-authored-by: milstan <milstan@gmail.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
milstan added a commit that referenced this pull request Jun 9, 2026
…s hosts (WF#13–15) (#70)

* fix(widgets): reliable next-step / artifact / scheduling offers across hosts (WF#16-18)

Server-built deterministic next_steps on leadbay_pull_leads (the "Triage
board" artifact offer pinned at options[0], null on empty batch), the
dual host-widget schema (ask_user_input_v0 + AskUserQuestion) documented
and made widget-mandatory-when-available, and WF#16-18 contracts.

Rebased onto current main (origin PR #70, squashed): version-bump
collision resolved at 0.19.0 (main reached 0.18.2); bumped
packages/mcp/server.json version fields + the @leadbay/mcp npx pins to
0.19 to satisfy the new server-json-version drift guard (#95); merged
the 0.18.1 / 0.18.2 CHANGELOG entries; regenerated tool descriptions /
prompts / skills from the merged templates (textual auto-merge of
tool-descriptions.generated.ts was stale, picked up #89's quota
description changes on regen).

Co-authored-by: milstan <milstan@gmail.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* chore(eval): move dashboard generator into eval helpers

---------

Co-authored-by: milstan <milstan@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
milstan added a commit that referenced this pull request Jun 10, 2026
Resolve conflicts after main advanced to 0.19.0 (#93 contacts, #95 server-json):
- WORKFLOWS.md: keep main's contact rows (15-23) + append new
  scan_portfolio_signals row (24); renumber.
- research_lead_by_id description: trim 50 chars of redundant prose to absorb
  main's new add_contact anti-trigger (auto-emitted into WHEN TO USE), restoring
  the 17000-char budget (now 16973).
- Regenerate tool-descriptions.generated.ts. Version stays 0.19.1 (main 0.19.0 + patch).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant