From 983fd63538f6009cee80aaba9a1a8a373080bf3b Mon Sep 17 00:00:00 2001 From: Aleksandar Grbic Date: Sat, 25 Jul 2026 09:04:39 +0200 Subject: [PATCH] fix(#81): correct the sidebar-test guidance to match #183 (fast gate runs it in-loop) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The refine prompt told the model a stale sidebar nav-count fails only "the final full-project validate". Since #183 the FAST per-feature gate runs the sidebar's co-located test (`bun run test -- run … src/components/core/AppSidebar`), so a stale count fails IN-LOOP every cycle. The old wording understated the urgency and could let the model defer the one-line count bump and spray the fast gate. Corrected to say the per-feature gate fails THIS cycle, not only the final validate. Pins the claim with two assertions (present: "per-feature gate fails THIS cycle"; absent: the old final-validate wording) so it can't silently regress. refine-prompt suite 36 pass; typecheck+lint clean. --- packages/core/src/loop/boringstack/refine-prompt.ts | 2 +- packages/core/tests/boringstack-refine-prompt.test.ts | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/core/src/loop/boringstack/refine-prompt.ts b/packages/core/src/loop/boringstack/refine-prompt.ts index 11997638..4ccee4d9 100644 --- a/packages/core/src/loop/boringstack/refine-prompt.ts +++ b/packages/core/src/loop/boringstack/refine-prompt.ts @@ -253,7 +253,7 @@ const companyOptions = companies.map((c) => (