AI agent re-adds reverted code when a fresh session, with no memory of last month's decision, re-proposes it. revert_guard.py is an offline, keyless pre-commit gate: it reads your repo's own git revert history and blocks (exit 1) a diff that reintroduces a column the team already added and reverted, before the commit lands.


AI disclosure: I...