16 lines
2.1 KiB
Markdown
16 lines
2.1 KiB
Markdown
# Implemented domain workflows
|
||
|
||
| Area | Implemented behavior and code entry points |
|
||
| --- | --- |
|
||
| Tasks and boards | `planner/models.py` and `planner/services/occurrences.py` model tasks, recurrence, occurrence state and weather shifts. The planner UI groups and filters tasks; no separate user-defined board model was found. Task CRUD is currently a browser feature; task MCP CRUD is proposed on a Project Manager card, not registered in `mcp_server/server.py`. |
|
||
| Food diary and hydration | `food/views.py`, `food/api.py`, `food/services/diary.py`, `food/services/hydration.py`; product nutrition snapshots are logged, and eligible drink entries contribute to hydration. |
|
||
| Kitchen inventory | `food/inventory.py`, `food/services/inventory_consumption.py`, scanner services and API; package-aware deductions, previews, undo and grocery transfer exist. |
|
||
| Recipes | `recipes/models.py`, `recipes/services/analysis.py`, `cooking.py`, `stock_use.py`; ingredients, substitutions, subrecipes, suggestion links, variations, Cook Later, scaled stock analysis and food logging. A suggestion link does not compose recipes. |
|
||
| Nutrition curation | `food/nutrition.py`, `nutrition_api.py`, migrations 0017/0021–0024; imported sources, canonical ingredients, recipe reviews, exclusions and user corrections. |
|
||
| Dietary preferences | `food/dietary_preferences.py` stores private preferences, narrow exceptions, audit history and recipe/product evaluations; uncertain results remain reviewable. |
|
||
| Groceries | `groceries/services.py` tracks needed/purchased shopping items, recipe demand, and explicit inventory transfer. Marking purchased does not add stock. |
|
||
| Home Assistant | `home_assistant/sync.py`, `task_sync.py`, models and management command; per-user to-do mapping and scheduled sync. This is separate from the MCP service. |
|
||
| Health and journals | `planner` health/fasting trackers; `stress` and `dreams` private journals with API and MCP access. |
|
||
|
||
Planned cards are not implementation evidence. In particular, whole-house possessions inventory and task-management MCP tools are future work. See [model map](../data/models.md) and [tool inventory](../mcp/tools.md).
|