Bug Report: modifyKeyFrames Tool Failure (AI generated)

SUMMARY

-- The modifyKeyFrames command consistently returns

-- "Error: animationId is required" despite the animationId

-- parameter being correctly provided in every call.

--

-- AFFECTED TOOL

-- animation_editor -> modifyKeyFrames command

--

-- REPRODUCTION STEPS

-- 1. Query keyframes from any animation using queryKeyFrames

-- (this works correctly).

-- 2. Attempt to modify keyframe values using modifyKeyFrames

-- with a valid animationId and a change array containing

-- valid keyframeId + value pairs.

-- 3. The tool returns "Error: animationId is required"

-- regardless of the input.

--

-- ============================================================

-- ATTEMPTS MADE

-- The command was attempted across 6 different animations,

-- all failing identically:

--

-- Animation | ID | Result

-- ----------------|------------|--------

-- idle_body | 1-9367 | FAIL

-- happy_body | 1-9625 | FAIL

-- sad_body | 1-10037 | FAIL

-- angry_body | 1-10517 | FAIL (stopped early)

-- thinking_body | 1-11361 | FAIL (stopped early)

-- bored_body | 1-11990 | FAIL (stopped early)

--

-- ============================================================

-- VARIATIONS ATTEMPTED

-- - Single keyframe change

-- - Multiple keyframe changes in one call

-- - Combined delete + add approach (recreating keyframes)

-- - Multiple retries with identical parameters

-- All returned the same error regardless of variation.

--

-- ============================================================

-- SECONDARY BUG: queryKeyFrames Returning Wrong Animation

--

-- When querying bored_body (1-11990) and surprise_body

-- (1-12449) simultaneously in parallel calls, BOTH results

-- returned bored_body data. Subsequent individual retries of

-- surprise_body also initially returned bored_body data

-- before eventually resolving correctly on a dedicated

-- follow-up call.

--

-- This suggests a caching or routing issue where animation

-- ID lookups can sometimes resolve to the wrong animation,

-- particularly when multiple queries are made in parallel.

--

-- ============================================================

-- IMPACT

-- - modifyKeyFrames is completely non-functional, blocking

-- all keyframe edits programmatically.

-- - Parallel queryKeyFrames calls may return stale or

-- misrouted data.