Suppose a code assistant replaces text.length <= 1 with a grapheme-count check for a label field. Is that a correction or a changed requirement?
A supplied run on Node v24.18.0, with ICU 78.3 and Unicode 17.0, reports UTF16 counts of 1, 2 and 4 for A, é and 🇰🇷. Each has a grapheme count of 1. The unit check accepts only A, while the grapheme check accepts all three. These observations cover those three inputs, without establishing Unicode18 conformance.
A string annotation cannot choose the counting rule. Should the test assert a limit on UTF16 storage units or on user-perceived graphemes, and what wording should the label field show for that choice?