Add weekly-shop-to-inventory import (on-demand, exclusions) + structured basket save

- scripts/shop_basket.py: normalize + save structured weekly basket to last-shop.json (git-ignored live data)
- SKILL.md: weekly job now persists last-shop.json; new on-demand rule 'add everything from Monday's shop except X'
- .gitignore: ignore last-shop.json in both live skill and repo
- Weekly cron prompt updated to save basket (still never auto-modifies inventory)
This commit is contained in:
meal-agent
2026-08-27 19:39:31 +01:00
parent d8aa87921e
commit fb80f6a3dd
3 changed files with 206 additions and 0 deletions

2
.gitignore vendored
View File

@ -4,6 +4,8 @@ inventory.json
meal-history.json
# Weekly cuisine pick (regenerated by scripts/pick_cuisine.py; not source).
cuisine-rotation.json
# Last generated weekly shop (regenerated by the weekly job; not the inventory).
last-shop.json
# Python caches
__pycache__/
scripts/__pycache__/