Skip to content

Areas and briefs

An area keeps everything belonging to one objective in one place: the agreed brief, the tasks, and the record of completed work. The objective can be a concrete feature or an open question whose answer will decide what to build.

“Make query evaluation faster,” for example, is a reasonable starting point for an area, even though it is not yet a task. Before writing code, you still need to decide which queries matter, what behavior must stay compatible, and how you will measure whether a change helped.

In your coding-agent chat, ask the agent to explore the objective:

Use zdev to explore an area named evaluation. We want query evaluation to
be faster, but do not yet know where the time goes. Preserve the language
and query results. Help define the scope and useful evidence first.

The agent inspects the codebase and drafts the brief with you, reading facts from the repository and asking about choices that need your judgment instead of locking in the first plausible design.

A brief typically covers:

  • the outcome you want and what counts as success;
  • the boundaries, including behavior that must stay unchanged;
  • decisions already settled alongside questions that remain open;
  • the testing and validation suited to the change.

Give the next agent enough context to make sound decisions without trying to predict every file or implementation detail up front.

The evaluation area lives under .zdev/evaluation/:

.zdev/evaluation/
area.toml
brief.md
TASKS.md
tasks/

Here brief.md holds the shared decisions, individual files under tasks/ define the work, TASKS.md is generated from them, and area.toml records branch binding and lifecycle state. Research areas also store evaluation settings and experiment evidence, covered in the research walkthrough.

Whether these files stay local to your clone, travel in their own shadow repository, or get committed with the project depends on the repository’s record policy (see Make a small repository and the record-policy reference). Source commits follow your usual Git workflow regardless of how .zdev is stored.

Keep decisions that share compatibility or measurement rules in one area. A performance objective often combines profiling, benchmark setup, and several experiments; keeping them together means every task sees the same constraints.

Start a separate area when an objective has independent boundaries. A new language feature does not belong inside an area whose brief promises to preserve the language as is. For ideas you are not ready to shape into an area yet, drop a note under .zdev/_notes/.

By default, an area created on the project trunk follows that trunk, so several areas can share it while keeping task ownership distinct. Creating an area on a feature branch (or using a pull-request record) binds it to that branch instead. See the branch reference for the full rules; while working, follow the checkout and branch the agent reports.

An area can outlive a task or conversation

Section titled “An area can outlive a task or conversation”

An area often starts with discussion, produces a handful of tasks, and then evolves as new evidence comes in. Keep brief.md aligned with current decisions, and store reusable reference material under background/ linked from the brief when later tasks need it.

Finishing every task in the queue leaves the area open so you can judge whether the objective itself has been met. An experiment that rules out one optimization is a completed task, even when the wider performance goal is still open.

Next, read Tasks and completion to see how an area brief turns into work an agent can implement and verify.