Holistic Health AI
Internal architecture review

Living Food Library 3.0

Architecture before scale. This page is the reviewable artefact for the system itself — the taxonomy, the ecosystem, the graph, the gates and the capacity plan. No public food pages were built in this phase; the inventory below is internal and renders nothing to visitors.

336
Inventory records (Level 0)
7
Libraries
33
Organizational edges
0
Evidence edges public
9
Evidence edges withheld
Deliverable 1

Master taxonomy

Seven libraries. One canonical home per item. A library owns its categories; a category owns its items; everything else links back.

Foods

/foods

Whole foods eaten as food, organised into nine primary categories.

  • Vegetables60 records
  • Fruits55 records
  • Whole Grains20 records
  • Legumes18 records
  • Dairy14 records
  • Animal Foods14 records
  • Seafood16 records
  • Fermented Foods14 records
  • Drinks18 records

Herbs

/herbs

Leaves, flowers and roots used for aroma, flavour and traditional preparation.

  • Culinary Herbs15 records
  • Infusion Herbs7 records
  • Root & Bark Herbs3 records

Spices

/spices

Dried aromatic seeds, barks, buds, stigmas and fruits used in small quantities.

  • Seed Spices9 records
  • Aromatic Spices9 records
  • Blends4 records

Nuts

/nuts

Tree nuts and culinary nuts eaten as nuts.

  • Tree Nuts11 records
  • Culinary Nuts3 records

Seeds

/seeds

Edible seeds eaten whole, sprouted, soaked or milled.

  • Edible Seeds12 records

Healthy Oils & Fats

/oils

Pressed and rendered culinary fats.

  • Plant Oils10 records
  • Animal Fats2 records

Traditional Persian Dishes

/dishes

Named traditional dishes that act as knowledge hubs connecting their ingredients.

  • Khoresh & Stews5 records
  • Ash & Soups4 records
  • Polow & Rice5 records
  • Salads & Sides4 records
  • Kuku & Egg Dishes2 records
  • Sweets & Preserves2 records

Canonical identifier rules

  • Lowercase ASCII, words separated by single hyphens.
  • Singular where a single unit is natural (tomato, not tomatoes); plural only where the food is never singular (lentils, oats).
  • English common name, not the Persian transliteration — Persian names live in the record, not the identifier.
  • No category prefix: the library and category already carry that meaning.
  • Once published at Level 1 or above, the identifier is frozen; changes ship as a 301 redirect from the old path.
Deliverable 2

Food ecosystem architecture

Every existing item audited and assigned one canonical home. 40 audited paths resolve to 38 canonical records — duplicates collapse, legacy paths redirect.

keep: 6move: 20redirect: 4merge: 5reclassify: 5
Current pathCanonicalActionReason
/foods/pomegranate/foods/pomegranatemoveBotanical fruit eaten as fruit — canonical home is the Fruits category at /fruits/pomegranate; /foods path 301s.
/fruits/pomegranate/foods/pomegranatekeepCanonical home.
/foods/dates/foods/datemergePlural legacy id merges into the singular canonical id `date`.
/foods/barberry/foods/barberrymergeExisted in both the food catalog and the herb catalog. Canonical home is Fruits; the herb entry becomes a link.
/herbs/barberry-herb/foods/barberryredirectDuplicate of the fruit record.
/foods/walnuts/nuts/walnutredirectNuts have a dedicated library; already 301s.
/foods/almonds/nuts/almondredirectNuts library canonical.
/foods/pistachios/nuts/pistachioredirectNuts library canonical.
/nuts/sesame/seeds/sesame-seedmoveSeeds separate from nuts in 3.0; /nuts path 301s to /seeds/sesame-seed.
/nuts/chia/seeds/chia-seedmoveSeed, not a nut.
/nuts/flaxseed/seeds/flaxseedmoveSeed, not a nut.
/nuts/pumpkin-seed/seeds/pumpkin-seedmoveSeed, not a nut.
/nuts/sunflower-seed/seeds/sunflower-seedmoveSeed, not a nut.
/nuts/fava-bean/foods/fava-beanmovePulse — canonical home is the Legumes category.
/nuts/roasted-chickpea/nuts/roasted-chickpea-nutkeepEaten and sold as a nut (nokhodchi); links back to the chickpea legume record.
/foods/olive-oil/oils/olive-oilmoveOils & Fats is now a separate library.
/foods/olive/foods/olivekeepThe fruit stays in Foods/Fruits; the oil is a separate canonical record.
/herbs/turmeric/spices/turmericmoveDried rhizome used as a spice; Spices is now a separate library.
/herbs/cinnamon/spices/cinnamonmoveBark spice.
/herbs/cardamom/spices/cardamommoveSeed spice.
/herbs/cumin/spices/cuminmoveSeed spice.
/herbs/coriander/spices/coriander-seedmoveSeed spice; the fresh leaf is a separate herb record (`cilantro`).
/herbs/sumac/spices/sumacmoveDried fruit spice.
/herbs/golpar/spices/golparmoveSeed spice.
/herbs/saffron/spices/saffronmoveStigma spice. Gold Standard guide moves with it; existing URL 301s.
/herbs/ginger/spices/gingermoveRhizome used as a spice.
/herbs/black-seed/spices/nigellamerge`black-seed` and `nigella` are the same substance; single canonical id.
/herbs/persian-basil/herbs/basilreclassifyCanonical id simplified; remains a culinary herb.
/herbs/green-tea/foods/green-teamoveConsumed as a daily drink — canonical home is Foods/Drinks; the herb library links to it.
/herbs/hibiscus/herbs/hibiscuskeepTaken as an infusion; stays an infusion herb.
/foods/yogurt/foods/yogurtkeepDairy primary, Fermented secondary. Appears in both browse views, one page.
/foods/kashk/foods/kashkkeepDairy primary, Fermented secondary.
/foods/honey/foods/honeyreclassifyMoves from an ungrouped food to Animal Foods.
/foods/ash-reshteh/dishes/ash-reshtehmoveA dish, not an ingredient. Becomes a recipe hub linking to its ingredients.
/foods/saffron-rice/dishes/chelo-saffronmoveA dish; canonical home is Traditional Persian Dishes.
/foods/rosewater/foods/rosewater-drinkreclassifyDistillate consumed as a drink/flavouring; Drinks category, links to the rose herb record.
/foods/barley/foods/barleyreclassifyMoves into the Whole Grains category.
/foods/lentils/foods/lentilmergePlural legacy id merges into the singular canonical id; Legumes category.
/foods/beans/foods/white-beanreclassifyGeneric `beans` splits into named legume records; the old path resolves to white beans.
/foods/chickpeas/foods/chickpeamergeSingular canonical id; Legumes category.
Deliverable 3

Knowledge graph

Two edge types, two levels of trust. Organizational edges are navigational and public immediately. Evidence edges are private until an editor approves them and the food has reached the level that authorises the claim.

Organizational — public

Related foods, related herbs, related recipes, traditional dishes, similar ingredients. 33 seeded edges, all live.

  • shirazi-saladtomato (related-food)
  • shirazi-saladcucumber (related-food)
  • shirazi-saladonion (related-food)
  • shirazi-saladmint (related-herb)
  • shirazi-saladolive-oil (related-food)
  • shirazi-saladlime (related-food)
  • mast-o-khiaryogurt (related-food)
  • mast-o-khiarcucumber (related-food)

Evidence — gated

Nutrients, health goals, traditional classifications, modern evidence. Requires approval, named reviewer, ISO review date, citations for modern claims, and the minimum maturity level.

  • pomegranateheart-health withheld · draft
  • pomegranatepolyphenols withheld · draft
  • walnutbrain-health withheld · draft
  • walnutalpha-linolenic-acid withheld · draft
  • olive-oilheart-health withheld · draft
  • lentilblood-sugar withheld · draft
  • yogurtgut-health withheld · draft
  • saffronmodern-evidence-saffron-mood withheld · draft
  • saffrontpm-warm-dry withheld · draft

9 of 9 evidence edges are currently withheld. The gate fails closed.

Deliverable 4

Collection structure

Ten goal collections. A collection owns no membership list of its own — it is a projection of approved evidence edges, so nothing can be added to it without review.

❤️ Heart Health

Foods with reviewed evidence relationships to cardiovascular health.

0 published · 2 awaiting review
🧠 Brain Health

Foods with reviewed evidence relationships to cognition and brain aging.

0 published · 1 awaiting review
🌿 Gut Health

Foods with reviewed evidence relationships to digestion and the gut microbiome.

0 published · 1 awaiting review
😴 Better Sleep

Foods with reviewed evidence relationships to sleep quality.

0 published · 0 awaiting review
🔥 Anti-inflammatory

Foods with reviewed evidence relationships to inflammatory markers.

0 published · 0 awaiting review
🩸 Blood Sugar

Foods with reviewed evidence relationships to glycaemic response.

0 published · 1 awaiting review
👴 Healthy Aging

Foods with reviewed evidence relationships to healthy aging.

0 published · 0 awaiting review
💪 Muscle & Strength

Foods with reviewed evidence relationships to muscle maintenance.

0 published · 0 awaiting review
⚖️ Weight Management

Foods with reviewed evidence relationships to satiety and weight.

0 published · 0 awaiting review
🛡 Immune Support

Foods with reviewed evidence relationships to immune function.

0 published · 0 awaiting review
Deliverable 5

Canonical content model

What a record may contain at each rung of the existing editorial maturity model. A page never renders a field its level has not authorised.

LevelFields authorisedPublic?
Level 0 — Inventoryid, name, scientific name, library, primary + secondary categories, relations, internal placeholdersNo — internal only
Level 1Basic Reviewed Profile+ descriptive paragraphs, common names, family, named reviewer and date. No claims of any kind.Yes — within its level
Level 2Traditional Context Reviewed+ traditional context with primary-source attribution, traditional classification edges.Yes — within its level
Level 3Evidence Reviewed+ nutrients, health-goal edges, modern evidence with citations and evidence rating, safety notes.Yes — within its level
Level 4Gold Standard Certified+ full guide, photography, Hakim grounding, certification review.Yes — within its level
Phase 5

Recipes as knowledge hubs

A dish is a connector. Its ingredient list is a set of graph edges into canonical pages, and it publishes at Level 1 only — ingredients, steps, serving, plain description, no claims.

Shirazi Salad

Side · Raw / no-cook

Shirazi salad is a finely diced salad of tomato, cucumber and onion, dressed with lime juice and olive oil and finished with dried or fresh mint. Everything is cut to roughly the same small size, so a spoonful carries all of it at once.

tomatocucumberonionmintlimeolive-oil
Passes the Level 1 gate

Mast-o-Khiar

Side · Raw / no-cook

Mast-o-khiar is strained yogurt stirred with diced cucumber, dried mint and, in many households, chopped walnuts and a few raisins. It is served cold as a side dish or eaten with bread as a light meal.

strained-yogurtcucumbermintwalnutraisin
Passes the Level 1 gate

Adasi

Breakfast · Simmered

Adasi is a soft lentil pottage cooked with onion, turmeric and a little tomato until the lentils break down. It is eaten at breakfast in Iran, with bread and sometimes a squeeze of lime.

lentilonionturmerictomatoolive-oillime
Passes the Level 1 gate
Phase 6

Discovery facets

Eight browse facets. Seven structural, one evidence-gated.

Health goal
evidence-gated

Populated only from approved evidence relationships. Empty until review passes.

Meal
structural

When the item is normally eaten.

Cuisine
structural

Culinary tradition the preparation belongs to.

Season
structural

When the item is at its best or traditionally eaten.

Preparation method
structural

How the item is made ready to eat.

Dietary preference
structural

Factual composition, not a recommendation.

Ingredient
structural

Walks the organizational graph from an ingredient to every dish that uses it.

Food category
structural

The canonical taxonomy itself.

Browsing by Mizaj or temperament is not part of this phase. Any future temperament-based discovery is a separate educational project, permitted only after the Mizaj educational foundation, governance model and assessment architecture are completed and approved.

Deliverables 6–8

Recommended cohorts

336 inventory foods are seeded. Below: the first 50 to review at Level 1, and the first 15 to carry to Gold Standard.

229
Foods
25
Herbs
22
Spices
14
Nuts
12
Seeds
12
Healthy Oils & Fats
22
Traditional Persian Dishes

First 50 — Level 1 reviewed

tomatocucumberoniongarlic-bulbeggplantspinachcarrotpotatozucchinibell-peppercauliflowerbroccolibeetrootceleryleekpurslanepomegranatedatefiggrapeapplequinceorangelemonlimesour-cherryapricotmelonwatermelonraisinbrown-ricebarleyoatsbulgurwhole-wheat-flourlentilchickpeakidney-beanwhite-beanfava-beanyogurtstrained-yogurtkashkfeta-cheeseeggwalnutpistachioalmondsesame-seedolive-oil

First 15 — Gold Standard

saffronpomegranatedatewalnutolive-oilyogurtbarberryfigquincelentilturmericcinnamonsesame-seedgreen-teachickpea
Deliverables 9–10

Editorial capacity and expansion roadmap

Planning estimates. Capacity, not inventory size, is the limit on public pages.

LevelHours / recordPer monthNotes
Level 0 — Inventory record0.1300Identity, category, canonical id. Batched; no prose.
Level 1 — Basic reviewed profile1.526Three descriptive paragraphs, names, family, factual review pass.
Level 2 — Traditional context reviewed58Sourced traditional record with attribution to primary texts.
Level 3 — Evidence reviewed123Literature review, citation capture, evidence rating, safety pass.
Level 4 — Gold Standard certified301Full guide, photography, certification review, Hakim grounding.
  • One reviewing editor at ~40 productive hours per month.
  • Levels are not worked in parallel on the same record: a food climbs one rung at a time.
  • Photography sourcing and licensing is counted inside Level 4, not outside it.
  • Adding a second reviewer roughly doubles Level 1–2 throughput but not Level 4, which is founder-reviewed.
  • Capacity, not inventory size, is the limit on public pages. Inventory may grow freely; publication may not.
Month 1Architecture in place, inventory seeded
336 Level 0 records, taxonomy frozen, graph and gates live

Gate: Integrity tests green; no evidence edge public.

Months 2–3First Level 1 cohort
50 Level 1 reviewed profiles (~26/month)

Gate: Every profile passes the Level 1 claim validator.

Months 4–6Traditional context depth
24 Level 2 records, 3 Level 4 guides, 3 recipe hubs

Gate: Traditional claims carry primary-source attribution.

Months 7–12Evidence layer opens
18 Level 3 records; first collections become non-empty

Gate: A collection renders only from approved, cited edges.

Year 2Breadth at Level 1, depth at the top
+300 Level 1, +80 Level 2, +30 Level 3, 12 more Gold Standard

Gate: Quarterly re-review of all Level 3+ citations.

Years 3–5The reference people return to
~1,000 Level 1, ~250 Level 2, ~120 Level 3, ~60 Gold Standard

Gate: Editorial constitution unchanged; capacity added before scope.