mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-27 21:33:41 +02:00
* fix(daemon): reclaim Codex sandbox task caches Co-authored-by: multica-agent <github@multica.ai> * refactor(daemon): tighten managed cache GC signals Co-authored-by: multica-agent <github@multica.ai> --------- Co-authored-by: Eve <eve@multica-ai.local> Co-authored-by: multica-agent <github@multica.ai>
17 lines
525 B
Go
17 lines
525 B
Go
package execenv
|
|
|
|
import "path/filepath"
|
|
|
|
const (
|
|
codexHomeDirName = "codex-home"
|
|
codexSandboxBinDirName = ".sandbox-bin"
|
|
)
|
|
|
|
// ManagedReclaimableArtifactSubpaths returns daemon-owned, regenerable
|
|
// directories inside a task env root. Callers must match these as exact
|
|
// relative paths rather than basenames: a repository may legitimately contain
|
|
// a directory with the same leaf name.
|
|
func ManagedReclaimableArtifactSubpaths() []string {
|
|
return []string{filepath.Join(codexHomeDirName, codexSandboxBinDirName)}
|
|
}
|