Skip to content

mcp: separate ordinary regression gate from strict publication gate - #541

Merged
athNdev merged 1 commit into
mainfrom
codex/mcp-gate-separation
Nov 18, 2026
Merged

athNdev merged 1 commit into
mainfrom
codex/mcp-gate-separation

Conversation

@athNdev

@athNdev athNdev commented Nov 18, 2026

Copy link
Copy Markdown
Owner

MCP gate separation at head 1760d8570a325ed1264ca2cf74e4a8cd17011184

Corrective PR from current main (PR531 partial merge). No release, registry write, or publication. OSS-370 stays open.

Ordinary gate — GREEN

go test ./... -count=1 no longer includes the strict full-coverage subtest. TestFamilyAudit/PartialSliceRegressionGate validates:

  • the exact 9-entry PendingInventory (IDs, reasons, follow-ups, no duplicates, no missing or extra entries);
  • every supported non-pending operation is LISTED, REACHABLE and VERIFIED with executable tools/call evidence.

Observed: ORDINARY GATE PASS: 192/192 non-pending operations verified; exact 9-entry PENDING inventory intact.

Strict publication gate — RED (unchanged)

bash scripts/mcp-full-coverage-gate.sh → go test -tags mcpfullcoverage ./internal/mcp -run TestFamilyAuditFullCoverage. Reports exactly 9 pending operations and blocks publication. Not skipped or waived.

MCP distribution verify runs the strict command with continue-on-error and fails the job unless the outcome is success, before any GHCR or MCP-registry write. It also runs scripts/mcp-generated-artifacts-check.sh (canonical regeneration + git diff --exit-code on the four generated artifacts). Evidence: docs/evidence/mcp-gate-separation.md.

Regeneration

Ran go run ./internal/mcp/cataloggen and the canonical content-descriptor update; generated artifacts are byte-identical to committed output (git diff --exit-code clean). The descriptor file was regenerated with canonical LF output; no content drift remained.

Verification

Pinned Go 1.26.11: go build ./..., go vet ./... pass; go test ./internal/mcp/... -count=1 passes; golangci-lint 0 issues; knowledge-lint 40/40 queries. One unrelated local-only failure remains in internal/rpc/services: TestCreateServerFromQualifiedBlueprintResolvesImageEnvProtocol reports port 25565 already in use by another local process (environment contention, not a regression). All other packages pass. CI on the exact pushed head is pending.

Ordinary go test ./... now passes: the exact 9-entry PENDING inventory is
validated (IDs, reasons, follow-ups, no duplicates or drift) and every
supported non-pending operation must be LISTED/REACHABLE/VERIFIED with
executable evidence. The strict full-coverage gate moves behind the
mcpfullcoverage build tag and remains RED for the 9 pending operations.

MCP distribution verify now runs the strict command and blocks GHCR/registry
writes when it is RED, plus a generated-artifact reproducibility check.
Include LF-normalized regenerated catalog/descriptor artifacts and evidence.
@athNdev
athNdev merged commit 4e46178 into main Nov 18, 2026
13 checks passed
@athNdev
athNdev deleted the codex/mcp-gate-separation branch November 18, 2026 11:51
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