Wikipedia:Bots/Anti-vandal bot requirements

Anti-vandalism bots are automated processes that revert vandalism and warn appropriately. Programming an effective anti-vandalism bot takes a lot of time and is expected to follow the guidelines below:

Rationale
Need to play nice, avoid undoing each other's work, etc.

Reverting

 * Must not revert an edit marked as a bot edit
 * Must not revert an edit from an admin
 * Must not revert an edit from editor on the ((not yet specified)) global whitelist
 * Must not revert an edit from an AV bot
 * Must not revert to an edit from an AV bot less than a day old
 * Must respect bot opt-out tags
 * Must understand "AVBot", as well as its own name, as a synonym for its name in bot opt-in/out tags.

Warnings

 * Must not warn if revert not completed (regardless of why)
 * Must reset warning "level" to 1 if no AV bot warning in ((1 week?))
 * Must not warn if last AV bot warning is less than ((120 secs?)) old
 * Must use the uw-avb1 template (and up)
 * The edit summary must contain the warning level.

Reporting

 * Must only report if level 4 AV bot warning present and more than ((120 secs?)) old