TECHNOLOGY

Continue mode policies override individual permission rules

In this article
THE QUICK TAKE

Inspect the effective Continue CLI mode before interpreting an allow or exclude flag as the final policy for a tool.

Read the complete launch configuration

A script includes an exclusion for terminal execution alongside a broad automatic mode flag. Reading only the exclusion creates the wrong expectation. Continue’s tool-permission reference defines a priority order in which mode policies override individual flags and saved settings. Diagnose the full invocation and current mode rather than treating each argument as an independent restriction that always remains active.

Apply the documented priority order

The reference places plan and auto mode policies above CLI permission flags, then persistent permissions, then built-in defaults. It explicitly says the mode overrides ignore the lower sources. Auto mode allows everything; plan mode has its own defined tool set. Therefore combining an absolute mode with a selective policy is not a way to combine their most restrictive parts. A launch wrapper should make the intended mode visible instead of hiding it in a shared convenience argument.

The TUI guide lets an approval decision be saved with “don’t ask again.” Those choices are written to personal permissions, and the permission guide says file changes take effect in the next session. A fresh invocation can therefore differ from a currently open session even without a repository change. Record whether the observed behavior came from a launch flag, an absolute mode or a persisted personal decision.

Test a policy with an observable harmless call

Use a small fixture and a tool whose expected availability is easy to see. Compare the intended policy with the actual current mode, then observe whether the tool is available, prompts or runs automatically. The quickstart lists the relevant launch flags, while the detailed permission page resolves their interaction. Avoid using a real destructive operation merely to establish that a restriction is effective.

Preserve the resolved expectation in automation

State the mode and selected permission sources in the automation handoff. A task contract should identify what operation is authorized; tool observations establish how the actual run treated it. If a convenience flag changes later, review the effective policy again. A long command line containing restrictive-looking arguments does not prove those arguments survive the higher-priority mode policy.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles