Repository navigation
fix(helper-mcp): rename to unscoped trinity-docs-mcp (npm scope unavailable) - #1829
Conversation
…y-docs-mcp The abilityai npm name is held by a legacy account we cannot access (login/recovery dead-ends; support recovery pursued separately), so the scope can't be created. Unscoped trinity-docs-mcp was free — 0.1.0 is now published (manual bootstrap done; Trusted Publisher wired to publish-helper-mcp.yml for OIDC publishes). Renames the package across package.json/lock, README, the publish workflow, and the three doc pages. Co-Authored-By: Claude Fable 5 <[email protected]>
webmixgamer
left a comment
There was a problem hiding this comment.
/validate-pr — REQUEST CHANGES
The rename is correct across all 7 changed files. Two items before merge:
- Root
README.mdstill ships the old scoped name.README.md:538andREADME.md:546(the "Ask Trinity from any MCP client" section) still read@abilityai/trinity-docs-mcp— line 546 is the livenpx -y @abilityai/trinity-docs-mcpinstall snippet. Since that package is unpublishable, this is the exact broken reference the PR exists to retire, in the repo's most-visible install doc.git grep '@abilityai/trinity-docs-mcp'against this branch confirmsREADME.mdis the only remaining file. Apply the same one-liner rename. - Link the issue. This resolves #1698 (npm bootstrap for #1459). Add
Closes #1698to the PR body so it auto-promotes/closes on merge.
Everything else passes — security (no secrets/keys), packaging (workflow npm publish uses the renamed package.json; version-exists guard updated; bin already unscoped), in-PR docs, and commit hygiene.
|
Resolve by running |
The root README's "Ask Trinity from any MCP client" section still pointed at @abilityai/trinity-docs-mcp — including the live npx install snippet — which is unpublishable since the abilityai npm scope is unavailable. Renames both to the unscoped trinity-docs-mcp, matching the other 7 files in this PR. git grep now reports zero remaining references to the scoped name.
The rename changed the 'MCP Distribution — trinity-docs-mcp' heading in trinity-docs-qa.md but left the only in-doc link to it pointing at the anchor derived from the old scoped heading (#mcp-distribution--abilityaitrinity-docs-mcp-1459), so the link was dead. A grep for '@abilityai/trinity-docs-mcp' can't catch this — GitHub's slug algorithm strips the @ and /, mangling the name to 'abilityaitrinity-docs-mcp'.
|
@webmixgamer both items from your review are addressed — thanks for catching the README one, it was the install snippet users actually copy.
One extra thing surfaced while verifying, fixed in A dead intra-doc anchor this PR introduced. The rename changed the heading in Worth flagging why a grep can't catch this class: GitHub's slug algorithm strips Also confirmed against the live registry: |
obasilakis
left a comment
There was a problem hiding this comment.
Approving — webmixgamer's two review items are both addressed.
- Root
README.md(:538 prose link and :546 the livenpx -yinstall snippet) now use the unscopedtrinity-docs-mcp(8100dad).git grep '@abilityai/trinity-docs-mcp'across the branch is zero hits. Closes #1698added to the PR body, so the issue auto-closes and promotes tostatus-in-devon merge.
Additionally fixed a dead intra-doc anchor this PR had introduced (7e51188): the rename changed the MCP Distribution heading in trinity-docs-qa.md but left the only link to it pointing at the old heading's slug. A grep for the scoped name cannot catch that class — GitHub's slug algorithm strips @ and /, so it appears mangled as abilityaitrinity-docs-mcp.
CI green on 7e51188: 20 pass / 0 fail; regression diff reports No new failures (base and head both 5842 pass / 1 fail across all three seeds — that one failure is the pre-existing test_1069_voip_call_path_param FastAPI drift already on dev). Verified against the live registry: [email protected] resolves, @abilityai/trinity-docs-mcp 404s.
obasilakis
left a comment
There was a problem hiding this comment.
Approving — webmixgamer's blocking item is fixed.
README.md:538,546 now use the unscoped trinity-docs-mcp, including the live npx -y install snippet. git grep '@abilityai/trinity-docs-mcp' against the branch returns zero hits, so the unpublishable scoped name is fully retired. A second commit also repointed the MCP Distribution anchor in docs/memory/feature-flows/trinity-docs-qa.md at the renamed heading.
CI: 20/20 green, no failures. Diff is 8 files, +18/-18, rename-only — no behavior change.
Note this does not clear the merge block on its own: the standing CHANGES_REQUESTED keeps reviewDecision blocking regardless of later approvals. @webmixgamer this is ready for your re-review.
|
@webmixgamer ready for re-review — both items from your CHANGES_REQUESTED are done (README unscoped in CI is green on The merge is blocked purely on your standing review — a later approval doesn't clear it, and dismissing yours isn't mine to do. Whenever you get a moment, could you re-review so it can land? |
Both items addressed: README.md:538/546 unscoped in 8100dad (git grep for the scoped name = zero hits); issue ref is in the body (#1698 was transferred to trinity-enterprise#330). CI green; obasilakis approved x2. Dismissing the stale block so it can land.
dev and main diverged: dev 425 ahead / 26 behind. All 9 code+docs fixes on main were already in dev (the promote-to-main cherry-picks), so the only content dev genuinely lacked was 4 root-lockfile dependabot bumps and the /trinity:start-here user docs (#2054). Merged rather than rebased: dev has 12 open PRs based on it and branch protection sets allow_force_pushes=false + enforce_admins=true, so a rebase is both blocked and destructive. A merge also makes main an ancestor of dev again, so the next release PR is clean. Conflict resolution (24 files) — dev's side everywhere except where main was genuinely newer, because main carries the older cherry-picked form of fixes dev has since extended: - src/backend/services/agent_service/crud.py — dev is a strict superset: THREE seams sharing _resolve_local_template_dir (#1900/#1935) vs main's TWO, and HardenedYamlError in the except clause (ent#314). Same UNKNOWN_LOCAL_TEMPLATE / LOCAL_TEMPLATE_INVALID / INVALID_LOCAL_TEMPLATE_NAME gates on both sides. - src/helper-mcp/package.json — kept dev's UNSCOPED trinity-docs-mcp name. #1829 renamed it deliberately (npm scope unavailable); main still has the scoped form, and taking it would break publish-cli. Took main's @modelcontextprotocol/sdk ^1.30.0 alongside it. - nested package/lock files — dev's side; main would have downgraded pinia 4.0.2 -> 3.0.4, fastmcp 4.13.1 -> 4.8.0, vite, vue, axios, playwright, and dropped vitest. Re-applied main's two floor bumps that dev lacked (frontend mermaid ^11.16.1 with the lock root mirror kept in sync; mcp-server hono override >=4.13.0), both already satisfied by dev's resolved lock. - tests/registry.json — rebuilt from the three stages: main contributed 0 entries dev lacks, and both dual-edited entries were unchanged from base on main. 176 entries, no duplicates. - frontend components + e2e specs — dev's side; both sides keep all 4 data-sep hooks and dev's spec additionally covers the ent#260 'list' mode. Net effect on dev is 8 files: the root lockfile bumps (hono 4.12.25->4.13.0, @hono/node-server 1.19.14->1.19.17, ip-address 10.2.0->10.4.0, fast-uri 3.1.4->3.1.5), the two floor bumps, the helper-mcp sdk bump, and the #2054 docs. No regressions. Verified: zero conflict markers tree-wide, all touched JSON parses, Alembic resolves to a single head (0038_portal_chat_state).
The
@abilityainpm scope is held by a legacy account we can't access (website login/recovery dead-ends — support recovery is being pursued out-of-band), so the v0.8.5Publish Helper MCP to npmworkflow could never bootstrap. Resolution: publish unscoped astrinity-docs-mcp.[email protected]is already live on npm (manual first publish done today; Trusted Publisher being pointed atpublish-helper-mcp.ymlso future publishes are OIDC/tokenless)package.json+ lockfile, README install snippets, the publish workflow (incl. its version-exists guard + bootstrap comment), and the three docs pages that referenced the scoped nameCloses Abilityai/trinity-enterprise#330
🤖 Generated with Claude Code