Skip to content

fix(comment-sicko): allow edits on OpenCode and diff against the default branch - #3

Merged
painhardcore merged 1 commit into
masterfrom
fix-comment-sicko
Nov 13, 2026
Merged

painhardcore merged 1 commit into
masterfrom
fix-comment-sicko

Conversation

@painhardcore

Copy link
Copy Markdown
Owner

Two fixes to the comment-sicko agent that the no-comments skill runs.

Changes

  • .opencode/agents/comment-sicko.md denied edit and bash. The agent's job is to delete comments and read the git diff, so on OpenCode it could only report. It now allows both. task and webfetch stay denied, and validate.sh checks the new values.
  • When it gets no files, both agent files diffed against main. That fails in repositories whose default branch is master, like this one. They now diff against the default branch.
  • CHANGELOG lists both under [Unreleased]. No version bump.

agents/comment-sicko.md is adapt in upstream-policy.tsv, so an upstream sync keeps these edits.

Verification

  • make check passes.
  • opencode debug agents loads the new prompt and resolves the agent's permissions to edit allow, shell allow, subagent deny, webfetch deny.

…ult branch

The OpenCode agent denied edit and bash, so it could only report the
comments it should delete. Allow both, keep task and webfetch denied,
and make the release gate check the new values.

Both agent files assumed the default branch is main. Diff against the
repository's default branch instead.
@painhardcore
painhardcore merged commit 6bbe34d into master Nov 13, 2026
2 checks passed
@painhardcore
painhardcore deleted the fix-comment-sicko branch November 13, 2026 19:06
@painhardcore painhardcore mentioned this pull request Nov 13, 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.

1 participant