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 “A Guide to Lisbon’s Markets”. 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-lisbon-markets-guide
{
"contentType": "article",
"id": "article-lisbon-markets-guide",
"fields": {
"title": "A Guide to Lisbon’s Markets",
"slug": "lisbon-markets-guide",
"publishedAt": "2024-03-08T07:00:00.000Z",
"summary": "Where to shop, where to eat, and when to go.",
"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-cities"
}
},
{
"sys": {
"type": "Link",
"linkType": "Entry",
"id": "topic-portugal"
}
},
{
"sys": {
"type": "Link",
"linkType": "Entry",
"id": "topic-shopping"
}
}
],
"seoDescription": "Lisbon's municipal markets, food halls and flea markets: what each is good for and when to go."
}
}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 |