All workAndrew Cates.

Project 67 of 84

Rolodex

Rolodex is the Fleetworks directory service: an 'LDAP Sync Cache' that serves read-only Active Directory / Workday user, nested-group and SSH-key lookups to other services, plus an admin portal that drives outbound GitHub / Azure DevOps / GitLab access provisioning from directory group membership.

Status
Shipped
Area
Fleetworks Platform Suite
Last activity
2026
Stack
  • TypeScript
  • Node.js
  • pnpm workspaces
  • Hono
  • Zod
  • Drizzle ORM
  • Supabase Postgres
  • Next.js

Highlights

  1. Cut Rolodex's web app, Expo mobile app and Lighthouse CI over from Supabase Auth to direct Zitadel OIDC Auth Code + PKCE, with a migration correlating existing users by subject, a real-data production backfill and a browser-driven production smoke test (Aug 2026).
  2. Designed the session model (ADR 0006): refresh and id tokens sealed in an encrypted HttpOnly cookie, with a same-origin endpoint minting short-lived bearer tokens and single-flight refresh for rotated tokens.
  3. Built a read-only Zitadel-to-directory reconciler (ADR 0007: directory groups grant, Zitadel only denies, deprovisioning wins) with a match ladder, per-org completeness sentinel, mass-revocation circuit breaker and advisory-lock serialization, shipped off by default after three review rounds.
  4. Shipped App Store guideline 1.2 moderation (EULA gate, report/block, admin takedown queue, 24-hour SLA cron, text filter) across API, web and mobile, passing three independent review rounds and deploying to production as API v0.4.0.
  5. Moved the API from Render to Docker on CapRover (Hostinger) with a prod-only image stage, migrations at container start and a deploy gate that polls /health for a real 200 before passing.
  6. Added Playwright coverage for every dashboard and public route using typed data-testid catalogs and epoch state attributes; the 84-test suite passed 6 consecutive runs with zero flakes and surfaced real cache-invalidation, role-gate and accessibility bugs that were fixed.
  7. Onboarded the app to self-hosted Lighthouse CI with authenticated dashboard audits through a least-privilege test-mint route restricted to a single org:viewer account.
  8. Hardened auth and data paths: production refuses to boot with the e2e bypass on, floor-only viewers gated with a regression test, legacy id-as-subject fallback removed, trigger-function EXECUTE revoked, and default-off OpenTelemetry that scrubs query params.
  9. Fixed an iOS 27 launch crash by adopting the UIScene lifecycle and stabilized mobile release CI (Gradle Metaspace, ccache, xcode-labeled runners), verifying TestFlight beta uploads end to end.
  10. Launched a static, auth-free public marketing site (Next.js 16) with 11 feature pages, an API reference covering 65 operations and 7 integration pages, with a build that fails on any broken internal link.