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 “Hut to Hut in the Alps: A First-Timer’s Guide”. Nothing is written anywhere.
Checks
- Every filled field passes the content type's rules.
- seoDescription: the primary source was empty or broke the rules, so the fallback ran.
- seoDescription: written in stage 04 from post.title, post.excerpt, post.content.
- region: written in stage 04 from post.title, post.content.
Entry draftarticle-hut-to-hut-alps-first-timers
{
"contentType": "article",
"id": "article-hut-to-hut-alps-first-timers",
"fields": {
"title": "Hut to Hut in the Alps: A First-Timer’s Guide",
"slug": "hut-to-hut-alps-first-timers",
"publishedAt": "2020-07-03T05:00:00.000Z",
"summary": "Booking, packing and pacing for your first multi-day walk between mountain huts.",
"body": "‹rich text, see the post page›",
"author": {
"sys": {
"type": "Link",
"linkType": "Entry",
"id": "author-brennan"
}
},
"topics": [
{
"sys": {
"type": "Link",
"linkType": "Entry",
"id": "topic-hiking"
}
}
],
"heroImage": {
"sys": {
"type": "Link",
"linkType": "Asset",
"id": "asset-hut-ridge-jpg-ob3drq"
}
}
}
}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 |