From 666c4d205319d7efb6ba28005145ed8b9465f8fc Mon Sep 17 00:00:00 2001 From: repo-worker-code-k Date: Tue, 10 Nov 2026 19:15:23 -0600 Subject: [PATCH 1/3] ci(mcpx): restore the fix-test guard triggers lost in the Nov 4 sweep The workflow kept only workflow_dispatch since 5a94833ea3, leaving the #1969 enforcement step (gated on pull_request) unreachable and the contract tests unrun on main, while ci-policy.md still assigns the guard a PR tier and a main tier and names this restore as Phase 2 of #6929. Restore the pre-sweep push[main] + pull_request triggers verbatim, path-filtered to pkgs/mcpx/** and the guard files. --- .github/workflows/mcpx-fix-test-guard.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/mcpx-fix-test-guard.yml b/.github/workflows/mcpx-fix-test-guard.yml index c5fe4a4b76..e58509a100 100644 --- a/.github/workflows/mcpx-fix-test-guard.yml +++ b/.github/workflows/mcpx-fix-test-guard.yml @@ -11,6 +11,19 @@ name: mcpx-fix-test-guard # new check appears for them. on: + push: + branches: [main] + paths: + - "pkgs/mcpx/**" + - ".github/scripts/check-mcpx-fix-test.sh" + - ".github/scripts/check-mcpx-fix-test.test.sh" + - ".github/workflows/mcpx-fix-test-guard.yml" + pull_request: + paths: + - "pkgs/mcpx/**" + - ".github/scripts/check-mcpx-fix-test.sh" + - ".github/scripts/check-mcpx-fix-test.test.sh" + - ".github/workflows/mcpx-fix-test-guard.yml" workflow_dispatch: permissions: From 3f246a4294018a4ee7869f0d726746b4d3764de1 Mon Sep 17 00:00:00 2001 From: repo-worker-code-k Date: Tue, 10 Nov 2026 19:19:52 -0600 Subject: [PATCH 2/3] ci: delete the resolved mcpx-fix-test-guard waivers in the same change check-ci-policy-agreement.sh fails on a stale waiver whose leg now agrees; with both tier legs restored, the two #6929 waivers and the ci-policy.md waiver-table row are deleted in this PR, per the waiver protocol. Checker now reports OK with the guard in full agreement. --- .github/ci-policy.md | 1 - .github/scripts/check-ci-policy-agreement.sh | 5 ----- 2 files changed, 6 deletions(-) diff --git a/.github/ci-policy.md b/.github/ci-policy.md index 03dc510e89..8eec491857 100644 --- a/.github/ci-policy.md +++ b/.github/ci-policy.md @@ -256,7 +256,6 @@ stale waiver whose leg now agrees. | workflow | missing leg(s) | phase issue | | ------------------------------------------------- | ------------------------------------------------------- | ----------- | | opencode-config-guard | main tier (`push`); venue `disabled_manually` | Phase 2 — #6953 | -| mcpx-fix-test-guard | PR tier (`pull_request`) and main tier (`push`) | Phase 2 — #6929 | | production-line-guard | PR tier (`pull_request`) | Phase 3 — #6959 | | go-modules-build, identity-build, map-build, mcpx-nixbuild | PR tier (`pull_request`) and main tier (`push`); venues `disabled_manually` | Phase 3 — #6981 | diff --git a/.github/scripts/check-ci-policy-agreement.sh b/.github/scripts/check-ci-policy-agreement.sh index 2b8335fc38..812f3ede45 100755 --- a/.github/scripts/check-ci-policy-agreement.sh +++ b/.github/scripts/check-ci-policy-agreement.sh @@ -57,11 +57,6 @@ WAIVERS=( # Phase 2 (#6953): venue disabled_manually; pull_request leg # restored by the 2026-11-08 sweep fix, main-tier push leg missing. "opencode-config-guard.yml|main|6953" - # Phase 2 (#6929): dispatch-only; neither tier leg declared, and - # the enforcement step is pull_request-gated so even a dispatch - # never runs the #1969 guard. - "mcpx-fix-test-guard.yml|pr|6929" - "mcpx-fix-test-guard.yml|main|6929" # Phase 3 (#6959): dispatch-only; the guard's ci-policy row is new # in Phase 1 and its PR leg awaits the Phase 3 disposition. "production-line-guard.yml|pr|6959" From ff8a264167078b8e11f481d575f18f23055b4b89 Mon Sep 17 00:00:00 2001 From: repo-worker-code-k Date: Tue, 10 Nov 2026 19:27:09 -0600 Subject: [PATCH 3/3] ci: update agreement-checker fixtures for the restored guard triggers The contract suite fixture modelled mcpx-fix-test-guard as dispatch-only and asserted its waiver warning; with the triggers restored and the waivers deleted, the fixture now declares pull_request + push + workflow_dispatch for the guard and the obsolete warning assertion is removed. Suite passes 5/5. --- .github/scripts/check-ci-policy-agreement.test.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/scripts/check-ci-policy-agreement.test.sh b/.github/scripts/check-ci-policy-agreement.test.sh index 1bb7011005..0ebc2e89c1 100755 --- a/.github/scripts/check-ci-policy-agreement.test.sh +++ b/.github/scripts/check-ci-policy-agreement.test.sh @@ -44,7 +44,7 @@ build_tree() { # build_tree : the current-main shape wf "$root" proxy-port-fallbacks.yml pull_request wf "$root" fleet-search-parity-guard.yml pull_request workflow_dispatch wf "$root" opencode-config-guard.yml pull_request workflow_dispatch - wf "$root" mcpx-fix-test-guard.yml workflow_dispatch + wf "$root" mcpx-fix-test-guard.yml pull_request push workflow_dispatch wf "$root" production-line-guard.yml workflow_dispatch wf "$root" go-modules-build.yml workflow_dispatch wf "$root" identity-build.yml workflow_dispatch @@ -58,7 +58,6 @@ build_tree() { # build_tree : the current-main shape build_tree "$TMP/ok" bash "$SCRIPT" "$TMP/ok" >"$TMP/ok.out" grep -q "ci-policy-agreement: OK" "$TMP/ok.out" -grep -q "WAIVED mcpx-fix-test-guard.yml: pr tier" "$TMP/ok.out" grep -q "WAIVED go-modules-build.yml: main tier" "$TMP/ok.out" grep -q "issue #6981" "$TMP/ok.out" echo "pass: tree with exactly the waived disagreement set passes"