All Docs/How work flows through DevSpec

How work flows through DevSpec

From conversation to shipped code

01

Talk it through

Open a session about a feature, a bug or an idea, typed or spoken. Your teammates, Dev and your agents can all be in the same room.

02

Dev helps you decide

Dev reads your code, searches what your team has already decided and discussed, and gives you its own view. It never changes your code.

03

The work is written down

When the room agrees, Dev proposes tasks with acceptance criteria and records the decisions behind them. Nothing is recorded until you say so.

04

You hand it to your agent

Send the items to your Claude Code or Pi from the Tasks page or from the session. Your agent only works on what someone asks it to.

05

Your agent builds it

It reads each item, its acceptance criteria and the conversation it came from, works on its own branch, tags its commits and records what it did.

06

It ships

Your host deploys the change. DevSpec links the deploy back to the items it contains and shows it on the Delivery page.

07

You check it

Shipped items wait under Implemented on the Tasks page. An item finishes when someone verifies it, or on the evidence recorded against it.

08

The team hears about it

Notifications tell the right people when work is ready to check, and when a deploy fails.

DevSpec follows one loop: you talk a change through in a session, it becomes tasks with acceptance criteria, a person hands those items to an agent, the agent builds the change and opens a pull request, the change lands once it's cleared, your host deploys it, and someone checks it works. Because every step is recorded in the same project, the agent works from the whole discussion rather than a one-line ticket, and nobody has to chase what shipped.

This page explains each stage: who does it, and where you see it in the app.

The loop at a glance

StageWho does itWhere you see it
1. Talk it throughYou, your team and DevSessions
2. Record the work as tasksDev, when you say create them, or an agentThe session's Work tab, Tasks
3. Hand items to an agentA personAgent command on an item, Tasks → Hand off, or a session
4. Build, commit and open a pull requestYour agent, on your machineAgents (what each agent is holding), the item itself
5. Land the changeDevSpec checks the pull request; DevSpec merges it once cleared, or you doDelivery, under Waiting to land
6. DeployYour host; DevSpec links the deploy to the itemsDelivery, under Deployments
7. Check the workAnyone allowed to verify, or recorded evidenceTasks, under Implemented; Changelog
8. DoneDevSpec, when someone signs it off or the evidence settles every criterionTasks, Changelog

Stages 1 and 2 need only a project. Stages 3 to 5 need an agent connected and a repository for it to work in. Stage 6 needs a deployment target; without one, finished work is ready to check once it has merged.

Dev never edits code, commits, pushes or starts an agent. Your agent never marks work done. Those limits are what keep a person in charge of what gets built and what counts as finished.

Talk the change through in a session

Work starts in a session, a conversation room inside the project where your team, Dev and your agents can all take part. Type or speak, and bring in whoever the decision needs.

Dev reads your code, searches the project's tasks, memories and past sessions, checks your database schema and logs when those are connected, and looks things up on the web. It gives you its own view, including trade-offs you may not have considered, so the plan is grounded in how your code works today.

Deciding here rather than in a chat app matters later. The whole conversation stays with the project, so when an agent starts the work it can read why the change is wanted, what was considered and what was ruled out, not only what to build. Decisions worth keeping beyond the conversation can be recorded as memories, which every later session and agent can find.

See Sessions and Dev, your assistant in sessions.

Record the work as tasks with acceptance criteria

When the room agrees what to build, ask Dev to write it up. Dev proposes the tasks and waits until you tell it to create them. An agent in the room can record items too.

Each task carries:

  • an intent: why the work matters
  • a description: what to do
  • acceptance criteria: how you'll know it's done

Related items are grouped under a brief, which completes when its items do. The criteria are what the agent works towards and what the check at the end is measured against, so it's worth reading them before you hand the work over.

New items appear in the session's Work tab, linked back to the conversation they came from, and on the project's Tasks page. See Tasks.

Hand the work to an agent

A person always decides when work starts. Nothing is sent to an agent because it's connected or idle: an agent works only on the items someone asks it to, plus any background jobs its owner has switched on, such as checking new work or fixing a failed deploy. Dev can't hand work over either; it points you to the options below.

You can hand items over in four ways:

  • From one item: choose Agent command (the terminal icon), then Send to an agent and pick an agent. DevSpec opens a session and delivers the request there. Or use Or copy a command and paste it into your agent's terminal.
  • Several at once: on Tasks, choose Hand off, tick the items (or use Pick a parallel set to select items that can safely run side by side), then Send to agent.
  • In a session: bring the agent into the room, pick it in Send to and ask it to work on the items.
  • In your agent's terminal: ask it to work on the items by name.

The agent marks the items it takes so other agents skip them. On the item you'll see Reserved for the agent while it waits and Working once the agent has started. If the agent goes offline before starting, the item shows Held by reserving agent · connection unavailable and Release frees it. See An item is stuck as Reserved by an agent that went offline.

New agents default to Only you, and you can open an agent to Anyone on the project or Chosen people so teammates can talk to your agent and bring it into their sessions while it's idle. See Working with your agents.

How your agent builds and pushes the change

Your agent (Pi, Claude Code or Antigravity CLI) runs on your machine. For each item, it:

  1. reads the item, its criteria and the conversation it came from
  2. works in its own copy of the repository on a new branch, so your checkout is untouched
  3. commits with the item's tag, [devspec:<id>], so DevSpec can link each commit to its item
  4. pushes its branch and opens a pull request into the repository's tracking branch
  5. records what it did and the evidence for each criterion, then stops at Implemented

The Agents page shows which agents are connected and what each is holding under Work in flight.

What happens to the branch

Each repository's Tracking branch is set in Project settings → Repositories, and it's pre-filled with the repository's default branch. Your agent never pushes straight to it: every change, however small, goes on its own branch and into a pull request. DevSpec publishes its check on that pull request, holding it if checks are still running, a conflict needs someone's OK, a requirement or criterion failed, or commits have no linked task. Open pull requests appear under Waiting to land on Delivery until they merge.

DevSpec merges a pull request for you once it's cleared: DevSpec's check, any required approvals and all required GitHub checks have passed. This is Merge when cleared. Merge when cleared by default (under Project settings → Repositories) is on unless a Maintainer turns it off, and you can still switch it off or on for any single pull request, which also shows who switched it on. DevSpec never merges work that is waiting for someone's OK or for its checks. With it off, you merge pull requests yourself on GitHub.

The repository's card also walks you through protecting the tracking branch on GitHub, so every change has to go through a pull request with DevSpec's check. A separate staging branch lets you try changes before promoting them to production. See Repositories and GitHub.

When a change needs someone's OK

New work is checked against decisions the project has already made and against its requirements, the promises the product must always keep. If it would undo someone else's protected decision or break a requirement, the item shows what it waits for. See Requirements. Your agent can build and push it on its own branch while you discuss it, but doesn't merge it into the tracking branch, and on a protected tracking branch DevSpec's check keeps it from merging. If someone merges it by hand on an unprotected branch before the check finishes, the check still completes and raises what it finds on the work that landed. When the clash is a mistake in the code, the agent fixes it on its branch and DevSpec checks it again, with no OK needed.

Open the linked question to see the decision, the work that would change it, and who can answer. The answers, and what each one means for the decision, are in Review. You can also ask Dev or your agent to record your answer in conversation.

An Experiment lets you try an approach on its own branch before asking for it to land. Neither an experiment nor work waiting for an OK reaches Done until the approvals are in place and it has landed. See Review.

How deploys are linked back to your items

Connect your host under Project settings → Integrations → Deployment targets. DevSpec supports Vercel, Coolify and deploys made by a GitHub workflow, with Railway and Render in Beta. Each deployment target belongs to one repository and follows its tracking branch.

When your host deploys, it notifies DevSpec (or, for a GitHub workflow, GitHub records the deploy), and DevSpec links the deploy to the tasks it contains using the commit tags. You see every deploy under Deployments on the Delivery page. When a deploy that contains an item succeeds:

  • the item's assignees (or, if it has none, the person who created it) can be notified that it's live and ready to verify; each person turns this on under Deployments → Successes in Settings → Notifications
  • the item shows the successful deploy in its Linked activity, live and ready to check
  • if the agent never recorded its work, the successful deploy moves the item to Implemented anyway

For Coolify, add your Coolify instance's base URL and an API token with read access to the target so DevSpec receives the exact deployed commit, because branch timing alone never proves a task is live. Vercel sends deploy notifications only on its Pro and Enterprise plans.

See Delivery and Commit tracking.

When a deploy fails

DevSpec doesn't retry or roll back deploys; your host stays in charge of that. What DevSpec does is make the failure visible and get it back to someone who can fix it:

  • The failed deploy shows on the Delivery page with its linked items.
  • When the latest deploy on a target has failed, the project Overview lists it under Blocked or happening right now as Deployment failed, with the commit message.
  • When the target has an API token that can read build logs, DevSpec attaches an excerpt of the log to the linked item's activity. Without one, the item notes that the build logs were unavailable, and you check your host directly.
  • If the agent whose change broke the deploy is still connected, DevSpec tells it straight away so it can fix its own work. Otherwise DevSpec opens a deploy-failed incident under Incidents on Delivery, which your team's agents pick up if their owners have switched on incident handling. See Incidents.

You can also hand it over yourself: open the failed deploy on Delivery. For a linked item, its Agent command offers Fix build, which you can send to an agent or copy. For a deploy that isn't linked to any item, choose Copy fix-build prompt and paste it into your agent. Once a later deploy succeeds, the item is ready to test again.

Repositories without a hosted deploy

Not every repository ships to a host. A library, a command-line tool or anything you release by hand has no deploy for DevSpec to watch, and that's fine.

Each repository has a Delivery signal setting on its card in Project settings → Repositories:

  • Live deployment: pushing to the tracking branch deploys a live app or service. Once the repository has a deployment target, work counts as shipped when the deploy succeeds.
  • Merge only: work is complete once it's merged into the tracking branch, with no deployment or release step to wait for.

For any setting other than Live deployment with a connected deployment target, merging into the tracking branch is what DevSpec waits for. In a project that has a deployment target, an implemented item's page says when the last deploy went out, so nobody checks work that hasn't shipped yet.

Check the work

Implemented work waits under Implemented on the Tasks page. Open an item and its page has everything the check needs: what changed, its acceptance criteria, How to check steps, and where its deploys landed.

When you've tried it, record what you found in the item's Verification section:

  • Confirm acceptance criteria one by one as you check them. When every criterion is settled, the item moves on by itself.
  • Manual sign-off marks the item verified as a whole, without every acceptance criterion being confirmed.
  • Flag an issue asks what's wrong; add your note (and a screenshot if it helps) and press Send back. The item stays Implemented with your note and an attempt count, and is free for another round. Nothing is sent to an agent until someone hands the item over again: its Agent command then offers Fix this, which points the agent at your feedback.

See Sign off work, or flag an issue.

By default, the project lead and Maintainers can give a Manual sign-off, and Contributors can flag an issue. To choose exactly who can sign work off, open the project's Members page and set Who can verify. The same rule applies wherever a verdict can be recorded: on the item's page, to Dev in a session and to your agents. See Who can verify work.

How an item reaches Done

Once an implemented item's automated checks (Waiting for its checks), any required approvals, manual follow-up steps and, unless the item is marked No code, merged code on the tracking branch (and live deployment when tracked) are all complete, it reaches Done in one of two ways:

  • Someone signs it off, with Manual sign-off on the item.
  • The evidence settles it. When every acceptance criterion has been checked and the result recorded, by your agent, by Dev running the check or by a person confirming it, the item moves to Done by itself.

Your agent records its work and evidence, but it never marks work done. A brief is never verified directly: it completes when its items do. If an item was verified by mistake, Re-open next to its verified stamp takes it back. Shipped items appear on the Changelog page (choose Verified only to see just the finished ones), and opening one shows its commits and notes. See Changelog.

What the loop costs

Your agent's model usage is billed by its own provider, under your own subscription or API key, not by DevSpec.

DevSpec charges your organization's prepaid balance, in dollars, for the work it does in the loop: Dev's replies in sessions (these count toward each person's personal allowance, if one is set), and the background work of indexing your code and reading your commits and deploys. Posting to a session room is free, a Dev reply you stop isn't charged, and the first full index of your organization's first repository is free. See Billing, usage and limits.