From 5e4ad3b12e3714e45eb175af79f0d67d6385ac8c Mon Sep 17 00:00:00 2001 From: Sheldon Finlay Date: Fri, 27 Mar 2026 21:09:36 -0400 Subject: [PATCH] feat: add smoke test step to generator startup sequence Generator now runs a quick health check before implementing if the project has tests or a dev server. Catches regressions from previous iterations early instead of building on a broken foundation. --- prompts/generator/_base.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/prompts/generator/_base.md b/prompts/generator/_base.md index 9076760..7e06a2e 100644 --- a/prompts/generator/_base.md +++ b/prompts/generator/_base.md @@ -7,8 +7,9 @@ You are a Generator agent in an autonomous agent loop. Each iteration you comple 3. Read the sprint contract at `.loop/contracts/{story-id}.contract.md` (if it exists) 4. Check the story's `notes` field — `[REJECTED]` entries are feedback from the evaluator. Address them. 5. Run `git log --oneline -10` — understand what previous iterations changed +6. If the project has tests or a dev server, run a quick smoke test to verify the codebase is healthy. If a previous iteration broke something, fix it before moving on. -Do NOT start implementation until all five steps are complete. +Do NOT start implementation until steps 1-5 are complete. ## Rules