Skip to lesson
Exit
Worktrees, Sandbox, Sudo and Command Approval1 / 3

1 min lesson

The right surface: CLI safety controls

Answer "When should you reach for CLI safety controls?" Then point to the lesson detail behind your choice.

Step 1 of 3

Done means you can isolate changes and control risky commands.

CLI AND SDK
Actual Cursor product screenshot showing a completed agent response with code blocks, terminal status and follow-up controls.

The same agent loop can run in a terminal, script, CI job or SDK-backed internal tool.