Agentests turns AGENTS.md rules into executable checks; audit found 102 AI co-author violations in a month

Ok-Buyer-9421 · reddit · 2026-11-30

An open-source project, Agentests, converts written rules in AGENTS.md/CLAUDE.md into scoped executable checks: glob-based scope, grep detection, assertions, and LLM evaluation only for cases needing semantic judgment—deterministic checks first. In testing, an audit of 20 repos found 4 explicitly banning AI co-author lines, yet agent PRs added them 102 times in a month. Replaying Prefect's last 50 merged PRs surfaced 4 rule-violating PRs (7 violations) that all passed CI, like a time.sleep(0.01) in tests despite an explicit ban. The goal: enforce repo rules regardless of who—human or agent—writes the code.

Original post →

More from coding & agent

coding & agent channel →