Repository navigation
fix(shiso): preserve multi-recipe evidence and reserve final synthesis - #77
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Repairs SHISO's ability to finish a bounded multi-recipe culinary assignment using verified Recipe Vault evidence. This is the exact nine-file, independently audited repair; no additional development or scope expansion is included.
The owner's demonstrated failure was six discovery/read tool operations followed by:
No meal plan was delivered.
What changed
1. Final model-call reservation without increasing budgets
finalizeon the sixth request withmodel_invocations_used=5.2. Bounded evidence retention for multiple recipes
New
src/application/shisoTaskEvidence.tsretains, within 5,000 characters:get_current_recipepages;Evidence is sent on every later model step, validated again at the server boundary, and labeled as untrusted source data. No missing amount, time, ingredient or instruction is invented.
3. Task-completion discipline and verified partial fallback
get_vault_recipe, then STOP DISCOVERING.4. Real-App disposable Vault acceptance
A real App test connects a disposable on-disk Vault containing:
The test sends the multi-recipe discovery/read/pairing/sequence/combined-list request and verifies:
codexNutritionis written.5. Authorization, security and Vault boundaries
Verification
tsc --noEmitgit diff --checkThe deterministic end-to-end test proves transport, evidence and budget behavior. It uses a scripted final response and does not demonstrate live-model culinary reasoning quality.
Scope
Nine files: five production files (one new evidence module), four test files. No recipe-specific shortcuts, hardcoded food names, budget inflation, new nutrition engine, UI redesign, paid-provider calls, personal Vault access, commit, merge, installation or deployment beyond this PR.
Not merged.