mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-11 14:00:29 +00:00
3fcd26b5c3
GatePatrolAutonomyUpdate validates and consumes the activation acknowledgement, then re-marshals the settings for the downstream handler - but the marshaled body still carried acknowledgement_id. The Pro autonomy handler decodes the body with DisallowUnknownFields and has no such field, so every Autopilot (full mode) activation on a Pro build failed with 400 Invalid request body. Lower autonomy levels forward the original body untouched, which is why only full mode broke. Clear the consumed acknowledgement before normalizing and hand it to the downstream handler via request context only. The new regression test strict-decodes the forwarded body with the enterprise handler's exact field set. Contract-Neutral: Autopilot activation gate normalization fix; endpoint contract unchanged