Skip to content

[DOCS] Document plan-accept auto-accept default and Approve Each Step option #297

Closed

Description

@edenreich

Summary

CLI PR inference-gateway/cli#714 (closes inference-gateway/cli#710) changed how
accepting a plan behaves in the chat TUI:

  • Accept (Enter / y) now switches to Auto-Accept mode (no per-action
    approval) and executes the plan. Previously it switched to Standard mode.
  • Approve Each Step (s) is a new option that accepts the plan but keeps
    Standard mode, prompting for approval on each action. This replaces the
    old "Accept & Auto-Approve" (key a) option.
  • Reject (n) ends the session (unchanged).

The docs site's plan-approval copy in cli.md is currently generic - the
RequestPlanApproval section only says the user "approves (switches to
execution mode) or rejects", and the Plan Mode section does not enumerate the
accept options, their resulting mode, or the keybindings. It does not contradict
the new behavior, but it should be enriched so the site matches what users see -
in particular that the default Accept now enables unrestricted Auto-Accept
execution.

The equivalent in-repo docs (cli/docs/plan-mode.md,
cli/docs/commands-reference.md, cli/docs/tools-reference.md) were already
updated in PR #714 and can be mirrored for exact wording.

Acceptance Criteria

  • cli.md (Plan Mode / RequestPlanApproval) documents the three
    plan-approval options: Accept (Enter/y) -> Auto-Accept, Approve Each Step
    (s) -> Standard, Reject (n) -> ends session.
  • The note that accepting a plan enables Auto-Accept mode (no per-action
    approval, unrestricted execution) is stated explicitly.
  • No references to a removed "Accept & Auto-Approve" option or the old a
    approval key are introduced anywhere on the site.
  • Wording is consistent with the in-repo docs updated in
    fix(plan): accepting a plan switches to auto-accept mode by default cli#714.

Activity

  1. added
    documentation
    on Jul 2, 2026
  2. added theissue type on Jul 2, 2026
  3. moved this to Todo in 2026on Jul 2, 2026
  4. edenreich commented on Jul 2, 2026

    @edenreich
    ContributorAuthor

    @claude Can you adjust the documentation ?

  5. inference-gateway-maintainer commented on Jul 2, 2026

    @inference-gateway-maintainer
    Contributor

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


    Plan-approval documentation adjusted

    Enriched the plan-approval copy in cli.md to match the chat TUI behavior shipped in inference-gateway/cli#714, mirroring the exact wording from the in-repo docs (plan-mode.md, tools-reference.md, commands-reference.md).

    • Read the relevant sections of cli.md (Plan Mode, RequestPlanApproval)
    • Check the in-repo CLI docs (PR docs: complete POST /v1/audio/music reference #714) for exact wording
    • Verify no stray references to removed "Accept & Auto-Approve" / old a key
    • Update Plan Mode section with the three approval options + keybindings
    • Update RequestPlanApproval section to state Auto-Accept default
    • Run lint/format/build checks
    • Commit and open PR

    What changed

    Added an Approving a plan subsection under Plan Mode with a table of the three options, plus an explicit note that the default Accept enables unrestricted Auto-Accept execution:

    Option Key Resulting mode Effect
    Accept (default) Enter / y Auto-Accept Executes the plan with no per-action approval prompts.
    Approve Each Step s Standard Executes the plan but prompts for approval on each action.
    Reject n - Ends the session; reply with feedback and the agent re-iterates.

    Also rewrote the previously generic RequestPlanApproval Behavior line (which only said the user "approves or rejects") to enumerate the same three choices and cross-link to the new subsection.

    Acceptance criteria

    • Documents Accept (Enter/y) -> Auto-Accept, Approve Each Step (s) -> Standard, Reject (n) -> ends session
    • States explicitly that accepting enables Auto-Accept (no per-action approval, unrestricted execution)
    • No "Accept & Auto-Approve" option or old a approval key introduced
    • Wording consistent with the in-repo docs from fix(plan): accepting a plan switches to auto-accept mode by default cli#714

    Verification

    bun run format:check, bun run lint:md, and bun run build all pass. Confirmed the new #approving-a-plan anchor and the #auto-accept-mode / #standard-mode / #requestplanapproval cross-links resolve in the built HTML, and that the new prose is server-side rendered into dist/cli/index.html.

    PR: #299 - docs: document plan-accept auto-accept default and approve each step
    | Branch: docs/issue-297-20260702-1206

  6. moved this from Todo to In progress in 2026on Jul 2, 2026
  7. moved this from In progress to QA in 2026on Jul 2, 2026
  8. inference-gateway-releaser commented on Jul 2, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.6.115 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

  9. moved this from QA to Done in 2026on Jul 2, 2026
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

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions