Skip to content

Plannotator stops during execution, Exa search instability, and not auto-selected #6897

@ru3tyYT

Description

@ru3tyYT

Description

Bug Report: Plannotator stops during execution, Exa search instability, and not auto-selected

Environment

  • OS: macOS
  • OpenCode: 1.1.1
  • Plugin: @plannotator/opencode@latest
  • Config: ~/.config/opencode/opencode.json

Plugin installs correctly and is present in:

~/.cache/opencode/node_modules/@plannotator

Expected behavior

  • Plannotator is automatically selected as the planner when installed.
  • After approving a plan, execution runs reliably to completion.
  • Search-related failures (Exa) are handled cleanly.

Actual behavior

  1. Manual Plannotator selection required

    • Even with Plannotator installed, OpenCode does not default to it.
    • I must explicitly tell OpenCode to use Plannotator, otherwise a different/default planner is used.
  2. Execution stops unpredictably

    • After approving the plan, execution starts normally.

    • When Exa search is invoked, execution may:

      • randomly stop,
      • appear to crash but then continue,
      • or enter an unstable partial state.
    • No clear fatal error is shown.


Notes

  • This is not an installation or config issue.
  • The problem appears tied to Exa search usage + planner runtime handling.
  • Failures are not surfaced or handled deterministically.

Summary

Plannotator installs and loads correctly, but:

  • is not auto-selected,
  • requires manual instruction to use,
  • and becomes unstable when Exa search runs, often stopping after plan approval.

Plugins

plannotator

OpenCode version

1.1.1

Steps to reproduce

Steps to Reproduce

  1. Install OpenCode and verify:

    opencode --version

    Output: 1.1.1

  2. Create global config:

    ~/.config/opencode/opencode.json
    
    {
      "plugin": ["@plannotator/opencode@latest"],
      "$schema": "https://opencode.ai/config.json"
    }
  3. Clear cache:

    rm -rf ~/.cache/opencode
  4. Start OpenCode:

    opencode
  5. Trigger a planning task that uses search.

  6. Observe:

    • Plannotator is not automatically chosen.
    • Manually instruct OpenCode to use Plannotator.
  7. Approve the plan.

  8. When Exa search runs, observe that execution:

    • stops unexpectedly,
    • or crashes but continues in a partial/unstable state,
    • without a clear error.

Expected result

  • Plannotator is auto-selected.
  • Execution completes or fails cleanly with a clear error, even when Exa search is used.

Screenshot and/or share link

No response

Operating System

macOS tahoe 26.2

Terminal

normal mac terminal

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions