- Migrate
PantryItemmodel (stock_level, category, expiry_date, added_at, is_bulk, bulk_use_count)
- Create
backend/pantry/templates.pywith 30+ kitchen items
- Update existing endpoints for new schema
- Add
POST /pantry/quick-stock - Add
POST /pantry/cook/{recipe_name} - Add
GET /pantry/expiring - Add
POST /pantry/mark-purchased
- Expand recipe templates to 30+
- Adapt
detect_low_stock()for stock_level - Adapt
suggest_cookable_recipes()for stock_level + expiry boost - Adapt
group_grocery_items()for stock_level - Add expiry defaults +
get_effective_expiry()helper
- Adapt recipe-match for qualitative matching
- Update
test_household_module_flow()for new schema - Update
test_household_intelligence_flow()for new schema - Add
test_quick_stock_onboarding() - Add
test_cook_auto_decrement() - Add
test_bulk_item_slow_decrement() - Add
test_expiring_items() - Add
test_mark_purchased_restocks_pantry()
- Update
PantryIteminterface - Update
addOrUpdatePantryItem()signature - Add
quickStockPantry(),cookRecipe(),getExpiringItems(),markPurchasedAndRestock()
- Redesign
PantryManager.tsxwith battery-style cards - Create
QuickStockModal.tsx - Add "I Cooked This" to
CookTodayPanel.tsx - Add expiry alerts to
LowStockAlerts.tsx - Wire up
HouseholdDashboard.tsx
- All tests pass (59 passed)
-
npm run lintpasses -
npm run buildpasses - Push to main