{"record":{"id":"289caac496948623","repo":"warpdotdev/warp","slug":"unsupported-feature","errorCode":null,"errorMessage":"Unsupported feature","messagePattern":"Unsupported feature","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"app/src/ai/agent_sdk/ambient.rs","lineNumber":235,"sourceCode":"\nimpl AmbientAgentRunner {\n    fn spawn_command(\n        &self,\n        future: impl Spawnable<Output = anyhow::Result<()>>,\n        ctx: &mut ModelContext<Self>,\n    ) {\n        ctx.spawn(future, |_, result, ctx| match result {\n            Ok(()) => {\n                ctx.terminate_app(TerminationMode::ForceTerminate, None);\n            }\n            Err(err) => {\n                super::report_fatal_error(err, ctx);\n            }\n        });\n    }\n    fn run_agent(&self, args: RunCloudArgs, ctx: &mut ModelContext<Self>) -> anyhow::Result<()> {\n        if !FeatureFlag::AmbientAgentsCommandLine.is_enabled() {\n            return Err(anyhow::anyhow!(\"Unsupported feature\"));\n        }\n        let skill_enabled = FeatureFlag::OzPlatformSkills.is_enabled();\n        if args.skill.is_some() && !skill_enabled {\n            return Err(anyhow::anyhow!(\"unexpected argument '--skill' found\"));\n        }\n\n        let refresh_future = super::common::refresh_workspace_metadata(ctx);\n        let warp_drive_sync_future = super::common::refresh_warp_drive(ctx);\n        let setup_future = future::try_join(refresh_future, warp_drive_sync_future);\n\n        ctx.spawn(setup_future, move |_runner, setup_result, ctx| {\n            if let Err(err) = setup_result {\n                super::report_fatal_error(err, ctx);\n                return;\n            }\n\n            // Validate that at least one of prompt, skill, or conversation is provided.\n            // conversation is used to continue an existing cloud conversation.","sourceCodeStart":217,"sourceCodeEnd":253,"githubUrl":"https://github.com/warpdotdev/warp/blob/e72fd7aacbbb2236d9b3be2aad7e7178fe94b4bc/app/src/ai/agent_sdk/ambient.rs#L217-L253","documentation":"run_agent for ambient/cloud agents (app/src/ai/agent_sdk/ambient.rs:235) is gated behind FeatureFlag::AmbientAgentsCommandLine; when the flag is disabled for the build/account, the command returns this generic anyhow error before doing any setup work. Feature flags are runtime-plumbed (server-configured rollout plus build defaults), so availability varies by channel and account.","triggerScenarios":"Invoking the ambient-agents/cloud run command on a build or account where AmbientAgentsCommandLine is not enabled (e.g. stable channel before rollout, or a post-launch removal).","commonSituations":"Trying a preview feature on stable; flag disabled server-side for the account/team; flag removed after the feature graduated.","solutions":["Check FeatureFlag::AmbientAgentsCommandLine.is_enabled() for your build/account before relying on the command","Use a build/channel where the flag is enabled (dogfood or preview)","Wait for rollout or request enablement for the account"],"exampleFix":null,"handlingStrategy":"validation","validationCode":"if !FeatureFlag::AmbientAgentsCommandLine.is_enabled() {\n    // hide/disable the ambient-agents command in wrappers and scripts\n}","typeGuard":"fn ambient_agent_cli_available() -> bool {\n    FeatureFlag::AmbientAgentsCommandLine.is_enabled()\n}","tryCatchPattern":null,"preventionTips":["Check feature-flag state before scripting gated subcommands","Pin scripts to a channel (dogfood/preview) where the flag is enabled"],"tags":["feature-flag","ambient-agents","cli"],"backgroundTag":null,"analyzedSha":"e72fd7aacbbb2236d9b3be2aad7e7178fe94b4bc","analyzedAt":"2026-08-16T08:27:25.381Z","schemaVersion":2},"datasetVersion":"2026-08-16T13:17:31.715Z"}