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:
2026-02-14 15:49:17 +00:00
parent 45fd3b52cb
commit b042f81aeb
13 changed files with 427 additions and 42 deletions

View File

@@ -34,9 +34,9 @@ fn load_example(name: &str) -> Project {
fn test_baker_family_loads_successfully() {
let project = load_example("baker-family");
// Should have exactly 3 characters
// Should have exactly 5 characters
let char_count = project.characters().count();
assert_eq!(char_count, 3, "Baker family should have 3 characters");
assert_eq!(char_count, 5, "Baker family should have 5 characters");
// Verify all characters exist
assert!(
@@ -51,6 +51,14 @@ fn test_baker_family_loads_successfully() {
project.find_character("Emma").is_some(),
"Emma should exist"
);
assert!(
project.find_character("Henry").is_some(),
"Henry should exist"
);
assert!(
project.find_character("Roland").is_some(),
"Roland should exist"
);
}
#[test]