Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go
713 B
Raw Blame
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),
		filepath.Join(codexHomeDirName, ".tmp", "plugins"),
		filepath.Join(codexHomeDirName, ".tmp", "marketplaces"),
		filepath.Join(codexHomeDirName, "cache", "remote_plugin_catalog"),
	}
}