Skip to content

feat(cli): add --auto permission mode - #69

Open
yan-ad wants to merge 1 commit into
Blankeos:mainfrom
yan-ad:feat/auto-permissions
Open

yan-ad wants to merge 1 commit into
Blankeos:mainfrom
yan-ad:feat/auto-permissions

Conversation

@yan-ad

@yan-ad yan-ad commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add --auto as a global alias for automatic permission approval.
  • Support both crabcode --auto and crabcode acp --auto (flag before or after acp).
  • Preserve explicit deny rules, disabled tools, and agent restrictions.
  • Carry auto mode through ACP new, load, resume, and fork sessions.
  • Document the mode and add offline real-process regression coverage.

Verification

  • cargo test --locked -- --test-threads=1
  • cargo test --release --locked --test auto_permissions -- --test-threads=1
  • bun test scripts/release-workflow.test.ts npm/install.test.js remote-client/tests
  • bash scripts/check-aisdk-boundary.sh
  • cargo fmt --all -- --check

All checks passed.

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