Configure tool paths and caches
Repository-owner guide · Documentation hub
Use .omnigrex/turn-configuration.yaml when repository tools need disk-backed temporary directories or caches retained across Agent Turns.
Without this file, TMPDIR uses the Runtime Profile’s bounded /tmp path.
Agree on approved variables
Section titled “Agree on approved variables”Ask the operator to approve variable names through OMNIGREX_AGENT_PATH_ENV_ALLOWLIST.
For example, Go builds may need TMPDIR,GOTMPDIR,GOCACHE,GOPATH.
The allowlist is shared across Roles, and the repository requests names and lifecycles rather than supplying host paths.
Runtime-control and credential-related names, including PI_*, OMNIGREX_*, NODE_OPTIONS, HOME, and PATH, are always rejected.
Publish the configuration
Section titled “Publish the configuration”version: 1environment-paths: directories: build-tmp: lifecycle: turn go-build-cache: lifecycle: assignment environment: - name: TMPDIR directory: build-tmp - name: GOTMPDIR directory: build-tmp - name: GOCACHE directory: go-build-cachePublish the file on the default branch. It is read from the same pinned commit as Agent Profiles and applies to both Roles. Unknown fields, unsupported sizes, unapproved variables, and invalid directories produce a configuration Human Handoff before Runtime Process launch. See the configuration reference for the validation source.
Understand the lifecycle
Section titled “Understand the lifecycle”Requested directories are isolated on disk-backed tool storage outside the workspace and Change Proposal tree.
Turn scratch is removed after the Runtime Process stops.
The assignment lifecycle keeps Participant-local caches across Turns and removes them during Assignment collection.
Approved directory bindings take precedence over conflicting mise activation during bootstrap.
Ordinary mise exec and mise run commands, including nested tasks, subsequently discover working-checkout configuration normally.
A non-conflicting configuration preserves the allocated paths; deliberate repository environment overrides apply to Mise child processes, not their parent agent environment.
Task scripts may also intentionally choose command-local paths, such as the development image’s Go test scratch override.
These paths have no per-Participant disk quota. The operator should monitor storage and cache warnings. Moving build output to disk does not increase execution memory or limit compiler parallelism.
Next: Repository troubleshooting.
Final Participant collection also removes its mise tool installations and owned workspace/publication remnants, not just requested tool-data directories. Historical completed collections are not replayed. Fresh Participants provision their own working-revision toolchains and regenerate caches, which may require package-network access. Shared native images and registry documents are not Participant-owned tool caches and are not removed by this lifecycle. See complete storage collection for outcomes, retry behavior and exclusions.
