Skip to content

Conversation

@olimorris
Copy link
Owner

Description

As I discussed in the issue below, approvals are currently very weak in CodeCompanion. This PR aims to close that by offering:

  • Approvals that are now at a chat buffer level rather than global
  • Yolo mode that is scoped to chat buffers and not global
  • Tools that can be excluded from Yolo mode
  • Tools that can be approved for singular commands only e.g. cmd_runner

Related Issue(s)

#2474

Checklist

  • I've read the contributing guidelines and have adhered to them in this PR
  • I've added test coverage for this fix/feature
  • I've run make all to ensure docs are generated, tests pass and my formatting is applied
  • (optional) I've updated CodeCompanion.has in the init.lua file for my new feature
  • (optional) I've updated the README and/or relevant docs pages

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Dec 21, 2025

Deploying codecompanion with  Cloudflare Pages  Cloudflare Pages

Latest commit: 64a3618
Status: ✅  Deploy successful!
Preview URL: https://1ed5e289.codecompanion.pages.dev
Branch Preview URL: https://feat-better-approvals.codecompanion.pages.dev

View logs

@olimorris olimorris marked this pull request as ready for review December 22, 2025 12:06
@olimorris olimorris merged commit 837514b into main Dec 22, 2025
5 checks passed
@olimorris olimorris deleted the feat/better-approvals branch December 22, 2025 12:10
georgeharker pushed a commit to georgeharker/codecompanion.nvim that referenced this pull request Jan 6, 2026
georgeharker pushed a commit to georgeharker/codecompanion.nvim that referenced this pull request Jan 8, 2026
georgeharker pushed a commit to georgeharker/codecompanion.nvim that referenced this pull request Jan 8, 2026
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.

2 participants