Repository navigation
Replies: 3 comments 1 reply
|
Thanks for this. It is the most careful reading of these rules anyone has done, and it found real gaps. I checked every point against main and against the registry data. Here is where it landed. Confirmed as you describe: the three rules and where they are enforced, the missing Two corrections
The bigger finding The rule you were given, that DOCG and DOC follow from the appellation and do not belong in classification, is the intended one. The registry does not follow it: about 310 of the 1,077 wines with a classification hold a regulatory mark there, spelled as an acronym or in full. The cause is our own prompts. The scan prompt asks for "the printed classification/tier line" and the import and search prompts for "official classification", and the model answers "DOCG" exactly as asked. Nothing strips it on write. So the prompts, not the correction reviewer, were wrong, and the fix is on our side: align the prompt wording, strip regulatory marks from classification on write the same way the appellation already does, and backfill the existing rows. Your three questions, as proposals
If you see a case these rules get wrong, say so here within the next week or so and we will settle it before writing the docs page. If you would like to write Going ahead now, independent of the above (tracked in #1700): |
|
I wrote down the rules from this thread as a docs page, to have one place that says which label text goes in https://github.com/vetlerb/Cellarion/blob/docs/wine-fields-2/docs/wine-fields.md A few things I wasn't sure about:
If it's useful, I'll open it as a PR. |
|
Thanks, Vetle. I read the page through, and yes, please open it as a PR. Answers: The two conventions: settled, as you wrote them. A tier word printed as part of the name goes in both Production method: keep it out of the appellation, as the page says. The prompts were ours to fix, the open item in #1700, and that's now #1815:
Your enforcement table can point that row at #1815. It ships with the next release. One addition for the page: since v1.294.0 there is a fourth identity field, |
Uh oh!
There was an error while loading. Please reload this page.
Summary
The rules for a wine's
name,appellationandclassificationare clear in most cases, but they live only in scan prompts, code comments and moderator replies. Nothing indocs/describes them. In the MCP schemas,namehas a short description, butappellation,regionandclassificationhave none. Two MCP tools and the shared new-wine shape also have noclassificationfield at all.I hit this myself: I filed a correction putting DOCG in the classification of Alpha Zeta Amarone della Valpolicella. The moderator reply explained the rule well:
That rule seems worth documenting where contributors and AI clients will see it before they file. A few places in the code disagree on the edge cases, though, so those need settling first.
The rule as it stands
Three questions to settle
classificationare only Bordeaux-style lines (Grand Cru Classé en 1855, Cru Bourgeois). (aiConfig.js#L34, #L45) The import lookup and text search prompts carry the same rule (#L146, #L174). The duplicate guard instyleTerms.jsrelies on Prädikat words in the name to tell an estate's Kabinett from its Spätlese. The moderation rule puts Riserva and similar inclassification. One option is both: keep the word in the name when the label prints it as part of the wine's name, and also setclassification. Which is intended?appellation(aiConfig.js#L45, #L146, #L174). That is not a place name, so it seems to conflict with the rule above. Should it stay there, move to the name, or be dropped?CLASSIFICATION_ONLY_NAME_RXsays Reserva, Riserva and a bare "Premier Cru" are real name material (Rioja, Champagne co-op cuvées) and are deliberately not matched (findOrCreateWine.js#L322-L346). Are these the only cases where a tier word may stand in the name on its own?Gaps in the MCP surface
These don't depend on the questions above.
classificationfield inNEW_WINE_SHAPE,resolve_wineoradmin_add_registry_wine.add_bottleandbulk_addshareNEW_WINE_SHAPE. (write.js#L39-L52, write.js#L64-L68, adminRegistry.js#L44-L45) An AI client adding a classed growth or a Riserva can only put the tier in the name or the appellation. The scan flow had the same problem until classification got its own field (wineCommit.classification.test.js).resolve_wineneeds the field too, so the lookup and the mint see the same fields. If the admin tool leaves it out on purpose, a comment saying so would help.appellation,regionandclassificationhave no.describe()inadd_bottle,bulk_add,resolve_wine,suggest_wine_correction,propose_wine_correction,update_wine_draftoradmin_add_registry_wine. The somm toolfix_pending_winehas descriptions onappellationandregion, but they only say how to clear the field, not what belongs in it.Smaller inconsistencies
Possible follow-ups
docs/wine-fields.md, with the rule, a few worked examples (a Bordeaux classed growth, a Barolo Riserva, a Burgundy Premier Cru and Grand Cru, a Mosel Spätlese) and pointers to where each rule is enforced.classificationadded toNEW_WINE_SHAPE,resolve_wineand (unless it is left out on purpose)admin_add_registry_wine, and short field descriptions in the MCP schemas.All reactions