{"record":{"id":"643d933bf245b946","repo":"multica-ai/multica","slug":"execenv-prepare-qwenpaw-workspace-w","errorCode":null,"errorMessage":"execenv: prepare qwenpaw workspace: %w","messagePattern":"execenv: prepare qwenpaw workspace: %w","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"server/internal/daemon/execenv/execenv.go","lineNumber":537,"sourceCode":"\t// (service.LoadAgentSkillBundles), so a claimed task's AgentSkills is never\n\t// empty and the skill-less branch is effectively unreachable in production.\n\t// Emptying an agent's own skill list is NOT a way to opt out of the overlay.\n\tif params.Provider == \"hermes\" && len(params.Task.AgentSkills) > 0 {\n\t\thermesHome := filepath.Join(envRoot, \"hermes-home\")\n\t\tsessions, err := prepareHermesHome(hermesHome, params.HermesSourceHome, params.HermesSourceMustExist, params.Task.AgentSkills, params.HermesEnv, params.HermesMemoryStore, params.HermesSessionStore, logger)\n\t\tif err != nil {\n\t\t\treturn nil, fmt.Errorf(\"execenv: prepare hermes-home: %w\", err)\n\t\t}\n\t\tenv.HermesHome = hermesHome\n\t\tif sessions.Mounted {\n\t\t\tenv.HermesSessionStore = params.HermesSessionStore\n\t\t\tenv.HermesSessionHistoryPresent = sessions.HistoryPresent\n\t\t}\n\t}\n\tif params.Provider == \"qwenpaw\" {\n\t\tqwenpawWorkspace := filepath.Join(envRoot, \"qwenpaw-workspace\")\n\t\tif err := prepareQwenpawWorkspace(qwenpawWorkspace, params.Task.AgentSkills, logger); err != nil {\n\t\t\treturn nil, fmt.Errorf(\"execenv: prepare qwenpaw workspace: %w\", err)\n\t\t}\n\t\tenv.QwenpawWorkspace = qwenpawWorkspace\n\t}\n\n\t// For Reasonix, deny the `ask` tool for this task through a project-scoped\n\t// reasonix.toml. Degraded, not fatal: without it the task still runs under\n\t// the backend's fail-closed question handling.\n\tif params.Provider == \"reasonix\" {\n\t\tif err := writeReasonixProjectConfig(workDir, params.ReasonixEnv, manifest, logger); err != nil {\n\t\t\tlogger.Warn(\"execenv: write reasonix project config failed\", \"error\", err)\n\t\t}\n\t}\n\n\t// For Cursor, materialize managed MCP into project-local config and use\n\t// an isolated CURSOR_DATA_DIR for the per-workdir approval sidecar. Cursor\n\t// still reads ~/.cursor/mcp.json, but only servers with approval entries in\n\t// this per-task data dir can load, so user-global MCP servers do not leak\n\t// into managed-MCP runs.","sourceCodeStart":519,"sourceCodeEnd":555,"githubUrl":"https://github.com/multica-ai/multica/blob/2c0912b6ec764b373d44eeea1e80f0d9f11ab417/server/internal/daemon/execenv/execenv.go#L519-L555","documentation":"Error \"execenv: prepare qwenpaw workspace: %w\" thrown in multica-ai/multica.","triggerScenarios":"Thrown at server/internal/daemon/execenv/execenv.go:537 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the wrapped error from qwenpaw workspace preparation."],"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"}