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.
More from coding & agent
- Rollikey: open-source proxy adds pre-flight snapshots and LIFO rollback for production AI agents — Rollikey · 2026-11-30
- Open-source LoRA restyles MiniMax H3 video from a single reference image — linoy_tsaban · 2026-11-30
- Dev shares Avi home AI companion internals: device control, memory and full system prompt — aloncarmel · 2026-11-30
- Microsoft exec explains AI governance with a 4-step closet-cleaning method — donasarkar · 2026-11-30
- Catching steps your AI agent silently skipped: declare required actions per task — Ok-Machine7983 · 2026-11-30
- Rollikey: open-core MCP airlock and LIFO rollback proxy for AI agents — Rollikey · 2026-11-30