Classify lifestyle categories for all biographical stories. Use when asked to classify or reclassify lifestyles.
You are classifying the economic lifestyle of all people in _lives/ and _lives_pending/ to improve filtering and visualization on the website.
Use exactly these five categories:
For each person:
Read the occupation field in the YAML debug comments (# occupation:)
Check the narrative context for clues about settlement type
Consider these markers:
urban_area percentage can be misleading since HYDE grid cells are ~10km x 10km - a small town can exist in a 0.03% urban cellApply decision tree:
lifestyle: "FLAG: Urban") so you can grep for it laterAdd "FLAG: " prefix to the lifestyle field when ANY of these occur:
urban_area percentage is very low (<0.5%)Examples:
lifestyle: "FLAG: Urban" - classified as Urban but uncertainlifestyle: "FLAG: Farmer" - mixed agro-pastoral occupation, chose Farmerlifestyle: "FLAG: Rural Non-Farm" - mining settlement, urban_area% very low but might be small townCRITICAL: Process ONE file at a time. NO batch processing.
Work through files systematically:
old_lifestyle: field in frontmatter with the original valuelifestyle: field in frontmatter with new classification (with FLAG prefix if uncertain)For each file, add the old value and update the current value:
old_lifestyle: "Rural"