Zdev coordinates repository work with coding guidance, durable tasks, and independent review and verification. A coding harness explores the code and implements a task. A separate agent reviews the implementation and verifies it against the task requirements and the repository's standards.
Coding harnesses can explore a repository, compare designs, implement code, and review the result. The awkward part is what has to survive between those activities: the decisions, the task order, the work that has been verified, and the connection between a task and its Git history.
The zdev binary manages a task record in .zdev. The zdev skill guides the
harness through planning, implementation, and independent review and verification.
The skill coordinates the work; the binary records its progress.
Zdev is maintained as a personal tool in public. Releases target macOS and Linux on x86-64 and Arm64.
Warning
The whole zdev project is vibe-coded: I have spent little time reviewing the code myself. I use it a lot, and it has been useful for my work.
Documentation: zayenz.se/zdev.
For an existing installation, follow Upgrade to 2.3; from 2.1, start with Upgrade to 2.2, from 2.0 with Upgrade to 2.1, and from 1.x with Upgrade to 2.0.
Versioned binaries are available from the latest GitHub release. For installation from source with a Rust toolchain, use Cargo:
cargo install zdev --version 2.3.0 --lockedFrom a local checkout, use cargo install --path . --locked.
The binary is the repository-backed task system. It keeps areas, briefs, individual task files, dependencies, status, branch metadata, and stable identifiers for accepted Git changes. An area groups one objective and the tasks that implement it.
On the project's trunk branch, choose how the .zdev record should be kept:
personalkeeps it local to this clone; add/.zdev/to.git/info/exclude.projectkeeps it as durable, shared repository state committed with the code.pull-requestkeeps it on the feature branch during review and removes it before squash merge.shadowkeeps it out of the main repository while versioning.zdevin its own Git repository at.zdev/.git, optionally pushed to a remote.
Initialize zdev, then create an area on a feature branch:
zdev init --record personal # or: project, pull-request, shadow
git switch -c scheduling
zdev area create scheduling \
--title "Scheduling support" \
--objective "Add a tested scheduling API."Zdev creates area.toml, brief.md, TASKS.md, and a tasks/ directory under
.zdev/scheduling/. The individual task files are authoritative; TASKS.md is
generated from them.
Unfinished plans, future ideas, and collected research can live under
.zdev/_notes/ as individual files or folders of related documents. The skill
supports add note, list notes, and make area from note. Notes have
no required format and stay outside the task queue; see
Notes for future work.
The skill normally produces a task bundle for the binary to import, and other tools can produce the same JSON format:
zdev tasks import scheduling --from path/to/tasks.jsonIn normal use, the harness stores a proposed bundle for review, has an independent reviewer check non-trivial work, and shows you the rendered Markdown. Once you approve it, the harness imports that exact version using its review ID. For tracked records, the import can commit the tasks and an approved brief update together.
You can delegate task creation and import with "create and import the tasks without asking me." The harness still reviews and validates the bundle before importing it. AFK tasks may split into useful in-scope tasks without another approval, while keeping the agreed scope and acceptance criteria.
See Import reviewed tasks for the
review commands and approval rules. Direct --from import remains available
for manual use.
Check the area and select its next ready task:
zdev status scheduling --format json
zdev next scheduling --format jsonHarness workflows use zdev work-context to collect the selected task, branch
status, and Git changes in one payload, store snapshots for worker handoffs,
and compare them against fresh state before completion. See
Work-context snapshots for the snapshot commands.
Given only an area, zdev picks ready work by AFK suitability, priority, and numeric task ID. If you give the loop a focus, the harness reads all ready tasks and selects the best fit.
Activate the installed zdev skill and ask it to loop or set a goal for an area
(both words select the same route). Where the harness supports native
continuation, the skill proceeds one verified commit at a time; OpenCode and Pi
stop after one task and report CONTINUE when fresh ready work remains.
Configure an open research area with a measured baseline and executable
correctness and evaluator commands, then ask $zdev to run research in the
area within a stated scope. Codex and Claude Code have separate serial routes
that generate supporting tasks and hypotheses, run them on the current branch,
and read retained lessons before proposing further work. The default allowance
is 20 work attempts; asking to run until interrupted removes that default
while keeping any supplied targets, time limits, and command limits.
The coordinator sends candidates proposed for keep through independent verification and checks rejected results itself. Local experiment finalization retains candidate history, keeps or restores code, and commits the task's measured conclusion. An empty queue permits more scoped proposals, while target, budget, interruption, and shared blockers are distinct stop conditions. A fresh session resumes the same run and its remaining allowance from durable records. Ordinary Implement and Loop keep their normal behavior. See Serial research for requests, accounting, and recovery.
Codex and Claude Code also support an explicit rolling research request with separate worker and measurement limits. It refills free worker capacity while siblings prepare, starts each source from the current accepted code, and serializes acceptance on the destination; stale candidates reconcile and remeasure. See Rolling research.
After the harness implements and verifies a task, record the result and commit the staged changes:
zdev task done scheduling scheduling-001 \
--summary "Implemented and independently verified the scheduling model." \
--validation "Focused model tests passed."
git add <explicit-implementation-path>... \
.zdev/scheduling/tasks/001-add-the-scheduling-model.md \
.zdev/scheduling/TASKS.md
zdev commit -m "feat: add scheduling model"zdev task done records the supplied summary and validation without
implementing or reviewing code. zdev commit commits the existing Git index
and, for project and pull-request records, adds a stable Zdev-Change-Id
trailer. personal and shadow records keep zdev out of the main history.
A managed task-import commit (including a modified area brief when present) does
not interrupt the selected task; zdev considers the additions the next time you
run zdev next.
For a pull-request record, commit .zdev normally during review, then run
the following on a clean feature branch immediately before squash merge:
zdev cleanup squashThat creates one plain Git commit deleting only tracked .zdev files, with no
Zdev-Change-Id, while leaving checked-in harness integrations outside .zdev
intact. It prepares the final tree for a squash merge; a regular merge or
rebase that keeps the feature commits also keeps .zdev in reachable history.
The skill supplies contextual coding guidance across planning, implementation, and review. Shared guidance covers design, naming, contracts, control flow, and completion, and language or framework supplements load for the affected code. Project instructions and explicit user requirements govern how they apply.
Independent review checks readability alongside behavior. Required corrections must cite checked locations and concrete consequences; optional suggestions stay separate and do not block acceptance. Implementers check names and responsibility boundaries before claiming readiness, and reviewers assess them explicitly before passing a task; passing tests alone does not waive them. Ordinary implementation allows one correction pass and a focused recheck; if required corrections remain, the harness preserves the work and reports the decision needed to continue. The guidance also guards against death loops (repeated failed fixes, unchanged retries, or task splitting without implementation progress) by requiring a concrete change of approach on retry and stopping with preserved work if failure repeats.
Ask the harness for zdev review to review local changes, or specify a branch,
commit range, files, or code boundary. This read-only skill route works without
.zdev and reports checked findings, including naming and decomposition issues.
Use Verify to assess an explicit ready task for acceptance. (zdev review
is a harness request, not a binary subcommand.)
The skill is the normal way to use zdev from a coding harness; the same binary
installs it and both operate on the .zdev record.
Check or install a user-scoped skill for your harness:
zdev skill check codex --scope user
zdev skill install codex
# or: claude, opencode, pi, omp, agyUser-scoped skills work across repositories. To install one inside the current repository, initialize zdev first and use project scope:
zdev skill install codex --scope project --guidance autoProject installations place harness-native files under .codex, .claude,
.opencode, .pi, .omp, or .agents. Supported harnesses are Codex, Claude
Code, OpenCode, Pi, Oh My Pi, and Google Antigravity (agy).
Once installed, ask the harness to use zdev explicitly. The usual flow is:
- Explore an objective to build or revise the area's brief.
- Discuss the brief to test choices that could change scope, behavior, task boundaries, or validation.
- Create tasks to turn the agreed brief into task files for the binary to import.
- Implement the next ready task within the brief and task boundaries.
- Review and verify the task and diff with a separate agent in a fresh context, checking both the task requirements and repository standards.
- Complete the task and commit the accepted changes through the binary.
Improve surveys the codebase and proposes candidate work without creating tasks or editing production code, and Investigate answers one named uncertainty through research, diagnosis, or a disposable prototype. Both stay read-only until their result becomes part of an agreed objective.
The skill does not replace the task record or make design decisions for you; it gives the harness a consistent route through the brief, task selection, implementation, review, verification, and commit steps recorded by the binary.
Use zdev config to inspect project settings and choose worker models:
zdev config show
zdev config get project.trunk
zdev config set worker.codex.implementer gpt-6.1-sol high
zdev config unset worker.codex.implementerTasks may declare complexity as routine, standard, or advanced (omission
means standard). Routine work uses the routine implementer, advanced work
gets a read-only plan before its first edit, and every route uses a fresh
standard verifier.
Inside T3 Code, Codex and Claude Code coordinate workers through T3's MCP by
default. Name the route to pick worker harnesses: "Use zdev with T3
orchestration to loop through area scheduling, using Codex for implementation
and Claude Code for verification." Ask for native orchestration to opt out.
This route keeps the same task records and verification gates with sequential
T3-owned workers; goal/loop uses the main thread's visible T3 /goal to report
each phase while completion wakes deliver worker results, without using
Claude's packaged workflow. See T3 Code coordination for
installation and limits.
The companion zdev-area-report skill
researches an area and writes a report for readers who have not followed its
development, bundled with question prompts, MDX fixtures, and an Astro renderer.
Editable source and a self-contained HTML reading copy live together under
.zdev/reports/<area>/<date>-<name>/. Reports rely primarily on prose and
tables, with small JavaScript widgets available when interaction helps explain
a result.
This skill is available from this checkout and the Codex plugin's skills
directory, separate from zdev skill install. Its
generation guide describes
dependency setup along with the init and build commands.
The zdev skill adapts methods from three upstream skill projects:
- Matt Pocock's skills
cover discussion, exploration, task decomposition, implementation, research,
diagnosis, review, and codebase design. His
writing-for-agentsguidance also shapes how zdev writes briefs, tasks, context pointers, and worker instructions. The source is released under the MIT license, © Matt Pocock. - Cursor pstack's
unslopskill by Lauren Tan is built into zdev's shared guidance for human-facing prose. It favors concrete facts, plain active language, stable terms, and a final pass for generic or formulaic writing. The source is released under the MIT license, © Lauren Tan. - shadcn's Improve skill informs the read-only codebase survey, audit, vetting, and prioritization steps. Its license statement identifies it as MIT © shadcn.
The adaptations are self-contained references under skills/zdev/; zdev does
not load the upstream skills at runtime. See the adapted
methods for the source mapping and pinned revisions.
Zdev's own code and documentation are covered by the MIT license.
- User guide: the complete installation and first-run path
- Workflow reference: branch, verification, rebase, and recovery semantics
- Task format: the task-file contract
- Changelog: notable changes in each release
- Contributing: local checks and generated-file guidance
- MIT license
Run zdev --help or zdev <command> --help for command details.
cargo fmt --all -- --check
cargo clippy --locked --all-targets --all-features -- -D warnings
cargo test --locked
cargo build --locked
git diff --check