Rakefile spec:generate:afr: Restored checks