Recipe reference
2 pages, 10 routes, 10 connections and 0 CLI commands, generated from the declarations of Recipe without reading storage or running anything.
Code · 0 files
No ingested source sits in a crate named for this app. Either its crate has not been ingested, or the app's name does not match its crate.
Pages · 4
| Page | View id | Role | Route | Order | Parent | Entity | Navigation |
|---|---|---|---|---|---|---|---|
| Overview | recipe.home | home | /view/recipe | 0 | in navigation | ||
| Recipe details | recipe.item | detail | /view/recipe/{recipe} | 0 | recipe.index | Recipe | hidden |
| Shop menu | recipe.menu | custom | /view/recipe/menu/{shop} | 0 | recipe.index | Shop | hidden |
| List | recipe.index | list | /view/recipe/list | 20 | Recipe | in navigation |
Connections · 10
Recipe.Cook
Execute a recipe (the kitchen analog of Fabrication.Complete): dispatches Item.Upsert (the dish), Manufacture.StepCreate (ingredients in -> dish out, cook as actor), and Inventory.Receive (servings land as stock) by connection name, best-effort; optionally Food.Source announces the prepared meal, and record_meal=true logs the eaten portion (default one serving) via Food.RecordMeal so it folds into Health nourishment. With consume_stock=true each ingredient is drawn down via Inventory.Sell; when every line draws AND the meal is fully covered by the nutrient catalog, the `diet.attested.v1` contract mints 1 cre8/diet/{subject_id}/attested_meal. Self-reported meals never mint. Records a RecipeCook vertex. An industrial recipe writes one lot-bearing Manufacture.StepCreate per process stage, each stage's lot consuming the previous one; ingredient_lots names the raw lots the first stage consumes, and a home recipe given ingredient_lots is recorded as a cook-stage lot.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| recipe | required | |||
| cook | optional | |||
| scale | optional | |||
| location_ref | optional | |||
| announce_food | optional | |||
| record_meal | optional | |||
| subject_id | optional | |||
| servings_eaten | optional | |||
| consume_stock | optional | |||
| ingredient_lots | optional | |||
| origin_ref | optional | |||
| batch_kg | optional | |||
| batch_id | optional |
- Output keyrecipe.result
- Classificationreal
- POST /recipe/cookHTTP route
Recipe.CookList
List cook executions, optionally filtered by recipe.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| recipe | optional |
- Output keyrecipe.result
- Classificationroute_handler
- GET /recipe/cooksHTTP route
Recipe.Get
Get one recipe with its cook history.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| recipe | required |
- Output keyrecipe.result
- Classificationroute_handler
- GET /recipe/recipeHTTP route
Recipe.List
List recipes, optionally filtered by cuisine or tag.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| cuisine | optional | |||
| tag | optional |
- Output keyrecipe.result
- Classificationroute_handler
- GET /recipe/recipesHTTP route
Recipe.Nutrition
Project a recipe's ingredients onto the Food nutrient model: dispatches Food.AnalyzeMeal by connection name in partial mode, so ingredients the catalog does not carry are reported in missing_foods with a coverage fraction instead of failing. Defaults to one serving (scale / yield_servings); pass per_serving=false for the whole batch.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| recipe | required | |||
| scale | optional | |||
| per_serving | optional | |||
| goals | optional | |||
| target_share | optional |
- Output keyrecipe.result
- Classificationroute_handler
- GET /recipe/nutritionHTTP route
Recipe.Plan
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| days | required | |||
| meals_per_day | optional | |||
| goals | optional | |||
| allergens | optional | |||
| patterns | optional | |||
| excluded_food_ids | optional |
- Output keyrecipe.result
- Classificationunclassified
- POST /recipe/planHTTP route
Recipe.Status
Recipe subsystem status (recipe + cook counts).
- Output keyrecipe.result
- Classificationroute_handler
- GET /recipe/statusHTTP route
Recipe.SupperClub
Serve a menu — the Event × Cook × Shop composition: (optionally) Event.Create the occasion, cook each dish (Recipe.Cook, recording Manufacture provenance), and list each in a Shop via Shop.ItemUpsert carrying its manufacture_step_id so the storefront inherits the farm→dish lineage. Per-dish best-effort, all by connection name.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| shop | required | |||
| menu | required | |||
| cook | optional | |||
| event_id | optional |
- Output keyrecipe.result
- Classificationreal
- POST /recipe/supper-clubHTTP route
Recipe.Upsert
Register or update a recipe: ingredients (item refs + quantities, Farm-crop-aligned), sequenced steps (the kitchen stage spine), yield, allergens, cuisine. industrial=true adds a plant formulation: yield_pct/loss_pct, batch_kg, an optional origin_ref and ordered process_stages (food_stage, food_id, yield_pct per stage).
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| name | required | |||
| ingredients | required | |||
| steps | required | |||
| yield_servings | optional | |||
| cuisine | optional | |||
| industrial | optional | |||
| yield_pct | optional | |||
| loss_pct | optional | |||
| batch_kg | optional | |||
| process_stages | optional | |||
| origin_ref | optional |
- Output keyrecipe.result
- Classificationreal
- POST /recipe/recipeHTTP route
Recipe.ViewPatch
Live-patch frame for the recipe document views: index strip (no params) or one recipe's cook-count strip (?recipe={slug}).
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| recipe | optional |
- Output keyrecipe.result
- Classificationroute_handler
- GET /recipe/document/patchHTTP route
Schema and data model
Declared storage and kinds. Linked kinds open their app pages.
- Authorityhyper
- Preferred truthhyper
- App ownerRecipe
- SQL projectionnone · DDL declarations: 0
- Recipe
- RecipeCook
- Recipe
- RecipeCook
- None declared.
- None declared.
- cre8/diet/{subject_id}/attested_meal
- No model warnings were reported.
Capabilities and dependencies
- Hyperdb