{"record":{"id":"2c27bc40f0997104","repo":"multica-ai/multica","slug":"invalid-task-local-multica-profile-name-q","errorCode":null,"errorMessage":"invalid task-local Multica profile name %q","messagePattern":"invalid task-local Multica profile name %q","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"server/internal/cli/config.go","lineNumber":281,"sourceCode":"\t\troot := filepath.Clean(rawRoot)\n\t\tif !filepath.IsAbs(root) {\n\t\t\treturn \"\", false, fmt.Errorf(\"%s must be an absolute path\", TaskConfigRootEnv)\n\t\t}\n\t\treturn root, true, nil\n\t}\n\thome, err := os.UserHomeDir()\n\tif err != nil {\n\t\treturn \"\", false, err\n\t}\n\treturn home, false, nil\n}\n\nfunc validateTaskLocalProfile(profile string) error {\n\tif profile == \"\" {\n\t\treturn nil\n\t}\n\tif profile == \".\" || profile == \"..\" || filepath.IsAbs(profile) || strings.ContainsAny(profile, `/\\\\`) || filepath.Clean(profile) != profile {\n\t\treturn fmt.Errorf(\"invalid task-local Multica profile name %q\", profile)\n\t}\n\treturn nil\n}\n\n// LoadCLIConfig reads the CLI config from disk (default profile).\nfunc LoadCLIConfig() (CLIConfig, error) {\n\treturn LoadCLIConfigForProfile(\"\")\n}\n\n// LoadCLIConfigForProfile reads the CLI config for the given profile.\nfunc LoadCLIConfigForProfile(profile string) (CLIConfig, error) {\n\tpath, err := CLIConfigPathForProfile(profile)\n\tif err != nil {\n\t\treturn CLIConfig{}, err\n\t}\n\tdata, err := os.ReadFile(path)\n\tif err != nil {\n\t\tif errors.Is(err, os.ErrNotExist) {","sourceCodeStart":263,"sourceCodeEnd":299,"githubUrl":"https://github.com/multica-ai/multica/blob/2c0912b6ec764b373d44eeea1e80f0d9f11ab417/server/internal/cli/config.go#L263-L299","documentation":"Error \"invalid task-local Multica profile name %q\" thrown in multica-ai/multica.","triggerScenarios":"Thrown at server/internal/cli/config.go:281 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a valid task-local profile name (letters, digits, and safe separators)."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2c0912b6ec764b373d44eeea1e80f0d9f11ab417","analyzedAt":"2026-08-15T13:25:18.241Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}