Repository navigation
docs: document bash allowed-list, approval_behaviour, skills, chat-TUI - #195
Merged
Merged
Conversation
Update CLI docs for inference-gateway/cli#618: - Replace the bash whitelist model with the per-mode allowed-list (tools.bash.mode.<mode>.allow): default-deny, full-command match, the .* sentinel, and the clean-command guard (command substitution, chains/pipelines, file-write redirects, find actions, env-var leaks). - Harden the default gh allowed-list (read-only only; writes and raw gh api now require approval). - Document tools.safety.approval_behaviour (prompt/ipc/block) and the whether-vs-how split with require_approval, headless secure-by-default, and the controlled-autonomy CI profile. - Document INFER_TOOLS_BASH_ALLOW_APPEND / --tools-bash-allow-append and remove the old INFER_TOOLS_BASH_WHITELIST_COMMANDS* references. - Reflect agent.skills.enabled default-on in cli.md and cli-skills.md. - Add the unified /model command (/switch deprecated) and the new diff-viewer / git-staging keybindings. - Rename remaining whitelist wording (incl. web_fetch allowed_domains) to the allowed-list model in cli.md and github-action.md.
7 tasks
inference-gateway-releaser Bot
pushed a commit
that referenced
this pull request
Jun 10, 2026
## [0.6.110](0.6.109...0.6.110) (2026-06-10) ### 👷 CI * centralize claude.yml via reusable workflow ([#208](#208)) ([e9e5571](e9e5571)) * **deps:** update inference workflow to version 0.7.9 ([7c898a8](7c898a8)) * **infer:** centralize infer.yml + sync .infer config ([#199](#199)) ([3913f65](3913f65)) * use GitHub App token and non-generic bot identity for release ([49ca5b5](49ca5b5)) ### 📚 Documentation * add dedicated Documentation Agent page ([#206](#206)) ([68b8f5e](68b8f5e)) * document bash whitelist file-write redirect restriction ([#190](#190)) ([8b93d5b](8b93d5b)), closes [#188](#188) * document chat completion schema gaps ([#210](#210)) ([883e593](883e593)) * rework bash allow-list, approval, skills, chat-TUI docs ([#195](#195)) ([48adf12](48adf12)) * update README.md to reflect VitePress tech stack and current repo structure ([#205](#205)) ([a2506aa](a2506aa)) ### 🔧 Miscellaneous * **deps-dev:** bump @types/node from 25.9.1 to 25.9.2 in the npm group ([#193](#193)) ([b56a52b](b56a52b)) * **deps:** bump claude-code 2.1.158 -> 2.1.161 ([#196](#196)) ([8ec11c2](8ec11c2)) * **deps:** bump infer CLI v0.119.0 -> v0.120.0, infer-action v0.11.4 -> v0.11.6 ([#189](#189)) ([57cf040](57cf040)) * **deps:** bump infer CLI v0.120.0 -> v0.120.1, infer-action v0.11.6 -> v0.11.7 ([#191](#191)) ([f0dd62f](f0dd62f)) * **deps:** bump infer CLI v0.120.1 -> v0.121.0 ([#197](#197)) ([92592de](92592de)) * **deps:** bump infer-action v0.11.7 -> v0.12.0 ([#198](#198)) ([6d6b63e](6d6b63e)) * **deps:** bump infer-action v0.12.0 -> v0.12.1 ([#207](#207)) ([9572f74](9572f74)) * **deps:** bump the github-actions group with 2 updates ([#192](#192)) ([9f531a4](9f531a4))
Contributor
|
🎉 This PR is included in version 0.6.110 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This was referenced Sep 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents the user-facing changes from inference-gateway/cli#618 across the CLI docs.
cli.md
whitelistmodel to the per-mode allowed-list (tools.bash.mode.<mode>.allow): default-deny, full-command matching, the.*sentinel, and the clean-command guard (command substitution, chains/pipelines, file-write redirects, dangerousfindactions, env-var leaks).ghallowed-list (read-only only; issue/PR writes and rawgh apinow fall through to approval).tools.safety.approval_behaviour(prompt/ipc/block) and the whether-vs-how relationship withrequire_approval, headless secure-by-default, and the controlled-autonomy CI profile.INFER_TOOLS_BASH_ALLOW_APPEND/--tools-bash-allow-append; removed theINFER_TOOLS_BASH_WHITELIST_COMMANDS*references.agent.skills.enableddefault-on, and noted the Auto-Accept destructive-action safety prompt./modelcommand (/switchdeprecated) and the new diff-viewer / git-staging keybindings (line selection, hunk split, stage/unstage all).cli-skills.md
github-action.md
whitelistwording to the allowed-list model.INFER_TOOLS_BASH_ALLOW_APPENDand a controlled-autonomy CI profile (approval_behaviour: block+tools.write.require_approval: false+ curated allow-list).Note on configuration.md
configuration.mdis the gateway environment-variable reference; the bash/safety/skills settings are CLI config (.infer/config.yaml) whose existing home iscli.md, so they were documented there to keep gateway and CLI config separate. Happy to add a CLI-config section toconfiguration.mdif you would prefer it there.Validation
npm run lint:md- passnpm run format:check- passnpm run build- passCloses #194