From a1bc96a323818d2e4eb451dbdf9eb377f5cfbc78 Mon Sep 17 00:00:00 2001 From: Jorijn van der Graaf Date: Mon, 2 Nov 2026 14:10:27 +0100 Subject: [PATCH] fix(review): name each lens section, as crafter-review 1.0 requires crafter-review 1.0.1, the released build installed on this machine, and the newer build installed beside it as //local refuse the config key lensSections: a lens's repository section is named per lens, as lenses..section, instead of being found by listing a directory. With the key in place `crafter-review config` reports it as a problem, and freeze and run stop at "preflight: config: unknown key lensSections". The three files in .review-gates/lenses/ are named under lenses, one entry each, the migration the Crafter.Review session gave; with them `crafter-review config` reports no problem. --- .review-gates/config.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.review-gates/config.json b/.review-gates/config.json index f452056..115ee6c 100644 --- a/.review-gates/config.json +++ b/.review-gates/config.json @@ -6,7 +6,17 @@ ], "aiTrailers": "forbid", "requireSigned": true, - "lensSections": ".review-gates/lenses", + "lenses": { + "repo-better-solution": { + "section": ".review-gates/lenses/repo-better-solution.md" + }, + "repo-bug-prover": { + "section": ".review-gates/lenses/repo-bug-prover.md" + }, + "repo-facts": { + "section": ".review-gates/lenses/repo-facts.md" + } + }, "modes": { "commits": { "kind": "commits",