The team as a wholeRisk · medium confidence
Subagent allowed to skip or retry failing tests
Failing tests may be skipped or retried: A file allows skipping, disabling, retrying or sleeping around failing tests instead of fixing the cause.
Why it matters
Flaky tests are real, so files often say how to deal with them. "Retry the suite until it passes" or "skip the flaky test" gives an agent permission to turn any failure green – including one caused by the change it just made.
The suite can be green while the feature is broken, because failing tests may be skipped or retried.
An example that triggers it
A small Claude Code project. The marked lines are the ones the check cites.
.claude/agents/qa-engineer.md---name: qa-engineerdescription: Runs the test suite before a merge. Use after a feature is built.tools: Read, Bashpersona: Lin---You are Lin. Run the full suite before every merge.If a test is flaky, retry the suite until it passes.Never edit application code.What Crafthall HQ reports
The output of /crafthall-hq:open --report on this example, generated by the plugin's own check when this page was built.
1. [medium] Failing tests may be skipped or retried – .claude/agents/qa-engineer.md:8 Lin may work around a failing test (skip, disable, retry or wait) instead of finding the cause, so the suite can be green while the feature is broken. Fix: Replace it with: never skip, sleep or retry a failing test to get green; find the cause, and if it cannot be found, delete the test with a written reason.
How to fix it
Forbid the workaround and say what to do instead: find the cause, and report a test that cannot be fixed rather than hiding it.
.claude/agents/qa-engineer.md---name: qa-engineerdescription: Runs the test suite before a merge. Use after a feature is built.tools: Read, Bashpersona: Lin---You are Lin. Run the full suite before every merge.Never skip or retry a failing test to get green; find the cause, and report it if you cannot.Never edit application code.Run on the fixed project, the check reports nothing for this rule.
How the check works
A line allowing skip, disable, retry or sleep around failing tests was found, without a negation (read from wording). It reads your files with text patterns, on your machine – no model, so the same files give the same result every run.
Check your own team
Install the free plugin, then run /crafthall-hq:open in your project. It runs all checks, not only this one.
claude plugin install crafthall-hq --marketplace crafthall/plugins