multica-ai/multica · error
reuse execution environment: %w
Error message
reuse execution environment: %w
What it means
Error "reuse execution environment: %w" thrown in multica-ai/multica.
Source
Thrown at server/internal/daemon/daemon.go:6416
WorkDir: task.PriorWorkDir,
Provider: provider,
CodexVersion: codexVersion,
ResumeSessionID: task.PriorSessionID,
OpenclawBin: openclawBin,
McpConfig: effectiveMcpConfig,
CursorMcpAuthSource: cursorMcpAuthSource,
OpenclawGateway: openclawGateway,
HermesSourceHome: hermesSourceHome,
HermesSourceMustExist: hermesSourceMustExist,
HermesEnv: hermesEnv,
HermesMemoryStore: hermesMemoryStore,
HermesSessionStore: hermesSessionStore,
ReasonixEnv: reasonixEnv,
CodexCustomArgs: codexSandboxArgs,
Task: taskCtx,
})
if err != nil {
return TaskResult{}, fmt.Errorf("reuse execution environment: %w", err)
}
// Reuse can decline (nil) and fall through to a fresh Prepare below.
// Whether it did decides whether an env-root-scoped session store — the
// Hermes overlay's task-local state.db — carried over from the prior task.
envReused = env != nil
}
if env == nil {
var err error
prepParams := execenv.PrepareParams{
WorkspacesRoot: d.cfg.WorkspacesRoot,
Profile: d.cfg.Profile,
WorkspaceID: task.WorkspaceID,
TaskID: task.ID,
AgentName: agentName,
Provider: provider,
CodexVersion: codexVersion,
OpenclawBin: openclawBin,
McpConfig: effectiveMcpConfig,View on GitHub (pinned to 2c0912b6ec)
Solutions
- Delete the stale execution environment so it can be recreated.
When it happens
Trigger: Thrown at server/internal/daemon/daemon.go:6416 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of multica-ai/multica@2c0912b6ec (2026-08-15).
Data as JSON: /api/errors/80d01df0f1a857d4.
Report an issue: GitHub.