A frozen repro test, committed first
builds on: See it fail: red before green and break-it checks, Agents optimise the signal they can see
Commit this before the agent starts. `parse_rows` skips the header line and returns the data rows. Run the test and it is red: the first row comes back as `['1', '"Smith', ' Jo"']`. That failure is the bug itself, not a crash.
The test uses two different quoted names plus a plain row. Code that special-cases one string, or that breaks ordinary rows, stays red. Varied cases shrink the room left for gaming.
// Python
# tests/test_quoted_fields.py
from importer import parse_rows
def test_comma_inside_quotes():
src = ('id,name\n'
'1,"Smith, Jo"\n'
'2,"Lee, Al"\n'
'3,Kim\n')
assert parse_rows(src) == [
["1", "Smith, Jo"],
["2", "Lee, Al"],
["3", "Kim"],
]