Skip to content

docs: fix docs/ drift found by the README-to-codebase audit - #687

Merged
edenreich merged 3 commits into
mainfrom
docs/686-docs-drift
Jun 29, 2026
Merged

edenreich merged 3 commits into
mainfrom
docs/686-docs-drift

Conversation

@edenreich

Copy link
Copy Markdown
Contributor

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

Follow-up to #685, fixing the same drift classes (phantom features, broken
links, stale config) across the remaining docs/ pages:

- mcp-integration.md: replace the phantom `url:` server field with the real
  scheme/host/port/path components (12 examples + the per-server table); fix
  the Example MCP Servers link to examples/mcp/
- shortcuts-guide.md: drop the phantom `/config` shortcut, fix the `/clear`
  description, move `/export` and `/env` out of the built-in list, add the
  missing built-ins, and document the init-created shortcuts
- heartbeat.md: drop the removed `Github` tool; read GitHub via the gh CLI
- web-terminal.md: fix the three docs/-prefixed links; document INFER_WEB_ENABLED
- database-migrations.md / features/conversation-versioning.md: repoint broken
  internal links to existing docs
- conversation-storage.md: describe the v2 append-only JSONL format, document
  the d1 (Cloudflare D1) backend, fix the stale Redis example keys
- conversation-title-generation.md: fix the invalid example model id
- directory-structure.md: complete the seeded-shortcuts list (/env, /skills)
- README.md: present /export, /env, /agents, /skills as `infer init`-created
  shortcuts (supersedes #685 wording)

Closes #686
@edenreich
edenreich requested a review from a team as a code owner June 29, 2026 20:14
The docs/features/ subfolder was a vestige of a categorized docs taxonomy
(features/, configuration/, user-guide/, ...) that this repo never adopted -
every other page lives flat under docs/, and conversation-versioning.md even
linked to sibling category dirs that don't exist here. Move its two pages up a
level and repoint the references:

- docs/features/conversation-versioning.md -> docs/conversation-versioning.md
- docs/features/explorer.md -> docs/explorer.md
- README "Learn more" links and the moved file's See Also links now use the
  flat docs/ paths
docs/security/ held a single page; like docs/features/ it was a leftover nested
folder while every other doc lives flat under docs/. Move it up and fix links:

- docs/security/binary-verification.md -> docs/binary-verification.md
- README link and the page's "Back to README" links updated to the flat paths
@edenreich
edenreich merged commit 413047a into main Jun 29, 2026
1 check passed
@edenreich
edenreich deleted the docs/686-docs-drift branch June 29, 2026 20:38
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))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.126.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Jun 30, 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] Fix docs/ drift found by README-to-codebase audit (phantom refs, broken links, stale config)

1 participant