From 378ee39b19885c6a2d02482aa6c3896705068908 Mon Sep 17 00:00:00 2001 From: kami Date: Sat, 13 Jun 2026 23:26:25 +0400 Subject: [PATCH] feat(research): enable research tools by default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [tools.research].enabled now defaults true, matching shell/file tools. Safe because web_fetch is T2 — nothing leaves the machine without operator approval regardless of the flag; the flag only controls whether the tools are registered. web_search (T1) hits only the configured SearXNG endpoint. --- .../src/main/kotlin/com/correx/core/config/CorrexConfig.kt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/core/config/src/main/kotlin/com/correx/core/config/CorrexConfig.kt b/core/config/src/main/kotlin/com/correx/core/config/CorrexConfig.kt index 36f2b725..73e36a9c 100644 --- a/core/config/src/main/kotlin/com/correx/core/config/CorrexConfig.kt +++ b/core/config/src/main/kotlin/com/correx/core/config/CorrexConfig.kt @@ -140,13 +140,14 @@ data class ToolsConfig( } /** - * Deep-research workflow (research-workflow-spec). Off by default: enabling it registers the - * network tools web_search (T1, hits only [searxngUrl]) and web_fetch (T2, operator-approved). + * Deep-research workflow (research-workflow-spec). On by default (like shell/file tools): + * registers the network tools web_search (T1, hits only [searxngUrl]) and web_fetch (T2, which + * is operator-approved, so nothing leaves the machine unapproved regardless of this flag). * [searxngUrl] is the self-hosted SearXNG endpoint; [maxFetchBytes] caps a single fetched page. */ @Serializable data class ResearchConfig( - val enabled: Boolean = false, + val enabled: Boolean = true, val searxngUrl: String = "http://localhost:8888", val maxResults: Int = 8, val maxFetchBytes: Long = 10_000_000,