This repository was archived by the owner on Jul 24, 2026. It is now read-only.
What rules would you add? Share your worst agent moment #1
ghost
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
AgentCheck is a stdin/stdout proxy for AI coding agents that watches output for bad patterns and injects corrections before the damage is done.
The problem it solves
When agents run unattended, they start making "reasonable" bad decisions:
catch {}because the migration was noisygit reset --hardwithout being askedEasy to catch when you're watching. Much harder when it's been running for 45 minutes.
What's in v0.1.1
Three rule packs included:
protect-git.yaml— no force-push, no hard resetno-secrets.yaml— catches hardcoded credentialsstay-in-scope.yaml— nosudo, norm -rf, no editing CI unless requestedAnd
--shadowmode: logs what would have fired without injecting anything. Good for tuning rules before letting it steer.What I'm most curious about
The current rules are based on patterns I've seen personally — force-push, test deletion, secret exposure, scope creep. But every team's worst agent moments are different.
What rules would you add? What patterns have you seen your agent take that you'd want caught?
Bonus points for subtle patterns — not just obvious shell commands but the kind of "pragmatic" reasoning that slips through review.
Drop your worst agent moment in the comments.
All reactions