Skip to content

fix(config): keep default OpenCode Build agent enabled by default (fixes #2545)#2611

Merged
code-yeongyu merged 1 commit intocode-yeongyu:devfrom
MoerAI:fix/keep-default-builder-agent
Mar 25, 2026
Merged

fix(config): keep default OpenCode Build agent enabled by default (fixes #2545)#2611
code-yeongyu merged 1 commit intocode-yeongyu:devfrom
MoerAI:fix/keep-default-builder-agent

Conversation

@MoerAI
Copy link
Copy Markdown
Contributor

@MoerAI MoerAI commented Mar 16, 2026

Summary

  • Changes default_builder_enabled default from false to true

Problem

When OMO is installed, the default OpenCode Build and Plan agents are removed. This forces all users into the full OMO orchestration (Sisyphus) for every task, even simple ones where the lightweight Build agent would be more appropriate. Multiple users reported this as a significant usability regression (#2545, 7 comments).

Fix

One-line change in agent-config-handler.ts:

- params.pluginConfig.sisyphus_agent?.default_builder_enabled ?? false;
+ params.pluginConfig.sisyphus_agent?.default_builder_enabled ?? true;

Users who prefer the previous behavior (Build agent hidden) can set default_builder_enabled: false in their config.

Fixes #2545


Summary by cubic

Keep the OpenCode Build agent enabled by default so simple tasks don't require full Sisyphus orchestration (fixes #2545). This flips the fallback for default_builder_enabled to true in src/plugin-handlers/agent-config-handler.ts; you can still set it to false to hide the agent.

Written for commit 6455b85. Summary will update on new commits.

The default_builder_enabled config defaults to false, which removes
the default OpenCode Build agent on OMO install. This forces users
into the full OMO orchestration for every task, including simple ones
where the lightweight Build agent would be more appropriate.

Changed the default to true so the Build agent remains available
alongside Sisyphus. Users who prefer the previous behavior can set
default_builder_enabled: false in their config.

Fixes code-yeongyu#2545
@MoerAI
Copy link
Copy Markdown
Contributor Author

MoerAI commented Mar 16, 2026

I have read the CLA Document and I hereby sign the CLA

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Auto-approved: Restores default agent behavior to fix a reported usability regression. One-line configuration change with no impact on code logic.

Copy link
Copy Markdown

@fruch fruch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
I think it's a more sane default, as a user I prefer a plugin would take over or disable default things with asking of without it be documented clearly

@lrq3000
Copy link
Copy Markdown

lrq3000 commented Mar 21, 2026

I am sorry if my previous reply was deleted but I have chronic amnesia, I can't remember if I posted or not a reply.

I just wanted to say that after a week of enabling this setting and using opencode daily for nearly all my coding, I confirm that I get utility for all agents in different scenarios, the default plan is very useful to just brainstorm or understand a codebase for example or do small config changes or skill building (among other uses of cours !), which can then be applied with little token usage with the build agent.

So I strongly support this PR, as it also follows the software engineering best practice of Least Astonishment for the user.

@code-yeongyu code-yeongyu added the triage:bug Confirmed bug with repro steps label Mar 24, 2026
@code-yeongyu code-yeongyu merged commit 0aa8bfe into code-yeongyu:dev Mar 25, 2026
8 checks passed
code-yeongyu added a commit that referenced this pull request Mar 25, 2026
…-agent"

This reverts commit 0aa8bfe, reversing
changes made to 422eaa9.
@leeopop-furiosa
Copy link
Copy Markdown

@MoerAI Thx for this PR. What do you think about making default value of replace_plan as false?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

triage:bug Confirmed bug with repro steps

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Default OpenCode agents Build and Plan are deleted upon OMO install

5 participants