Repository navigation
Labels
Description
Summary
cli.md, a2a.md and opentask.md document CLI commands, flags and config keys that the CLI the docs pin (v0.208.0) does not have. The command tree is registered in cmd/root/root.go; the other sources are cited per item. The most visible problem is infer agent, which was renamed to infer headless in CLI v0.166.0 and now fails with unknown command.
Acceptance Criteria
-
cli.mdanda2a.md: replaceinfer agentwithinfer headless.cmd/root/root.goregisters no top-levelagentcommand (the onlyagentisinfer debug agent). Affected places:- the Core Commands and Command Reference tables
- the examples under Telemetry, Workflows > GitHub Issue Resolution and Troubleshooting > Tool Execution Problems
- the prose references (session resume,
--result-file, Bash allow-list, GitHub operations, Agent tool, Memory sync,conversations show) - the
infer agent "Analyze my calendar ..."example ina2a.md
-
cli.md:infer initseeds the userspace baseline in~/.infer/(config.yaml, mcp.yaml, prompts.yaml, agents.yaml, shortcuts/, skills/ and so on) and writes nothing to the project (cmd/init/init.go). Project overrides go throughinfer config set --project, or--projectoninfer mcp/infer agents. Fix these places:- the Core Commands row ("Creates
.infer/config.yamlwith defaults") - the Command Reference row and the help sample ("Initialize project configuration")
- the Configuration Files intro ("scaffolds the project configuration directory")
- MCP Integration > Setup ("Initialize project to create
.infer/mcp.yaml")
- the Core Commands row ("Creates
-
cli.mdMCP Integration:infer mcp toggledoes not exist.cmd/mcp/mcp.goprovideslist,status,start,stop,add,remove,update,enable,disable,enable-globalanddisable-global -
cli.mdMCP Integrationmcp.yamlexample:MCPServerEntryinconfig/mcp.gohas nourlkey, sourl: 'http://localhost:3000/sse'is silently ignored and the entry resolves tohttp://localhost/mcp. Describe external servers withscheme/host/port/path, or add them withinfer mcp add <name> <url>, which splits the URL into those fields -
cli.mdKey Configuration Areas > Storage Backends: "SQLite (default)" is wrong. The defaultstorage.typeisjsonl(DefaultConfiginconfig/config.go), as the Conversation Management section already says -
cli.mdCommand Mapping and Support and Resources: both "full configuration reference" links point todocs/configuration.md, which does not exist in the CLI repo; the file isdocs/configuration-reference.md -
cli.mdEssential Environment Variables:INFER_TOOLS_SAFETY_APPROVAL_BEHAVIOURacceptsprompt | ipc | judge | block(config/config.go); the comment omitsjudge -
opentask.md:infer headless --output ag-uishould beinfer headless --format ag-ui.cmd/headless/headless.godefines--format(json, json-pretty, ag-ui, text) and no--outputflag
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
edenreich commentedon Sep 25, 2026
@claude Can you work on this?
inference-gateway-maintainer commentedon Sep 25, 2026
Claude finished @edenreich's task in 3m 36s —— View job •
docs/issue-777-20260925-2135• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-777-20260925-2135?quick_pull=1&title=Issue%20%23777%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23777%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)CLI docs drift fixed
All acceptance criteria are done and pushed: PR #781
cli.md,a2a.md,opentask.md)infer agent->infer headlessacross tables, examples and prose incli.md+a2a.mdinfer initdocumented as seeding the userspace baseline in~/.infer/(Core Commands row, Command Reference row,--helpsample, Configuration Files intro, MCP Setup)infer mcp toggle; listed the real subcommands (list,status,start,stop,add,remove,update,enable,disable,enable-global,disable-global)mcp.yamlexternal-server example now usesscheme/host/port/pathplus a pointer toinfer mcp add <name> <url>docs/configuration-reference.mdINFER_TOOLS_SAFETY_APPROVAL_BEHAVIOURcomment now listsjudgeopentask.md:--output ag-ui->--format ag-uibun run lint:md,bun run format:check,bun run build- all passTwo extras picked up along the way, since the rename touched the same lines:
infer headless" phrasings became links to [headless mode] instead.#session-id-agentand#session-id-headless, now point at#resuming-a-session-session-id.mcp.yamlrow in the Configuration Files table moved from scope "Project" to "Project/user", matching the correctedinfer initbehavior.| Branch
inference-gateway-releaser commentedon Sep 26, 2026
🎉 This issue has been resolved in version 0.9.17 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀