From 57969fbb8c929219843a55471eaf1d44d11917cf Mon Sep 17 00:00:00 2001 From: Tristan Simas Date: Thu, 29 Oct 2026 23:23:19 -0400 Subject: [PATCH 1/2] CI: Toad's client gate runs Core's tools/nra_client_gate.py agent-comms#3634 deletes tools/client_ratchet.py (the debt ratchet is replaced by NominalRefactorAdvisor's gate); the client job checks out Core main and must call the renamed entry. The checkout directory drops the ratchet name too. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01RnH6dS2Kmg1WxNnAc78YHA --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be8a9bded..ffa9e42d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,12 +30,12 @@ jobs: python-version: '3.14' - uses: ./.github/actions/core-from-main with: - path: .core-ratchet + path: .core-gate - name: Install Core's declared checker dependencies run: | python - <<'PY' import pathlib, subprocess, tomllib - source = tomllib.loads(pathlib.Path('.core-ratchet/pyproject.toml').read_text()) + source = tomllib.loads(pathlib.Path('.core-gate/pyproject.toml').read_text()) subprocess.run(['uv', 'pip', 'install', '--python', '.venv/bin/python', *source['project']['optional-dependencies']['dev']], check=True) PY @@ -46,7 +46,7 @@ jobs: # change starts at the merge-base with the base branch's current tip. BASE_TIP: ${{ github.event.pull_request.base.ref && format('origin/{0}', github.event.pull_request.base.ref) || inputs.base }} PR_HEAD: ${{ github.event.pull_request.head.sha || inputs.head }} - run: PYTHONPATH="$PWD/.core-ratchet/src" PATH="$PWD/.venv/bin:$PATH" .venv/bin/python .core-ratchet/tools/client_ratchet.py --root src/toad --base "$(git merge-base "$BASE_TIP" "$PR_HEAD")" --head "$PR_HEAD" + run: PYTHONPATH="$PWD/.core-gate/src" PATH="$PWD/.venv/bin:$PATH" .venv/bin/python .core-gate/tools/nra_client_gate.py --root src/toad --base "$(git merge-base "$BASE_TIP" "$PR_HEAD")" --head "$PR_HEAD" - name: Run surface guards run: .venv/bin/pytest tests/guards suite: From 877e5a4a5fb99778645464b31ea211c8a7c80e66 Mon Sep 17 00:00:00 2001 From: Tristan Simas Date: Fri, 30 Oct 2026 00:12:49 -0400 Subject: [PATCH 2/2] CI job: Debt ratchet -> NRA gate The job runs tools/nra_client_gate.py; the ratchet it was named for is deleted. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01RnH6dS2Kmg1WxNnAc78YHA --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ffa9e42d2..04e39ce84 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,8 +16,8 @@ concurrency: group: toad-verification-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true jobs: - ratchet: - name: Debt ratchet + nra-gate: + name: NRA gate timeout-minutes: 5 runs-on: ubuntu-latest steps: