From a4e9c4de052cf7254ee3b341a89d2b20423fe80c Mon Sep 17 00:00:00 2001 From: Sheldon Finlay Date: Fri, 27 Mar 2026 18:42:46 -0400 Subject: [PATCH] feat: US-003 - Clarify .loop/ changes are expected in explore evaluator --- prompts/evaluator/explore.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/prompts/evaluator/explore.md b/prompts/evaluator/explore.md index c595454..5ce7f17 100644 --- a/prompts/evaluator/explore.md +++ b/prompts/evaluator/explore.md @@ -4,9 +4,11 @@ You are evaluating an analysis/exploration task. The generator claims to have an ## Read-Only Enforcement (CHECK FIRST) +> **Note:** Changes to `.loop/` files (`prd.json`, `progress.md`, `contracts/`) are permitted and expected — the generator updates these as part of normal operation. Only changes to files **outside** `.loop/` violate the read-only constraint. + Before any other checks, verify explore mode's read-only constraint: 1. Run `git diff {{PRE_GENERATOR_SHA}}..HEAD --name-only` -2. If ANY file outside `.loop/` was modified or committed, **REJECT immediately** — explore mode is read-only. The generator must not modify host project files. (Files inside `.loop/` like `prd.json` and `progress.md` are expected.) +2. If ANY file outside `.loop/` was modified or committed, **REJECT immediately** — explore mode is read-only. The generator must not modify host project files. ## Exploration-Specific Checks