iCloud Drive does not allow you to recover files if you put them into the trash and empty it by accident. I learned this the hardest of ways.

That seems... reasonable? You have to trash the files and empty the trash before you lose them. Isn't that what the trash is for?