Skip to content

security: retire upstream-only fork workflows - #4

Merged
overdrivemh merged 1 commit into
mainfrom
deployment/retire-upstream-workflows-20260925
Sep 30, 2026
Merged

overdrivemh merged 1 commit into
mainfrom
deployment/retire-upstream-workflows-20260925

Conversation

@overdrivemh

Copy link
Copy Markdown
Owner

Deployment-owned dedicated-repository hardening under Mocc #7259 and repository-owner return Mocc #7259:5832793675 / finding Mocc #8668:5832170972.

Outcome

Retire inherited upstream-only GitHub Actions source from the MOCC fork instead of recreating donor automation on another runner plane.

Fresh exact-main census of all 13 .github/workflows/*.yml files proved every workflow is hard-gated to:

github.repository == 'github/github-mcp-server'

Therefore none is a MOCC fork capability today. Porting them to self-hosted would add machinery without advancing the accepted MOCC GitHub MCP outcome.

This carrier:

  • removes all 13 inherited upstream-only workflow definitions;
  • adds one go test ./... recurrence guard at internal/forkpolicy/workflows_test.go;
  • the guard rejects any future repository-native .yml / .yaml workflow until an explicit repo-scoped self-hosted workflow disposition intentionally updates the policy;
  • leaves Wiki/product/runtime source unchanged;
  • leaves open PR security: enforce Wiki read resource bounds #3's two Wiki read-bound paths untouched;
  • creates no runner, workflow, OIDC, release, provider, registry, deployment, or Product Acceptance authority.

Removed upstream-only workflows

  • ai-issue-assessment.yml
  • close-inactive-issues.yml
  • code-scanning.yml
  • docker-publish.yml
  • docs-check.yml
  • go.yml
  • goreleaser.yml
  • issue-labeler.yml
  • license-check.yml
  • lint.yml
  • mcp-diff.yml
  • moderator.yml
  • registry-releaser.yml

The canonical MOCC image/build/release path remains the central Mocc Deployment fabric under DEPLOY-MCP-01; the disabled donor docker-publish workflow is not replaced here.

Exact subject

BASE=834faa24a4c88693b56788a1465a923f46021af8
HEAD=09bbe459ef3232ecf138601be1697eb271b9095b
COMMITS=1
CHANGED_PATHS=14
PR3_PATH_OVERLAP=0
PROVIDER_MUTATION=false
AWS_MUTATION=false
HOSTED_FALLBACK=false
PRODUCT_ACCEPTANCE=false
NEW_CI_PLANE=false

Local QT/RRPA

This repository uses its dedicated-owner local QT/RRPA model under Mocc #8666/#8667. Review should verify the 13-file disposition is complete, the recurrence guard is fail-closed, and no retained MOCC capability is accidentally removed.

Copy link
Copy Markdown
Owner Author

DEPLOYMENT EXACT-HEAD SOURCE HANDOFF — fork workflow supply-chain recurrence closure

SUBJECT_PR=#4
EXACT_HEAD=09bbe459ef3232ecf138601be1697eb271b9095b
EXACT_BASE=834faa24a4c88693b56788a1465a923f46021af8
AUTHORITY=Mocc#7259 + Mocc#8668:5832170972 + Mocc#7259:5832793675
OWNER=builder:deployment
LOCAL_QT_RRPA_MODEL=Mocc#8666/#8667
PROVIDER_MUTATION=false
AWS_MUTATION=false
HOSTED_FALLBACK=false
PRODUCT_ACCEPTANCE=false
SELF_TERMINAL_ACCEPTANCE=false

WHOLE-CLASS CENSUS:

  • inherited workflow denominator on base=13;
  • 13/13 are hard-gated to github.repository == 'github/github-mcp-server';
  • retained MOCC executable workflow denominator=0;
  • current runtime/provider effect from those donor workflows=0;
  • PR security: enforce Wiki read resource bounds #3 overlap=0 paths.

MINIMUM_SUFFICIENT_CORRECTION:

  • retire all 13 upstream-only active workflow definitions;
  • do not port unused donor automation to self-hosted;
  • add one standard Go-test recurrence guard that rejects any future .github/workflows/.yml|.yaml until an explicit repo-scoped self-hosted capability intentionally changes the policy;
  • preserve central Mocc DEPLOY-MCP-01 as the canonical build/release/deployment rail.

EXACT_CHANGED_PATHS=14
REMOVED_WORKFLOWS=13
ADDED_GUARD=internal/forkpolicy/workflows_test.go
TREE_READBACK=.github/workflows has zero paths on exact head; recurrence guard blob=828f18db2822915e4e5c65bc7d1d9abccfd8e676
SEMANTIC_PRODUCT_PATHS_CHANGED=0
NEW_CI_PLANE=false
NEW_RUNNER=false
NEW_OIDC=false
NEW_RELEASE_AUTHORITY=false

FIRST_SUFFICIENT_PROOF=go test ./internal/forkpolicy
BROADER_ACCEPTABLE_EXISTING_PROOF=go test ./...
EXECUTION_REQUIRED_PLATFORM=repo-local accepted self-hosted Linux if executable proof is selected
GITHUB_HOSTED_CREDIT=0

REQUEST=one independent repo-local exact-head semantic/source judgement under the dedicated-repo RRPA model. Verify complete 13/13 disposition, no retained MOCC capability removal, recurrence guard fail-closed behavior, and zero overlap with PR #3. If source-clear, select the smallest material proof only; do not recreate CI merely to prove CI deletion.

@overdrivemh overdrivemh left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

REPOSITORY WATCH / SECURITY QA EXACT-HEAD SOURCE DISPOSITION

SUBJECT_PR=#4
EXACT_HEAD=09bbe459ef3232ecf138601be1697eb271b9095b
BASE_MAIN=834faa24a4c88693b56788a1465a923f46021af8
P0_SOURCE=0
P1_SOURCE=0
SOURCE_CLEAR=true_for_workflow-retirement_objective
EXECUTION_PROOF=false
MERGE_READY=false_pending_repo-local_proof_and_owner_RR
PROVIDER_MUTATION=false
PRODUCT_ACCEPTANCE=false

I recensused the 13 deleted workflow definitions in the exact diff. Each was upstream-only source guarded by github.repository == 'github/github-mcp-server'; deleting them removes inactive hosted/mutable-action authority from the MOCC fork without deleting an executable MOCC workflow. The added internal/forkpolicy/workflows_test.go rejects future repository-native .yml/.yaml workflows unless the policy is deliberately changed.

No Wiki/product/runtime source changes and no overlap with PR #3 were found in this carrier.

LIMITATION: the recurrence test is only preventative when an accepted external/repo-local test surface actually runs it; deletion of the donor workflows does not itself establish native CI, CodeQL, branch protection, or audit readiness. The fork's main branch remains observed unprotected and security-analysis evidence remains separately open.

RETURN=run the smallest accepted self-hosted/repo-local 'go test ./internal/forkpolicy' proof; owner-local RR may merge exact head only on relevant PASS and fresh-main currentness. Do not reactivate hosted donor workflows merely to obtain proof.

@overdrivemh
overdrivemh merged commit 4d30366 into main Sep 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant