Repository navigation
Add request-shape prefix diagnostics - #21
Merged
likun666661 merged 1 commit intoJun 16, 2026
Merged
Conversation
jackwener
pushed a commit
that referenced
this pull request
Jun 21, 2026
Add request-shape prefix diagnostics
jackwener
pushed a commit
that referenced
this pull request
Jun 21, 2026
Add request-shape prefix diagnostics
jackwener
pushed a commit
that referenced
this pull request
Jun 21, 2026
Add request-shape prefix diagnostics
jackwener
pushed a commit
that referenced
this pull request
Jun 21, 2026
Add request-shape prefix diagnostics
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.
Refs #19.
Summary
RuntimeRunner -> AiSdkFlow -> AiSdkBackend -> ModelAdapterpath, with per-sessionprefixHashandprefixChangeReasonpropagation through token usage, RuntimeEvents, run trace, and LLM telemetry.invalidrepair tool last, and using the same deterministic order foractiveToolsand repair candidates.Rive Review
maka.deepseek-cost-runtime-phase2@1wfrun_e81d5db134fb48e796cdf09678072186/tmp/rive-maka-phase2-request-shape-20260616/output/02-review-report.mdRunTracecall shapes. Fixed in this PR before commit.Validation
npm run typechecknpm --workspace @maka/runtime test(462/462)npm --workspace @maka/core test(614/614)npm --workspace @maka/storage test(81/81)npm --workspace @maka/desktop test(1399/1399)npm run buildgit diff --checkdeepseek-chatturns returnedOK; first turn reportedprefixChangeReason=first_turn, second reportedstable, both shared the sameprefixHash. DeepSeek returned normalized miss counters for both turns (input=2306,cacheMissInput=2306,cacheHitInput=0,output=1), so this smoke verified the local diagnostic path and provider usage-field normalization but did not observe a cache-hit token in this run.