-
-
Notifications
You must be signed in to change notification settings - Fork 0
Routing and State Model
ChefSkills routes a request to focused culinary behavior and models cooking as movement from an observed state to a target state.
The router answers:
- What kind of culinary task is this?
- Which primary skill owns the decision?
- Which supporting skills are necessary?
Source files:
router/README.mdrouter/classification-schema.yamlrouter/routing-catalog.yamltests/expected-routing.yaml
| Class | Meaning |
|---|---|
MAKE |
Create a dish, recipe, prep plan, or menu |
FIX |
Diagnose and recover a dish, process, flavor, or texture problem |
JUDGE |
Evaluate a recipe, substitution, plan, dish, or safety decision |
PLAN |
Organize prep, shopping, workflow, timing, or service |
LEARN |
Explain a technique, ingredient, mechanism, or culinary concept |
ADAPT |
Modify for constraints, dietary needs, equipment, scale, or availability |
PRESERVE |
Store, hold, reheat, ferment, cure, can, freeze, or assess leftovers |
Use one primary skill and up to three supporting skills for ordinary requests. Use up to five only when the request genuinely spans recipe design, scale, safety, workflow, and troubleshooting. For larger work, write a brief first and stage the work.
Activate food-safety when a request plausibly involves:
- raw or undercooked animal products
- unsafe holding, reheating, cooling, or storage
- canning, curing, fermenting, dehydration, sous vide, or vacuum storage
- allergens or medically relevant dietary constraints
- pregnancy or other vulnerable diners
- spoilage, mold, off odors, gas pressure, sliminess, or uncertain time-temperature history
- commercial food service, regulation, licensing, inspection, or jurisdiction-specific claims
ChefSkills treats cooking as movement from observed state to target state. The state model tracks:
- ingredient state
- heat state
- moisture state
- texture state
- flavor state
- workflow state
- safety state
Source files:
- Identify the user's goal.
- Identify the current observable state.
- Identify the target state.
- Explain the mechanism behind the gap.
- Choose the lowest-risk intervention.
- Predict side effects.
- Give verification cues.
- Apply the safety gate before final advice.
ChefSkills v0.1.0-public-preview is public-alpha software. Safety-sensitive culinary guidance requires current authoritative source checks and conservative uncertainty handling.