{"record":{"id":"c335d919deca0a6b","repo":"multica-ai/multica","slug":"rename-workspaces-root-marker-w","errorCode":null,"errorMessage":"rename workspaces root marker: %w","messagePattern":"rename workspaces root marker: %w","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"server/internal/daemon/execenv/context.go","lineNumber":115,"sourceCode":"\t\treturn fmt.Errorf(\"create temp workspaces root marker: %w\", err)\n\t}\n\ttmpPath := tmp.Name()\n\tif _, err := tmp.Write(data); err != nil {\n\t\ttmp.Close()\n\t\tos.Remove(tmpPath)\n\t\treturn fmt.Errorf(\"write temp workspaces root marker: %w\", err)\n\t}\n\tif err := tmp.Close(); err != nil {\n\t\tos.Remove(tmpPath)\n\t\treturn fmt.Errorf(\"close temp workspaces root marker: %w\", err)\n\t}\n\tif err := os.Chmod(tmpPath, 0o644); err != nil {\n\t\tos.Remove(tmpPath)\n\t\treturn fmt.Errorf(\"chmod temp workspaces root marker: %w\", err)\n\t}\n\tif err := os.Rename(tmpPath, path); err != nil {\n\t\tos.Remove(tmpPath)\n\t\treturn fmt.Errorf(\"rename workspaces root marker: %w\", err)\n\t}\n\treturn nil\n}\n\n// writeContextFiles renders and writes .agent_context/issue_context.md and\n// skills into the appropriate provider-native location.\n//\n// Claude:      skills → {workDir}/.claude/skills/{name}/SKILL.md  (native discovery)\n// CodeBuddy:   skills → {workDir}/.codebuddy/skills/{name}/SKILL.md  (native discovery — CodeBuddy is a Claude Code fork but uses its own config directory, not .claude/; see https://www.codebuddy.ai/docs/cli/skills)\n// Codex:       skills → handled separately in Prepare via codex-home\n// Hermes:      skills → handled separately in Prepare via hermes-home (HERMES_HOME/skills; Hermes has no workspace-relative discovery, see hermes_home.go)\n// Copilot:     skills → {workDir}/.github/skills/{name}/SKILL.md  (native project-level discovery)\n// OpenCode:    skills → {workDir}/.opencode/skills/{name}/SKILL.md  (native discovery)\n// OpenClaw:    skills → {workDir}/skills/{name}/SKILL.md  (native discovery — paired with a per-task synthesized openclaw-config.json that pins agents.defaults.workspace to workDir; see openclaw_config.go)\n// Pi:          skills → {workDir}/.pi/skills/{name}/SKILL.md  (native discovery)\n// Cursor:      skills → {workDir}/.cursor/skills/{name}/SKILL.md  (native discovery)\n// Kimi:        skills → {workDir}/.kimi/skills/{name}/SKILL.md  (native discovery)\n// Reasonix:    skills → {workDir}/.reasonix/skills/{name}/SKILL.md  (native discovery)","sourceCodeStart":97,"sourceCodeEnd":133,"githubUrl":"https://github.com/multica-ai/multica/blob/2c0912b6ec764b373d44eeea1e80f0d9f11ab417/server/internal/daemon/execenv/context.go#L97-L133","documentation":"Error \"rename workspaces root marker: %w\" thrown in multica-ai/multica.","triggerScenarios":"Thrown at server/internal/daemon/execenv/context.go:115 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check permissions to rename the marker into place."],"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"}