multica-ai/multica · error
chmod temp workspaces root marker: %w
Error message
chmod temp workspaces root marker: %w
What it means
Error "chmod temp workspaces root marker: %w" thrown in multica-ai/multica.
Source
Thrown at server/internal/daemon/execenv/context.go:111
// different uid; the payload is non-secret.
func writeWorkspacesRootMarkerAtomic(path string, data []byte) error {
tmp, err := os.CreateTemp(filepath.Dir(path), ".daemon_task_context-*.json.tmp")
if err != nil {
return fmt.Errorf("create temp workspaces root marker: %w", err)
}
tmpPath := tmp.Name()
if _, err := tmp.Write(data); err != nil {
tmp.Close()
os.Remove(tmpPath)
return fmt.Errorf("write temp workspaces root marker: %w", err)
}
if err := tmp.Close(); err != nil {
os.Remove(tmpPath)
return fmt.Errorf("close temp workspaces root marker: %w", err)
}
if err := os.Chmod(tmpPath, 0o644); err != nil {
os.Remove(tmpPath)
return fmt.Errorf("chmod temp workspaces root marker: %w", err)
}
if err := os.Rename(tmpPath, path); err != nil {
os.Remove(tmpPath)
return fmt.Errorf("rename workspaces root marker: %w", err)
}
return nil
}
// writeContextFiles renders and writes .agent_context/issue_context.md and
// skills into the appropriate provider-native location.
//
// Claude: skills → {workDir}/.claude/skills/{name}/SKILL.md (native discovery)
// 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)
// Codex: skills → handled separately in Prepare via codex-home
// Hermes: skills → handled separately in Prepare via hermes-home (HERMES_HOME/skills; Hermes has no workspace-relative discovery, see hermes_home.go)
// Copilot: skills → {workDir}/.github/skills/{name}/SKILL.md (native project-level discovery)
// OpenCode: skills → {workDir}/.opencode/skills/{name}/SKILL.md (native discovery)
// 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)View on GitHub (pinned to 2c0912b6ec)
Solutions
- Check permissions on the temp marker file.
When it happens
Trigger: Thrown at server/internal/daemon/execenv/context.go:111 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/9434579f468e90a6.
Report an issue: GitHub.