feat(examples): expand baker-family with relationships and world context
Added comprehensive v0.3.0 feature demonstration: Characters (5 total): - Martha & Jane (married lesbian couple, co-owners of bakery) - Emma (their daughter, apprentice baker) - Henry (loyal customer, retired teacher) - Roland (competing baker) New declarations: - 6 relationships with asymmetric perspectives (Marriage, ParentChild×2, BusinessPartnership, CustomerRelationship, Competition) - Locations with prose (MarthasBakery, MainStreet) - Institution (BakersGuild) - Life arcs (MarriageQuality, BusinessGrowth) Features demonstrated: - Concept comparison usage (skill_tier: Master/Journeyman) - Life arc applied to relationship - Asymmetric participant perspectives - Family coherence across files
This commit is contained in:
@@ -33,9 +33,19 @@ sub_concept SkillLevel.Tier {
|
||||
Master
|
||||
}
|
||||
|
||||
// Concept comparison - compile-time mapping of skill tiers to defaults
|
||||
// Concept comparison - compile-time mapping of skill tiers to quality expectations
|
||||
// An Apprentice can produce any quality; a Master must produce fresh goods
|
||||
concept_comparison SkillLevel {
|
||||
Apprentice: { baking_skill: any },
|
||||
Journeyman: { baking_skill: any },
|
||||
Master: { baking_skill: any }
|
||||
Apprentice: {
|
||||
baking_skill: Tier is Apprentice,
|
||||
freshness: any
|
||||
},
|
||||
Journeyman: {
|
||||
baking_skill: Tier is Journeyman,
|
||||
freshness: any
|
||||
},
|
||||
Master: {
|
||||
baking_skill: Tier is Master,
|
||||
freshness: Tier is Master
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user