At a meeting with gestores in Catalonia, Luis from UGE confirmed that digital nomad applications from within Spain on a short-stay visa are not being cancelled. UGE will, however, check carefully that Schengen visas are not used solely to file the application.
Luis referred to Article 4 of the Visa Code: the decision on a visa must be taken by the country of main destination. His example: applicants travelling via Turkey with Bulgarian or Greek visas who never set foot in Bulgaria, while the documents they submit are dated even earlier than the visa application. In such cases the correct route would have been a remote worker visa at a Spanish consulate.
Long multiple-entry visas valid for three or four years are treated more leniently: the visa was issued for another purpose, and the need to come to Spain may have arisen later.
For visa-exempt nationals (for example from the US or the UK) UGE cannot assess tourist intent, so their applications from Spanish territory will continue to be approved without such checks.
Practical takeaway: if your Schengen visa was not issued by Spain, spend several days in the country of entry before travelling to Spain and filing. Make sure your supporting documents are not dated before the Schengen visa application.