MCP: federate documented internal components#8230
Draft
adierkens wants to merge 2 commits into
Draft
Conversation
🦋 Changeset detectedLatest commit: 348f97a The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: f8929ae0-0234-45d8-aa4a-1aaadbc2730e
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: f8929ae0-0234-45d8-aa4a-1aaadbc2730e
adierkens
force-pushed
the
adierkens-federate-primer-internals
branch
from
July 24, 2026 03:04
d2604f8 to
348f97a
Compare
Contributor
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #
Final React PR (5/5) in the #8217 -> #8227 -> #8228 -> #8229 -> this PR stack. This PR targets
adierkens-recommend-primer-components(#8229).Depends on the docs-generated catalog endpoint in https://github.com/github/primer-docs/pull/1191.
Changelog
New
list_internal_componentsfor documented, GitHub-only Primer-internal catalog entries.Changed
sourceScope: "all"recommendations that return documented internal candidates separately from installable public components.Removed
Rollout strategy
Testing & Reviewing
The safe default is
sourceScope: "public":get_componentremains exclusively for installable public@primer/reactcomponents.sourceScope: "all"adds a separate, bounded, non-installableinternalComponentscollection with visibility and availability labels. The catalog is docs-generated, revisioned, bounded, and explicitly reports unavailable, stale, and no-match states without a private fallback.npx --yes -p node@26.4.0 node node_modules/vitest/vitest.mjs --run packages/mcp/srcnpm run type-check -w @primer/mcpnpm run build -w @primer/mcpnpm run lintnpm run lint:cssnpm run format:diffnpm run buildReview the public/private boundary, the separate internal candidate collection, and the docs endpoint dependency. No private implementation, Storybook bodies, or github-ui source is exposed.