Skip to content

docs: fix inaccuracies from the README split - #1393

Merged
edenreich merged 2 commits into
mainfrom
docs/fix-readme-split-inaccuracies
Sep 28, 2026
Merged

edenreich merged 2 commits into
mainfrom
docs/fix-readme-split-inaccuracies

Conversation

@edenreich

Copy link
Copy Markdown
Contributor

Follow-up to #1384

Summary

A post-merge review of #1384 checked every concrete claim in its 32 files against the code. The structure holds up, but about 25 claims did not match the code. This PR corrects them, and where a claim was duplicated it swaps the copy for a link to the page that owns it.

Changes

  • Approval (security-relevant):
    • The Tool Overview said a tool is exempt "only where its manifest exempts it". In fact the order is:
      1. Computer-use tools decide per call.
      2. Bash follows its allow-list.
      3. The tool's config section applies next. Its defaults exempt read, grep, tree and web_fetch.
      4. Then the tool's manifest.
      5. Then the global switch.
    • tool-approval.md now uses the full key tools.safety.approval_behaviour and says the behaviour is global.
    • channels.md had its own approval table. It had drifted (it set tools.bash.require_approval, which does nothing), so it is now a link.
    • Fixed when GetLatestFrame, RecordStart/RecordStop, CreateAvatar and ImageDecode are enabled.
  • Package READMEs:
    • --format ag-ui, not --output agui.
    • infer init seeds ~/.infer/channels.yaml. The same wrong path was in the infer daemon help text, which is fixed too.
    • Chat registers MCP tools as server status updates arrive.
    • A2A artifacts download automatically only when artifacts_auto_download is on.
    • agent_event_driven.go routes events, not agent_state_machine.go.
    • The screen lock does nothing on Windows.
    • Plugin hooks also need hooks.enabled.
    • The /install-opentask shortcut hands its install prompt to the chat agent, while infer workflow install runs the install directly.
    • Removed config lines whose home is docs/.
  • User docs:
    • The memory.max_chars default is 2000.
    • Fixed the cost-tracking status-bar example, and unpriced models show under Free.
    • infer insights uses a 32000-token floor.
    • Restored the conversations list flags that the split dropped.
    • Documented computer_use.approval and rate_limit.
    • Reworded claims such as "every subcommand" and "every file" that were false.
  • AGENTS.md:
    • Restored the list of contexts and capabilities.
    • Names both nested AGENTS.md files.
    • Says infer reads the AGENTS.md in its working directory. It stays under the 8000-char injection cap at 7017 chars.
  • Added internal/binaries/README.md. It has domain/ and infrastructure/, so it is a bounded context by the repo's own rules.

Not in this PR

  • The Windows screen lock is a no-op (internal/computer/screen_lock_windows.go). This PR only corrects the doc.
  • isModelFree counts unpriced models as free (model_selection_view.go). The doc now describes this behaviour, but it may be a bug.
  • audio and computer construct binariesinfra.NewStore themselves instead of getting it from the container.

Verification

  • task precommit:run: clean, including markdownlint.
  • A relative-link and anchor check over README.md, docs/, internal/**/README.md and the AGENTS.md files: no broken links.
  • Checked the help output of the built binary for headless --format, the daemon channels text and the conversations list flags.

Corrects claims in the docs split (#1384) that did not match the code.

- Tool Overview and Tool Approval: document the real approval order. Computer-use
  tools decide per call. Bash follows its allow-list. Then the tool's config
  section (whose defaults exempt read, grep, tree and web_fetch), then its
  manifest, then the global switch. Fix the Computer Use and CreateAvatar
  enablement, and ImageDecode's.
- Package READMEs: `infer headless --format ag-ui`, where `infer init` seeds
  channels.yaml, how MCP tools get registered, A2A artifact downloads, the
  event routing in the agent, the Windows screen lock, plugin hooks needing
  `hooks.enabled`, and the `/install-opentask` flow. Drop config lines that
  belong in docs/.
- User docs: memory max_chars default, cost-tracking example and unpriced
  models, insights token floor, the restored `conversations list` flags,
  computer_use approval and rate-limit keys, and universal claims ("every
  subcommand", "every file") that were false.
- Replace the drifted approval table in channels.md and the partial
  reminders list in commands-reference.md with links.
- AGENTS.md: restore the context map, name both nested AGENTS.md files, and
  say `infer` reads the AGENTS.md in its working directory.
- Add internal/binaries/README.md.
- Fix the channels.yaml path in the `infer daemon` help text.
@edenreich
edenreich requested a review from a team as a code owner September 28, 2026 21:56
Comment thread docs/commands-reference.md Resolved
@edenreich
edenreich merged commit a3483c7 into main Sep 28, 2026
1 check passed
@edenreich
edenreich deleted the docs/fix-readme-split-inaccuracies branch September 28, 2026 22:01
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.218.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 Sep 28, 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.

1 participant