Where was the vacuum sensor located? Lower in the throttle body?
So far, we have the following rules:
Vacuum > triggering level (does this need to be adjustable?)
RPM > (idle + anti-stall) (should cut fuel in a safe amount above idle/stalling speed)
Car must be in gear
__________________
|