fix(#2854): enable task system by default (oracle/subagent delegation)

task_system now defaults to true instead of false. Users on opencode-go
or other plans were unable to invoke oracle or use subagent delegation
because experimental.task_system defaulted off.

The task system is the primary mechanism for oracle, explore, and other
subagent invocations — it should not be behind an experimental flag.

Users can still explicitly set experimental.task_system: false to opt out.
This commit is contained in:
YeonGyu-Kim
2026-03-27 17:03:33 +09:00
parent ec7a2e3eae
commit d3dbb4976e

View File

@@ -114,7 +114,8 @@ export function createToolRegistry(args: {
gitMasterConfig: pluginConfig.git_master, gitMasterConfig: pluginConfig.git_master,
}) })
const taskSystemEnabled = pluginConfig.experimental?.task_system ?? false // task_system defaults to true since v3.14 — delegation (oracle, subagents) requires it
const taskSystemEnabled = pluginConfig.experimental?.task_system ?? true
const taskToolsRecord: Record<string, ToolDefinition> = taskSystemEnabled const taskToolsRecord: Record<string, ToolDefinition> = taskSystemEnabled
? { ? {
task_create: createTaskCreateTool(pluginConfig, ctx), task_create: createTaskCreateTool(pluginConfig, ctx),