A task is one piece of work in a project: a feature, a bug, or a general task. The agent writes a spec.md (what and why) and a tasks.md (the build steps) with you. You approve them. Then the agent builds it and opens a pull request. One task can have several sessions.
The examples on this page add a “search bar” task to the sample Project Mobile project (key MOB) from Create a project.
Before you begin
- You have access to the project. See Access and scope.
- Your Git provider is connected in Integrations, so the agent can open pull requests with your connection.
tasks.mdneeds at least one step before the spec can be approved. The agent writes the steps with you.
Step 1: Add a task
- Open the project. The task list has three tabs: Mine (open tasks assigned to you), Active (open tasks), and Done (done and canceled tasks).
- Select + New task.
- Choose the type: feature, bug, or task. The type sets the task id prefix:
FEAT-,BUG-, orTASK-. - Enter a Title, for example
Add search bar. - Enter a Description: what you want and why. For a bug, say what happens, what should happen, and how to reproduce it. The agent reads this to write the spec.
- Optional: select Attach files to add screenshots or logs.
- Optional: set Priority and Assignee. You are the assignee by default.
- Select Create & open a session to start working at once, or Create to add the task only.
Result: the task gets an id such as FEAT-0001, with status To do. With Create & open a session, the task opens with a new session.
Step 2: Write the spec
The task page shows the workspace in the middle and the session’s chat on the right. The Spec tab is first. It has a switch between spec.md and tasks.md, with Edit, Split, Preview, and History views.
Talk to the agent in the chat: what to build, which files to touch, how to test it. The agent writes spec.md and tasks.md as you talk, and you can edit them yourself.
Until you approve the spec, the agent can read and run the code, but it makes no code changes and opens no pull request.
The task header has:
| Part | What it does |
|---|---|
| Task id and title | The breadcrumb Project › FEAT-0001 Title. |
| Status ▾ | Set the task’s status. You choose it. The agent never changes it. |
| Assignee | Who owns the task. |
| Spec state and Approve spec | The spec shows as Draft, Approved, or Changed since approval, with a switch to approve it. |
| Sessions ▾ | Switch to another session of the task, or select New session. |
Set Status ▾ to Spec while you write the spec, and to In progress when building starts. The status is only a label. Approval is separate.
Step 3: Approve the spec
- In the task header, switch on Approve spec.
- In Approve the spec?, check what you are approving, and select Approve Only or Approve and Start.
The switch is dimmed until tasks.md has at least one step. Only a person can approve, never the agent. Anyone with access to the project can.
Result: the spec shows Approved. One approval covers spec.md and tasks.md as they are now. The agent can now change code, tick off steps, and open a pull request.
Changes that keep or end approval
These keep the approval:
- Ticking a step in
tasks.md. - Editing the Notes in
spec.md. - The agent adding a step during the build, marked (added).
Any other change ends it. For example, editing spec.md outside Notes, or removing or rewording an approved step. The spec then shows Changed since approval, and a notice under the tabs says the agent waits until you turn Approve spec on again. Your status stays as you set it.
To take approval back yourself, switch Approve spec off.
If you save a file that someone else saved first, you see a conflict message with Reload. Your text stays in the editor so you can copy it, then reload the saved version.
Step 4: Build with the agent
Send the agent a message such as “The spec is approved. Build it.” The agent works through tasks.md, ticks the steps, and opens a pull request. The Spec tab shows progress, for example 3/7.
Result: when a task session opens a pull request while the spec is approved, the task moves to In review on its own. Open pull request appears under the tabs. The task list row shows the pull request, and PR merged once it is merged.
While the task is In review, send the agent the review comments. It pushes to the same branch and pull request.
Step 5: Merge and close the task
- Merge the pull request in your Git provider.
- In the task, set Status ▾ to Done.
Result: the task is Done. A merged pull request shows PR merged, but it does not close the task. You close it. Use Canceled for work you stop on purpose.
A Done or Canceled task is read-only, and the agent only answers questions in it. Choose another status to reopen it.
Statuses
| Status | Use it when |
|---|---|
| To do | The task is created. |
| Spec | The spec is being written or revised. |
| In progress | The task is being built. |
| In review | A pull request is open. Set automatically when a session opens one after approval. |
| Done | The work is finished. |
| Canceled | You stopped on purpose. |
Sessions
A task can have several sessions, for example one to write the spec and one to build it. Each session has its own chat and its own branch, named bc/<session id>-<slug>.
- To start another session, select Sessions ▾ › New session.
- To switch, select Sessions ▾ and choose one. The workspace and chat follow.
Share files with the agent
- In a message: attach a file in the chat. In a task session it is also saved to the task’s files.
- Task files: open the Files tab on the task page, select Add, and choose To this task. Every session of the task can read it.
- Project files: select Add and choose To the project. Every task of the project can read it.
The agent lists the saved files at the start of each run and opens them when it needs them. Ask it by name: “Read the crash log in the task files.” The agent saves a file to the task only when you ask.
See Manage a project for limits and how to move or remove files. A file you remove is no longer seen in future runs.
Archive or restore a task
Archiving takes a task, and its sessions, out of the lists. Its files become read-only and the agent only answers questions in it.
- On the project’s task list, select ⋯ on the task’s row.
- Select Archive…, then Archive in the dialog. Or select Keep it to cancel.
To find an archived task, turn on Show archived. Open it and select Restore, or choose ⋯ › Restore on its row.
Best practices
- Keep the description short and clear. The agent writes the first draft of the spec from it.
- Review
tasks.mdbefore approving. Small, ordered steps are easier to check. - Approve only when the spec is final. Edits to
spec.mdoutside Notes need a new approval. - Keep to one session at first. Open another when you want a separate branch.
- Answer review comments in the same task, so they reach the same pull request.
Troubleshooting
| Problem | What to do |
|---|---|
| The project shows Projects are off for your organization. | An organization admin must select Turn on projects (admins). |
| There is no + New task. | You don’t have access to the project, or the project is archived. |
| Approve spec is dimmed. | tasks.md has no steps yet, the task is Done or Canceled, or it is archived. Ask the agent to write the steps. |
| The agent says it can’t change code or open a pull request. | The spec is Draft or Changed since approval. Approve it. |
| A notice says Spec changed since approval. | Someone changed the spec beyond ticks and Notes. Read the change, then turn Approve spec on again. |
| You see a conflict message when you save. | Someone saved first. Select Reload, then apply your change again. |
| The task did not move to In review. | It moves only when a task session opens the pull request after approval. Set the status yourself if needed. |
| A task’s files or spec can’t be edited. | The task is Done, Canceled, or archived. Restore it or choose another status. |
| The agent says a project is read-only. | An admin set projects to read-only. Writes are refused until it is turned back on. |