{"record":{"id":"797fdd560cd0b11b","repo":"openai/codex","slug":"label-uses-a-reserved-namespace-namespace","errorCode":null,"errorMessage":"{LABEL} uses a reserved namespace: {namespace}","messagePattern":"(.+?) uses a reserved namespace: (.+?)","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"codex-rs/core/src/config/mod.rs","lineNumber":3093,"sourceCode":"        .bytes()\n        .all(|byte| byte.is_ascii_alphanumeric() || matches!(byte, b'_' | b'-'))\n    {\n        return Err(std::io::Error::new(\n            std::io::ErrorKind::InvalidInput,\n            format!(\"{LABEL} must match ^[a-zA-Z0-9_-]+$\"),\n        ));\n    }\n    if namespace.chars().count() > MAX_LEN {\n        return Err(std::io::Error::new(\n            std::io::ErrorKind::InvalidInput,\n            format!(\"{LABEL} must be at most {MAX_LEN} characters\"),\n        ));\n    }\n    if namespace == \"mcp\"\n        || namespace.starts_with(\"mcp__\")\n        || RESERVED_RESPONSES_NAMESPACES.contains(&namespace)\n    {\n        return Err(std::io::Error::new(\n            std::io::ErrorKind::InvalidInput,\n            format!(\"{LABEL} uses a reserved namespace: {namespace}\"),\n        ));\n    }\n\n    Ok(())\n}\n\nimpl Config {\n    #[cfg(test)]\n    async fn load_from_base_config_with_overrides(\n        cfg: ConfigToml,\n        overrides: ConfigOverrides,\n        codex_home: AbsolutePathBuf,\n    ) -> std::io::Result<Self> {\n        // Note this ignores requirements.toml enforcement for tests.\n        let config_layer_stack = ConfigLayerStack::default();\n        Self::load_config_with_layer_stack(","sourceCodeStart":3075,"sourceCodeEnd":3111,"githubUrl":"https://github.com/openai/codex/blob/339751715c64496cb86246bfb3935f40e309dd3d/codex-rs/core/src/config/mod.rs#L3075-L3111","documentation":"Error \"{LABEL} uses a reserved namespace: {namespace}\" thrown in openai/codex.","triggerScenarios":"Thrown at codex-rs/core/src/config/mod.rs:3093 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Choose a name for {LABEL} outside the reserved namespace {namespace}."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"339751715c64496cb86246bfb3935f40e309dd3d","analyzedAt":"2026-08-25T05:35:09.876Z","schemaVersion":2},"datasetVersion":"2026-08-25T06:17:31.827Z"}