fix(harness-claude-code): preserve general JSON Schema unions (#18911)