From ca9245a1ee1e3be077522983e1b53536ae175917 Mon Sep 17 00:00:00 2001 From: Josui Date: Tue, 17 Nov 2026 10:43:35 +0000 Subject: [PATCH] fix: pin this repo's own gatehouse hook to 0.26.0 The Containerfile bumps moved GATEHOUSE_VERSION to 0.26.0 but never the repo's own pre-commit hook, still on 0.23.0. That predates GATEHOUSE_LLM_BASE_URL (0.24.0), so the hook ignored the seat's Trentina proxy and sent the proxy token straight to OpenRouter, which answered 401. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01R7Y1jckWHhAgXg2WBwkWbb --- .pre-commit-config.yaml | 2 +- CHANGELOG.md | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7ba99dd..61d7d9f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -82,7 +82,7 @@ repos: - id: gatehouse name: Gatehouse (AI code review, staged diff) - entry: bash -c 'git diff --cached | podman --events-backend=none run --rm --log-driver=none -i --env-file "$HOME/.config/mcp-env/gatehouse.env" -v .:/src:ro,z -w /src quay.io/crunchtools/gatehouse:0.23.0 --stdin' + entry: bash -c 'git diff --cached | podman --events-backend=none run --rm --log-driver=none -i --env-file "$HOME/.config/mcp-env/gatehouse.env" -v .:/src:ro,z -w /src quay.io/crunchtools/gatehouse:0.26.0 --stdin' language: system pass_filenames: false always_run: true diff --git a/CHANGELOG.md b/CHANGELOG.md index 51e3e5b..ab72892 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,10 @@ All notable changes to this project are documented here, following `sdlc ci: not run, skipped in [tool.sdlc.push]: lint, codeql` (#50). Before, a skipped verdict was simply absent, so a green ci could not be told from one that opted out. +- This repo's own gatehouse pre-commit hook now pins + `quay.io/crunchtools/gatehouse:0.26.0` (was 0.23.0, missed by the image + bumps). 0.23.0 predates `GATEHOUSE_LLM_BASE_URL` (0.24.0), so it ignored the + seat's Trentina proxy and sent the proxy token straight to OpenRouter: 401. ## [0.7.1] - 2026-11-17