On this page4 sections
A copied runbook is a comfortable place to let an agent work. It can read the sample logs and draft a report without asking about every harmless edit. A shell command with access to the rest of your workstation is a different proposition.
KoboldCpp 1.123’s auto confirmation mode separates those choices for file work inside the selected directory, while keeping shell calls and outside writes subject to confirmation. The October 13, 2026 release also adds per-tool settings and saved sessions. Together, those conveniences make one detail important: the setting restored for a particular tool may outrank the global mode you just chose.
Give the runbook a workspace of its own
The integrated terminal agent reads and edits files and runs commands using a model through an OpenAI-compatible endpoint. KoboldCpp can serve that model, or another compatible endpoint can. The tools still execute wherever the agent runs. A local harness, the software coordinating those calls, is not an isolated machine.
The pinned release notes describe three global modes. The default on requires approval. off approves calls automatically. auto approves in-workdir file work but asks about shell calls and outside writes or edits.
For a hypothetical exercise, copy sanitized incident material into a dedicated folder away from credentials and production checkouts. Following the agent guide’s launch syntax, substitute a reviewed model file and the copied folder’s absolute path:
koboldcpp --model mymodel.gguf --agent --cli
# At the agent prompt, after selecting the copied workspace:
/workdir /absolute/path/to/incident-fixture
/confirm auto
/confirm shell on
/confirm
/tools
shell on explicitly requests approval for shell calls. The following queries show the settings governing the session. Reading copied logs and drafting a runbook beside them is the sort of routine file work that can benefit from fewer prompts without granting unattended shell execution.
At review time, the community guide still described an older model-review meaning of auto and an earlier launcher tab. For 1.123 behavior, use the pinned release notes and versioned implementation.
The shell’s own setting gets the first say
Suppose a saved session gave shell an off override. Selecting global auto does not restore the shell prompt: the per-tool choice takes precedence. Set shell to on, or use /confirm shell default to make it inherit the global mode.
Confirmation decides whether the call starts. After approval, a shell command can use the running account’s access, including reachable paths outside the starting directory. These are harness approval rules, not an operating-system boundary around the folder.
If unattended shell work is needed, it requires a separately restricted account, container or sandbox with tested access. The OpenShell guide describes that additional layer.
| Fixture action | Effective setting | Expected approval behavior to check |
|---|---|---|
| Write a harmless report inside the copied workdir. | write: auto | Automatic approval for an in-directory path. |
| Write a harmless file outside that directory. | write: auto | A confirmation prompt before the write. |
| Run a harmless shell command. | shell: auto or on | A confirmation prompt. |
| Inspect a shell tool configured with an off override. | shell: off | The tool is configured to approve without a prompt, even if the global mode is auto. |
The matrix proposes disposable-file checks; it does not report executed agent calls. Cancel unexpected operations and inspect the filesystem after permitted ones. It deliberately makes no promise that every outside read prompts: the pinned implementation has separate automatic-review paths for other tools.
The saved conversation brings its settings back too
/save, /load and launch-time --agentload restore more than messages. The implementation saves the workdir, global and per-tool confirmation settings and automation limits. It excludes endpoint, API key and model identity, although the conversation itself can still contain sensitive material.
After loading, inspect /workdir, /confirm and /tools. The files may have changed since the conversation stopped. An old override may also permit more than you expect from the current global label.
A restored session cannot settle a write whose response was lost. Keep the authorized action and last observed destination state, then inspect before retrying. For the copied runbook, that means finding whether the report already exists, reading its contents and checking which input revision it used.
/maxsteps bounds automated turns; /autocompact reduces conversation context. Neither proves the report is correct. Open the output to finish the useful check. The copied files should have received the intended work, and any shell operation should have met the approval setting you actually selected, not merely the one the session seemed to imply.
Sources and scope
This account follows the October 13 release, community agent guide and pinned implementation, discovered through the LocalLLaMA release discussion. The incident bundle and test matrix are illustrative. Source inspection was performed; no local model, agent session or production change was executed for the article.
Source context
Source links appear within this article. Read them alongside the author’s analysis and evaluate the guidance against your environment.
Report an error or outdated detail