DocsThe product

Tasks and task folders

A task is one piece of work, and it lives in one folder of plain files. You describe it in your own words, the planner writes a plan for you to accept, and agents work through the task's steps until it ends in an outcome you can check. This chapter covers how a task starts, what the folder holds and what each state means.

Starting a task

Press the green Submit new task button in the title bar, or ⌘N anywhere, and say in a sentence what you want done and in which project. Grid saves your words as they are and starts a planner session.

WAY IN WHAT HAPPENS
Submit new task The task starts now. The planner session opens and Home shows it as running.
Inbox, Turn into a task An item you collected earlier becomes a task. See Inbox.
Inbox, Add to a task The item joins a task that already exists, so related work stays in one place.
The phone The same sentence, typed in the hosted app.
A signal Mail, a Slack message or a failing check lands in the Inbox first and becomes a task when you say so.

The phone, mail and Slack signals need a Grid account and a connection; see getting started.

The task folder

Every task is a folder under the project, and every file in it is one that you can open in any editor:

$GRID_HOME/projects/<project>/tasks/T-01-slug/
  intent.md       what you asked for, in your own words
  task.md         the state Grid reads
  plan.md         the plan the planner wrote
  research.md     what the planner learned
  spec.md         the spec, for large tasks only
  questions/      one file per person, with the questions asked of them
  subagents/      one brief per piece of work given to an agent
  artifacts/      files the task produced
  evidence/       proof: test output, screenshots, logs
  memory/         what the task learned
  views/          plan.html, progress.html, result.html, questions.html
  history.md      one line per event, append only

Grid writes task.md, the approvals and the answers. Agents write the plan, the research and the briefs, and each file has one writer, so two sessions cannot overwrite each other.

What task.md says

The front matter is the state Grid reads:

KEY MEANING
id, title, project The task's number, name and project.
owner The person the task belongs to.
source Where it came from: idea, signal, note or task.
size small, normal or large. Small tasks keep the plan inside task.md; large ones also get a spec.md.
workflow The task's own steps, 2 to 6 of them, each with a kind. See workflows.
step, round Where the task is now, and how many times it has gone round.
status running, waiting, queued, stuck, reworking, pausing, paused or closed.
summary, next, needs One status sentence, what happens next, and who or what it waits on.
outcome, due, updated The result once there is one, when it is due, and when it last changed.

What the states mean

STATE WHAT IT MEANS FOR YOU
Running An agent is working. Nothing is needed from you.
Waiting A gate or a question is open. Home lists it with how long it has waited.
Queued The task is ready and its machine is busy or offline.
Stuck The step failed and the planner retried twice. Now it is yours, and Home shows the reason.
Reworking You sent the plan or the result back, and the planner is starting another round.
Pausing, Paused You asked for a pause. Pausing lets the planner finish its step.
Closed The task ended in an outcome, or someone stopped it.

Stop, reopen and comment

Stop ends a task now, after you confirm. Nothing is deleted: task.md reads closed, with "stopped by" and your name, and Undo restores the earlier state for 10 minutes. Reopen sends a finished task back to its first step as a new round. A comment on one chapter of a plan comes back as a question with two options, so the planner answers it in the same format as everything else.

The outcome

A task ends in a result page that shows what changed, before and after, and the checks that passed. Approve is one look and one click, and Grid turns it off while a check fails or a to-do stays open. See plans, outcomes and approvals.