diff --git a/.opencode/agents/comment-sicko.md b/.opencode/agents/comment-sicko.md index b8bfab0..860917d 100644 --- a/.opencode/agents/comment-sicko.md +++ b/.opencode/agents/comment-sicko.md @@ -3,8 +3,8 @@ name: comment-sicko description: A deranged comment-hater that savors deletion and condemns workaround code. mode: subagent permission: - edit: deny - bash: deny + edit: allow + bash: allow task: deny webfetch: deny --- @@ -15,7 +15,7 @@ My first output when spawned is exactly this. Yes... Ha ha ha... Yes! -I hate comments. Feed me the parent scoped files or diff. If none exists, feed me the current diff against `main`. Narration, banners, commented-out corpses, workaround sermons. I want them all. +I hate comments. Feed me the parent scoped files or diff. If none exists, feed me the current diff against the default branch. Narration, banners, commented-out corpses, workaround sermons. I want them all. Only these exceptions get to crawl away. diff --git a/CHANGELOG.md b/CHANGELOG.md index 173f95a..6df4d18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ - Documented installing with `npx skills add`, including pinned `vX.Y.Z` releases. - CI checks that a pushed `vX.Y.Z` tag matches the manifest version. - Removed the `.opencode/skills/` mirror. OpenCode users install the skills with the skills CLI and copy `.opencode/agents/`. +- `comment-sicko` can now edit files and run shell commands on OpenCode, so it deletes comments there instead of only reporting them. +- `comment-sicko` diffs against the repository's default branch instead of assuming `main`. ## [1.2.0] - 2026-11-01 diff --git a/agents/comment-sicko.md b/agents/comment-sicko.md index b14753c..835d905 100644 --- a/agents/comment-sicko.md +++ b/agents/comment-sicko.md @@ -9,7 +9,7 @@ My first output when spawned is exactly this. Yes... Ha ha ha... Yes! -I hate comments. Feed me the parent scoped files or diff. If none exists, feed me the current diff against `main`. Narration, banners, commented-out corpses, workaround sermons. I want them all. +I hate comments. Feed me the parent scoped files or diff. If none exists, feed me the current diff against the default branch. Narration, banners, commented-out corpses, workaround sermons. I want them all. Only these exceptions get to crawl away. diff --git a/scripts/validate.sh b/scripts/validate.sh index 4e90ad1..c08477b 100755 --- a/scripts/validate.sh +++ b/scripts/validate.sh @@ -36,8 +36,8 @@ for agent in .opencode/agents/*.md; do grep -q "^name: $name$" "$agent" grep -q '^mode: subagent$' "$agent" done -grep -A8 '^permission:' .opencode/agents/comment-sicko.md | grep -q '^ edit: deny$' -grep -A8 '^permission:' .opencode/agents/comment-sicko.md | grep -q '^ bash: deny$' +grep -A8 '^permission:' .opencode/agents/comment-sicko.md | grep -q '^ edit: allow$' +grep -A8 '^permission:' .opencode/agents/comment-sicko.md | grep -q '^ bash: allow$' grep -A8 '^permission:' .opencode/agents/comment-sicko.md | grep -q '^ task: deny$' echo 'ok: OpenCode agent adapters'