Coordinate zdev in T3 Code
T3 Code lets a single zdev session coordinate workers across Codex and Claude Code. The main thread can run either harness; zdev keeps task selection, branch checks, verification, and commits while T3 owns worker execution and completion delivery.
Install and select
Section titled “Install and select”Install the zdev skill for whichever harness runs the T3 main thread:
zdev skill install codex --forcezdev skill install claude --forceInstall both if you use both as coordinators. User scope is the default, and project-scope and explicit-destination options work as usual. For Claude Code, enable the installed zdev plugin as you do for its native integration. T3 provides its own authenticated orchestration MCP tools to supported provider sessions.
Inside T3 Code, zdev uses T3 orchestration by default. The coordinator
recognizes a T3 Code session when T3’s orchestration instructions are present
or its orchestration MCP server is connected. In that session, implementation,
verification, plan-only work, audits, standalone review, and goals or loops all
dispatch their workers as T3 child tasks, and verifiers follow the
t3.verifier-harness preference described under
Workers and profiles. Sessions outside T3 Code use
native orchestration, and Claude Code outside T3 uses its packaged workflows.
You can also name the route explicitly:
Use zdev with T3 orchestration to implement the next task in area scheduling, using Codex for implementation and Claude Code for verification.
To use the harness’s own subagents or Claude’s packaged workflows inside T3
Code, ask for native orchestration explicitly, for example "Use zdev with native orchestration to loop through area scheduling." The chosen route holds
for the entire run, including goal continuations and completion wakes.
Before dispatching anything, the coordinator checks that T3’s orchestration tools are reachable. If they are not, it reports a blocker naming the native orchestration request as the opt-out rather than switching to native orchestration on its own.
The T3 route does not support research runs yet. Inside T3 Code, a research-run request stops before dispatch and reports that the T3 route does not support it; ask for native orchestration to run research and experiments.
To continue through an area’s ready work, use T3’s composer /goal command.
Check /goal first if the thread might already hold an unfinished goal,
because setting a new condition replaces it. Generate the condition with
zdev goal scheduling --format json (adding --focus <text> when needed),
prefix its native_goal with "Use zdev with T3 orchestration.", and send
that to /goal, keeping worker choices in the conversation. The installed
skill prepares this condition and uses exposed native goal tools when
available; otherwise it prints the ready-to-send command before starting work.
“Goal” and “loop” refer to the same operation, and optional focus text guides selection from the complete ready frontier.
Use natural-language requests through the root skill. Claude’s packaged
zdev-loop and zdev-goal workflow commands bypass the root skill and run
their native scripts even inside T3 Code; adding “T3” to their arguments does
not switch routes.
Workers and profiles
Section titled “Workers and profiles”An omitted planner or implementer target uses the main thread’s inherited T3
provider instance. An omitted verifier target follows t3.verifier-harness,
which defaults to codex: verification, standalone review, audit, and
task-bundle challenge workers run on the single available Codex instance with
the Codex verifier profile. Run zdev config set --global t3.verifier-harness inherit to keep verifiers on the main thread’s provider, or claude to prefer
Claude Code. When the preferred harness or its resolved model is unavailable,
the coordinator states the fallback and uses the inherited provider instance. A
general implementation target covers routine, standard, and advanced work, and
planner targeting follows the advanced implementer unless set separately. If
several instances of a requested harness are available, the coordinator asks
which account to use.
Zdev resolves each role’s profile against that worker’s harness, using the same area, run, and one-off profile precedence. The selected instance, model, and effort form the frozen run baseline; one-off choices last through retries and replacements of their logical step and then expire. Models and effort options must match T3’s live catalog, and missing or ambiguous settings report a blocker. Choose a supported concrete model in the request or update the zdev profile when needed; there is no separate T3 worker-profile namespace.
T3’s role tags label the work, while zdev’s role contracts define worker responsibilities and result fields. Workers receive task and snapshot locators rather than the main thread’s conversation. The coordinator owns lifecycle, staging, and commits, and every verification round runs in a fresh child.
Goal and loop
Section titled “Goal and loop”One visible parent goal drives the T3 coordinator, and the main thread shows progress across the loop. The coordinator runs every iteration itself and dispatches each planner, implementer, verifier, repair, and recheck as its own T3 child task rather than handing a whole loop or task cycle to one child or packaged workflow. In the main thread it reports the selected task, each dispatched role and target, each phase result, and each commit.
The coordinator selects a task, delegates its first worker, and yields during long steps while T3 runs the child. Native goal continuations and child-completion wakes re-enter the same coordinator, which checks its pending handle and phase before dispatching anything: an active worker stays active, and another goal turn never starts a duplicate. A completed result is validated before implementation, verification, or rework proceeds. After a verifier pass and snapshot comparison, the coordinator completes and commits one task.
It then reads fresh context and dispatches the next ready task’s first worker
before yielding. The parent’s native goal can also continue across this
boundary. T3 mirrors the provider’s goal state without evaluating zdev’s area
condition itself. If goal continuation is lost after a committed task, the
coordinator returns CONTINUE along with the fresh next task and the lost
continuation.
The loop stops on an empty or exhausted queue, explicit area closure, a genuine
blocker, unsafe state, a required user decision, or a stop request. Queue
exhaustion leaves the area open. Repairs stay inside the current task and go
through fresh verification. Terminal blockers cancel owned pending work and
confirm termination before the final report and goal settlement, reporting
unconfirmed execution as pending and preserved. A goal shown as complete means
the run ended; the canonical zdev result still distinguishes PASS from
BLOCKER and never substitutes for an independent verifier or snapshot
comparison.
A confirmed blocker or required decision pauses a Codex goal (as the area
condition requests), and T3 shows the goal as paused; resolve the cause and
send /goal resume to continue. Claude goals cannot be paused, so a blocker
report ends the goal and Claude clears it. Because T3 cannot set a goal for
you, every BLOCKER under a goal (and any CONTINUE reporting a lost
continuation) ends with Resume goal: and a command to paste into the
composer: /goal resume for a paused Codex goal, or the full /goal <condition> otherwise.
T3’s Stop control also stops delegated descendants. Codex Stop pauses its goal,
whereas Claude Stop ends the turn while leaving the goal set so Claude may
check it after your next message. The zdev route honors the stop and waits for
an explicit resume request even after a late wake or unrelated message; to
clear a stopped Claude goal, use T3’s Clear control or /goal clear.
Unfinished changes stay preserved. Pause, usage limits, budget limits, or
unexpected goal clearing also halt new dispatch until execution is reconciled
and you explicitly resume.
T3 documents these provider-specific controls in its goal guide.
Wait timeouts leave children running. Recovery inspects running executions, task records, and Git state before replacing work. Restart behavior depends on T3’s execution-recovery settings, and recovered sessions still go through zdev’s admission, ownership, verification, and completion checks.
Current limits
Section titled “Current limits”This integration packages coordinator instructions without adding a server, scheduler, or durable loop record. Codex and Claude Code are the supported coordinator and worker targets. Because delegated workers share the main thread’s checkout, the route supports sequential work only: parallel implementation and assigned source worktrees stop before mutation until workspace isolation is supported, offering sequential work or an explicit request for native orchestration instead. Research runs are also unavailable on the T3 route; ask for native orchestration to run them.
These contracts were checked against T3 nightly
v0.0.46-nightly.20261008.2801. Repository checks validate installation and
generated artifacts, while live provider execution is a separate qualification
step. In a disposable repository with authenticated providers, check:
- One task through implementation, independent verification, and one commit.
- A repair followed by a fresh verifier, plus changed-state rejection.
- A two-task visible goal in both Codex and Claude coordinator threads, including a goal continuation while a worker is pending and duplicate completion wakes.
- An empty or exhausted queue and a confirmed blocker that ends the goal while
reporting the right
PASSorBLOCKERresult. - A timeout, Stop, Claude’s next unrelated message, usage or budget limits, and a server restart without duplicate work, unwanted resume, or stale verification.
See the research and rollout plan for the source evidence and later integration stages.