{"record":{"id":"3e5c54191a0ad21f","repo":"nikivdev/code","slug":"f-hive-is-deprecated-and-currently-disabled-whil","errorCode":null,"errorMessage":"`f hive` is deprecated and currently disabled while Hive is being retired.\n\nUse these replacements instead:\n  - Natural-language shell work: `do shell \"<query>\"`\n  - Run-owned agents from `~/run`: `run <agent>` or `do <agent>`\n  - Personal env vars: `f env guide` or `f env set KEY=VALUE`\n  - Code move flows: `f migrate code`\n  - AI session helpers: `f codex ...` or `f claude ...`\n\nFlow-side Hive cleanup is in progress. The old `f hive` entrypoint is no longer the supported path.","messagePattern":"`f hive` is deprecated and currently disabled while Hive is being retired\\.\n\nUse these replacements instead:\n  - Natural-language shell work: `do shell \"<query>\"`\n  - Run-owned agents from `~/run`: `run <agent>` or `do <agent>`\n  - Personal env vars: `f env guide` or `f env set KEY=VALUE`\n  - Code move flows: `f migrate code`\n  - AI session helpers: `f codex \\.\\.\\.` or `f claude \\.\\.\\.`\n\nFlow-side Hive cleanup is in progress\\. The old `f hive` entrypoint is no longer the supported path\\.","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/hive.rs","lineNumber":490,"sourceCode":"                let matched = terms.iter().any(|term| {\n                    let needle = term.to_lowercase();\n                    !needle.is_empty() && content_lower.contains(&needle)\n                });\n                if matched && !matches.contains(&name) {\n                    matches.push(name);\n                }\n            }\n        }\n    }\n\n    matches.truncate(max);\n    matches\n}\n\n/// Handle the `f hive` CLI command.\npub fn run_command(cmd: crate::cli::HiveCommand) -> Result<()> {\n    let _ = cmd;\n    anyhow::bail!(deprecation_message())\n}\n\n#[cfg(test)]\nmod tests {\n    use super::*;\n    use crate::cli::HiveCommand;\n\n    #[test]\n    fn test_agent_source_display() {\n        assert_eq!(format!(\"{}\", AgentSource::ProjectConfig), \"project\");\n        assert_eq!(format!(\"{}\", AgentSource::GlobalHive), \"hive\");\n    }\n\n    #[test]\n    fn test_deprecation_message_mentions_shell_and_env_replacements() {\n        let message = deprecation_message();\n        assert!(message.contains(\"do shell\"));\n        assert!(message.contains(\"run <agent>\"));","sourceCodeStart":472,"sourceCodeEnd":508,"githubUrl":"https://github.com/nikivdev/code/blob/a747e741ae92c09071d0ae946ab48488adcff1ce/src/hive.rs#L472-L508","documentation":"The entire `f hive` CLI entrypoint is deprecated and hard-disabled while Hive is being retired. run_command immediately bails with a detailed deprecation message regardless of arguments. It exists only to redirect users to replacement flows and to fail loudly rather than silently misbehave.","triggerScenarios":"Invoking any `f hive ...` subcommand; run_command matches the HiveCommand and unconditionally calls anyhow::bail!(deprecation_message()).","commonSituations":"Older scripts, docs, aliases, or muscle memory still calling `f hive`; automated workflows written before the Hive retirement; tutorials referencing the removed feature.","solutions":["Replace shell/natural-language work with `do shell \"<query>\"`","Run owned agents with `run <agent>` or `do <agent>` from ~/run","Use `f env guide` / `f env set KEY=VALUE` for personal env vars","Use `f migrate code` for code-move flows and `f codex ...` / `f claude ...` for AI session helpers"],"exampleFix":"// before\nf hive code-move\n// after\nf migrate code","handlingStrategy":"validation","validationCode":"if cmd_first_arg_is(\"hive\") {\n    eprintln!(\"f hive is disabled; use 'do shell', 'run <agent>', or 'f migrate code'\");\n    return;\n}","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Remove `f hive` from scripts and aliases during migration","Adopt the replacements: `do shell`, `run <agent>`, `f env`, `f migrate code`, `f codex`/`f claude`","Grep repos/docs for 'f hive' and update references"],"tags":["deprecation","cli","removed-feature"],"backgroundTag":"deprecated-command-invoked","analyzedSha":"a747e741ae92c09071d0ae946ab48488adcff1ce","analyzedAt":"2026-09-01T22:43:55.719Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-08T15:18:49.778Z"}