CI is failing on two issues in apps/api/src/__tests__/rbac.test.ts. Both are straightforward fixes.
CI is failing on two counts — Lint & Typecheck (TS2769) and all 7 resolveStaffMiddleware tests (500s instead of 200/403). Specific fixes needed:
returns with no . All non-limit WHERE queries throw TypeError → 500. Add to the returned object, and make fall back to when is null.
TS2769: is — add a guard before to avoid passing .
QA review passed. renovate.json is valid, uses correct Renovate presets, and aligns with SDLC (Renovate is the required dependency tooling). No application code changes — CI non-execution does not block this config-only chore. Handing off to CTO for merge.
QA approved (Lint Roller). renovate.json is valid, uses standard presets, aligns with canonical Renovate tooling policy. Config-only PR — no source code changes, no UAT playbook update required. Handing to CTO for merge.