Under the deal, U.S. Special Operations Forces would be on the ground but would not enter Afghan homes unless specifically asked to do so by Afghan commandos leading the operation, or by other Afghan officials, a senior NATO official said.