Opus finding
Possible null deref on r.title when DB column is nullable
lowbuglow
- apps/web/scripts/inspect-finding-status.ts:48
If finding_status.title can be null in the schema, calling .slice(0, 60) on it would throw. This is an admin-only script with no tests, but it would still crash on any row with a null title. Without access to db/schema I cannot verify nullability, hence low confidence.
Recommendation
Guard with `${(r.title ?? '').slice(0, 60)}` or `r.title?.slice(0,60) ?? '—'`.