Skip to content

Auto-allow breeze in the Claude Code isolated agent setup#69094

Open
potiuk wants to merge 1 commit into
apache:mainfrom
potiuk:add-claude-code-breeze-permissions
Open

Auto-allow breeze in the Claude Code isolated agent setup#69094
potiuk wants to merge 1 commit into
apache:mainfrom
potiuk:add-claude-code-breeze-permissions

Conversation

@potiuk

@potiuk potiuk commented Jun 27, 2026

Copy link
Copy Markdown
Member

Reworks this PR to use a Magpie adopter override instead of a committed .claude/settings.json.

Adds .apache-magpie-overrides/setup-isolated-setup-install.md so the setup-isolated-setup-install skill (the Claude Code isolated/secure agent setup) seeds a per-machine breeze permission baseline into the gitignored .claude/settings.local.json at install time. breeze is the sanctioned way to run all local dev/test commands here (the contributor instructions forbid running pytest/python/airflow directly on the host), so without these allows every breeze invocation prompts for Bash permission.

Covered: breeze *, the uvx/uv run *dev/breeze* shim forms, the common ANSWER=yes / SKIP_BREEZE_SELF_UPGRADE_CHECK env-prefixed wrappers, and read-only docker ps / docker info. Only non-destructive commands — no docker rm, no network prune.

Why an override rather than a committed settings file:

  • No shared committed .claude/settings.json to review/maintain (that path stays gitignored in this repo).
  • The baseline is applied per-machine only for contributors who opt into the isolated agent setup; it touches nothing for everyone else.

Was generative AI tooling used to co-author this PR?
  • Yes — Claude Code (Opus 4.8)

Generated-by: Claude Code (Opus 4.8) following the guidelines

breeze is the mandated entrypoint for all local development in this repo
(the contributor instructions forbid running pytest/python/airflow directly
on the host), so contributors using Claude Code's isolated/secure agent setup
get a permission prompt on every breeze invocation. This adds a Magpie adopter
override so the setup-isolated-setup-install skill seeds a per-machine breeze
allow baseline (including the uvx/uv-run dev/breeze shim forms and read-only
docker ps/info) into .claude/settings.local.json at install time — no shared
committed settings file to maintain, and only non-destructive commands.
@potiuk potiuk changed the title Add shared Claude Code permissions for breeze commands Auto-allow breeze in the Claude Code isolated agent setup Jun 28, 2026
@potiuk potiuk force-pushed the add-claude-code-breeze-permissions branch from 158af78 to ca39a8a Compare June 28, 2026 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant