> ## Documentation Index
> Fetch the complete documentation index at: https://greenteagentic.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Refining & Rerunning

> Iterate on a brew without losing the original.

## Refine

The **Refine** button feeds your current `final_output` + feedback into the Refiner agent, which re-pours with the same JSON schema. Use this when:

* The structure is right but the content is shallow
* You want a tighter tone
* You want one section expanded

Each refinement is stored as a row in `brew_outputs` so you can review history.

## Rerun

The **Rerun** button wipes existing stage rows and runs the full pipeline again. Use this when:

* You want fresh framing from the Scout
* You changed the goal or tone significantly
* The original brew failed mid-pipeline

> Inputs (title, goal, context, tone, format) are reused as-is. To change inputs, create a new brew.

## When to do which

| Situation                  | Action   |
| -------------------------- | -------- |
| Tweak phrasing             | Refine   |
| Add a missing section      | Refine   |
| Bad framing from the start | Rerun    |
| Cold-start failure         | Rerun    |
| New inputs entirely        | New brew |
