From 4e02c6a835eaae96655ec4fc0d31a05d6045b0a0 Mon Sep 17 00:00:00 2001 From: Kyle Sexton <153232337+kyle-sexton@users.noreply.github.com> Date: Wed, 28 Oct 2026 19:17:34 -0400 Subject: [PATCH] fix(claude-lanes): biome-format policy.json after the re-pin lockstep The lockstep writes policy.json with JSON.stringify, which expands the short arrays Biome keeps inline, so every re-pin pull request that moved a contract failed check-typescript. Format the file with the Biome the root lockfile pins, the version and config check-typescript runs. Refs: melodic-software/claude-code-plugins#9635 Co-Authored-By: Claude Opus 5.5 --- .github/workflows/maintenance-repin-ci-workflows.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/maintenance-repin-ci-workflows.yml b/.github/workflows/maintenance-repin-ci-workflows.yml index e59b7393..1b9e9acb 100644 --- a/.github/workflows/maintenance-repin-ci-workflows.yml +++ b/.github/workflows/maintenance-repin-ci-workflows.yml @@ -142,6 +142,16 @@ jobs: TAG: ${{ steps.release.outputs.tag }} run: node components/claude-lanes/repin-policy-lockstep.mjs "$OLD_SHA" "$NEW_SHA" "$TAG" + # The lockstep writes JSON.stringify output, which check-typescript's Biome + # format check rejects. Format it with the Biome the root lockfile pins, + # the same exact version and config check-typescript runs. + - name: Format runner-policy with Biome + if: steps.repin.outputs.changed == 'true' + run: | + set -euo pipefail + npm ci --ignore-scripts --no-audit --no-fund + node_modules/.bin/biome format --write --config-path=components/biome/biome.json components/runner-policy/policy.json + - name: Report the missing re-pin credential if: steps.repin.outputs.changed == 'true' && env.HAS_APP_CREDENTIAL != 'true' env: