September 24, 2026
You can trim tests without reducing coverage: OpenClaw cut 400,000 lines
On Sep 23, OpenClaw removed around 400,000 lines of its own tests, while code coverage barely changed. The repository contains Test Audit, a skill for writing, reviewing, and cleaning up tests.

Peter Steinberger 🦞
@steipete
OpenClaw removed around 400,000 lines of its own tests, while code coverage barely changed. Modern models love writing tests for every small change, even when they provide no value. This skill helped. https://github.com/openclaw/openclaw/blob/main/.agents/skills/test-audit/SKILL.md
· 261.1K views
According to Peter Steinberger, modern models write a test for every small change. Test Audit now asks four questions before any new test is added. One is whether a test that breaks during refactoring without a behavior change is checking code structure rather than the contract.
Delete with purpose. The audit starts in read-only mode and collects several high-confidence candidates. Before deletion, the skill requires seven evidence fields, including the bug the test caught and a stronger remaining check.
OpenClaw Test Audit is invoked when writing, changing, reviewing, and cleaning up tests in bulk.
Source
