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.
This commit is contained in:
2026-03-27 21:09:36 -04:00
parent 9a7fa3a1bd
commit 5e4ad3b12e

View File

@@ -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) 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. 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 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 ## Rules