Skip to content

fix(shiso): complete live culinary agent acceptance repairs - #75

Merged
kryptek2000 merged 1 commit into
mainfrom
fix/shiso-live-acceptance-repair
Nov 28, 2026
Merged

kryptek2000 merged 1 commit into
mainfrom
fix/shiso-live-acceptance-repair

Conversation

@kryptek2000

Copy link
Copy Markdown
Owner

Summary

Repairs the two demonstrated SHISO Phase 1 live-acceptance defects on top of the approved Phase 1 merge (d2f1f2a):

  1. SHISO Chat can now initialize the existing application-owned nutrition review without requiring the user to open Advanced Nutrition first.
  2. Real authenticated USDA selection now follows the authored measurement instead of choosing the first usable portion, so the Breakfast Burritos butter and cheddar lines resolve usefully.

No new features, redesign, or Phase 2 work is included.

What changed

  • Nutrition review initialization directly from Chat. Uses the same application-owned bundle loader and Phase 4 analyzer as the visible Generate Nutrition action. The review remains UNSAVED.
  • Manual Advanced Nutrition prerequisite removed for explicit investigation. A narrow self-init gate prevents generic requests such as “Find a recipe for dinner” from starting a nutrition analysis.
  • Measurement-compatible USDA portion selection. Volume lines use compatible volume portions, mass lines use mass portions, and count lines require the authored item (for example, tortilla is not slice or package). Ambiguous preparations are not guessed.
  • Verified unsalted butter and cheddar resolution. Against the pinned authenticated USDA bundle, SHISO selects Butter, without salt at 9.47 g and Cheese, cheddar at 210 g.
  • Ingredient alternatives and missing measurements stay unresolved. Equal alternatives (breakfast vs Italian sausage), flexible mixtures (vegetables), a pinch of salt, and tortilla count weight are returned as genuine user decisions.
  • Consolidated user questions. One bounded question covers the outstanding composition, alternative, and measurement choices.
  • Composite head-identity fallback. burrito tortillas can discover tortillas only after the full identity finds no candidate; varietal broadening such as cheddar cheese -> generic cheese is not performed.
  • Explicit Apply/Save authority preserved. The acceptance turn calls no Apply or Save tool and writes no Vault content.

Independent audit

PASS. The independent audit found no scoped blocker across all eight accepted source/test files.

Focused evidence:

Check Result
Pinned real-catalogue acceptance test 1/1 PASS
Real-App on-disk integration file 7/7 PASS
SHISO/nutrition/security/Phase 4–5 focused group (11 files) 232/232 PASS
Provider and nutrition-AI availability group (5 files) 98/98 PASS
TypeScript tsc --noEmit PASS
Production build PASS
git diff --check PASS

No personal Recipe Vault was opened or modified. No live or paid provider request was made.

Provider capability distinction

SHISO Chat and Advanced Nutrition have intentionally different provider contracts:

  • SHISO Chat uses the conversation adapter and does not require a structuredOutput capability.
  • Advanced Nutrition AI readiness requires a configured/available provider advertising structuredOutput: true and fails closed otherwise, while deterministic/manual USDA review remains available.

A deployment can therefore support ordinary SHISO Chat while Advanced Nutrition reports no compatible AI provider. No entitlement or provider-selection boundary is bypassed.

Scope

Eight files: four production files and four tests, including the new pinned-bundle acceptance test. Temporary logs, generated artifacts, credentials, and personal Vault data are excluded.

Merge status

Open for review. Not merged, installed, or deployed.

@kryptek2000
kryptek2000 merged commit f1a011c into main Nov 28, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant