Skip to content

docs: document the userspace tools.yaml policy file - #915

Merged
edenreich merged 2 commits into
mainfrom
docs/issue-914-20261002-2208
Oct 2, 2026
Merged

edenreich merged 2 commits into
mainfrom
docs/issue-914-20261002-2208

Conversation

@inference-gateway-maintainer

@inference-gateway-maintainer inference-gateway-maintainer Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Documents the CLI's move of the whole tools: section out of config.yaml into a userspace-only ~/.infer/tools.yaml. The file opens with the keys for every tool (enabled, custom_dir, max_result_bytes, safety) and holds each tool's section under tools:. infer config get and the INFER_TOOLS_* overrides name both kinds tools.<key>.

  • cli.md - Tool Configuration is rewritten around ~/.infer/tools.yaml: a sample in that layout, the infer init seeding, and the guarantees it shares with sandbox.yaml. Project copies and a tools: block in any config.yaml are ignored, the file tools refuse to write it, infer config set tools.* is rejected while infer config get tools still works, and the INFER_TOOLS_* overrides are unchanged with set-but-empty winning.
  • cli.md - every tools YAML snippet is a ~/.infer/tools.yaml snippet with a path comment and the tool sections under tools:: Bash per-mode allowed-list, the gh baseline, Wait, WebSearch, WebFetch, ImageEdit, ImageVariation, the Agent block, the command allow-listing sample and the controlled-autonomy CI profile. Per-tool paths in the prose read tools.<tool>.<key>. The remaining infer config set tools.* examples (agent toggle, custom_dir, web_fetch.allowed_domains, safety) are gone.
  • cli.md - tools.yaml is listed next to sandbox.yaml in the configuration-files table as User only, added to the infer init seed list and to the Security Features list as a protected policy file. The config.yaml row and the Tool Settings area say where the tools policy lives, the config tools * command-mapping rows point at the file instead of config set, and Custom Tool Security no longer claims a project config can set the approval policy.
  • cli-judge-mode.md - safety.approval_behaviour: judge is set in ~/.infer/tools.yaml instead of via infer config set.
  • cli-channels.md - the Schedule-tool enablement snippet moves from .infer/config.yaml to ~/.infer/tools.yaml, under tools:.
  • cli-scheduling.md - the Schedule gate is named as tools.schedule.* in ~/.infer/tools.yaml.

The pages describe the behavior without linking the CLI pull request, since AGENTS.md here keeps tracker references out of doc content.

Validation

bun run format:check, bun run lint:md and bun run build all pass.

Closes #914

@inference-gateway-releaser

inference-gateway-releaser Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

🗑️ Preview environment destroyed.

The CLI now writes tools.yaml with the keys for every tool (enabled,
custom_dir, max_result_bytes and safety) at the top and each tool's section
under tools:. The snippets and the file-layout wording follow, and per-tool
paths read tools.<tool>.<key>, the same names infer config get and the
INFER_TOOLS_* overrides use.
@edenreich
edenreich merged commit e8eecdc into main Oct 2, 2026
1 check passed
@edenreich
edenreich deleted the docs/issue-914-20261002-2208 branch October 2, 2026 22:31
inference-gateway-releaser Bot added a commit that referenced this pull request Oct 4, 2026
## [0.9.21](0.9.20...0.9.21) (2026-10-04)

### 📚 Documentation

* a2a-debugger needs adk v0.31.0 agents ([#951](#951)) ([9c3802e](9c3802e))
* **a2a:** document the usage extension ([#982](#982)) ([e8fdae2](e8fdae2))
* add typescript adk env var and dependency reference ([#974](#974)) ([5c65abf](5c65abf))
* **agents:** add code readability guidelines ([#960](#960)) ([f501b37](f501b37))
* blocking SendMessage and StreamResponse push payload ([#935](#935)) ([0b06c96](0b06c96))
* blocking SendMessage, MessageResponder, artifact events ([#934](#934)) ([d95fc53](d95fc53))
* bump operator pins to v0.27.0, add gpu to cleanup ([#963](#963)) ([c01c5da](c01c5da))
* **cli:** read not-found hints and repeated-failure match ([#900](#900)) ([98051c4](98051c4))
* **cli:** show subagents in plan mode and fill the remaining subagent gaps ([#898](#898)) ([f15ea4b](f15ea4b))
* correct adl-cli acronym naming examples ([#980](#980)) ([23a8a9c](23a8a9c))
* correct cli telemetry signals, opt-out and defaults ([#964](#964)) ([95d9c74](95d9c74))
* correct inert rust-adk config claims ([#979](#979)) ([06b08ab](06b08ab))
* correct mcp request timeout and tts download scope ([#969](#969)) ([df5a357](df5a357))
* document -32003 push notification capability gate ([#931](#931)) ([f1d1ae7](f1d1ae7))
* document /reload and the config built-in skill ([#923](#923)) ([96d6c2f](96d6c2f))
* document A2A v1.0.1 client behavior in the CLI ([#908](#908)) ([29c9481](29c9481))
* document gateway server ports and TLS refs ([#970](#970)) ([89a9e3f](89a9e3f))
* document gateway spec.a2a and agent discovery ([#953](#953)) ([28b2731](28b2731))
* document go sdk 429 quota wall and RateLimitError ([#972](#972)) ([3873cb7](3873cb7))
* document rust-adk agent card URL resolution ([#926](#926)) ([9fdac74](9fdac74))
* document sandbox.yaml and drop tools.sandbox keys ([#907](#907)) ([2d52cee](2d52cee))
* document the gateway A2A server ([#965](#965)) ([980dc65](980dc65))
* document the per-project media root ([#911](#911)) ([6865a9d](6865a9d))
* document the userspace tools.yaml policy file ([#915](#915)) ([e8eecdc](e8eecdc))
* document vendor block and pinned ADK versions ([#906](#906)) ([3d08671](3d08671))
* fix quickstart curl and prefixed model ids ([#966](#966)) ([08512df](08512df))
* gate push config methods on card capability ([#922](#922)) ([78a2ef9](78a2ef9))
* go adk artifact retention per-context cap ([#943](#943)) ([4c64837](4c64837))
* go adk client artifact extraction for a2a v1.0 ([#941](#941)) ([9cb57a6](9cb57a6))
* headless keep-alive subagents and agent defaults ([#895](#895)) ([866cbcf](866cbcf))
* ListTasks accepts proto3 default page params ([#930](#930)) ([7be4a33](7be4a33))
* max retries covers adk streaming path ([#945](#945)) ([9fc0a3e](9fc0a3e))
* note dim-at-zero icons in subagent run stats ([#913](#913)) ([26f34aa](26f34aa))
* note firefox/safari bridge auto-connect in opentask ([#976](#976)) ([56e890e](56e890e))
* note orchestrator a2a.agents[] takes plain urls ([#968](#968)) ([bd89997](bd89997))
* note proto3 param names and ignored unknown params ([#925](#925)) ([0509dbc](0509dbc))
* note pushNotifications capability gates config methods ([#927](#927)) ([a8793d7](a8793d7))
* registry cards show preferred protocol binding ([#938](#938)) ([0d9a9f5](0d9a9f5))
* rust adk blocking sendmessage and push delivery ([#939](#939)) ([783c168](783c168))
* rust-adk max artifacts 0 means unlimited ([#949](#949)) ([dd92128](dd92128))
* scope rust adk artifact paths by contextid ([#950](#950)) ([4f35230](4f35230))
* sync readme dev section with tooling config ([#967](#967)) ([ff6a220](ff6a220))
* update ADK pages for A2A v1.0.1 AgentCard ([#902](#902)) ([f474473](f474473))
* update card reference for A2A v1.0.1 shape ([#899](#899)) ([d3bdd76](d3bdd76))
* use a2a v1.0.1 jsonrpc method names ([#924](#924)) ([46859cc](46859cc))

### 🔧 Miscellaneous

* **deps-dev:** bump @types/node from 26.6.2 to 26.6.3 in the bun group ([#981](#981)) ([f5dfa81](f5dfa81))
* **deps:** bump claude-code 2.1.283 -> 2.1.285 ([#909](#909)) ([14e6ea9](14e6ea9))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.9.21 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Oct 4, 2026
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 the CLI tools policy in ~/.infer/tools.yaml

1 participant