Repository navigation
docs: sync README and reference docs with the codebase - #685
Merged
Merged
Conversation
Fix documentation drift found by a README-to-codebase audit. - Remove the phantom `Github` tool (removed in #572) from the README tools table, docs/tools-reference.md, and docs/configuration-reference.md. - Rebuild the README tools table from registry.go: every registered tool, grouped by category with its config gate; note that MCP tools register dynamically at runtime. - Add a Table of Contents entry for the existing Claude Code Mode section and new sections: Agent Skills, Computer Use, Persistent Memory, and Reminders & Command Hooks. - Fix Features, Commands and Shortcuts: link the six orphaned docs, document `infer skills` and `infer export`, drop the non-existent `/export`, correct `/clear`, `/model` and `/copy`, and add the nine missing built-in shortcuts. - Reference every example directory from the Examples section. - Correct approval defaults: WebSearch, WebFetch and A2A_SubmitTask require approval under the global `tools.safety.require_approval: true` default. The subagent tool suite (Agent, ListSubagents, ...) is documented here and lands via #684; sequence the merges accordingly.
This was referenced Jun 29, 2026
edenreich
added a commit
that referenced
this pull request
Jun 29, 2026
## Summary Follow-up to #685. That PR synced `README.md`, `docs/tools-reference.md`, and `docs/configuration-reference.md` with the code; this one fixes the **same classes of drift** across the remaining `docs/*.md` pages — documented-but-removed features, broken internal links, and stale/mislabeled content. Every finding was re-verified against the current `main` before editing. ## Changes | File | Fix | | --- | --- | | `docs/mcp-integration.md` | Replace the phantom `url:` server field with `scheme`/`host`/`port`/`path` (12 examples + the per-server table); `MCPServerEntry` has no `url` field, so a `url:` key was silently ignored. Fix the `tests/mcp-test-server` link to `examples/mcp/`. | | `docs/shortcuts-guide.md` | Drop the phantom `/config` shortcut; fix the `/clear` description; move `/export`/`/env` out of built-ins; add the missing built-ins (`/new`, `/conversations`, `/context`, `/cost`, `/diff`, `/explorer`, `/tasks`, `/init-github-action`); add an **Init-Created Shortcuts** section. | | `docs/heartbeat.md` | Drop the `Github` tool (removed in #572); read GitHub state via the `gh` CLI through Bash. | | `docs/web-terminal.md` | Fix the three `docs/`-prefixed links (resolved to `docs/docs/…`); document `INFER_WEB_ENABLED`. | | `docs/database-migrations.md` | Repoint the dead `./storage-architecture.md` link to `./conversation-storage.md`. | | `docs/features/conversation-versioning.md` | Replace three links to non-existent `../configuration/` and `../user-guide/` dirs with existing docs. | | `docs/conversation-storage.md` | Describe the v2 append-only JSONL format (was "exactly two lines"); document the `d1` (Cloudflare D1) backend; fix the stale Redis example keys (`database`/`username`/`ttl` → `db`). | | `docs/conversation-title-generation.md` | Fix the invalid example model id `anthropic/claude-4-haiku` → `anthropic/claude-haiku-4-5-20251001`. | | `docs/directory-structure.md` | Complete the seeded-shortcuts list (add `/env`, `/skills`). | | `README.md` | Present `/export`, `/env`, `/agents`, `/skills` as `infer init`-created shortcuts — supersedes #685's wording that called `/export` "non-existent" (it's a real init-seeded shortcut). | ## Notes - Two over-cautious items from the issue were dropped after verification: the Redis `db` key in the **Configuration** section already matched the code, and most `INFER_WEB_*` vars were already documented (only `INFER_WEB_ENABLED` was missing). The Redis `db` fix landed instead in the **backend example**, where `database`/`username`/`ttl` were genuinely wrong. - Two findings from the original audit were disproved and excluded: `/agents` is a real init-seeded shortcut, and `infer keybindings` exists. ## Verification - `markdownlint` clean on all changed files. - Drift greps return nothing: no config `url:` in the MCP doc, no `/config` shortcut, no `Github` tool ref, no `docs/docs`/`storage-architecture`/`claude-4-haiku`/ `mcp-test-server`/`configuration/keybindings`/`user-guide/` targets. - Every changed/added relative link resolves to a real file on disk. Closes #686
inference-gateway-releaser Bot
added a commit
that referenced
this pull request
Jun 30, 2026
## [0.126.0](v0.125.0...v0.126.0) (2026-06-30) ### 🚀 Features * add persistent memory tool for agent ([#679](#679)) ([a487b13](a487b13)) * **agent:** interactive subagent management and unified background-work tracking ([#684](#684)) ([343e083](343e083)) ### 🐛 Bug Fixes * **chat:** bind opt+backspace and ctrl+backspace to delete-word-backward ([#697](#697)) ([173fe83](173fe83)), closes [#689](#689) [#576](#576) * **a2a:** retain completed background tasks in /tasks ([#691](#691)) ([#701](#701)) ([43b8e13](43b8e13)) * **autocomplete:** surface arguments for one-of/all-optional tool schemas ([#698](#698)) ([655b2e4](655b2e4)) ### ♻️ Code Refactoring * add .gitignore by default to the projects dir ([4717deb](4717deb)) * enable memory by default ([86c2158](86c2158)) * make infer config userspace-first ([#682](#682)) ([1e77e42](1e77e42)), closes [#680](#680) * **tui:** single event-loop ingress - one notifier, no self-rescheduling pollers ([#700](#700)) ([2ab8854](2ab8854)) * standardize comment punctuation by replacing em dashes with hyphens ([78f53a8](78f53a8)) ### 📚 Documentation * fix docs/ drift found by the README-to-codebase audit ([#687](#687)) ([413047a](413047a)), closes [#572](#572) [#686](#686) * sync README and reference docs with the codebase ([#685](#685)) ([c328423](c328423)), closes [#572](#572) [#684](#684) [#684](#684) ### 👷 CI/CD * **deps:** update CLAUDE workflow to version 0.14.5 ([eaba2b3](eaba2b3)) ### 🧹 Maintenance * add .infer to .gitignore ([08ef319](08ef319)) * **deps:** bump infer CLI v0.124.0 -> v0.125.0, infer-action v0.19.0 -> v0.19.1 ([#681](#681)) ([e9e7e21](e9e7e21)) * remove agent definitions ([4f7fd7d](4f7fd7d)) * remove unused configuration and shortcut files ([4c611db](4c611db)) * update claude-code to 2.1.191 ([729e81c](729e81c))
Contributor
|
🎉 This PR is included in version 0.126.0 🎉 The release is available on: 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.
What
Fixes documentation drift surfaced by a README↔codebase audit. Documentation only — no code changes.
Changes
Phantom
Githubtool removed — it was removed in #572 but still documented. Deleted from the README tools table, the full section indocs/tools-reference.md, and the env vars + YAML blocks indocs/configuration-reference.md. The system prompt already directs GitHub work to theghCLI.README tools table rebuilt from
internal/agent/tools/registry.go— all 35 registered tools, grouped by category with their config gates, plus a note that MCP tools register dynamically at runtime. (The old table listed 16 and omitted 28 real tools.)New sections + TOC — added a Table of Contents entry for the existing Claude Code Mode (Subscription) section and four new sections: Agent Skills, Computer Use, Persistent Memory, Reminders & Command Hooks.
Features / Commands / Shortcuts
skills,plan-mode,database-migrations,features/explorer,tasks-management,a2a-connections).infer skillsandinfer export./export, corrected/clear,/model,/copy, and added the nine missing built-ins (/new,/conversations,/context,/diff,/explorer,/release-notes,/tasks,/init,/init-github-action).Examples — referenced all 8 example directories (only
telegram-channelwas linked before).Approval defaults corrected —
WebSearch,WebFetch, andA2A_SubmitTaskrequire approval under the globaltools.safety.require_approval: truedefault; the old tables said "No". If web search/fetch needing approval is unintended, that's a code-side default rather than a docs issue.Verification
markdownlintclean (pre-commit Lint hook passed)registry.gois represented; noGithubrow remainsMerge order
The subagent tool suite (
Agent,ListSubagents,GetSubagentResult,CloseSubagent,ReadSubagentScreen,SendSubagentInput,ApproveSubagent) is documented here but lands via #684. If this merges before #684,mainwill briefly describe those tools ahead of the code — merge #684 first (or together) to keep them in sync.