Several plugin code quality issues need attention:
-
Dead code in changelog-generator.ts: updateChangelogFile() is defined but never called. The session.idle handler generates changelogs but only logs them — never writes to disk.
-
showNotification() is Windows-only: Uses PowerShell NotifyIcon for toast notifications. Silently fails on macOS/Linux with no fallback.
-
E2E parity test is a stub: tests/e2e/test-parity.test.ts has describe/it structure but functions return hardcoded paths — never actually spawns OpenCode or Pi.
Tasks
Affected Files
.opencode/plugins/changelog-generator.ts
.opencode/plugins/ccgs-hooks.ts
tests/e2e/test-parity.test.ts
Identified during comprehensive framework review on 2026-07-21
Several plugin code quality issues need attention:
Dead code in changelog-generator.ts:
updateChangelogFile()is defined but never called. Thesession.idlehandler generates changelogs but only logs them — never writes to disk.showNotification()is Windows-only: Uses PowerShellNotifyIconfor toast notifications. Silently fails on macOS/Linux with no fallback.E2E parity test is a stub:
tests/e2e/test-parity.test.tshasdescribe/itstructure but functions return hardcoded paths — never actually spawns OpenCode or Pi.Tasks
updateChangelogFile()in thesession.idlehandler or remove the dead codeosascript) and Linux (notify-send) fallbacks toshowNotification()execSynccalls in changelog-generator to prevent hangsAffected Files
.opencode/plugins/changelog-generator.ts.opencode/plugins/ccgs-hooks.tstests/e2e/test-parity.test.tsIdentified during comprehensive framework review on 2026-07-21