When do I need protective systems?
Per 1926.652, when the trench is 5 feet or more deep, AND the soil isn't stable rock. Below 5 feet, a competent person can authorize work without protective systems only when they're certain there's no risk of cave-in based on soil and conditions. Above 20 feet, protective systems must be designed by a registered professional engineer.