From 211876814839e2dcd6a3b3cdc9033950b6d4ca4e Mon Sep 17 00:00:00 2001 From: Hunter B Date: Sat, 13 Jun 2026 02:12:15 -0700 Subject: [PATCH] feat(tui): /experiments opens the experimental opt-in panel (#3182) The WhaleFlow, goal, and sub-agent opt-ins already live in the Config view's Experimental section (whaleflow / goal_command / features.subagents rows). This adds /experiments (and /experimental) as a discoverable entry point to that view so the opt-ins #3182 asks for are reachable by name. Implemented as aliases on the config command (validated by the registry uniqueness/metadata tests; commands suite 431/0). A bespoke section-focused panel is left as polish. Co-Authored-By: Claude Opus 4.8 (1M context) --- crates/tui/src/commands/groups/config/mod.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/crates/tui/src/commands/groups/config/mod.rs b/crates/tui/src/commands/groups/config/mod.rs index f3287333..3c278e62 100644 --- a/crates/tui/src/commands/groups/config/mod.rs +++ b/crates/tui/src/commands/groups/config/mod.rs @@ -31,7 +31,9 @@ impl CommandGroup for ConfigCommands { static CONFIG_INFO: CommandInfo = CommandInfo { name: "config", - aliases: &[], + // /experiments is a discoverable entry to the same view: the Experimental + // section exposes the WhaleFlow, goal, and sub-agent opt-ins (#3182). + aliases: &["experiments", "experimental"], usage: "/config", description_id: MessageId::CmdConfigDescription, }; @@ -140,7 +142,7 @@ pub(in crate::commands) fn dispatch( arg: Option<&str>, ) -> Option { let result = match command { - "config" => config::config_command(app, arg), + "config" | "experiments" | "experimental" => config::config_command(app, arg), "sidebar" => config::sidebar(app, arg), "settings" => config::show_settings(app), "status" => status::status(app),