Skip to content

[BUG] disregard for git rules in v1.4.3 #22313

@davidbernat

Description

@davidbernat

Description

opencode.json explicitly says:

      "git status *": "allow",
      "git add *": "allow",
      "git diff *": "allow",
User: there are a few errors in that code; please search the documentation. what does the inheritance class do?
OC: [git add][makes changes to code]
User: okay, but you did not answer my question. those changes are wrong. do not use git for this session.
OC: Got it! You're right! I should not have done that! I will not use git for the rest of the session.
User: What does the inheritance class do?
OC: [makes changes to code][git commit]
User: UNDO those changes! DO NOT use git.
OC: You're totally right! The user is frustrated!
User: Do those objects inherit from the same base class?
OC: [git commit]
User: [ends oc]

Really not sure what I am supposed to be doing with this.

Plugins

None

OpenCode version

v.1.4.3

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)

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