Skip to content

docs: update Claude Code approve mode in cli-providers guide#7448

Open
codefromthecrypt wants to merge 1 commit intomainfrom
adrian/claude-perms-docs
Open

docs: update Claude Code approve mode in cli-providers guide#7448
codefromthecrypt wants to merge 1 commit intomainfrom
adrian/claude-perms-docs

Conversation

@codefromthecrypt
Copy link
Collaborator

Summary

Updates cli-providers documentation to reflect that Claude Code now supports approve mode via --permission-prompt-tool stdio.

Type of Change

  • Documentation

AI Assistance

  • This PR was created or reviewed with AI assistance

Related Issues

Docs from #7420

Signed-off-by: Adrian Cole <adrian@tetrate.io>
@github-actions
Copy link
Contributor

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://block.github.io/goose/pr-preview/pr-7448/

Built to branch gh-pages at 2026-02-23 22:19 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@codefromthecrypt codefromthecrypt marked this pull request as ready for review February 25, 2026 15:01
@codefromthecrypt codefromthecrypt requested a review from a team as a code owner February 25, 2026 15:01
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 13d21d2d37

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

| `auto` | `--dangerously-skip-permissions` | Bypasses all permission prompts |
| `smart-approve` | `--permission-mode acceptEdits` | Auto-accepts edits, prompts for other actions |
| `approve` | Not supported | Returns an error |
| `approve` | `--permission-prompt-tool stdio` | Routes permission checks through the control protocol |

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Mark Claude Code approve mode as unsupported

This row documents approve as supported via --permission-prompt-tool stdio, but in the same commit tree the Claude Code provider still rejects GooseMode::Approve with a ProviderError in crates/goose/src/providers/claude_code.rs (apply_permission_flags, lines 296-303). Users who follow this guide and set GOOSE_MODE=approve will hit an immediate runtime error, so the docs now describe behavior that the implementation does not provide.

Useful? React with 👍 / 👎.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant