Add read-only Claude Code marketplace.json compatibility endpoint #602
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 235 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.327
Shallow Review Depth
shallow_review_depth
0.289
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #602"
general
weight: 0.35
lcopi
Description
Adds a read-only
GET /plugin-marketplace/marketplace.jsonendpoint that re-exposes AgentRegistry'sPluginresources in the Claude Codemarketplace.jsonshape (code.claude.com/docs/en/plugin-marketplaces), so a bare URL to this endpoint can be registered directly withclaude plugin marketplace add.claude plugin marketplace addwithout a separate export step.-
pkg/pluginmarketplace: translates a resolvedv1alpha1.Pluginsource pin into themarketplace.jsonurl/git-subdirsource forms (phase 1 — nogithubshorthand form, since AgentRegistry always resolves to a concrete repository URL).-
internal/registry/api/handlers/pluginmarketplace: the HTTP handler, walking every Plugin row across all namespaces (paginated internally) and skipping any not-yet-resolved or unsupported-source entries so the document never contains a partial/broken entry. Honors the same optional per-kind RBACListFilteras the native Plugin read path.-
internal/registry/config/ router wiring: newPLUGIN_MARKETPLACE_COMPAT_ENABLEDflag (defaultfalse) and optional path prefix, since the endpoint flattens every namespace into one unscoped catalogue.-
docs/plugin-marketplace-compatibility.md: usage docs.Change Type
/kind feature
Changelog
``
release-notePLUGIN_MARKETPLACE_COMPAT_ENABLEDAdd optional read-only Claude Code marketplace.json compatibility endpoint (
), lettingclaude plugin marketplace addpoint directly at an AgentRegistry Plugin catalogue.
`Additional Notes
Off by default. The endpoint flattens every namespace into a single catalogue with no built-in scoping in OSS (nil ListFilter`) — enable only where a full, unscoped Plugin catalogue is acceptable to expose (a public OSS registry, or behind a trusted gateway).