You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OpenCode 2.0.31: goal tools unavailable although /goal and goal agent register #85
The hidden verifier agent is not expected to be user-selectable.
What fails
The agent-facing goal tools are unavailable.
Test from the default Build agent
The project had an AGENTS.md instruction requiring modifying tasks to call goal_set first and finish through goal_complete.
On a simple file-edit request, Build attempted the workflow but reported:
The instructions of AGENTS.md require finishing through goal_complete,
but that tool is not available in this environment.
Test from the plugin-provided goal agent
Prompt:
usa goal_status y dime el estado actual del objetivo
Observed result:
✗ goal_status
✗ get_goal_history
Lo siento, no puedo consultar el estado del objetivo. Las herramientas de
gestión de metas (como goal_status, goal_set, get_goal_history) no están
disponibles en este entorno...
So the failure is not limited to the default Build agent; the plugin's own goal agent also cannot call the goal tools.
Expected behavior
With registerTools left at its default true, the canonical tools documented by the plugin should be available, including:
goal_set
goal_status
goal_pause
goal_resume
goal_block
goal_complete
The plugin command and agent registration succeed, but the tool surface does not appear to be usable on OpenCode 2.0.31.
Notes
This was reproduced after removing an unrelated oh-my-opencode-slim registration/cache so the active OpenCode config contains only opencode-goal-plugin@0.11.0.
I also noticed that the repository currently has active OpenCode 2 compatibility work around 2.0.26 (#83 / #84), so this may be another host-surface regression in newer OpenCode 2 builds.
Happy to run any additional diagnostic command or test build that would help isolate it.
Activity