Repository navigation
docs: document the userspace tools.yaml policy file - #915
Merged
Merged
Conversation
inference-gateway-maintainer
Bot
requested a review
from a team
as a code owner
October 2, 2026 22:13
4 tasks
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.
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))
Contributor
|
🎉 This PR is included in version 0.9.21 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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 CLI's move of the whole
tools:section out ofconfig.yamlinto 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 undertools:.infer config getand theINFER_TOOLS_*overrides name both kindstools.<key>.cli.md- Tool Configuration is rewritten around~/.infer/tools.yaml: a sample in that layout, theinfer initseeding, and the guarantees it shares withsandbox.yaml. Project copies and atools:block in anyconfig.yamlare ignored, the file tools refuse to write it,infer config set tools.*is rejected whileinfer config get toolsstill works, and theINFER_TOOLS_*overrides are unchanged with set-but-empty winning.cli.md- every tools YAML snippet is a~/.infer/tools.yamlsnippet with a path comment and the tool sections undertools:: Bash per-mode allowed-list, theghbaseline, 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 readtools.<tool>.<key>. The remaininginfer config set tools.*examples (agent toggle,custom_dir,web_fetch.allowed_domains, safety) are gone.cli.md-tools.yamlis listed next tosandbox.yamlin the configuration-files table as User only, added to theinfer initseed list and to the Security Features list as a protected policy file. Theconfig.yamlrow and the Tool Settings area say where the tools policy lives, theconfig tools *command-mapping rows point at the file instead ofconfig set, and Custom Tool Security no longer claims a project config can set the approval policy.cli-judge-mode.md-safety.approval_behaviour: judgeis set in~/.infer/tools.yamlinstead of viainfer config set.cli-channels.md- the Schedule-tool enablement snippet moves from.infer/config.yamlto~/.infer/tools.yaml, undertools:.cli-scheduling.md- the Schedule gate is named astools.schedule.*in~/.infer/tools.yaml.The pages describe the behavior without linking the CLI pull request, since
AGENTS.mdhere keeps tracker references out of doc content.Validation
bun run format:check,bun run lint:mdandbun run buildall pass.Closes #914