Files
storybook/examples/baker-family/behaviors/henry_behaviors.sb
Sienna Meridian Satterwhite abd54e4c33 feat(examples): rewrite baker-family as coherent Competition Week narrative
Rewrote the baker-family example around a unified story: the annual Harvest
Baking Competition is Saturday. Martha's sourdough starter Old Maggie is
sluggish from a cold snap, Jane is secretly entering the FreeStyle category,
Emma's science fair project is "The Chemistry of Fermentation", Henry is
judging for the first time and worried about impartiality, and Roland is
defending last year's title.

The week's schedules (Mon guild meeting → Tue test bakes → Wed sourcing →
Thu dough prep → Fri science fair → Sat competition → Sun recovery) are
now fully populated with narrative-specific actions.

Files split for composability:
- behaviors/baker_behaviors.sb → 5 focused files by character/domain
- schema/types.sb → 4 files (core, baking, world, social)
- schedules/work_schedules.sb → 4 files (one per schedule)
- relationships/baker_family_relationships.sb → family + bakery

Strong typing: replaced all enumerable string fields with concepts
(BakerSpecialty, Occupation, LocationType, InstitutionType, ParentingStyle,
Intensity, BakeryDomain, BakingDiscipline, ManagementDomain,
CompetitiveAdvantage).

Remove new-syntax-demo.sb (superseded by baker-family example).
2026-02-23 21:51:01 +00:00

49 lines
975 B
Plaintext

//! Henry's behaviors — retired teacher, loyal customer, first-time judge
// Henry's morning routine: daily visit to the bakery
behavior BakeryVisit {
then {
walk_to_bakery
buy_sourdough_loaf
chat_with_martha
}
}
behavior MorningWalk {
then {
walk_through_town
greet_neighbors
enjoy_morning_air
}
}
behavior ReadingTime {
choose {
read_history_book
read_newspaper
write_in_journal
}
}
// Friday: Henry reviews the judging criteria before Saturday's competition
behavior ReviewJudgingCriteria {
then {
read_scoring_rubric
practice_palate
review_past_winners
prepare_notes
}
}
// Saturday: Henry judges the Harvest Baking Competition
behavior JudgeCompetition {
then {
arrive_at_venue
review_entries
taste_each_entry
score_on_criteria
deliberate_with_panel
announce_results
}
}