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:
@@ -114,7 +114,8 @@ export function createToolRegistry(args: {
|
||||
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
|
||||
? {
|
||||
task_create: createTaskCreateTool(pluginConfig, ctx),
|
||||
|
||||
Reference in New Issue
Block a user