The candidate profile query builds PostgREST .or(...) filters by interpolating raw q and tags values. Punctuation can alter the filter expression, LIKE wildcards can change literal searches, and tag values can break the quoted array literal used by skills.cs and ai_tools.cs. The fix should escape text search and tag filters with regression coverage.
The candidate profile query builds PostgREST .or(...) filters by interpolating raw q and tags values. Punctuation can alter the filter expression, LIKE wildcards can change literal searches, and tag values can break the quoted array literal used by skills.cs and ai_tools.cs. The fix should escape text search and tag filters with regression coverage.