Skip to content

feat(shiso): master culinary agent phase 1 - #74

Merged
kryptek2000 merged 1 commit into
mainfrom
feat/shiso-master-culinary-agent-phase1
Nov 28, 2026
Merged

kryptek2000 merged 1 commit into
mainfrom
feat/shiso-master-culinary-agent-phase1

Conversation

@kryptek2000

Copy link
Copy Markdown
Owner

Summary

Phase 1 turns SHISO into a goal-directed culinary agent using the existing conversation controller, closed tool vocabulary, authenticated USDA session, Phase 4 review/calculator, Phase 5 Apply, and canonical Vault save.

Delivered

  • Complete paged recipe comprehension: get_current_recipe returns bounded instruction pages with total/offset/returned/completion/next-offset metadata and per-step references/truncation flags. The production recipe view retains complete ingredients, preparations, metadata, timings, and up to 200 authored steps.
  • Ingredient identity and USDA filtering: a new pure Phase 4 projection separates identity, quantity, preparation, authored alternatives, flexible mixtures, and vague measures. search_usda_foods and investigate_unresolved_ingredients reject wrong-food-head and composite-dish matches while preserving exact authority results.
  • Goal-directed nutrition investigation: unresolved-line investigation returns compatible candidates, authenticated portion evidence, next_actions, and explicit select_source actions. An identity-first completion pass selects only unambiguous authenticated sources before completing.
  • Consolidated ingredient-choice questions: equal alternatives, flexible mixtures, and vague measures produce one consolidated_question / pending_user_choices response instead of repeated stops. No invented composition, conversion, or verified total.
  • Verified task continuation: a disposable real-App/on-disk regression demonstrates investigate -> consolidated question -> user answers -> authenticated source selection -> canonical Apply/Save -> reload (Chicken breast, 280 g, shiso_user_directed; no turkey).
  • Preserved protections: existing standing authority, do-not-save, Vault/recipe identity, review-version, Phase 5 eligibility, save grants, provenance, history/Restore, and bounded tool/model budgets remain in force.

Acceptance

  • Focused Phase 1/security/conversation/nutrition group: 155/155 pass.
  • Repaired Phase 4 isolation security file: 12/12 pass.
  • Real-App on-disk suite including continuation: 6/6 pass.
  • TypeScript, production build, and git diff --check: pass.

Known limitations

  • Chef/continuation model responses in tests use deterministic simulated transport; no live paid provider was called.
  • Flexible vegetable composition and pinch measurements remain intentionally user-directed; no 8/8 coverage is claimed.
  • Instruction-step editing remains the documented Phase 1 boundary.
  • get_vault_recipe remains bounded and reports truncation; current recipes support complete paged reads.

Existing SHISO Agent Execution Repair behavior is preserved. No instruction-step editor, new nutrition engine, or redesign is introduced.

@kryptek2000
kryptek2000 merged commit d2f1f2a 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