Guaranteed Dry-Runs: How Landlock and Intents Fix Scripting's Scariest Flag

Every developer has a horror story about a --dry-run flag. You write a quick maintenance script to clean up old files or migrate local data. You carefully add a dry_run boolean variable, wrap your primary write function in an if not dry_run: block, and run it with confidence. Then, three levels deep in an obscure helper function, a raw fs.unlink() or http.post() executes anyway because you forgot to wrap it. The script modifies state mid-rehearsal, leaving you with half-mutated data and a mild panic attack. ...

September 17, 2026 ยท Janko