Skip to content

Upgrade to zdev 2.0

Zdev 2.0 makes coding guidance part of planning, implementation, and independent review and verification. Readability and repository standards contribute to acceptance alongside the task’s required behavior. Language and framework supplements apply to the affected code within explicit user requirements and project instructions.

Existing 1.x areas, briefs, tasks, and worker configuration remain valid. The record schema stays at version 1, so no record migration or reinitialization is needed.

Install the 2.0 binary using your installation method. For Cargo:

Terminal window
cargo install zdev --version 2.0.0 --locked

Then refresh each binary-installed harness integration with the same scope and destination:

Terminal window
zdev skill install codex --force
zdev skill check codex
# For an existing project installation:
zdev skill install codex --scope project --guidance auto --force
zdev skill check codex --scope project

Replace codex with your harness, and keep any custom --to destination and guidance selection. Updating the binary alone does not update installed instructions, prompts, or workflows.

The Codex plugin contains a portable skill bundle. Update it through its normal installation path; plugin references resolve from the loaded skill directory and do not depend on a local checkout.

A separate agent reviews the implementation and verifies it against the task requirements and repository standards, separating required corrections from optional suggestions. An ordinary task gets one full review, one correction pass, and one focused recheck. Recovery carries the review stage and prior findings forward. If required corrections remain after the recheck, the task stays open and the harness asks for an explicit continuation decision. Research keeps its own attempt budgets.

Explicit blanket approval for compatible parallel batches continues within the approved area, work, worker limit, destination, worktree, and cleanup choices. Every batch still selects from fresh tasks and rechecks admission. Approving one batch does not authorize another, and any choice outside blanket authority still requires a decision. Harness continuation limits still apply.

Implementation reuses the workspace you explicitly selected. In 2.0, the harness otherwise used an isolated worktree as its authoritative checkout and reported where to inspect the result. Later releases implement in the current checkout by default; set workspace.branching to isolated to restore the worktree default (see the configuration reference). Read-only exploration starts in the current checkout. Parallel work defaults to four task slots within available capacity, with serial destination acceptance and commits.

Explicit delegation to create and import tasks stays valid within its scope; without it, the harness presents the final reviewed bundle for approval. Notes under .zdev/_notes/ capture work before it becomes an area. Several areas can share a branch, while task dependencies stay within their own area.

The normal OpenAI worker profile now uses GPT-6.1 Sol, with high reasoning for standard implementation and verification, which can change model usage from older defaults. The explicit simple profile and worker overrides remain available, and saved choices continue to take precedence as documented in worker profiles.

Research runs can extend explicitly granted allowances with research run <area> extend, preserving the run and its costs. Stopping and resuming alone keeps the existing limits; see research.

Task inspection, status, and record validation still work when local experiment refs are absent. Before admitting work with requires_code, zdev checks the prerequisite’s verified candidate and resolves the recorded commit directly when ordinary branch history already contains it.

Isolated candidate commits may exist only in the originating clone’s refs/zdev/experiments/ namespace. If admission reports missing retained code, fetch the named ref from that clone into the same local namespace:

Terminal window
git fetch /path/to/originating-clone \
refs/zdev/experiments/work/work-001/1:refs/zdev/experiments/work/work-001/1

Use the ref named in the error. Zdev keeps inspection working and prints this recovery command rather than silently treating unavailable code as admitted.

Older research commits that used Change-Id remain ordinary Git history. New research commits use Zdev-Change-Id and work with zdev change inspect and zdev change lookup. Upgrading does not rewrite existing commits.