Skip to main content
A backlog is a queue of task records. When machines use the same primary store, they share the queue. By default, each machine has its own queue. You record work. An agent claims a node, works it on its own worktree, and opens the PR. A lead is an agent that hands out that work and checks in on a schedule, so the queue keeps moving without you. Manage a backlog records and inspects nodes. This page covers the dispatch path and the lead role.

Before you begin

Install F[no] through the quickstart. Run commands from your project repository.
  • A node is a task record with an id, a title, and a status.
  • A claim is the live record of which session or GitHub contributor holds a node.
  • A lead runs inside a harness, like any agent. In Claude Code it starts with /fno:lead <scope>.
If the board is empty, your agent can create a practice node with the example in the first task section.

Send one node to an agent

Your agent finds the top unblocked, unclaimed node and asks before starting Target. After you approve, it reports the worktree and PR.

What the agent runs

If the board is empty, your agent records this practice node:
  1. Find ready work:
    The command names the highest-priority node that is unblocked and unclaimed. fno backlog ready lists the whole ready queue.
  2. After you confirm the node, your agent uses this target prompt in its harness:
    Replace x-ab12cd34 with a node id from the list. Target claims the node, takes it from ready to a PR, and runs review and CI. Target runs here, in this session. The bg form in the next section is the one that spawns background workers.
  3. Watch it the way you watch any worker: run a fleet shows the session list and the launch receipt.

Send every ready node

Your agent reviews the ready list and dispatches non-deferred nodes. You see one receipt per worker.

What the agent runs

/fno:target bg --all-ready dispatches every ready, non-deferred node as a background worker. A deferred node is parked out of dispatch until you undefer it. Each worker gets its own session and worktree, so ready nodes run in parallel. Your agent runs it from the project root. Each launch prints a receipt. The fleet guide explains the receipt fields.
Warning: Every dispatched node starts a worker that can run model credentials. Read the ready list before you dispatch the whole board.

Merge the next wave in

Your agent advances dependent work after the selected PR merges. You see what it dispatched and skipped.

What the agent runs

A node’s dependents wait until its PR merges. After a merge, your agent advances the next wave with this command:
Replace <NODE_ID> with the node whose PR merged. The command dispatches its dependents and names what it skips.

Choose a lead level

Your agent checks the scope and role, then reports the derived level. If it needs a grant, it asks you before acting.

What the agent runs

You rarely type these commands yourself. Tell the agent in your session what you want, such as “make this session the lead for fno-web” or “stop the fno-web lead”, and the agent runs the command for you. Leads also run these commands for the workers and leads they manage. This page shows each command so you can see what happens and check the result. A role gives a session authority over a team. A team is the territory it covers. The scope names the projects or epics in that team. The scope determines the level. You do not choose a level by itself. The scope you name determines the level. The role grant command derives the level from the scope. A scope cannot mix projects and epics. A single task node is work, not a team. To find scope values, run:
Each JSON result has rows with id, project, and type fields. Use project values for project scopes. Use id values from rows with type: epic for epic scopes. These values depend on your backlog. The t:epic filter selects epic rows. Use project names for project scopes and epic IDs for epic scopes.

Grant a lead role

Your agent checks the session and scope, then reports the derived level and the grant receipt.

What the agent runs

A role grant follows the lead’s level. An L0 lead can spawn a lead and grant a role over any scope. A lower lead can grant only to a strictly narrower scope inside its own team. For example, an L1 lead can grant an L2 role over an epic in its project. Run fno agents session list to find the registered name of a live session. Then grant the role from an attended terminal:
Use the name from the session list as <HANDLE> below:
Replace <HANDLE> with the registered session name. Replace <SCOPE> with a project or epic scope. To grant an L0 role, repeat --scope for each project. To grant an L2 role over several epics, repeat it for each epic. Never mix projects and epics. The JSON receipt includes the derived level and scope values. These values depend on the session and scope you selected. For example, grant one role over two projects:
Use the registered session name as <HANDLE>. Replace each project or epic placeholder with its name or ID from your backlog. The fno agents hq group was fno agents org before v0.4.9. The old name still works for one release. It runs the same command and prints fno agents org is now fno agents hq; the old spelling goes after one release. on stderr. Update your scripts to hq.

Start and reach a lead

Your agent checks the role, starts the lead, and reports its session name and receipt.

What the agent runs

If you already have a live session, grant it the role with fno agents hq promote, attach with fno agents session attach <HANDLE>, and enter the lead prompt in that session. The role must already be granted. Use /fno:lead <scope> with the /fno: prompt form, $fno:lead <scope> with the $fno: form, or /skill:lead <scope> with the /skill: form. Which command maps each form to its harness. Add --once to run one wave and step down. To create a new lead session, use --promote at spawn. The spawn grants the role and adds the matching lead skill command to the new session’s prompt:
Replace <SCOPE> with the project or epic scope. Replace <HARNESS> with an installed harness that supports a lead. Replace <MESSAGE> with any extra context for the lead. F[no] adds the correct lead prompt form for that harness. Repeat --promote for each project or epic in a multi-member scope. For example, spawn one lead over two projects:
For multiple epics, repeat --promote for each epic. The scope determines the level. A lead reads the board on a schedule and dispatches ready work. It answers in-scope questions. Mail can wake a parked lead. The lead is not a worker. It dispatches and does not build. When it hands a node to a worker, the worker owns the node through a claim, and you can inspect ownership at any time. The spawn receipt is JSON. Save its name field. Use that name as <HANDLE> for attach or transcript commands. To send a message to the current lead for a scope, run:
When you send the message, the command resolves the current lead. For a multi-project or multi-epic role, use the comma-separated scope from the grant receipt. Its result states whether the command delivered the message or queued it. A queued result means the message has not landed. To open a lead session in your terminal, use fno agents session attach <HANDLE>. See Run a fleet for the attach path.

Stop a lead

Your agent sends the cancel signal and checks the lead transcript before it reports the result.

What the agent runs

To ask a lead to stop work on a scope, run:
Use the comma-separated scope from the grant receipt for a multi-member role. The command prints lead: cancel signal set: <path>. This proves that F[no] wrote the signal. The command returns before the lead stops. It does not wake a lead that waits between checks. After the lead processes the signal, it runs fno agents hq done in its own session. That command expires the role. If the lead waits after a clean board, send it a message to wake it:
To inspect the lead’s transcript, run fno agents session peek <HANDLE> --lines 10. Look for fno agents hq done. You do not run done for the lead. The lead role can end while its agent session stays open. If you also want to stop the underlying session, run fno agents session stop <HANDLE> after the transcript shows done. Read the result to see whether it stopped the session or returned a no-op.

The demand read

Your agent runs the demand read and ranks nodes by encounter evidence against your priority. You see each score and encounter count.

What the agent runs

When work on a node costs them time, agents record an encounter. fno backlog board demand lists nodes with encounters, ranked by how much that evidence differs from the priority you set. Its enc column counts encounters. You never see this in a status report otherwise.

Planning ownership

What the agent runs

Replace <NODE_ID> with the node’s durable ID. Check its plan and ownership first:
If a planner holds the node, inspect its plan before starting work. Follow the ownership checks for incomplete roster evidence. In F[no] 0.4.6, a think or blueprint holds its node while it runs. With a shared primary, that hold reaches your other machines. The planner door and spawn guard refuse a second planner. The refusal names the plan path, its date, the holder’s host, and the target workflow to continue. A plan dated within seven days also blocks a second think. Read that plan before choosing whether to revise it or continue with target.

Limitations

  • A lead can only dispatch what is ready. A board of blocked ideas stays parked. Record dependencies with fno backlog update <ID> blocked_by+=<ID>.
  • Machines default to one queue each. With one primary store on a private network, machines share one backlog, dispatch claims, and cross-host mail. The full cross-machine setup guide is not public yet.
  • A lead needs a harness that keeps a session alive across turns. The harness reference lists the lanes per harness.

Troubleshooting

Your agent checks the delivery result and live lead sessions, then reports the cause.

What the agent runs

If fno agents mail send --to-lead reports that no live row holds the role, the message is not queued. Check fno agents session list or address a specific session by name. If the command reports multiple live holders, it sends to none. Resolve the role conflict or address one session by name.

Next steps