Your first task
Take one task from a one-line idea to a validated branch in the desktop app, with the matching CLI command next to every step and a final review.
This is where you see Astranize do its job. You write one sentence about a change you want, approve the plan an agent writes for it, and come back to a branch and a final review: a summary, the code and the criteria, with a guide to test it by hand. You make two decisions along the way, and Astranize does the rest.
The example adds a search box to the notes app. Every step shows how to do it in the desktop app first, and the matching CLI command in the CLI tab, for when you script it. Both read the same data, so you can mix them: create a task in the terminal and validate it in the app.
Before you start
Section titled “Before you start”Check these before you create the task. Each one takes a minute, and each one is a common reason a first task stops halfway.
- You have the
notesworkspace from Your first workspace, and the app shows it. Pick it in the workspace menu at the top left, or open the app withASTRANIZE_WORKSPACE=notes pnpm dev. - The CLI of your agent works and you are logged in. Today that is
claude --versionfor Claude Code. The agent steps call it, and real runs spend tokens on your account. - The video is optional and the default flow has no video step, so there is nothing to set up for it. If you added a
videostep, thewebrepo needs Playwright with a Chromium browser (npx playwright install chromium), and your app must answer at thevideo.base_urlyou set. See Proof video. - The
webrepo has a commit onmain. Tasks branch from it.
If you follow the CLI tabs, astranize is the alias from Installation, and ASTRANIZE_HOME is not left pointing at a temporary folder. Every command takes --workspace notes. Task ids look like t-0001, and decision ids like D-1.
Create the task
Section titled “Create the task”Start by telling Astranize what you want, in your own words. You need a short title and a description. You don’t need a detailed spec: writing that is the ideator’s job.
On the Tasks board, click New task. Write the title, “Search notes”, and the description, “Add a search box to the notes list”, then click Create task.
The task appears as a card in the Ideating column, marked “Waiting to ideate”. It is on the board, but nothing has run yet.
The dialog also has an Advanced section. Leave it closed for now: “Left alone, the task follows the workspace commits.” It is where one task can commit differently from the rest of the workspace, for example never, so its changes stay uncommitted in the worktree. Commits explains the four fields.
Made a typo? Open the task and click Edit. The title changes at any time, and the description until you approve the spec.
astranize create --workspace notes --title "Search notes" --description "Add a search box to the notes list"{"type":"task_updated","task":{"id":"t-0001","title":"Search notes","namePrefix":"astra","status":"backlog","currentStep":null,...}}Astranize created task t-0001 with status backlog, which means it is on the board but nothing has run yet. This first command also started the daemon in the background, so you never have to start it yourself.
Both options are required. Leaving out the description gives Missing required option --description. To give this one task its own commit policy, add --commit '{"when":"never"}', and to fix the title later, run astranize edit t-0001 --workspace notes --title "...".
Let the ideator write the spec
Section titled “Let the ideator write the spec”Now hand the task to the ideator, the agent that reads your repo and turns your sentence into a plan. It writes the spec, the acceptance criteria the rest of the work is held to, and any questions it needs you to answer.
Click the play button on the card. The card changes to “Writing the spec and criteria” while the ideator works. You can also open the task and click Ideate.
With real agents this takes a few minutes. When it is done, the card moves to the For you column with “Answer 1 question and approve the spec”, the “need you” counter in the top bar goes up, and a desktop notification tells you the spec is ready.
--follow keeps the command open and prints what happens until the step ends.
astranize ideate t-0001 --workspace notes --follow{"type":"queued","taskId":"t-0001","position":1}{"type":"step_started","taskId":"t-0001","step":"ideator","cycle":0,"at":"2026-11-20T02:13:58.094Z"}{"type":"task_updated","task":{"id":"t-0001","status":"waiting_you","currentStep":"approval","repos":["web"],"acceptanceCriteria":[{"id":"AC-1","text":"A search box appears above the notes list","proof":["unit","manual"]},{"id":"AC-2","text":"Typing filters the list by title","proof":["manual"]}],"questions":[{"id":"Q1","text":"Should the search also match the note body?","why":"Body search is slower on large lists.","options":["Title only","Title and body"]}],...}}{"type":"decision_opened","taskId":"t-0001","decision":{"kind":"approval","title":"The spec for Search notes is ready","context":"1 questions and 2 acceptance criteria.","id":"D-1","status":"open",...}}{"type":"step_finished","taskId":"t-0001","step":"ideator","cycle":0,"outcome":"passed","at":"2026-11-20T02:13:58.151Z"}Here is what those lines say, top to bottom:
- The task entered the queue and the ideator started.
- The ideator wrote two acceptance criteria,
AC-1andAC-2. - It also asked one question,
Q1, with the options it sees and why it matters. - The task is now
waiting_youat theapprovalstep, and an approval decision,D-1, is open for you.
Without --follow, the command prints {"type":"queued","taskId":"t-0001","position":1} and returns right away; the work goes on in the daemon either way. The full spec is a plain markdown file at ~/.astranize/workspaces/notes/runs/t-0001/spec.md.
In this example the ideator wrote two acceptance criteria, AC-1 “A search box appears above the notes list” and AC-2 “Typing filters the list by title”. Each one says how it will be proven: by a unit test, an integration test, or by hand (manual, the default when the flow has no video step). With the video add-on, it can also be video. It also asked one question, Q1: “Should the search also match the note body?”, with the options “Title only” and “Title and body”.
Answer and approve the spec
Section titled “Answer and approve the spec”Read the spec before you approve it: this is your chance to fix the plan before any code is written. If it looks right, answer the questions and approve it.

Click the card to open the task. The overview shows the spec, the original request and the criteria, with the notice “Answer 1 question and approve the spec” at the top. Click Answer.
A panel opens with the spec and the questions. Pick “Title only” for Q1, or write a different answer, then click Approve. The app takes you to the task’s session, and the work starts.
--answers takes a JSON object that maps each question id to your answer.
astranize approve t-0001 --workspace notes --answers '{"Q1":"Title only"}' --followApproving closes decision D-1 and puts the task back in the queue to be built. Keep the command open for the next section.
A question id the spec doesn’t have gives Unknown question id: Q9. If you want the task to touch fewer repos than the ideator picked, add --repos web.
You don’t do anything else to start the work: from here the developer, your checks, the reviewer and the summary run one after another.
Or ask for changes
Section titled “Or ask for changes”If the spec is wrong or missing something, send it back instead of approving. The ideator runs again with your comment and asks for your approval again when it is done.
In the approval panel, click Request changes, say what to change, and click Send request.
astranize adjust t-0001 --workspace notes --comment "Also match tags"Watch it run
Section titled “Watch it run”The task now goes through the developer, your gates, the reviewer and the summary. You don’t have to watch, but the first time it is worth it.

The session shows each step as it starts and finishes: the developer reading and editing files, your npm test gate passing, the reviewer reading the diff, the summary agent writing. The Summary panel on the right shows the current step, the cycle, the returns and how many criteria have a test and a reviewer approval.
The box at the bottom sends the agent an instruction, which it picks up on its next turn. Send instructions mid-run covers it. Stop at the top right stops the run.
The Commit pill under the box shows when this task commits its work, “Per cycle” by default: one commit on the task’s branch after every developer cycle. Pick Per task to get a single commit when you approve the validation, or Never to keep the changes uncommitted. On a running task the change applies from the next cycle, and Workspace default puts the task back on the workspace’s policy.
You can close the session, or even the app. The task keeps running in the background, and its card on the board shows where it is, such as “Gates for cycle 1”.
The --follow stream from approve shows each step as it starts and finishes. Trimmed to the main events, it looks like this:
{"type":"decision_resolved","taskId":"t-0001","decision":{"id":"D-1","kind":"approval","answer":{"optionId":"approve"},...}}{"type":"queued","taskId":"t-0001","position":1}{"type":"step_started","taskId":"t-0001","step":"developer","cycle":1,"model":"sonnet",...}{"type":"step_finished","taskId":"t-0001","step":"developer","cycle":1,"outcome":"passed",...}{"type":"step_started","taskId":"t-0001","step":"gates","cycle":1,...}{"type":"gate_started","taskId":"t-0001","cycle":1,"repo":"web","name":"tests","command":"npm test"}{"type":"log","taskId":"t-0001","step":"gates","cycle":1,"stream":"stdout","line":"> node -e \"console.log(1)\""}{"type":"gate_result","taskId":"t-0001","cycle":1,"result":{"repo":"web","name":"tests","command":"npm test","status":"passed","exitCode":0,"timedOut":false,"durationMs":377,...}}{"type":"step_started","taskId":"t-0001","step":"reviewer","cycle":1,"model":"opus",...}{"type":"step_finished","taskId":"t-0001","step":"reviewer","cycle":1,"outcome":"passed",...}{"type":"step_started","taskId":"t-0001","step":"summary","cycle":1,...}{"type":"step_finished","taskId":"t-0001","step":"summary","cycle":1,"outcome":"passed",...}{"type":"decision_opened","taskId":"t-0001","decision":{"kind":"validation","title":"Validate the delivery of Search notes","context":"2 acceptance criteria to validate.","id":"D-4",...}}Decision ids count up within a task, so the number in your run may differ.
Closing the terminal only stops the stream; the task runs in the daemon. Come back to it any of these ways:
astranize status t-0001 --workspace notesprints the task once. Look atstatusandcurrentStepto see where it is.astranize list --workspace notesprints one line per task that isn’t archived.astranize events --workspace notesstreams every event of the workspace, for all tasks, until you press Ctrl+C. It starts with aqueue_updatedline that shows what is running and how much room the machine has.
Read it as a story. The developer implemented the spec in its own worktree, and Astranize committed that cycle’s work to the task’s branch. Your npm test gate ran there and passed. The reviewer read the diff and approved it. The summary agent wrote what was done and how to test it. Then the task stopped to wait for your final review.
If a gate had failed or the reviewer had rejected the change, the task would go back to the developer for a new cycle. That happens by itself, up to 3 times.
When an agent asks you something
Section titled “When an agent asks you something”Your first task may run straight through, but sooner or later an agent will need something only you know, or a task will get stuck. When that happens, the task stops with a decision: a short question with options to pick from, each with its consequence and one marked as recommended.
The card moves to For you with “Answer the Dev’s decision”, and a desktop notification appears. Open For you in the side rail, pick an option on the card, and click Confirm. The task goes back to running and the agent continues with your answer.
A task that got stuck, for example after going back to the developer more than 3 times, shows up in the same place with the options Try again, Request changes and Archive.
decisions lists the open and resolved decisions of the workspace, or of one task with --task. In this example, the developer on a second task asked where to put a button:
astranize decisions --workspace notes --task t-0002{"type":"decisions","decisions":[{"id":"D-1","kind":"approval","status":"resolved",...},{"id":"D-2","taskId":"t-0002","kind":"agent","step":"developer","cycle":1,"title":"Where should the pin button go?","context":"Each note row has a menu and a hover toolbar.","options":[{"id":"O-1","label":"Hover toolbar","consequence":"One click, visible on hover.","recommended":true},{"id":"O-2","label":"Row menu","consequence":"Two clicks, always reachable."}],"allowFreeText":false,"urgency":"blocking","status":"open",...}]}Answer with the option id, or with --text when the decision allows free text:
astranize decide t-0002 D-2 --workspace notes --option O-1 --followThe task goes back to running and the developer continues with your answer. An unknown option gives Unknown option O-9 for decision D-2.
decide is for questions from agents. The other kinds of decision have their own commands, and the kind field tells you which one to use:
| Decision kind | What it means | Answer with |
|---|---|---|
approval |
The spec is ready. | approve, or adjust --comment |
agent, action |
An agent or an action needs your choice. | decide <id> <D-n> --option or --text |
blocked |
The task got stuck, for example after it went back to the developer more than 3 times. | retry (same step), retry --restart (from the developer), adjust --comment or archive |
validation |
The result is ready to judge. | validate --file |
Using decide on a blocked task fails with Task t-0001 is not awaiting a decision (status "blocked").
Decisions describes every kind.
Validate the result
Section titled “Validate the result”When the summary is done, the task moves to For you, waiting for your final review. Now you decide, criterion by criterion, whether the change does what the spec promised. The final review is always the last screen before a task is done.

Open the task and click Validate, or click Validate delivery on its card in For you. The final review opens on its tabs:
- Summary says what was done, how, and what to watch out for, with the reviewer’s closing note. If the summary agent failed, it says the summary is unavailable and the other tabs still work.
- How to test is a short step-by-step guide to try this exact task by hand, with a setup block and one gesture per step. The checkboxes are for you while you test; they are not saved.
- Code shows the changed files and the diff. Pick All for the final diff, or one commit. When the task has no commits, you pick a round instead.
- Criteria has one card per criterion, with
✓ testor— no test, the reviewer’s mark and the proof. Click Approve or Reject on each one. A rejection asks “Why isn’t it approved?”. Approve all approves the ones still pending and does not undo a rejection. - Gates shows the output of your checks.
- Video appears only when the video add-on ran.
When every criterion is approved, Approve task turns on. Click it and the task moves to Done. Until then, the bar tells you what is missing.
If something is wrong, click Request changes. The text box is prefilled with the criteria you rejected and why. Astranize suggests where the task goes back to, the dev or the ideator, and you can switch it before sending. The task goes through the loop again and comes back to you for the final review.
You write your verdict in a small JSON file. Every criterion gets approved or rejected, and a rejection can carry a reason. Save this as verdict.json in the folder you run the command from:
{ "criteria": [ { "id": "AC-1", "verdict": "approved" }, { "id": "AC-2", "verdict": "approved" } ], "route": "developer"}route is always required, even when everything is approved. It says where a rejection goes: developer when the code is wrong, ideator when a criterion itself was wrong or missing. To report a problem no criterion covers, add an extraFindings list.
Then send it:
astranize validate t-0001 --workspace notes --file verdict.json{"type":"task_updated","task":{"id":"t-0001","title":"Search notes","status":"done",...}}{"type":"decision_resolved","taskId":"t-0001","decision":{"id":"D-4","kind":"validation",...}}Every criterion was approved, so the task is done. Had you rejected one, the task would be running again, back at the developer or the ideator depending on route.
A verdict that skips a criterion gives verdict has no decision for criteria: AC-2.
Find the code and the files
Section titled “Find the code and the files”The code is on the branch astra/t-0001-search-notes, checked out in ~/.astranize/workspaces/notes/worktrees/t-0001/web, with one commit per developer cycle. Nothing has been pushed. Open that folder to run the app or read the code yourself. With a task set to never commit, the changes are in that folder too, only uncommitted, and the validation screen marks the delivery “no commit”.
Everything else the task produced is in ~/.astranize/workspaces/notes/runs/t-0001/:
summary.jsonis what the summary agent wrote: what was done, how, points of attention and the test guide.report.jsonhas one row per criterion: whether a test cites it (citedormissing), what the reviewer said, and your verdict. With the video add-on, it also says whether the video passed.diff.patchis the full change,summary.mdis a readable overview of the task with the same criteria table, andcycle-1/gates/has the output of your checks.- With the video add-on,
video/video.webmis the recording, andvideo/frames/holds a frame per criterion.
Archive the task
Section titled “Archive the task”Archiving takes a finished task off the board. Its history, files and branch stay where they are. The app keeps finished tasks in the Done column and only offers Archive for a stuck task in For you, so archive a finished task from the CLI:
astranize archive t-0001 --workspace notes{"type":"task_updated","task":{"id":"t-0001","title":"Search notes","status":"archived",...}}astranize list --workspace notes --archived lists archived tasks. Once a task is archived, its overview in the app also has Delete, which moves the task, its run folder and its worktrees to the Astranize trash; see Tasks. That’s it: you have taken a task from one sentence to a validated branch.
| Step | In the app | In the CLI | Task status after it |
|---|---|---|---|
| Create | New task, then Create task | create --title --description |
backlog |
| Ideate | The play button on the card, or Ideate | ideate <id> |
waiting_you at approval |
| Approve | Answer, then Approve | approve <id> --answers '<json>' |
running, then waiting_you at validation |
| Answer a decision | For you, pick an option, Confirm | decide <id> <D-n> --option <id> |
running again |
| Validate | Validate, approve each criterion, Complete task | validate <id> --file verdict.json |
done, or running again |
| Edit | Edit on the task | edit <id> --title ... |
unchanged |
| Archive | Only for a stuck task, from For you | archive <id> |
archived |
| Delete | Delete on an archived task | delete <id> |
gone, in the trash |
You may notice a run command in the CLI reference. You rarely need it, because approving, answering, retrying and validating queue the work themselves. run t-0001 only restarts a task that is in running status but isn’t executing; the app shows that case as “The task stopped with no process running”, with a Run button. Any other status gives Cannot run task t-0002 in status "waiting_you".
Next steps
Section titled “Next steps”- Tasks explains every status a task can be in.
- Gates explains what happens when a check fails.
- Proof video sets up the optional video add-on, with services, login and data, so it records the task’s own code.
- Mid-run instructions shows how to steer an agent while it works.
