---
title: "af explore"
description: "Explore alternative solutions to a question"
---

> 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.

# af explore

<!-- Generated by tools/gen-reference.mjs from `af explore --help`. Change the help text in crates/atoll-forge-cli/src/main.rs, then run `npm run gen:reference`. -->

An exploration poses a question and collects alternatives. Each alternative is an open change that never lands, and may change any file its author can read. The forge measures each alternative by running main's `.forge/evidence` on its runners; you then promote one alternative or drop them all.

## Usage

```text
af explore [OPTIONS] <COMMAND>
```

## Commands

| Command | What it does |
| --- | --- |
| [`new`](#af-explore-new) | Start an exploration of a question and print its ID |
| [`add`](#af-explore-add) | Add one of your open changes to an exploration as an alternative |
| [`measure`](#af-explore-measure) | Measure each of an exploration's alternatives |
| [`show`](#af-explore-show) | Show an exploration and compare its alternatives |
| [`promote`](#af-explore-promote) | Promote one alternative of an exploration |
| [`drop`](#af-explore-drop) | Drop all of an exploration's alternatives |
| [`adopt`](#af-explore-adopt) | Adopt a handoff from a promoted exploration |

## Global options

Every `af` command also takes the [global options](https://docs.forge.workreef.dev/reference/af/#global-options).

## Examples

```sh
af explore new "Which parser is faster?"
af explore add 7 kxqpzvom
af explore measure 7
af explore show 7
af explore promote 7 kxqpzvom --reason "the faster parser"
```

## af explore new {#af-explore-new}

Start an exploration of a question and print its ID

### Usage

```text
af explore new [OPTIONS] <QUESTION>
```

### Arguments

- `<QUESTION>`

  Question the exploration answers

### Global options

Every `af` command also takes the [global options](https://docs.forge.workreef.dev/reference/af/#global-options).

## af explore add {#af-explore-add}

Add one of your open changes to an exploration as an alternative

### Usage

```text
af explore add [OPTIONS] <ID> <CHANGE>
```

### Arguments

- `<ID>`

  Exploration ID

- `<CHANGE>`

  Open change to add, by change ID or its start, or `@` for the workspace's change

### Global options

Every `af` command also takes the [global options](https://docs.forge.workreef.dev/reference/af/#global-options).

## af explore measure {#af-explore-measure}

Measure each of an exploration's alternatives

Requests new evidence for every alternative: the forge runs main's `.forge/evidence` on its runners.

### Usage

```text
af explore measure [OPTIONS] <ID>
```

### Arguments

- `<ID>`

  Exploration ID

### Global options

Every `af` command also takes the [global options](https://docs.forge.workreef.dev/reference/af/#global-options).

## af explore show {#af-explore-show}

Show an exploration and compare its alternatives

Shows the question and state, and each alternative you can see, with the metrics from its latest evidence. Alternatives and evidence that involve paths you can't read are counted but not shown.

### Usage

```text
af explore show [OPTIONS] <ID>
```

### Arguments

- `<ID>`

  Exploration ID

### Global options

Every `af` command also takes the [global options](https://docs.forge.workreef.dev/reference/af/#global-options).

## af explore promote {#af-explore-promote}

Promote one alternative of an exploration

The parts of the alternative that you may write become a change of your own. Any other parts become a handoff, which someone who may write them can adopt with `af explore adopt`.

### Usage

```text
af explore promote [OPTIONS] --reason <REASON> <ID> <CHANGE>
```

### Arguments

- `<ID>`

  Exploration ID

- `<CHANGE>`

  Alternative to promote, by change ID or its start, or `@` for the workspace's change

### Options

- `--reason <REASON>`

  Why this alternative was chosen

### Global options

Every `af` command also takes the [global options](https://docs.forge.workreef.dev/reference/af/#global-options).

## af explore drop {#af-explore-drop}

Drop all of an exploration's alternatives

### Usage

```text
af explore drop [OPTIONS] --reason <REASON> <ID>
```

### Arguments

- `<ID>`

  Exploration ID

### Options

- `--reason <REASON>`

  Why the alternatives were dropped

### Global options

Every `af` command also takes the [global options](https://docs.forge.workreef.dev/reference/af/#global-options).

## af explore adopt {#af-explore-adopt}

Adopt a handoff from a promoted exploration

You must be able to write every path the handoff changes.

### Usage

```text
af explore adopt [OPTIONS] <CHANGE>
```

### Arguments

- `<CHANGE>`

  Handoff, by change ID or its start, or `@` for the workspace's change

### Global options

Every `af` command also takes the [global options](https://docs.forge.workreef.dev/reference/af/#global-options).

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