Skip to content

[FEATURE]: Opt-out for "NEVER commit changes unless the user explicitly asks you to." #24370

@thameraltoimi

Description

@thameraltoimi

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

i like letting smart models like gpt manage my commits. i have a section on continuous commits in my global AGENTS.md.

however opencode currently hard-codes a rule in packages/opencode/src/tool/bash.txt:

Only create commits when requested by the user. If unclear, ask first.
...
- NEVER commit changes unless the user explicitly asks you to. It is VERY IMPORTANT to only commit when explicitly asked, otherwise the user will feel that you are being too proactive.

please make this configurable. i get the safety aspect and think the current default is sensible, but i would just like an opt-out.

Metadata

Metadata

Assignees

Labels

coreAnything pertaining to core functionality of the application (opencode server stuff)discussionUsed for feature requests, proposals, ideas, etc. Open discussion

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions