Skip to content

fix(apple): validate CSV delimiters and root interfaces - #1106

Merged
andiwand merged 2 commits into
mainfrom
review/88-apple-decode-boundaries
Oct 5, 2026
Merged

andiwand merged 2 commits into
mainfrom
review/88-apple-decode-boundaries

Conversation

@andiwand

@andiwand andiwand commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

🤖 Generated with Claude Code

Apple CSV options silently kept only the first UTF-16 code unit, and CSV roots were wrapped as TextRoot despite lacking that interface. Validate both delimiters as one UTF-8 byte, with an empty string still meaning unset, and choose the root wrapper from the native interface.

Nine regression assertions fail on the parent. All 59 macOS Swift tests pass after the fix; one new delimiter test complements the existing CSV decode test.

@andiwand
andiwand force-pushed the review/87-apple-measures branch from fac4214 to 916a914 Compare October 5, 2026 21:02
Base automatically changed from review/87-apple-measures to main October 5, 2026 21:06
andiwand and others added 2 commits October 5, 2026 23:07
An empty separator or quote meant detect before, as the removed comment
said; a cleared text field still does. Only a string of more than one
UTF-8 byte fails decoding.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Gb1fLafqqzehpqPuU6uBfn
@andiwand
andiwand force-pushed the review/88-apple-decode-boundaries branch from e9ab47a to 9e9803b Compare October 5, 2026 21:08
@andiwand
andiwand merged commit f3fd362 into main Oct 5, 2026
23 checks passed
@andiwand
andiwand deleted the review/88-apple-decode-boundaries branch October 5, 2026 21:12
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