# Backspace Rewrite: Section title element for AI agents

> The live edit: a sentence types ending on the wrong word, the word turns red, the caret backspaces it letter by letter and types the right word, which gets the highlighter.

Canonical page: https://agentframes.ai/elements/jotter/backspace-rewrite/
Markdown: https://agentframes.ai/elements/jotter/backspace-rewrite.md

## Overview

- Name: Backspace Rewrite (`backspaceRewrite`), an element: one HyperFrames block per size
- Part of: the [Jotter](https://agentframes.ai/packs/jotter.md) pack (31 of 50). Available only through the All-access subscription.
- Category: Section title
- Purpose: The live edit: a sentence types ending on the wrong word, the word turns red, the caret backspaces it letter by letter and types the right word, which gets the highlighter.
- Pack: [Jotter](https://agentframes.ai/packs/jotter.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 Daylight (white note, dusk wallpaper) (`daylight`), Dark mode (graphite note, night wallpaper) (`dark`), Tinted (cream note, sunrise wallpaper) (`tinted`); avoid none
- Typical duration: 8s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/jotter/backspace-rewrite.mp4
- Poster: https://agentframes.ai/media/jotter/backspace-rewrite.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Jotter pack. Add a `backspaceRewrite` beat to plan.json on a `daylight` canvas with slots `title`, `tags`, `lead`, `from`, `to` and `sub` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `title` | string | title | the note title (types on first); up to 2 lines. {"type":"string","minLength":1,"maxLength":44} |  |
| `tags` | string | tags | #tags under the title. JSON string. {"type":"array","items":{"type":"string","minLength":1,"maxLength":16},"minItems":0,"maxItems":3} | [] |
| `lead` | string | lead | the sentence up to the word that changes. {"type":"string","minLength":2,"maxLength":60} | A weekly review is about |
| `from` | string | from | the word that gets deleted. {"type":"string","minLength":1,"maxLength":18} | planning. |
| `to` | string | to | the word typed in its place. {"type":"string","minLength":1,"maxLength":18} | noticing. |
| `sub` | string | sub | {"type":"string","minLength":0,"maxLength":90} | Planning is easy once you have looked back. |

## What your agent can change

**Backspace Rewrite**. Native 1920×1080, 8s at 30fps.

The live edit: a sentence types ending on the wrong word, the word turns red, the caret backspaces it letter by letter and types the right word, which gets the highlighter.

**Motion.** Lead + word type; a 0.7 s beat; the old word goes red and deletes at 16 letters/s; the new word types; yellow swipe.
**Why it moves.** change: the viewer watches the thinking change its mind, which makes the new word stick.

### Mount

Copy every manifest file into your project (plus `af-jotter-runtime`). Mount with a unique host id, `data-composition-id="af-jotter-backspace-rewrite-16x9"`,
`data-composition-src="compositions/af-jotter-backspace-rewrite-16x9.html"`, `data-duration` 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 note before anything
draws; the block stops with a message naming the slot and the fix (it never truncates or shrinks text).

- `title`: the note title (types on first); up to 2 lines. {"type":"string","minLength":1,"maxLength":44}
- `tags`: #tags under the title. {"type":"array","items":{"type":"string","minLength":1,"maxLength":16},"minItems":0,"maxItems":3}
- `lead` (required): the sentence up to the word that changes. {"type":"string","minLength":2,"maxLength":60}
- `from` (required): the word that gets deleted. {"type":"string","minLength":1,"maxLength":18}
- `to` (required): the word typed in its place. {"type":"string","minLength":1,"maxLength":18}
- `sub`: {"type":"string","minLength":0,"maxLength":90}

- Text slots take **bold**, ==yellow highlighter==, ++green highlighter++, ~~struck~~ and __pen underline__.

Style: `colourway` (daylight, dark, tinted), `accent` (optional hex for ticks, tags and the pen), `app` (menu-bar name), `series` (16:9 folder), `stamp` (the date line), `clock`, `intro` (none or open), `exit` (clear or cut), `duration` (seconds).

### Syncing to the narration

Typing runs at a readable pace and speeds up (up to 2.2×) if a scene would otherwise land late. Lists take `cues` (where
offered): the second, from the scene start, at which each item should start typing, taken from your transcript. Raise
`duration` (and the mount's `data-duration`) to fit long narration: everything lands by 60% of the scene, which leaves the rest as a
readable hold while the caret blinks.

### Timing

8s by default. The note starts empty and its content types on from about 0.3 s; reveals land by 60%; with `exit: clear` the content lifts away over the last 0.45 s, leaving the empty note for the next scene.

### Example

```json
{
  "title": "",
  "tags": "[]",
  "lead": "A weekly review is about",
  "from": "planning.",
  "to": "noticing.",
  "sub": "Planning is easy once you have looked back."
}
```

## FAQ

### What can my AI agent change in Backspace Rewrite?

Your agent fills the `title`, `tags`, `lead`, `from`, `to` and `sub` 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 Jotter look.

### Which aspect ratios does Backspace Rewrite support?

Backspace Rewrite is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 8s.

### How do I get Backspace Rewrite?

Backspace Rewrite is included in the Jotter 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 Jotter

- [Hook Question](https://agentframes.ai/elements/jotter/hook-question.md): Opens the video: a big question types into an empty note, the pen circles the key word and scribbles a margin note, then a quiet subline types under it.
- [Definition](https://agentframes.ai/elements/jotter/definition.md): Defines a term like a dictionary entry written in a note: the term in heavy type, the word class in italics, a rule, the definition with its key phrase highlighted, and an example.
- [Chapter Page](https://agentframes.ai/elements/jotter/chapter-page.md): A section divider: a fresh note with a huge part number in the accent colour, the chapter title, a pen underline, a subline and a row of progress dots (part x of y).
- [Question + Answer](https://agentframes.ai/elements/jotter/question-answer.md): A question in bold beside an accent Q, a beat, then the answer types beside a green A while the pen draws an arrow from question to answer. Optional handwritten aside.

## Community

Coming soon.
