In context, you are clearly talking about working for local companies. In countries like Thailand, it's illegal to work in any way (even volunteering falls into this category in Thailand) without a valid visa and work permit.
> have never been clear in Thailand
That's disingenuous at best. Its never been "ideal" but it's always been clear - if you want to work, you need a visa + work permit. That people working "online" for foreign entities have largely slipped through the cracks is irrelevant. Speeding isn't legal or "unclear" just because you don't get caught every time.
> this week the Thai government decided it's OK for digital nomads to work in Thailand:
Since i first started looking at the options for working in Thailand about 2 1/2 years ago (and moved here ~ 2 years ago) I've read numerous articles about these announcements from provincial immigration staff, only to have them either "clarified" to mean something different, or outright denied as being incorrect.