if you must try to sleep near your stove in a tent then you need to take extra care as this is not recommended unless you know the risks and manage them
always have tent well ventilated with at least 1sq m opening - preferably a door so u can get out quickly if disaster strikes and use a door that will not have direct wind coming in
have a carbon monoxide alarm placed high up near your bed
dont wear flammable clothes - you will need to get out of bed in the.dark to stoke the stove and anything flammable risks catching on fire if it falls onto stove or burning embers fall out - in temperatures below zero Celsius, wool thermals are probably best but these may be too warm in a hot tent so sleeping naked may be the safest option and use a fire blanket instead of a flammable sleeping bag - you don’t want your sleeping gear catching on fire by it falling onto the stove or if tent catches on fire which is unlikely if you have managed it properly. If sleeping naked, a fantastic adjunct is a 12V electric blanket set to its lowest setting or perhaps a USB heat pad - as this will help with wind chill issues from needing the door open
the other benefit of sleeping naked is that you get the full effect of radiant heat from the stove which would be blocked by sleepwear
guy out the tent to reduce movement in winds and reduce chance tent contacts hit chimney
use clamps to keep moving tent parts away from stove
be very careful stoking stove in the dark that you don’t contact the very hot metal - use a piece of wood to close the stove door if you can’t see the handle
for a longer burn time use larger pieces of hardwood and have the chimney damper slightly closed and the intake vent closed or nearly closed
an external air stove with an intake duct that goes outside the tent and an essentially sealed stove apart from the door may further reduce carbon monoxide risks
perhaps avoid air tents as a sudden collapse of the tent due to air leak while the stove is on could be disastrous