Skip to content

fix(shiso): repair culinary task continuation and review integrity - #76

Merged
kryptek2000 merged 2 commits into
mainfrom
fix/shiso-continuation-integrity
Nov 28, 2026
Merged

kryptek2000 merged 2 commits into
mainfrom
fix/shiso-continuation-integrity

Conversation

@kryptek2000

Copy link
Copy Markdown
Owner

Summary

Repairs the demonstrated SHISO culinary-task continuation failure on top of main at f1a011c. This is the exact six-file, independently audited repair; no additional development or scope expansion is included.

The three verified corrections are:

  1. Repeated cached reads no longer prematurely terminate productive work. An identical successful get_nutrition_review is served as cached evidence without consuming another tool execution and the turn continues. A bounded no-progress stop remains after repeated identical serves. Successful state-changing tools invalidate cached read evidence and repeat counters.
  2. Chat-initiated nutrition reviews retain a single authoritative owner. The same-turn independent Chat review now receives every source selection; a mounted card whose review was never initialized cannot capture the selections and then supply an earlier snapshot on the next turn. The 4/8 → 3/8/2/8 ownership regression is eliminated without a timing delay.
  3. Trusted ingredient answers use authenticated selection capabilities where supported. The continuation path processes the user's answer, uses compatible volume, mass, or count portions through the existing Phase 4 authority, and reports genuine blockers where the catalogue or recipe cannot support one. Counts use the existing count builder and select_count_portion action.

Real-catalogue evidence

Against the pinned authenticated USDA catalogue and the real Breakfast Burritos structure:

  • Initial investigation: butter and cheddar selected; 4 of 8 ingredient lines source-backed.
  • Exact owner answers are processed.
  • The previously verified butter, cheddar, egg, and milk selections remain attached.
  • Continuation coverage remains 4 of 8 source-backed; there is no silent regression.
  • No Apply or Save occurs.

Remaining USDA and recipe limits

These are reported as concrete blockers, not fabricated completion:

  • The vegetable answer is a multi-ingredient mixture; one recipe line cannot truthfully become one USDA vegetable.
  • The breakfast-sausage records expose no compatible authenticated mass portion; the authored 1 lb direct mass remains authoritative and is not replaced by an invented conversion.
  • 2 pinches salt has no documented exact mass; naming table salt does not supply a weight.
  • The real tortilla records have no authenticated per-item count portion; a measured weight is required.
  • The real sharp-cheddar record has slice portions, not a cup-compatible portion; the existing generic cheddar selection is retained and disclosed rather than substituting slices.

The real-App synthetic fixture separately executes supported volume and count selections: sharp cheddar 1 cup → 226 g and 8 tortilla pieces → 360 g. That fixture is labeled as synthetic.

Permissions and provenance

  • Nothing was applied or saved. is part of the deterministic continuation response.
  • No Apply, Save, provider call, or Vault write occurs on the continuation path.
  • Explicit affirmative Apply/Save commands still use the established authorization flows and are not intercepted by the answer shortcut.
  • Selections remain bound to the same recipe, line, catalogue, and review identity.
  • No production food IDs or Breakfast Burritos-specific branches were added.

Independent audit

PASS — no reproducible blocker in the scoped six-file repair.

Focused evidence:

Check Result
Real-App on-disk file 10/10 PASS
Pinned real-catalogue acceptance 2/2 PASS
SHISO unit + security 377/377 PASS
SHISO integration (sequential) 36/36 PASS
TypeScript tsc --noEmit PASS
Production build PASS
git diff --check PASS

Scope

Six files: one new generic continuation module, three production integrations, and two test files. No commit, push, merge, install, deployment, personal-Vault access, or paid-provider call was part of the implementation.

Do not merge until the owner authorizes it.

@kryptek2000
kryptek2000 merged commit 0891d85 into main Nov 28, 2026
21 of 22 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