Stage 02 · structured output, human approval
Field mapping: Article
Claude reads the source fields (with real sample values) and the target type's rules, and proposes which source fills each field and with which transform. It can only choose from a fixed menu; code checks the proposal, you fix and approve it, and code applies it.
Claude's questions and leftovers
- Question: Should topics come from categories, tags, or both? If both, which ones should be kept when a post has more than 4?
- Question: Titles like 'The Best Pastéis de Nata in Lisbon (2019 Edition)' are dated. Should they be kept as is?
- Question: The author 'Tom B.' has an abbreviated name. Should the author entry use his full name?
- Question: Should region be left empty for posts that cover several regions or none, rather than being classified?
- Question: How should tables in post content (for example, day-by-day stats) be handled in Rich Text?
- post.modified_gmt not used: The article type has no last-modified field.
Review
Proposed by claude-opus-5-5 (replay) · approved 2026-11-19 04:50 UTC
Dry run
The saved mapping applied to “The Best Pastéis de Nata in Lisbon (2019 Edition)”. Nothing is written anywhere.
Checks
- Every filled field passes the content type's rules.
- region: written in stage 04 from post.title, post.content.
Entry draftarticle-the-best-pasteis-de-nata-in-lisbon-2019
{
"contentType": "article",
"id": "article-the-best-pasteis-de-nata-in-lisbon-2019",
"fields": {
"title": "The Best Pastéis de Nata in Lisbon (2019 Edition)",
"slug": "the-best-pasteis-de-nata-in-lisbon-2019",
"publishedAt": "2019-04-12T08:30:00.000Z",
"summary": "We ate forty custard tarts in three days so you don’t have to. Here are the six worth crossing the city for.",
"body": "‹rich text, see the post page›",
"author": {
"sys": {
"type": "Link",
"linkType": "Entry",
"id": "author-ortega"
}
},
"topics": [
{
"sys": {
"type": "Link",
"linkType": "Entry",
"id": "topic-food"
}
},
{
"sys": {
"type": "Link",
"linkType": "Entry",
"id": "topic-portugal"
}
},
{
"sys": {
"type": "Link",
"linkType": "Entry",
"id": "topic-budget"
}
}
],
"heroImage": {
"sys": {
"type": "Link",
"linkType": "Asset",
"id": "asset-pasteis-tray-jpg-1pd14xk"
}
},
"seoDescription": "Six bakeries worth crossing Lisbon for, after eating forty custard tarts in three days."
}
}Model calls
3 calls logged · live spend $0.0000 (replays cost nothing)
| # | Purpose | Mode | Tokens in / out | Cost | Time |
|---|---|---|---|---|---|
| 3 | topic linking link-v1 | replay | 6,168 / 1,564 | ($0.06) | 12.8 s |
| 2 | author linking link-v1 | replay | 1,979 / 476 | ($0.02) | 7.9 s |
| 1 | field mapping map-v1 | replay | 4,030 / 1,591 | ($0.05) | 17.6 s |