This document provides specialized configuration and command snippets for advanced Codencer usage. For the primary "Day 0" flow, see the Operator Runbook.
Configure how isolated worktrees are prepared before an agent executes.
Efficiently share node_modules avoiding costly file copies.
{
"provisioning": {
"copy": [".env", ".env.local"],
"symlinks": ["node_modules"],
"hooks": {
"post_create": "npm install --prefer-offline"
}
}
}{
"provisioning": {
"copy": [".env"],
"symlinks": ["vendor"],
"hooks": {
"post_create": "go mod download"
}
}
}{
"provisioning": {
"copy": [".env"],
"symlinks": [".venv"],
"hooks": {
"post_create": "pipenv install --deploy --ignore-pipfile"
}
}
}Targeting a specific adapter for a task saved in a markdown file.
./bin/orchestratorctl submit my-run \
--prompt-file prompts/refactor-auth.md \
--title "Auth Refactor" \
--adapter codex \
--timeout 300 \
--validation "make test-auth" \
--acceptance "Login still works" \
--wait --jsonMachine-to-machine handoff without temporary files.
echo '{"version":"v1","goal":"Fix typos","title":"Small Fix"}' | \
./bin/orchestratorctl submit my-run --task-json - --wait --jsoncat <<'EOF' | ./bin/orchestratorctl submit my-run --stdin --title "Fix Lints" --adapter codex --wait --json
Fix all lint errors in the internal/app package.
Exclude the test files.
EOFUse the Claude adapter when the claude CLI is installed locally and reachable through CLAUDE_BINARY or $PATH.
cat <<'EOF' | ./bin/orchestratorctl submit my-run --stdin --title "Claude Audit" --adapter claude --wait --json
Review the auth package, explain the failing behavior, and propose a minimal fix.
EOFFor Claude attempts, the standard evidence set includes:
prompt.txtstdout.logstderr.logresult.json
Relay tasks to an OpenClaw-compatible executor via the standardized ACP bridge. Use --wait --json for synchronous machine-safe handoffs.
./bin/orchestratorctl submit my-run \
--goal "Fix UI layout issues in the landing page" \
--adapter openclaw-acpx \
--wait --jsonRequires a previous orchestratorctl antigravity bind <PID>.
./bin/orchestratorctl submit my-run \
--goal "Check React component alignment" \
--adapter antigravity-broker \
--wait --jsonSee exactly how the workspace was prepared.
./bin/orchestratorctl step result <HANDLE> --json | jq '.provisioning'./bin/orchestratorctl step artifacts <HANDLE>./bin/orchestratorctl step logs <HANDLE>./bin/orchestratorctl step artifacts <HANDLE>
./bin/orchestratorctl step result <HANDLE> --json | jq '.raw_output_ref, .artifacts["prompt.txt"], .artifacts["stderr.log"]'