From 49600bcba15c90382bd7b70dcca9c3d54730b66f Mon Sep 17 00:00:00 2001 From: Justin Parker Date: Sun, 8 Nov 2026 18:17:06 -0800 Subject: [PATCH] Let a loop phase pass when its only failing tests are ones the plan expects to fail AI Assisted --- src/web-console/notes/loop.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/web-console/notes/loop.md b/src/web-console/notes/loop.md index c519f57..beef740 100644 --- a/src/web-console/notes/loop.md +++ b/src/web-console/notes/loop.md @@ -51,6 +51,10 @@ approve. `tasks.blocked`, report `failed`, reason `blocked`. - Failing tests: try one fix, then report `tests.passed: false`, `failed`, reason `tests`. Never post the Fix now, Document or Investigate options. + Exception: tests the phase file's Notes say will fail until a later phase. + Name every failing test in `tests.failing` and list the expected ones in + `tests.expectedFailures`; when every failing test is on that list, report + `passed`. Never list a failure the Notes do not name. - A waiting `**Plan change:**` line in the phase's Notes: do not ask Revise first or Resume; report `failed`, reason `other`, and say so in `summary`. - Run only the tests the phase file names, as the Implement prompt's tests rule