Back to Signal Feed
CodeTracked since May 20, 2026

Accept string and numeric u32 values in Claude ambient tool inputs

The PR fixes a parser failure in Claude ambient tool calling where fields expected as u32 were sent as strings, causing ambient cycles to fail at deserialization and stop working.

Claude tool callingambient modeSerdeu32

What Happened

  • The PR fixes a parser failure in Claude ambient tool calling where fields expected as u32 were sent as strings, causing ambient cycles to fail at deserialization and stop working.
  • The PR fixes a parser failure in Claude ambient tool calling where fields expected as u32 were sent as strings, causing ambient cycles to fail at deserialization and stop working.
  • 1 evidence item attached for review.

What is Different

Before

Scattered source updates, isolated context, and manual follow-up across multiple feeds.

Now

Introduced custom deserializers that accept both string and u32 for numeric fields and applied them to EndCycleInput.memories_modified/compactions and wake_in_minutes in NextScheduleInput, ScheduleInput, and ScheduleToolInput, eliminating strict type-only parsing for these tool-call payloads.

Why Track This

Why It Matters

Users and operators relying on Claude ambient tool calls can now keep ambient workflows running because calls that send numeric fields like `"0"` no longer break parsing and abort the whole ambient cycle, reducing complete mode outages after tool invocations. The technical fix is a dual-acceptance parser path for targeted u32 fields, applied only to a small set of schedule-related inputs. Next, watch whether similar stringified numeric fields appear in other tool schemas and track ambient-cycle failure/retry metrics after deployment to catch any remaining type-contract gaps.

Impact

Users and operators relying on Claude ambient tool calls can now keep ambient workflows running because calls that send numeric fields like `"0"` no longer break parsing and abort the whole ambient cycle, reducing complete mode outages after tool invocations. The technical fix is a dual-acceptance parser path for targeted u32 fields, applied only to a small set of schedule-related inputs. Next, watch whether similar stringified numeric fields appear in other tool schemas and track ambient-cycle failure/retry metrics after deployment to catch any remaining type-contract gaps.

What To Watch Next

  • Watch whether Claude tool calling becomes a repeated pattern.
  • Track follow-up changes around Tool Calling.
  • Compare future signals against this evidence trail.
  • Re-check risk flags: track_deserialization_errors_for_other_numeric_tool_fields, monitor_ambient_cycle_abort_rate_after_change.
Open Topic TimelineOpen Technical EventOpen Original Sourcetrack_deserialization_errors_for_other_numeric_tool_fields / monitor_ambient_cycle_abort_rate_after_change / verify_no_legacy_payloads_break_with_nullable_number_fields

Supporting Evidence