{"record":{"id":"80d01df0f1a857d4","repo":"multica-ai/multica","slug":"reuse-execution-environment-w","errorCode":null,"errorMessage":"reuse execution environment: %w","messagePattern":"reuse execution environment: %w","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"server/internal/daemon/daemon.go","lineNumber":6416,"sourceCode":"\t\t\tWorkDir:               task.PriorWorkDir,\n\t\t\tProvider:              provider,\n\t\t\tCodexVersion:          codexVersion,\n\t\t\tResumeSessionID:       task.PriorSessionID,\n\t\t\tOpenclawBin:           openclawBin,\n\t\t\tMcpConfig:             effectiveMcpConfig,\n\t\t\tCursorMcpAuthSource:   cursorMcpAuthSource,\n\t\t\tOpenclawGateway:       openclawGateway,\n\t\t\tHermesSourceHome:      hermesSourceHome,\n\t\t\tHermesSourceMustExist: hermesSourceMustExist,\n\t\t\tHermesEnv:             hermesEnv,\n\t\t\tHermesMemoryStore:     hermesMemoryStore,\n\t\t\tHermesSessionStore:    hermesSessionStore,\n\t\t\tReasonixEnv:           reasonixEnv,\n\t\t\tCodexCustomArgs:       codexSandboxArgs,\n\t\t\tTask:                  taskCtx,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn TaskResult{}, fmt.Errorf(\"reuse execution environment: %w\", err)\n\t\t}\n\t\t// Reuse can decline (nil) and fall through to a fresh Prepare below.\n\t\t// Whether it did decides whether an env-root-scoped session store — the\n\t\t// Hermes overlay's task-local state.db — carried over from the prior task.\n\t\tenvReused = env != nil\n\t}\n\tif env == nil {\n\t\tvar err error\n\t\tprepParams := execenv.PrepareParams{\n\t\t\tWorkspacesRoot:        d.cfg.WorkspacesRoot,\n\t\t\tProfile:               d.cfg.Profile,\n\t\t\tWorkspaceID:           task.WorkspaceID,\n\t\t\tTaskID:                task.ID,\n\t\t\tAgentName:             agentName,\n\t\t\tProvider:              provider,\n\t\t\tCodexVersion:          codexVersion,\n\t\t\tOpenclawBin:           openclawBin,\n\t\t\tMcpConfig:             effectiveMcpConfig,","sourceCodeStart":6398,"sourceCodeEnd":6434,"githubUrl":"https://github.com/multica-ai/multica/blob/2c0912b6ec764b373d44eeea1e80f0d9f11ab417/server/internal/daemon/daemon.go#L6398-L6434","documentation":"Error \"reuse execution environment: %w\" thrown in multica-ai/multica.","triggerScenarios":"Thrown at server/internal/daemon/daemon.go:6416 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Delete the stale execution environment so it can be recreated."],"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-15T17:31:12.345Z"}