Skip to content

[docs] Update documentation for features from 2026-05-25#34640

Merged
pelikhan merged 1 commit into
mainfrom
docs/engine-permission-mode-2026-05-25-ccee3cefeeed7684
May 25, 2026
Merged

[docs] Update documentation for features from 2026-05-25#34640
pelikhan merged 1 commit into
mainfrom
docs/engine-permission-mode-2026-05-25-ccee3cefeeed7684

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented May 25, 2026

docs: document first-class engine.permission-mode for Claude

Summary

Replaces the implicit derivation of bypassPermissions from bash config with an explicit, first-class engine.permission-mode setting in the engines reference documentation. Adds resolution-order rules, new auto and plan mode entries to the summary table, and legacy engine.args compatibility notes.

What changed

File Kind Notes
docs/src/content/docs/reference/engines.md docs modified Explicit engine.permission-mode setting; resolution-order documentation; auto/plan modes added to summary table; engine.args legacy compat notes

Why

Previously, bypassPermissions was derived implicitly from the bash config, making the behaviour opaque and hard to override. Surfacing engine.permission-mode as a first-class setting gives operators and users a clear, documented knob to control permission behaviour for Claude without relying on undocumented side-effects.

How it works

  • engine.permission-mode is now the canonical setting for controlling whether Claude operates in default, auto, or plan permission mode.
  • A resolution order is documented so users understand precedence when multiple sources could influence the mode.
  • Legacy engine.args compatibility notes ensure existing configurations continue to work without modification.
  • No behaviour change — this is a documentation-only PR; no code paths were modified.

Testing

Documentation-only change; no automated tests required. Manual verification: review rendered docs for accuracy of the new table rows and resolution-order description.

Breaking changes

None.

Generated by PR Description Updater for issue #34640 · sonnet46 676.5K ·

Updates the Claude Tool Enforcement Security Model section in
docs/src/content/docs/reference/engines.md to reflect PR #34525:

- Documents the new engine.permission-mode setting (auto, acceptEdits,
  plan, bypassPermissions) with a usage example.
- Removes the now-inaccurate description of bypassPermissions being
  auto-derived from bash wildcards. bypassPermissions is now opt-in only.
- Adds the tools.edit: false -> auto default rule.
- Documents legacy engine.args --permission-mode compatibility and the
  single-flag emission guarantee.
- Replaces the workflow-config-based summary table with one keyed on
  engine.permission-mode values.
@github-actions github-actions Bot added automation documentation Improvements or additions to documentation labels May 25, 2026
@pelikhan pelikhan merged commit b005c26 into main May 25, 2026
@pelikhan pelikhan deleted the docs/engine-permission-mode-2026-05-25-ccee3cefeeed7684 branch May 25, 2026 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant