Skip to content

fix(motion): a PreToolUse delivered twice with the same tool_use_id is idempotent - #115

Merged
brunoazoulay merged 2 commits into
mainfrom
fix/motion-dup-pre-0.1.105
Oct 11, 2026
Merged

brunoazoulay merged 2 commits into
mainfrom
fix/motion-dup-pre-0.1.105

Conversation

@brunoazoulay

Copy link
Copy Markdown
Collaborator

Défaut

Claude Code livre parfois deux fois le même PreToolUse (même tool_use_id). Le 2e passage était refusé par sa propre réservation « Motion concurrent render ».

Correctif

Id natif + réservation fraîche + reçu même session/stage/commande → même note, aucune nouvelle réservation. Autre id, autre commande/session/stage, ids noid:, ids seulement expirés : restent refusés.

Tests

Tests motion-dup-pre ajoutés. Suite complète : 2513 pass / 0 fail.

@brunoazoulay
brunoazoulay merged commit dd8a2e1 into main Oct 11, 2026
1 check passed
@brunoazoulay
brunoazoulay deleted the fix/motion-dup-pre-0.1.105 branch October 11, 2026 15:36
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