Repository navigation
docs: document nested AGENTS.md awareness in the CLI - #854
Merged
Merged
Conversation
inference-gateway-maintainer
Bot
requested a review
from a team
as a code owner
September 28, 2026 23:36
4 tasks
Contributor
|
🗑️ Preview environment destroyed. |
inference-gateway-releaser Bot
added a commit
that referenced
this pull request
Sep 30, 2026
## [0.9.19](0.9.18...0.9.19) (2026-09-30) ### 📚 Documentation * ag-ui resume snapshot and cancelled run outcome ([#861](#861)) ([53e4c80](53e4c80)) * **agents:** add code readability guidelines ([#832](#832)) ([9435459](9435459)) * **agents:** add code readability guidelines ([#834](#834)) ([6b06d8b](6b06d8b)) * artifacts route is not served by the daemon ([#867](#867)) ([513e866](513e866)) * browser-use routes through the daemon socket ([#865](#865)) ([79a9292](79a9292)) * bundled ffmpeg covers desktop timeline export ([#837](#837)) ([43ff30c](43ff30c)) * daemon.yaml binding and channel thread path ([#871](#871)) ([9f6efc5](9f6efc5)) * document autocomplete kind labels ([#847](#847)) ([94b0ceb](94b0ceb)) * document ctrl+r prompt history search in chat ([#869](#869)) ([08239c2](08239c2)) * document custom tools in the CLI ([#852](#852)) ([e32cf2e](e32cf2e)) * document infer daemon as the client hub ([#860](#860)) ([6fabb62](6fabb62)) * document nested AGENTS.md awareness in the CLI ([#854](#854)) ([e6c17a9](e6c17a9)) * document secret redaction in infer insights ([#831](#831)) ([7ae06bb](7ae06bb)) * headless --serve ag-ui worker over stdio ([#863](#863)) ([ac80158](ac80158)) * lead agent pages with bare-name infer agents add ([#835](#835)) ([113179d](113179d)) * opentask tab recording skill loop ([#840](#840)) ([48b6bde](48b6bde)) * single /agents view and markdown subagents ([#845](#845)) ([9557066](9557066)) * **skills:** document the built-in demo skill and infer-action record-demo ([#849](#849)) ([393b0c9](393b0c9)) * sync cli page with new upstream cli docs ([#855](#855)) ([88e0905](88e0905)) ### 🔧 Miscellaneous * **deps-dev:** bump the bun group with 2 updates ([#846](#846)) ([c278297](c278297)) * **deps:** bump claude-code 2.1.280 -> 2.1.283 ([#858](#858)) ([3a23dc8](3a23dc8)) * **deps:** bump infer CLI v0.208.0 -> v0.218.0 ([#859](#859)) ([fd05fc6](fd05fc6))
Contributor
|
🎉 This PR is included in version 0.9.19 🎉 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 how
AGENTS.mdreaches the model in the CLI, including the new nested-file awareness, verified against the CLI implementation (buildAgentsMDInfo/findNestedAgentsMD/nestedAgentsMDListingininternal/agent/utils.go).New
cli.mdsection "How AGENTS.md reaches the model" (under Generating AGENTS.md):AGENTS.mdis injected whole as thePROJECT INSTRUCTIONS (AGENTS.md)section, capped byagent.agents_md.max_lines(399) andmax_chars(8000), which apply to that file only;enabledturns the section off. Includes the YAML snippet and the three env vars.node_modules/vendortrees skipped, lexical walk for a byte-stable prompt.AGENTS.mdtakes precedence over the root file for its directory.agent.context.tree_enabledon only the rule is added; with it off the paths are listed, at most 20, with an overflow note.Also adds a pointer bullet under Agent Configuration in the Key Configuration Areas list.
Validation
bun run lint:md,bun run format:checkandbun run buildall pass. The anchor#how-agents-md-reaches-the-modelwas confirmed against the built HTML.Closes #853