From d7dfa385d4375f8904e2a76836280e0d9d57d019 Mon Sep 17 00:00:00 2001 From: scttbnsn <80784472+scttbnsn@users.noreply.github.com> Date: Sun, 25 Oct 2026 08:58:58 -0400 Subject: [PATCH 1/3] fix(hooks): replace retired structural guard paths --- lefthook.yml | 12 +++++------- tests/release-safety.test.mjs | 19 +++++++++++++++++++ 2 files changed, 24 insertions(+), 7 deletions(-) diff --git a/lefthook.yml b/lefthook.yml index d7903a85..9fc9eacb 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -3,9 +3,8 @@ # # Adoption is incremental: Biome enforces only on the files a commit actually # touches (so the pre-existing lint backlog doesn't block work), while the fast -# structural guards run every commit because they catch the class of bug that -# ships green through the test runner — a broken CSS/JS template literal that is -# never parsed in a browser by the suite. The full gate suite runs on push, +# structural guards run every commit to protect the current app foundation, +# retired dashboard boundary, and shipped YAML configuration. The full gate suite runs on push, # mirroring CI (see .github/workflows/ci-verify.yml's `qlty` and `knip` jobs). commit-msg: @@ -21,10 +20,9 @@ pre-commit: run: npx biome check --write --no-errors-on-unmatched {staged_files} stage_fixed: true - name: structure-guards - # Cheap parse/structure checks the test suite would otherwise ship green: - # the embedded