# Before and After: First Proof vs Final Pull: Section title element for AI agents

> Compares a rough first proof (marked up with red editor's rings and carets) against the clean final pull, side by side in 16:9 or stacked in the vertical sizes.

Canonical page: https://agentframes.ai/elements/galley/before-after/
Markdown: https://agentframes.ai/elements/galley/before-after.md

## Overview

- Name: Before and After: First Proof vs Final Pull (`beforeAfter`), an element: one HyperFrames block per size
- Part of: the [Galley](https://agentframes.ai/packs/galley.md) pack (21 of 50). Available only through the All-access subscription.
- Category: Section title
- Purpose: Compares a rough first proof (marked up with red editor's rings and carets) against the clean final pull, side by side in 16:9 or stacked in the vertical sizes.
- Pack: [Galley](https://agentframes.ai/packs/galley.md), included in All-access (from $14/month billed annually ($168/year), or $19 monthly)
- Subscribe: POST https://agentframes.ai/api/checkout/subscribe with interval=month or interval=year (optional currency=USD|GBP|EUR|AUD|CAD; 303 redirect to Stripe checkout; a human pays there). Then download any pack with the subscriber key: https://agentframes.ai/account.md
- Aspects: 16:9 (native), 9:16 (native), 4:5 (native), 1:1 (native)
- Canvases: works on Newsprint (press black, vermilion and golden ochre on warm cream) (`newsprint`), Broadside (Prussian blue, vermilion and gold on bright white stock) (`blueprint`), Vellum (crimson, burnished gold and rich ink on pale parchment) (`night`); avoid none
- Typical duration: 7s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/galley/before-after.mp4
- Poster: https://agentframes.ai/media/galley/before-after.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Galley pack. Add a `beforeAfter` beat to plan.json on a `newsprint` canvas with slots `label`, `title`, `beforeTag`, `before`, `afterTag`, `after` and `note` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `label` | string | label | {"type":"string","minLength":1,"maxLength":36} | Idea 2 of 3 |
| `title` | string | title | {"type":"string","minLength":1,"maxLength":44} | Same morning,\|different reply |
| `beforeTag` | string | beforeTag | {"type":"string","minLength":1,"maxLength":14} | First proof |
| `before` | string | before | {"type":"string","minLength":1,"maxLength":56} | Train delayed. Morning ruined before 9am. |
| `afterTag` | string | afterTag | {"type":"string","minLength":1,"maxLength":14} | Clean pull |
| `after` | string | after | {"type":"string","minLength":1,"maxLength":56} | Train delayed. Twenty quiet minutes to read. |
| `note` | string | note | {"type":"string","minLength":1,"maxLength":70} | The timetable did not change. Your judgement did. |

## What your agent can change

**Before and After: First Proof vs Final Pull**. Native 1920×1080, 7s at 30fps.

Compares a rough first proof (marked up with red editor's rings and carets) against the clean final pull, side by side in 16:9 or stacked in the vertical sizes.

**Motion.** The first proof prints with red proof-reader marks drawn across it; a heavy arrow rule prints; the clean final proof prints in one hit with an "OK TO PRINT" stamp.
**Why it moves.** change: moving from a marked-up rough proof to a clean pull shows how a habit looks before and after the change.

### Mount

Copy every manifest file into your project (plus `af-galley-runtime`). Mount with a unique host id, `data-composition-id="af-galley-before-after-16x9"`,
`data-composition-src="compositions/af-galley-before-after-16x9.html"`, `data-duration="7"` and `data-variable-values`.
Use the variant whose size matches your project (16x9, 9x16, 4x5, 1x1): each is laid out natively, never scaled.

### Content slots

Nested slots are JSON strings. Every slot is checked against `constraints.json` and measured against the layout before anything
draws; the block stops with a message naming the slot and the fix (it never truncates or shrinks text).

- `label`: {"type":"string","minLength":1,"maxLength":36}
- `title`: {"type":"string","minLength":1,"maxLength":44}
- `beforeTag`: {"type":"string","minLength":1,"maxLength":14}
- `before` (required): {"type":"string","minLength":1,"maxLength":56}
- `afterTag`: {"type":"string","minLength":1,"maxLength":14}
- `after` (required): {"type":"string","minLength":1,"maxLength":56}
- `note`: {"type":"string","minLength":1,"maxLength":70}

- `before` and `after` wrap up to 3 lines in Holtwood capitals.

Style: `colourway` (newsprint, blueprint, night), `accent` (optional hex), `footer`, `exit` (lift or cut).

### Timing

7s. Everything has landed by 4.2s (60%), then the scene holds for reading (a pool of shop light drifts slowly across the sheet;
text stays still) and the ink lifts off the sheet over the last 0.5 s, leaving clean paper.

### Example

```json
{
  "label": "Idea 2 of 3",
  "title": "Same morning,|different reply",
  "beforeTag": "First proof",
  "before": "Train delayed. Morning ruined before 9am.",
  "afterTag": "Clean pull",
  "after": "Train delayed. Twenty quiet minutes to read.",
  "note": "The timetable did not change. Your judgement did."
}
```

## FAQ

### What can my AI agent change in Before and After: First Proof vs Final Pull?

Your agent fills the `label`, `title`, `beforeTag`, `before`, `afterTag`, `after` and `note` slots through the block's data-variable-values (or the starter project's variables). Motion, timing, palette, fonts and the internal layout are protected, so the result keeps the Galley look.

### Which aspect ratios does Before and After: First Proof vs Final Pull support?

Before and After: First Proof vs Final Pull is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 7s.

### How do I get Before and After: First Proof vs Final Pull?

Before and After: First Proof vs Final Pull is included in the Galley pack, which is part of the AgentFrames All-access subscription along with 49 other templates in this pack and every other pack on the store. You get the full source, the editing contracts and the agent instructions.

## More in Galley

- [Opening Hook: The First Pull](https://agentframes.ai/elements/galley/opening-hook.md): Opens the explainer: the slug (an outlined kicker box) prints, then the title is pulled as a wood-type lockup, one press hit per line (each line sized to the measure in Holtwood, Ultra or Abril), a heavy rule prints under it, and the note is typed. Register crosses mark the corners of the proof.
- [Definition: Type Specimen](https://agentframes.ai/elements/galley/definition.md): Defines a term as a type specimen: the slug prints with the part of speech in red, the term is pulled big in Ultra, a rule prints under it, and the meaning is typed below line by line.
- [Takeaway: The Broadside](https://agentframes.ai/elements/galley/takeaway.md): Ends the explainer on a broadside: the takeaway is pulled as a full poster lockup, a heavy rule prints under it, the call to action prints in a double-ruled ticket in red, and the handle is typed.
- [Set and Pull](https://agentframes.ai/elements/galley/set-and-pull.md): Signature device. The key word is set by hand: wood blocks drop into the composing stick one by one (mirrored, as type is set) and land with a clack; the brayer rolls over them and inks them; then the press pulls the whole lockup above in one hit (one word in red), the rule prints, and the credit is typed.

## Community

Coming soon.
