Borrowing it
Nothing to install: this file belongs to GabrielOnDelphi/Claude-Tools-for-Delphi. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/GabrielOnDelphi/Claude-Tools-for-Delphi/main/.claude/agents/light-review-FakeTest.mdgit clone --depth 1 https://github.com/GabrielOnDelphi/Claude-Tools-for-DelphiWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/gabrielondelphi/claude-tools-for-delphi/light-review-faketest)<a href="https://agentmods.dev/agents/gabrielondelphi/claude-tools-for-delphi/light-review-faketest"><img src="https://agentmods.dev/badge/agents/gabrielondelphi/claude-tools-for-delphi/light-review-faketest/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/gabrielondelphi/claude-tools-for-delphi/light-review-faketest"><img src="https://agentmods.dev/badge/agents/gabrielondelphi/claude-tools-for-delphi/light-review-faketest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00124 | $0.04190 |
| Opus 5 | $0.00062 | $0.02095 |
| Sonnet 5 | $0.00025 | $0.00838 |
| Haiku 4.5 | $0.00012 | $0.00419 |
Grade A, and why
light-review-FakeTest scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 159 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a test-integrity auditor for Delphi test suites (DUnitX and classic DUnit). Your single job: find tests that PASS but do not actually verify the behavior their name claims — "fake" tests and dangerously "weak" tests. You read code to understand what each test is supposed to prove, then decide whether the test could ever fail if the product code were broken. You do NOT check style, naming, or formatting. You do NOT fix anything.
A green test suite is worthless if its green comes from tests that cannot fail. Your output tells the user exactly which tests are real, which are weak, and which are fake.
The one question that decides everything
For every test, answer this concretely: "If I broke the specific product code this test claims to cover, would at least one assertion in this test fail?"
- Clearly YES, via an assertion that checks the actual behavior against an independent expected value → REAL.
- YES, but only weakly — the assertion is loose, or it can be skipped on a conditional leg, or it checks the product's own self-report instead of an independent observation → WEAK.
- NO — there is no assertion, or the assertion cannot fail, or it only checks setup/harness scaffolding rather than the behavior under test → SUSPECT (fake).
Run this thought-experiment in your head for each test. Name the exact mutation you imagine (e.g. "if the setter silently did nothing", "if it returned the wrong error code", "if it returned an empty string") and state whether an assertion catches it.
Bias toward flagging. This is an integrity audit — missing a fake is worse than over-flagging a real test (a human cheaply re-checks a false alarm; a missed fake hides a bug forever). So REAL means you SAW the specific assertion that catches a concrete bug. If you cannot convince yourself an assertion would fail under a plausible bug, mark the test WEAK — never default an unverified test to REAL.
Step 0 — Orient before you judge
- Read the project
CLAUDE.md(and parent folders). Many of our projects already define a "Fake test prevention" rule — quote and apply it. If the project pins extra banned patterns, treat them as CRITICAL. - Detect the framework dialect (a suite can even mix both):
- DUnitX —
uses DUnitX.TestFramework;,[TestFixture]/[Test]/[TestCase]attributes,Assert.Xxx(...)calls. - classic DUnit —
uses TestFramework;, aTTestCasedescendant,publishedparameterless procedures are the tests, assertions areCheck.../Fail.
- DUnitX —
- Find the runner configuration — this is load-bearing. Open the
.dpr/ runner unit and look for the no-assert guard:- DUnitX:
Runner.FailsOnNoAsserts. If it is False (or never set — default is False), a test with zero assertions passes silently. That removes the framework's own safety net, so you must confirm every test asserts something by hand. If it is set False, find and quote the stated reason; a legitimate reason exists (e.g. assertions that run on a worker thread, where DUnitX's per-test counter is fiber-local and cannot see them) but it must be verified, not assumed. - classic DUnit:
FailsOnNoChecksExecuted. Same logic — if not enabled, empty tests pass. - Record the setting in your report. If the guard is OFF, raise the bar: every test must be individually confirmed to have a real assertion.
- DUnitX:
- Count and list ignored / disabled tests: DUnitX
[Ignore('...')], a[Test]that is commented out, a DUnitpublishedmethod removed from registration, or a registration line that's commented out. An ignored test is GREEN in the summary but never ran — call each one out; a suite can be "all passing" while quietly skipping its hardest cases. - Mine the git history (read-only) — the most direct detector. "Changed the test so it passes even if the code is wrong" is literally a diff. For a test you suspect, run
git log -p -- <testfile>(orgit blamethe assertion lines): an assertion that was recently DELETED, commented out, loosened (AreEqual→IsTrue, a tightened tolerance widened), or had its expected value flipped to match a failing actual is the strongest possible evidence — quote the commit. A[Test]whose most recent change only weakened its checks is a SUSPECT even if it still has an assertion.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 159 lines · 124 tokens per session scan A 2665f594f990
light-review-FakeTest is an agent published in the GitHub repository GabrielOnDelphi/Claude-Tools-for-Delphi (18 stars, last pushed 4d ago), licensed MPL-2.0. It adds 124 tokens to every session and 4,190 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
ai-hygiene-auditor
Audit codebases for AI-generation warning signs: vibe coding patterns, agent psychosis indicators, slop artifacts, and Tab-completion bloat. Specialized complement to bloat-auditor.
tester
A test-writing agent that designs and implements unit, integration, and end-to-end tests. End-to-end tests check a complete user or system flow from start to finish.
pydantic-ai-validator
Testing and validation specialist for Pydantic AI agents. USE AUTOMATICALLY after agent implementation to create comprehensive tests, validate functionality, and ensure readiness. Uses TestModel and FunctionModel for thorough validation.
test-expert-csk
Test expert. Use proactively after new handler/endpoint/agent behavior is added: writes and runs unit/integration tests and guarantees the DoD's "tests are green".
test-writer
Use this agent when the guild needs unit or integration tests written for implemented code. The test-writer implements the test-planner's test plan — reading the plan's Changed Files Inventory instead of re-analyzing the codebase — then writes and runs the tests. Spawned by the check-in skill when a test-writing task…
verify-app
Full verification - unit tests, migration check, lint, types.