{"record":{"id":"5fc27f324e9f50d4","repo":"warpdotdev/warp","slug":"the-conversation-flag-is-not-available-in-this-b","errorCode":null,"errorMessage":"The --conversation flag is not available in this build","messagePattern":"The --conversation flag is not available in this build","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"app/src/ai/agent_sdk/mod.rs","lineNumber":591,"sourceCode":"                return Err(AgentDriverError::AIWorkflowNotFound(workflow_id.to_owned()));\n            };\n            Ok(query.to_owned())\n        }\n    }\n}\n\n/// Run the task with the provided command.\nfn run_task(\n    ctx: &mut AppContext,\n    global_options: GlobalOptions,\n    command: TaskCommand,\n) -> anyhow::Result<()> {\n    match command {\n        TaskCommand::List(args) => ambient::list_ambient_agent_tasks(ctx, global_options, args),\n        TaskCommand::Get(args) => {\n            if args.conversation {\n                if !FeatureFlag::ConversationApi.is_enabled() {\n                    return Err(anyhow::anyhow!(\n                        \"The --conversation flag is not available in this build\"\n                    ));\n                }\n                ambient::get_run_conversation(ctx, args.task_id)\n            } else {\n                ambient::get_ambient_agent_task_status(ctx, global_options, args)\n            }\n        }\n        TaskCommand::Conversation(conv_cmd) => {\n            if !FeatureFlag::ConversationApi.is_enabled() {\n                return Err(anyhow::anyhow!(\n                    \"The 'conversation' subcommand is not available in this build\"\n                ));\n            }\n            match conv_cmd {\n                warp_cli::task::ConversationCommand::Get(args) => {\n                    ambient::get_conversation(ctx, args.conversation_id)\n                }","sourceCodeStart":573,"sourceCodeEnd":609,"githubUrl":"https://github.com/warpdotdev/warp/blob/e72fd7aacbbb2236d9b3be2aad7e7178fe94b4bc/app/src/ai/agent_sdk/mod.rs#L573-L609","documentation":"The `--conversation` flag on `warp task get` is gated behind the ConversationApi feature flag. On builds where the flag is off, the flag is rejected before any server call, failing fast instead of hitting an unsupported conversation API.","triggerScenarios":"`warp task get --conversation <task_id>` on a build where `FeatureFlag::ConversationApi.is_enabled()` is false.","commonSituations":"Scripts written against a dogfood build (flag enabled) then run on stable; documentation or tutorials that predate flag rollout; version skew between a pinned CI CLI and the script's assumptions.","solutions":["Drop `--conversation` and use plain `warp task get <task_id>` for status output","Run on a build/channel where ConversationApi is enabled (dogfood/preview)","Pin CI scripts to a CLI version whose flag set matches the script"],"exampleFix":"# before\nwarp task get --conversation abc123\n\n# after\nwarp task get abc123   # or use a dogfood build with ConversationApi enabled","handlingStrategy":"validation","validationCode":"# Probe the build once; fall back to the flag-free form when unavailable\nout=$(warp task get --conversation \"$TASK_ID\" 2>&1) || \\\n  case \"$out\" in *'not available in this build'*) warp task get \"$TASK_ID\";; *) echo \"$out\" >&2; exit 1;; esac","typeGuard":null,"tryCatchPattern":"out=$(warp task get --conversation \"$id\" 2>&1) || { case \"$out\" in *'--conversation flag is not available'*) warp task get \"$id\";; *) echo \"$out\" >&2; exit 1;; esac; }","preventionTips":["Pin script CLI versions and test flags against that exact build","Prefer the flag-free command when the extra data is optional","Track which feature flags each channel enables before scripting gated flags"],"tags":["feature-flag","cli","task","conversation"],"backgroundTag":null,"analyzedSha":"e72fd7aacbbb2236d9b3be2aad7e7178fe94b4bc","analyzedAt":"2026-08-16T08:27:25.381Z","schemaVersion":2},"datasetVersion":"2026-08-16T13:17:31.715Z"}