Hysen Labs
Open-source project
willytop8/OpenCode-goal-plugin avatar
willytop8

OpenCode-goal-plugin

Durable, guarded goal workflows for OpenCode with persistence, safety limits, agent tools, and evidence-gated completion.

245 stars22 forksJavaScriptMIT
DEEP OPEN-SOURCE ANALYSIS

OpenCode goal plugin keeps session goals in context

opencode-goal-plugin adds a session scoped /goal workflow to OpenCode that persists a goal, auto continues when idle, and stops on completion or safety limits.

How the goal workflow works

The plugin provides a session scoped /goal command for OpenCode. You set a goal and the plugin keeps it in context, then auto continues the session whenever the assistant goes idle. It stops when the goal is marked complete, when a blocker is reported, or when a safety limit is reached, so unattended runs stay bounded.

Safety and compatibility

The feature set includes persistence, safety limits, agent tools, and evidence gated completion. The README warns the plugin relies on experimental OpenCode hooks and advises re testing against the exact OpenCode build and provider or backend stack you plan to use for unattended work.

Distribution

The package is published on npm and is released under the MIT license. Its README shows both CI and CodeQL badges, which indicates automated testing and security scanning are part of the project's normal workflow. The maintainer also notes the plugin depends on experimental OpenCode hooks, so the docs ask users to validate it against their own setup.

Editorial conclusion

The plugin is published on npm under the MIT license and depends on OpenCode's experimental hooks, so users should re-test it against their specific OpenCode build and provider stack.

DEEP OPEN-SOURCE ANALYSIS

Official sources

Community notes

Community notes