Where is the documentation on /tmp?
There is a little documentation here on the background tasks that do things like clear up the /tmp folder, but it is marked as archived now and Apple don't seem to have released an updated version.

There should be a log at /var/log/daily.log for the daily script that (amongst other things) clears out the /tmp folder.