You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: key durable approval decisions by toolCallId instead of toolName (#3062)
* fix: key durable approval decisions by toolCallId instead of toolName
Eliminates ordering ambiguity when the same tool is called multiple times
in one execution. Previously used Record<toolName, Array<decision>> with
shift() which could mismatch if the LLM reorders calls on replay.
Closes PRD-6452
* refactor: inline effectiveToolCallId alias to toolCallId
Now that approvals are keyed by toolCallId directly, effectiveToolCallId
is always equal to toolCallId. Remove the dead alias per review feedback.
* chore: re-add changeset after rebase
* chore: incorporate origin/main constants extraction into PR branch
Manually applies the changes from origin/main commit 01a960d
(refactor: extract magic string literals into shared constants)
on top of the PR's toolCallId-keying changes, equivalent to
rebasing the PR onto origin/main.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments