Repository navigation
mcp: separate ordinary regression gate from strict publication gate - #541
Merged
Merged
Conversation
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.
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.
MCP gate separation at head
1760d8570a325ed1264ca2cf74e4a8cd17011184Corrective PR from current main (PR531 partial merge). No release, registry write, or publication. OSS-370 stays open.
Ordinary gate — GREEN
go test ./... -count=1no longer includes the strict full-coverage subtest.TestFamilyAudit/PartialSliceRegressionGatevalidates:PendingInventory(IDs, reasons, follow-ups, no duplicates, no missing or extra entries);tools/callevidence.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-errorand fails the job unless the outcome issuccess, before any GHCR or MCP-registry write. It also runsscripts/mcp-generated-artifacts-check.sh(canonical regeneration +git diff --exit-codeon the four generated artifacts). Evidence:docs/evidence/mcp-gate-separation.md.Regeneration
Ran
go run ./internal/mcp/cataloggenand the canonical content-descriptor update; generated artifacts are byte-identical to committed output (git diff --exit-codeclean). 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=1passes; golangci-lint 0 issues; knowledge-lint 40/40 queries. One unrelated local-only failure remains ininternal/rpc/services:TestCreateServerFromQualifiedBlueprintResolvesImageEnvProtocolreports 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.