Skip to content

fix(helper-mcp): rename to unscoped trinity-docs-mcp (npm scope unavailable) - #1829

Merged
vybe merged 3 commits into
devfrom
fix/helper-mcp-unscoped-name
Aug 8, 2026
Merged

vybe merged 3 commits into
devfrom
fix/helper-mcp-unscoped-name

Conversation

@vybe

@vybe vybe commented Jul 27, 2026 •

Copy link
Copy Markdown
Contributor

The @abilityai npm 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.5 Publish Helper MCP to npm workflow could never bootstrap. Resolution: publish unscoped as trinity-docs-mcp.

  • [email protected] is already live on npm (manual first publish done today; Trusted Publisher being pointed at publish-helper-mcp.yml so future publishes are OIDC/tokenless)
  • Renames the package in 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 name
  • The workflow's red X on main self-resolves once this reaches main at the next cut — the version-exists guard makes re-runs idempotent

Closes Abilityai/trinity-enterprise#330

🤖 Generated with Claude Code

…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]>
@vybe
vybe requested a review from AndriiPasternak31 as a code owner July 27, 2026 17:55
@vybe
vybe enabled auto-merge (squash) July 27, 2026 17:55

@webmixgamer webmixgamer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/validate-pr — REQUEST CHANGES

The rename is correct across all 7 changed files. Two items before merge:

  • Root README.md still ships the old scoped name. README.md:538 and README.md:546 (the "Ask Trinity from any MCP client" section) still read @abilityai/trinity-docs-mcp — line 546 is the live npx -y @abilityai/trinity-docs-mcp install 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 confirms README.md is the only remaining file. Apply the same one-liner rename.
  • Link the issue. This resolves #1698 (npm bootstrap for #1459). Add Closes #1698 to 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.

@github-actions

Copy link
Copy Markdown

⚠️ Nightly unit-suite check skipped — merge conflict against dev.

Resolve by running git merge dev locally and pushing the result. The next nightly run will re-test once the conflict is gone.

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'.
@obasilakis

Copy link
Copy Markdown
Contributor

@webmixgamer both items from your review are addressed — thanks for catching the README one, it was the install snippet users actually copy.

  • Root README.md — 8100dad6. Both README.md:538 (the prose link) and :546 (the live npx -y snippet) are now unscoped trinity-docs-mcp. git grep '@abilityai/trinity-docs-mcp' across the branch is now zero hits, tracked and untracked.
  • Issue link — Closes Abilityai/trinity-enterprise#330 added to the PR body, so it auto-closes and auto-promotes to status-in-dev on merge (same-repo, so the automation applies).

One extra thing surfaced while verifying, fixed in 7e511883:

A dead intra-doc anchor this PR introduced. The rename changed the heading in docs/memory/feature-flows/trinity-docs-qa.md:241 to ## MCP Distribution — \trinity-docs-mcp` (#1459)`, but the only in-doc link to it (line 46) still pointed at the anchor derived from the old heading:

-(#1459 — see [MCP Distribution](#mcp-distribution--abilityaitrinity-docs-mcp-1459)).
+(#1459 — see [MCP Distribution](#mcp-distribution--trinity-docs-mcp-1459)).

Worth flagging why a grep can't catch this class: GitHub's slug algorithm strips @ and /, so the old scoped name appears in the anchor mangled as abilityaitrinity-docs-mcp — invisible to a search for @abilityai/trinity-docs-mcp. I verified the new slug by reproducing the algorithm against the known-good old anchor before writing it.

Also confirmed against the live registry: [email protected] resolves (maintainer ability.ai), and @abilityai/trinity-docs-mcp returns a hard 404 — so every reference the PR retires was genuinely broken, not merely cosmetic.

@obasilakis obasilakis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving — webmixgamer's two review items are both addressed.

  • Root README.md (:538 prose link and :546 the live npx -y install snippet) now use the unscoped trinity-docs-mcp (8100dad). git grep '@abilityai/trinity-docs-mcp' across the branch is zero hits.
  • Closes #1698 added to the PR body, so the issue auto-closes and promotes to status-in-dev on 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 obasilakis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@obasilakis
obasilakis requested a review from webmixgamer July 31, 2026 07:57
@obasilakis

Copy link
Copy Markdown
Contributor

@webmixgamer ready for re-review — both items from your CHANGES_REQUESTED are done (README unscoped in 8100dad6, Closes Abilityai/trinity-enterprise#330 in the body), plus one extra dead-anchor fix in 7e511883 described above.

CI is green on 7e511883: 20 pass / 0 fail, and regression diff reports No new failures (base and head both 5842 pass / 1 fail across all three seeds — that one is the pre-existing test_1069_voip_call_path_param FastAPI drift already on dev, not from this PR).

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?

@vybe
vybe dismissed webmixgamer’s stale review August 8, 2026 17:14

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.

@vybe
vybe merged commit 9e4f317 into dev Aug 8, 2026
23 checks passed
trinity-ability added a commit that referenced this pull request Aug 14, 2026
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).
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.

3 participants