Long ago, I learned from working with cars, to make sure anything that goes sproing is aimed in a safe direction, preferably where it isn't likely to get lost.
If gun springs are deemed dangerous, try messing with auto struts.
Putting the gun inside a large box, while disassembling, usually catches any surprises.
If the gun is too large, use a small room with an uncluttered floor.
I use the guest bath.
Just make sure the toilet seat lid is down, though.
Lock the doors, they're coming in the windows.