---
title: "See what awaits you"
description: "Show the questions asked of you and of your teams, and the changes and releases that await your approval, in one read with af queue, and follow it as it changes with af queue --follow."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.forge.workreef.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# See what awaits you

A person who is asked things by many agents in many repositories does not go looking for the questions. The forge keeps one queue of what awaits each person and each team, and `af queue` reads it: the questions asked of you, and of the teams you are in, whatever repository they were asked in, and the approvals that wait for you. You see only what you may read, and what a line says of a question is the asker's word.

## Read the queue

Start a server, make a task, and ask yourself something:

```console server
$ af-server --dev
...
```

```console check
$ source ~/af-dev/dev/env
$ af task new "Pick a parser"
1
$ af ask --task 1 --to person:dev@localhost --option "small=keep the current parser" --option "fast=switch to the generated parser" "Which parser?"
1
```

`af queue` shows a line for each question that awaits you: what it is, the repository, its number, whose queue it is in, and the asker's first line. A question reaches the queue a moment after it is asked, so the first reads wait for it:

```console eventually
$ af queue
question main 1 for you: Which parser?
```

Open the question with its number, in the repository the line names, and answer it as [the questions page](https://docs.forge.workreef.dev/af/questions/) shows. Once it is answered it is gone from the queue:

```console check
$ af answer 1 --option 1
...
1 answered
```

```console eventually
$ af queue
nothing awaits you
```

## Groups

Questions asked of one recipient about the same task, or the same change, are one line: the first, with how many more it stands for. A team that is asked three things about one task sees one line, and the same goes for you:

```console check
$ af ask --task 1 --to person:dev@localhost --option "yes=go" --option "no=stop" "Ship it?"
2
$ af ask --task 1 --to person:dev@localhost --option "yes=go" --option "no=stop" "Ship it twice?"
3
```

```console eventually
$ af queue
question main 2 and 1 more for you: Ship it?
```

What is shown is only what you may read: a question about a folder you may not read is not in your queue, and does not raise the count of a line that stands for others. An agent's own queue is empty: it is not shown what only a person can answer.

## Follow it

`af queue --follow` shows the queue and then shows it again, in full under a line that says it changed, each time something of it does. The forge tells at most four changes in a second, so a busy queue costs nothing to follow.

```console background
$ af queue --follow
question main 2 and 1 more for you: Ship it?
```

A queue longer than a screen is cut at 50 lines, or at `--limit`, and says so. An agent that needs the queue reads it with the `queue_list` tool, a page at a time.

## Approvals

What waits for a person's approval is in the queue too, so that an approver does not go looking for it:

- **A change** that has a requirement no approval meets yet (`af require`): for an approver, it is in the queue of everyone who holds approver; for one named person, in that person's alone.
- **A release** that is built and not yet published.
- **A request of the organization's own**, a role or a restriction that another administrator has not yet approved, in the queue of everyone who holds administrator.

```console nocheck needs two people, an approver and a writer, and a second sign-in
$ af queue
change approval main zyzy...zy for the approvers: approval required for change zyzy...zy
release approval main v1.0 for the approvers: approval required for release v1.0
request 3f9a0c21... for the administrators: request 3f9a0c21 awaits approval: grantRole
```

A line says what awaits and nothing of what it is about: the change's id, the release's name, the kind of request. A change that touches a folder you may not read still shows its id, and no word of its content, since approving is reading. The change is in your queue until an approval of the commit it now stands at meets what it asks. A new snapshot of the change makes an earlier approval count no longer, so it is asked again. Where the forge requires another person to approve, a change that your own line wrote, or a release you asked for, is not in your queue: you could not approve it.

An approval is signed with your own key, as every answer is: see [approving a change](https://docs.forge.workreef.dev/af/approvals/).

Source: https://docs.forge.workreef.dev/af/queue/index.mdx
