kiwi/app/services
pyr0ball e45b07c203 feat: expand secondary use windows + dietary constraint filter (kiwi#110)
Adds 10 new secondary use entries and corrects all 8 existing ones.
New: apples/soft, leafy_greens/wilting, tomatoes/soft, cooked_pasta/day-old,
cooked_potatoes/day-old, yogurt/tangy, cream/sour, wine/open,
cooked_beans/day-old, cooked_meat/leftover.

Corrections: milk uses (specific recipes, not 'baking'/'sauces'); dairy uses
expanded; cheese label well-aged→rind-ready with named dishes (minestrone,
ribollita); rice uses (onigiri, arancini, congee); tortillas warning added;
bakery uses and synonyms expanded to named pastries; bananas synonyms
(spotty/brown/black/mushy); rice synonyms (old rice).

New fields on every SECONDARY_WINDOW entry:
- discard_signs: qualitative cues for when the item has gone past its
  secondary window (shown in UI alongside uses)
- constraints_exclude: dietary labels that suppress the entry entirely
  (wine suppressed for halal/alcohol-free)

ExpirationPredictor.filter_secondary_by_constraints() applies constraint
suppression; _enrich_item() now accepts user_constraints and passes
secondary_discard_signs through to the API response.
2026-04-24 17:08:45 -07:00
..
community feat(community): KiwiCommunityStore + pseudonym helpers in per-user store 2026-04-13 10:54:13 -07:00
export chore: initial commit — kiwi Phase 2 complete 2026-03-30 22:20:48 -07:00
image_preprocessing chore: initial commit — kiwi Phase 2 complete 2026-03-30 22:20:48 -07:00
meal_plan docs(bsl): document cf-text/LLMRouter routing chain in llm_timing and llm_planner 2026-04-12 14:07:32 -07:00
ocr chore: bump circuitforge-core dep to >=0.8.0; fix stale resources imports 2026-04-04 22:39:04 -07:00
quality chore: initial commit — kiwi Phase 2 complete 2026-03-30 22:20:48 -07:00
recipe feat: expand secondary use windows + dietary constraint filter (kiwi#110) 2026-04-24 17:08:45 -07:00
__init__.py feat: cross-encoder reranker for recipe suggestions (kiwi#117) 2026-04-24 16:39:51 -07:00
barcode_scanner.py feat: cloud auth bypass, VRAM leasing, barcode EXIF fix, pipeline improvements 2026-04-01 16:06:23 -07:00
coordinator_proxy.py feat(streaming): add coordinator_proxy service module 2026-04-24 10:18:40 -07:00
expiration_predictor.py feat: expand secondary use windows + dietary constraint filter (kiwi#110) 2026-04-24 17:08:45 -07:00
heimdall_orch.py feat(kiwi): add Heimdall orch budget client with fail-open semantics 2026-04-14 15:15:43 -07:00
inventory_service.py chore: initial commit — kiwi Phase 2 complete 2026-03-30 22:20:48 -07:00
openfoodfacts.py fix: barcode scan performance + timeout + success message 2026-04-16 09:57:53 -07:00
receipt_service.py chore: initial commit — kiwi Phase 2 complete 2026-03-30 22:20:48 -07:00
receipt_service_inmemory_backup.py chore: initial commit — kiwi Phase 2 complete 2026-03-30 22:20:48 -07:00