Skip to content

[DOCS] BashOutput and ListShells no longer require approval #1031

Closed

Description

Summary

inference-gateway/cli PR 1625 fixes issue 1623: the built-in BashOutput and ListShells tools no longer require approval. They set require_approval: false in their YAML manifests, matching the Wait precedent. Both are read-only monitoring of background shells the session already approved when it started, and the old inherited approval gate made every BashOutput follow-up fail with a refusal in unattended runs (infer-action, CI) where nobody can approve.

The CLI repo's docs/tools-reference.md approval table was updated in place in that PR. This ticket tracks mirroring that in the docs site wherever the tools reference or approval guidance is published.

Acceptance Criteria

  • The tools reference on the docs site shows BashOutput and ListShells as not requiring approval
  • Any page describing unattended or headless runs no longer implies that reading background shell output is blocked in sessions without an approver

Activity

  1. added
    documentation
    on Oct 28, 2026
  2. edenreich commented on Oct 28, 2026

    @edenreich
    Contributor

    @claude can you document this?

  3. inference-gateway-maintainer commented on Oct 28, 2026

    @inference-gateway-maintainer
    ContributorAuthor

    Claude finished @edenreich's task in 2m 37s —— View job • docs/issue-1031-20261028-1322 • [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-1031-20261028-1322?quick_pull=1&title=Issue%20%231031%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%231031%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)


    Done

    • Read the issue and find where approval status for the shell tools is published
    • Document BashOutput and ListShells as not requiring approval
    • Run lint:md, format:check, build - all pass
    • Commit and open the PR

    PR: #1032

    The docs site has no per-tool approval table (that one lives in the CLI repo's docs/tools-reference.md), so the right home for these facts is the BashOutput, KillShell, ListShells section of cli.md, right next to the parameters. One paragraph added there:

    • BashOutput and ListShells never ask - read-only monitoring of shells the session already approved when it started, same as Wait.
    • Stated that this is what keeps follow-up reads working in unattended runs (CI, headless) where no approver is reachable.
    • KillShell still follows the normal approval rules.

    Nothing else needed changing: grepping every page for background-shell and headless wording turned up no claim that reading background shell output is blocked without an approver, so the second acceptance criterion was already satisfied.

    Skipped: adding a full per-tool approval table to the docs site - the CLI repo already owns that one, and duplicating it here would be a second copy to keep in sync. Risk: none beyond the docs now asserting an approval default that only holds while the CLI manifests keep require_approval: false.
    | Branch

  4. moved this from Todo to In progress in 2026on Oct 28, 2026
  5. moved this from In progress to QA in 2026on Oct 28, 2026
  6. moved this from QA to Done in 2026on Oct 28, 2026
  7. inference-gateway-releaser commented on Oct 31, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.23 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationreleased

    Type

    No type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions