lazy documentationv0.94Contents

Take your first task from creation to accept in the dashboard

By the end of this tutorial you will have created a task in lazy's browser dashboard, watched an agent do the work, and accepted it, all without leaving the browser. The screenshots come from a small sample project, so your task's name and the agent's report will differ.

Prerequisites

1. Open the dashboard

From your repository, run:

lazy dashboard

lazy asks the daemon for a one-time login link and opens it in your browser. You should land on the dashboard, with a navigation bar that includes Dashboard, Clusters, Tasks, Review, Raised, Builders, Scratch, Settings and Inbox.

The lazy dashboard on opening: counts of tasks by status, an activity chart and resource usage, under a navigation bar with Dashboard, Clusters, Tasks, Review, Raised, Builders, Scratch, Settings and Inbox.

If no browser can be opened (for example over SSH), lazy prints the link instead. Open it yourself; it works once. Run lazy dashboard again for a new one, or lazy dashboard --print to print one deliberately.

2. Create and start a task

A top-level task merges into your repository's default integration branch (origin/HEAD, or main if that is not set), not the branch you happen to have checked out. A subtask merges into its parent task. In the New task form, the Parent field sets this: leave it blank for the default integration branch, enter a task code to make a subtask, or a branch name to target that branch. From the command line the same choice is lazy create --parent <branch>.

  1. Click Tasks in the navigation bar, then New task.
  2. Fill in Goal, for example Add a gift-card payment option, and Prompt, for example Let a shopper pay part of an order with a gift card. Reject unknown card numbers..
  3. Leave Parent blank and the other fields on their defaults. Code is filled in from the goal if you leave it blank.
  4. Tick Start now. Without it the task lands in the backlog, and you start it later with Start on its page.
  5. Click Create task.

The New task form with Goal and Prompt filled in and the Start now box ticked, above the Create task button.

You should see a dialog titled "Starting task" narrating the launch, and then the task's page.

The task's page right after starting: status working, with Stop, Close, Edit task, New subtask and Watch available, and the Summary tab showing Working.

3. Watch it work

The task's page shows its status; while the agent works it reads working. You can leave the page open or come back later: the task shows up under Tasks, and under Review once it needs you. While it works, Stop halts it.

4. Look at what it did

When the agent finishes its turn the status becomes blocked, meaning it is waiting for you. Open the task. Its Summary tab shows the agent's report.

The same task once it has finished: status blocked, a Go to Current review button, and the agent's report on the Summary tab.

Click Current review (or Go to Current review). The review page lists what stands between the task and accept, any comments you have queued and questions you have asked, and the buttons to act on it. The agent's report is on the Summary tab and the diff on the Changes tab.

The Current review tab: what stands between the task and accept, queued comments, and the Unblock, Ask, Accept and Submit buttons at the bottom, with Reject and Sync below them.

Read the changes. If you want to understand a choice, click Ask and type a question; the agent answers without changing any code.

5. Give feedback (optional)

If something needs changing, click Unblock, type what the agent should do next in the box, and click Unblock in the dialog. The agent resumes and carries your feedback; when it finishes, review again.

The Unblock dialog with feedback typed into its box and an Unblock button.

6. Accept

When you are happy, check that the destination is the one you chose in step 2: the Accept dialog says only that it merges into the parent, and for a subtask the task's Parent link shows which task. Then click Accept. A dialog asks for an optional reason; click Accept to confirm. If your project protects the target branch, the dialog also asks for your approval passphrase (see Protected branches). The work is merged into the task's target (here, the default integration branch you left Parent blank for), and the task's status becomes complete.

The Accept dialog: an optional Reason box and an Accept button.

The task after accept: the badge reads accepted, the Outcome section shows when it was accepted, and Clone and Reopen are the remaining actions.

What next