From ea7c94e6bbd128e14e48084c8414ff11bf116500 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 19 Oct 2026 21:06:38 +0800 Subject: [PATCH 1/3] chore(baseline): drop the four deleted .ps1 god files (owner-requested) Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_018bnC1Tos5MvBbFEj5zzi51 --- .sentrux/baseline.json | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/.sentrux/baseline.json b/.sentrux/baseline.json index 8427658b..a3522db4 100644 --- a/.sentrux/baseline.json +++ b/.sentrux/baseline.json @@ -154,30 +154,6 @@ "path": "crates/code-intel-cli/tests/internalization_record.rs", "rule": "loc>800; functions>25&&loc>400" }, - { - "functions": 100, - "loc": 2873, - "path": "legacy/Invoke-SentruxAgentTool.ps1", - "rule": "loc>800; functions>25&&loc>400" - }, - { - "functions": 44, - "loc": 1410, - "path": "legacy/install-code-intel-pipeline.ps1", - "rule": "loc>800; functions>25&&loc>400" - }, - { - "functions": 92, - "loc": 4834, - "path": "legacy/run-code-intel.ps1", - "rule": "loc>800; functions>25&&loc>400" - }, - { - "functions": 13, - "loc": 1318, - "path": "legacy/scripts/tests/test-regression-fixes.ps1", - "rule": "loc>800" - }, { "functions": 28, "loc": 801, @@ -193,7 +169,7 @@ "cycle_count": 0, "files": 403, "functions": 5247, - "god_file_count": 30, + "god_file_count": 26, "import_modeled_files": 338, "max_complexity": 80, "quality_signal": 6631, From da16a94d638a92b334bd36e016e26d33fcc3311f Mon Sep 17 00:00:00 2001 From: 2233admin <57929895+2233admin@users.noreply.github.com> Date: Thu, 22 Oct 2026 23:40:30 +0800 Subject: [PATCH 2/3] ci: route owned branch and PR checks to 5070X --- .github/workflows/ci.yml | 4 ++-- .github/workflows/codegraph-conformance.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/skill-check.yml | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8a9de6be..0b5d43bb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -103,7 +103,7 @@ jobs: - macos-latest - ubuntu-latest - runs-on: ${{ matrix.os }} + runs-on: ${{ vars.CI_5070X_ENABLED == 'true' && (((github.event_name == 'push' || github.event_name == 'workflow_dispatch') && startsWith(github.ref, 'refs/heads/')) || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)) && contains(fromJSON('["ubuntu-latest","ubuntu-24.04"]'), matrix.os) && 'ci-5070x-linux' || matrix.os }} timeout-minutes: 30 env: SMOKE_TAG: v0.0.0-smoketest @@ -248,7 +248,7 @@ jobs: # #418: exercise release.yml's archive download contract without its # write token, provenance action, tag trigger, or release publication. needs: cross-platform-smoke - runs-on: ubuntu-latest + runs-on: ${{ vars.CI_5070X_ENABLED == 'true' && (((github.event_name == 'push' || github.event_name == 'workflow_dispatch') && startsWith(github.ref, 'refs/heads/')) || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)) && 'ci-5070x-linux' || 'ubuntu-latest' }} timeout-minutes: 10 permissions: contents: read diff --git a/.github/workflows/codegraph-conformance.yml b/.github/workflows/codegraph-conformance.yml index 57d747d4..75bb63b3 100644 --- a/.github/workflows/codegraph-conformance.yml +++ b/.github/workflows/codegraph-conformance.yml @@ -26,7 +26,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - runs-on: ${{ matrix.os }} + runs-on: ${{ vars.CI_5070X_ENABLED == 'true' && (((github.event_name == 'push' || github.event_name == 'workflow_dispatch') && startsWith(github.ref, 'refs/heads/')) || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)) && contains(fromJSON('["ubuntu-latest","ubuntu-24.04"]'), matrix.os) && 'ci-5070x-linux' || matrix.os }} timeout-minutes: 30 env: DO_NOT_TRACK: '1' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 70c9beac..b8b24864 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -80,7 +80,7 @@ jobs: - macos-latest - ubuntu-latest - runs-on: ${{ matrix.os }} + runs-on: ${{ vars.CI_5070X_ENABLED == 'true' && (((github.event_name == 'push' || github.event_name == 'workflow_dispatch') && startsWith(github.ref, 'refs/heads/')) || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)) && contains(fromJSON('["ubuntu-latest","ubuntu-24.04"]'), matrix.os) && 'ci-5070x-linux' || matrix.os }} steps: - name: Checkout diff --git a/.github/workflows/skill-check.yml b/.github/workflows/skill-check.yml index a0a3b10a..b449a52c 100644 --- a/.github/workflows/skill-check.yml +++ b/.github/workflows/skill-check.yml @@ -22,7 +22,7 @@ jobs: # Run darwin-skill 8-dim scoring on every new/modified SKILL.md score-skills: name: Darwin score (8-dim) - runs-on: ubuntu-latest + runs-on: ${{ vars.CI_5070X_ENABLED == 'true' && (((github.event_name == 'push' || github.event_name == 'workflow_dispatch') && startsWith(github.ref, 'refs/heads/')) || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)) && 'ci-5070x-linux' || 'ubuntu-latest' }} steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: @@ -140,7 +140,7 @@ jobs: # Validate SKILL.md frontmatter (YAML) frontmatter-check: name: Frontmatter YAML validation - runs-on: ubuntu-latest + runs-on: ${{ vars.CI_5070X_ENABLED == 'true' && (((github.event_name == 'push' || github.event_name == 'workflow_dispatch') && startsWith(github.ref, 'refs/heads/')) || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)) && 'ci-5070x-linux' || 'ubuntu-latest' }} steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 From 82f280b42ec0270b4aa5a14d78d8655e31d755a4 Mon Sep 17 00:00:00 2001 From: 2233admin <57929895+2233admin@users.noreply.github.com> Date: Fri, 23 Oct 2026 05:46:55 +0800 Subject: [PATCH 3/3] ci: route owned branch and PR checks to 5070X --- .github/workflows/ci.yml | 4 ++-- .github/workflows/codegraph-conformance.yml | 2 +- .github/workflows/release.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b5d43bb..c9fe6c84 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: # covers Windows too. windows-build-test-package: needs: admission-policy - runs-on: windows-latest + runs-on: ${{ vars.CI_5070X_ENABLED == 'true' && (((github.event_name == 'push' || github.event_name == 'workflow_dispatch') && startsWith(github.ref, 'refs/heads/')) || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)) && 'ci-5070x-windows' || 'windows-latest' }} # Rust tests alone take ~16 min on Windows (#440). timeout-minutes: 45 @@ -103,7 +103,7 @@ jobs: - macos-latest - ubuntu-latest - runs-on: ${{ vars.CI_5070X_ENABLED == 'true' && (((github.event_name == 'push' || github.event_name == 'workflow_dispatch') && startsWith(github.ref, 'refs/heads/')) || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)) && contains(fromJSON('["ubuntu-latest","ubuntu-24.04"]'), matrix.os) && 'ci-5070x-linux' || matrix.os }} + runs-on: ${{ vars.CI_5070X_ENABLED == 'true' && (((github.event_name == 'push' || github.event_name == 'workflow_dispatch') && startsWith(github.ref, 'refs/heads/')) || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)) && (contains(fromJSON('["ubuntu-latest","ubuntu-24.04"]'), matrix.os) && 'ci-5070x-linux' || contains(fromJSON('["windows-latest","windows-2025"]'), matrix.os) && 'ci-5070x-windows') || matrix.os }} timeout-minutes: 30 env: SMOKE_TAG: v0.0.0-smoketest diff --git a/.github/workflows/codegraph-conformance.yml b/.github/workflows/codegraph-conformance.yml index 75bb63b3..cdf8b0aa 100644 --- a/.github/workflows/codegraph-conformance.yml +++ b/.github/workflows/codegraph-conformance.yml @@ -26,7 +26,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - runs-on: ${{ vars.CI_5070X_ENABLED == 'true' && (((github.event_name == 'push' || github.event_name == 'workflow_dispatch') && startsWith(github.ref, 'refs/heads/')) || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)) && contains(fromJSON('["ubuntu-latest","ubuntu-24.04"]'), matrix.os) && 'ci-5070x-linux' || matrix.os }} + runs-on: ${{ vars.CI_5070X_ENABLED == 'true' && (((github.event_name == 'push' || github.event_name == 'workflow_dispatch') && startsWith(github.ref, 'refs/heads/')) || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)) && (contains(fromJSON('["ubuntu-latest","ubuntu-24.04"]'), matrix.os) && 'ci-5070x-linux' || contains(fromJSON('["windows-latest","windows-2025"]'), matrix.os) && 'ci-5070x-windows') || matrix.os }} timeout-minutes: 30 env: DO_NOT_TRACK: '1' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b8b24864..a8f051df 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -80,7 +80,7 @@ jobs: - macos-latest - ubuntu-latest - runs-on: ${{ vars.CI_5070X_ENABLED == 'true' && (((github.event_name == 'push' || github.event_name == 'workflow_dispatch') && startsWith(github.ref, 'refs/heads/')) || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)) && contains(fromJSON('["ubuntu-latest","ubuntu-24.04"]'), matrix.os) && 'ci-5070x-linux' || matrix.os }} + runs-on: ${{ vars.CI_5070X_ENABLED == 'true' && (((github.event_name == 'push' || github.event_name == 'workflow_dispatch') && startsWith(github.ref, 'refs/heads/')) || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)) && (contains(fromJSON('["ubuntu-latest","ubuntu-24.04"]'), matrix.os) && 'ci-5070x-linux' || contains(fromJSON('["windows-latest","windows-2025"]'), matrix.os) && 'ci-5070x-windows') || matrix.os }} steps: - name: Checkout