Case

The same test keeps failing

The agent is going round in circles, trying variations of the same fix.

For: Team developer, Project lead

What happened

The agent has changed the code several times, and the same test fails every time.

Why it happens

Without a stop signal an agent keeps trying small variations of an approach that does not work, instead of stepping back or asking.

What Corpole does

  • Raises a drift signal after three consecutive failures of the same test on the same story, and tells the agent to change its approach or open a question.
  • Shows the signal under Agent health, and closes it on its own once the test passes.

What you do

  1. Read what the agent tried; the question it opens often shows the real blocker.
  2. Answer the question, or check whether the requirement or the test is wrong.
  3. When it is resolved, record the root cause; tick "keep as lesson" so the next agent knows.

Keep it from happening again

  • Keep criteria specific enough to test; vague criteria produce tests that fail for the wrong reason.