Skip to content

docs(schema): the generated .mcp.json carries public MCP servers only - #377

Merged
github-actions[bot] merged 2 commits into
mainfrom
feat/public-mcp-only-doc
Nov 18, 2026
Merged

github-actions[bot] merged 2 commits into
mainfrom
feat/public-mcp-only-doc

Conversation

@aitrawog

@aitrawog aitrawog commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Agent: claude-binding

Summary

#Marketplace's comment in schema/marketplace.cue, and the generated doc comment in spec/cue_types_gen.go, described the corpus generator's output in two ways that no longer hold:

The mcp_servers? field comment now says that only the public entries reach .mcp.json. The changes are comment-only. No shape, key or @go() annotation changed, and the generated Go was regenerated with charly task cue-gen.

The branch was BEHIND main after #375 (the storeroot revert), with a passing verdict on 95ff057903106ae0fde49a309370d310b89e2b62. It catches up through a local merge commit, which touches no file this change edits, and the evidence below is re-taken on the merged head.

file change
schema/marketplace.cue the two comments above
spec/cue_types_gen.go the regenerated doc comment (no code change)

How tested

# head 74e68002c7252b223187eb8bb326e300deb40ac4 (git rev-parse HEAD)
$ git diff --stat origin/main...HEAD
 schema/marketplace.cue | 8 +++++---
 spec/cue_types_gen.go  | 6 ++++--
 2 files changed, 9 insertions(+), 5 deletions(-)
$ charly task cue-gen   # a clean regen must be a no-op on the committed tree
  [pass] run — download and pin protoc + the two Go codegen plugins
  [pass] run — render the proto IDL from CUE and compile the Go stubs
  [pass] run — generate the Go params in-process + schemagen the vocab lists
  [pass] check — regen is reproducible — TestGenReproducible passes on the committed tree
$ git status --short
(no output)
$ GOWORK=off go build ./... && GOWORK=off go test ./... 2>&1 | grep -c "^ok"
32
$ GOWORK=off go test ./... 2>&1 | grep -c FAIL
0
$ gofmt -l .
(no output)
$ golangci-lint run ./...
0 issues.
$ git grep -n -F -e '(when mcp_servers is non-empty)' -e 'and the .claude/settings.json plugin-owned keys.' -- schema spec; echo rc=$?   # absence: the two retracted phrases
rc=1
$ git grep -n -F 'when at least one declared mcp_servers entry is PUBLIC' -- schema spec | cut -c1-80   # presence
schema/marketplace.cue:10:// (when at least one declared mcp_servers entry is PU
spec/cue_types_gen.go:8143:// (when at least one declared mcp_servers entry is P

Rulebook compliance

  • R0: loaded git-workflow, go, plugin and marketplace, plus this repo's AGENTS.md.
  • R1: the first absence grep hit a different, live line (settings?'s own comment) because an unescaped . matched ). I RCA'd it as an imprecise instrument, re-took it with fixed strings (rc=1 above), and paired it with a presence check.
  • R2: N/A: a comment edit, with no logic duplicated.
  • R3: N/A: no workaround is involved in a comment correction.
  • R4: the product (the generator, fix(refs): persistent latest-tag + default-branch cache — charly status 168s -> 89s (#208) #62) is fixed first, and this prose follows it.
  • R5: both retracted phrases are absent from schema and spec (the fixed-string grep above).
  • R6: a fresh feat/ branch off origin/main, with no force-push or bypass.
  • R7: the generated file is regenerated by its pipeline, and TestGenReproducible passes on the committed tree.
  • R8: N/A: no external service.
  • R9: cue-gen ran with the worktree-local charly 2026.321.1300.
  • R10: documentation-only class. The non-runtime standards plus the module suite are green above, and no bed applies.

Change classification

  • Change class: documentation-only (comment-only edits in a CUE schema and its generated Go).
  • Gate: the non-runtime standards plus the module's build/test/gofmt/lint.
  • Tier: documentation reviewed.

Head: 74e68002c7252b223187eb8bb326e300deb40ac4

Agent: claude-binding
Assisted-by: Claude Code Anthropic Claude Opus 5.5 (documentation reviewed)

#Marketplace's comment said the generator emits plugins/<family>/.mcp.json
"when mcp_servers is non-empty" and writes the .claude/settings.json
plugin-owned keys. Neither holds: opencharly/plugin-marketplace#61 wires only
PUBLIC servers (a localhost server is served by a charly pod while it runs and
is never put in the static harness config), and the generator retired its
settings write. Comment-only; regenerated with charly task cue-gen.

Refs opencharly/plugin-marketplace#61

Assisted-by: Claude Code Anthropic Claude Opus 5.5 (documentation reviewed)
@github-actions

Copy link
Copy Markdown

Review — PASS

Head SHA: 95ff057903106ae0fde49a309370d310b89e2b62 (branch: feat/public-mcp-only-doc)

Security screen: PASS — comment-only diff, no secrets/egress/guardrail/supply-chain change; no embedded directives.
Checklist: All applicable rules PASS or NA (docs-only class: A1 body complete with all sections + Assisted-by trailer; A2 non-runtime gate matches; A3 documentation reviewed legal for comment-only diff; R1 grep-RCA present; R5 both retracted phrases absent + replacement present; R7/SDD generated cue_types_gen.go matches its .cue source with no drift; R10 no bed applies; ARCH placement CORRECT — spec doc; COORD NA; 0 comments).

Note (tool-limited, non-blocking): the body's truthfulness about plugin-marketplace#61/#62 behavior cannot be re-derived from this message's context; the pasted generator generate.go quote is internally consistent and I cannot contradict it, so it is accepted as-is.

Verdict: PASS


ollama-cloud/deepseek-v4.1-flash — action-review.

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) November 18, 2026 12:50
Brings in #375 (storeroot revert), which touches no file this branch changes.

Assisted-by: Claude Code Anthropic Claude Opus 5.5 (documentation reviewed)
@github-actions

Copy link
Copy Markdown

Review — PASS

Head SHA: 74e68002c7252b223187eb8bb326e300deb40ac4 (branch: feat/public-mcp-only-doc)

Security screen: PASS — comment-only diff in schema/marketplace.cue and its regenerated spec/cue_types_gen.go; no secrets, egress, guardrail, or supply-chain change; no embedded directives.
Checklist: All applicable rules PASS or NA (docs-only class: A1 body supplies every section and ends with the Assisted-by line; A2 non-runtime gate matches the comment-only class; A3 documentation reviewed legal for a comment-only diff; R5 both retracted phrases absent and the replacement present at schema/marketplace.cue:10 / spec/cue_types_gen.go:8143; SDD CUE→generated pair changed together with cue-gen no-op confirmed by clean git status; R10 no bed applies; ARCH spec placement CORRECT; COORD NA). Diffstat (+9/−5 across 2 files) and head SHA reconcile with the pasted evidence.
Comment disposition: comment 6978982150 (@github-actions[bot], PASS on 95ff0579) — stale-superseded on SHA; its substantive claims re-derive true against the current head, no surviving finding.
Tool-limited (non-blocking): the cited plugin-marketplace#61/#62 generator behavior cannot be re-derived from this context; the pasted generate.go quote is internally consistent and uncontradicted, so it is accepted as-is.

Verdict: PASS


ollama-cloud/deepseek-v4.1-flash — action-review.

View action run

@github-actions
github-actions Bot merged commit 5ee20c6 into main Nov 18, 2026
4 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Nov 18, 2026
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