Skip to content

docs: document bash allowed-list, approval_behaviour, skills, chat-TUI - #195

Merged
edenreich merged 1 commit into
mainfrom
docs/issue-194-20260608-1133
Jun 8, 2026
Merged

edenreich merged 1 commit into
mainfrom
docs/issue-194-20260608-1133

Conversation

@claude

@claude claude Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Documents the user-facing changes from inference-gateway/cli#618 across the CLI docs.

cli.md

  • Rewrote the Bash tool section from the removed whitelist model 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, dangerous find actions, env-var leaks).
  • Hardened the default gh allowed-list (read-only only; issue/PR writes and raw gh api now fall through to approval).
  • Documented tools.safety.approval_behaviour (prompt/ipc/block) and the whether-vs-how relationship with require_approval, headless secure-by-default, and the controlled-autonomy CI profile.
  • Documented INFER_TOOLS_BASH_ALLOW_APPEND / --tools-bash-allow-append; removed the INFER_TOOLS_BASH_WHITELIST_COMMANDS* references.
  • Reflected agent.skills.enabled default-on, and noted the Auto-Accept destructive-action safety prompt.
  • Added the unified /model command (/switch deprecated) and the new diff-viewer / git-staging keybindings (line selection, hunk split, stage/unstage all).

cli-skills.md

  • Skills are now enabled by default; updated the callout, the enabling/disabling section, and the settings table.

github-action.md

  • Updated whitelist wording to the allowed-list model.
  • Documented INFER_TOOLS_BASH_ALLOW_APPEND and a controlled-autonomy CI profile (approval_behaviour: block + tools.write.require_approval: false + curated allow-list).

Note on configuration.md

configuration.md is the gateway environment-variable reference; the bash/safety/skills settings are CLI config (.infer/config.yaml) whose existing home is cli.md, so they were documented there to keep gateway and CLI config separate. Happy to add a CLI-config section to configuration.md if you would prefer it there.

Validation

  • npm run lint:md - pass
  • npm run format:check - pass
  • npm run build - pass

Closes #194

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.
@edenreich
edenreich merged commit 48adf12 into main Jun 8, 2026
@edenreich
edenreich deleted the docs/issue-194-20260608-1133 branch June 8, 2026 12:03
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))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.6.110 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCS] Document bash allowed-list, headless approval_behaviour, skills default-on, and chat-TUI updates

1 participant