Skip to content

docs: update Claude Code approve behavior and model list in cli-providers guide#7448

Merged
codefromthecrypt merged 2 commits intomainfrom
adrian/claude-perms-docs
Mar 4, 2026
Merged

docs: update Claude Code approve behavior and model list in cli-providers guide#7448
codefromthecrypt merged 2 commits intomainfrom
adrian/claude-perms-docs

Conversation

@codefromthecrypt
Copy link
Copy Markdown
Collaborator

@codefromthecrypt codefromthecrypt commented Feb 23, 2026

Summary

Updates cli-providers documentation to reflect that Claude Code now supports approve/smart-approve mode via --permission-prompt-tool stdio. It also corrects model name drift

Type of Change

  • Documentation

AI Assistance

  • This PR was created or reviewed with AI assistance

Related Issues

Docs from #7420

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 23, 2026

PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-03-04 10:06 UTC

@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
Copy Markdown

@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 |
Copy link
Copy Markdown

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 👍 / 👎.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

is this incorrect?

| `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 |
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

is this incorrect?

@codefromthecrypt
Copy link
Copy Markdown
Collaborator Author

@jamadeo good catch, I forgot to update smart-approve which is effectively the same as approve now. While at it I corrected the model list as that wasn't updated prior, to save a PR

@codefromthecrypt codefromthecrypt changed the title docs: update Claude Code approve mode in cli-providers guide docs: update Claude Code approve behavior and model list in cli-providers guide Feb 28, 2026
@codefromthecrypt codefromthecrypt added this pull request to the merge queue Mar 4, 2026
Merged via the queue into main with commit a525813 Mar 4, 2026
24 checks passed
@codefromthecrypt codefromthecrypt deleted the adrian/claude-perms-docs branch March 4, 2026 10:03
lifeizhou-ap added a commit that referenced this pull request Mar 4, 2026
* main:
  docs: add GOOSE_INPUT_LIMIT environment variable documentation (#7299)
  Merge platform/builtin extensions (#7630)
  Clean up stale references to removed components (#7644)
  fix: scope empty session reuse to current window to prevent session mixing (#7602)
  fix: prevent abort in local inference  (#7633)
  Revert git patch for llama-cpp-2 (#7642)
  docs: update recipe usage step to reflect auto-submit behavior (#7639)
  docs: add guide for customizing the sidebar (#7638)
  docs: update Claude Code approve behavior and model list in cli-providers guide (#7448)
  fix: restore provider and extensions for LRU-evicted sessions (#7616)
  Restore goosed logging (#7622)
craigwalkeruk pushed a commit to craigwalkeruk/custom-goose that referenced this pull request Mar 5, 2026
tlongwell-block added a commit that referenced this pull request Mar 5, 2026
* origin/main: (107 commits)
  Merge platform/builtin extensions (#7630)
  Clean up stale references to removed components (#7644)
  fix: scope empty session reuse to current window to prevent session mixing (#7602)
  fix: prevent abort in local inference  (#7633)
  Revert git patch for llama-cpp-2 (#7642)
  docs: update recipe usage step to reflect auto-submit behavior (#7639)
  docs: add guide for customizing the sidebar (#7638)
  docs: update Claude Code approve behavior and model list in cli-providers guide (#7448)
  fix: restore provider and extensions for LRU-evicted sessions (#7616)
  Restore goosed logging (#7622)
  feat: return structured {stdout, stderr} from shell tool with output schema (#7604)
  Improve custom provider creation experience (#7541)
  fix(scheduler): schedules added via CLI showing up in UI (#7594)
  chore: openai reasoning model cleanup (#7529)
  chore(deps): bump hono from 4.12.1 to 4.12.3 in /evals/open-model-gym/mcp-harness (#7585)
  chore(deps): bump minimatch from 10.1.1 to 10.2.3 in /evals/open-model-gym/suite (#7498)
  chore(deps): bump swiper from 11.2.10 to 12.1.2 in /documentation (#7368)
  Better network failure error & antrhopic retry (#7595)
  feat: make the text bar persistent and add a queue for messages (#7560)
  fix: outdated clippy command in goosehints (#7590)
  ...

# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	crates/goose-server/src/commands/agent.rs
#	crates/goose-server/src/main.rs
#	crates/goose-server/src/routes/reply.rs
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.

3 participants