"Intent", which as used here doesn't actually reflect intent but more something along the lines of whether they had any other option, can't be in the rules because it's obfuscatory and needlessly complex. I'm not willing to implement an elaborate system that keeps track of what you could possibly know and bases whether you lose thereon, and I don't even think such a system is a good idea. All of the rules, including Sleep Clause, should be easily able to be stated in simple, brief, plain language. Here is my preferred approach, and definitely the simplest to implement:
At the end of every turn, if more than one pokemon is asleep on one side, and if at least two of those pokemon were put asleep by enemy moves, excluding Magic Coat, but including Yawn, then that side automatically wins. If both sides qualify, the game ends as a draw.
Some facts about my statement (note: these facts follow from the statement; they are not additional provisions).
- simple yet fully specified (nothing else so far has actually covered all the cases)
- reasonable to implement
- if your second victim of sleep holds a berry that cures sleep, you don't lose
- effect spore doesn't ever make you lose
- obscure situations involving yawns are handled fairly