All workAndrew Cates.

Project 83 of 84

Yellow Pages

Yellow Pages is the Fleetworks fleet's service catalog: the system of record for services, agents, teams, AWS/Azure accounts, labels, compositions and VCS tenants, plus the chmod-style access rules on each. It replaces a legacy MongoDB-backed Yellowpages system with a swagger-compatible REST API, an admin web console, mobile and desktop clients, and (since 2026-11-11) a public marketing/docs site.

Status
Shipped
Area
Fleetworks Platform Suite
Last activity
2026
Stack
  • TypeScript
  • Node in CI
  • pnpm workspaces
  • Hono / OpenAPIHono
  • Zod
  • PostgreSQL
  • Next.js App Router
  • React Query

Highlights

  1. Shipped App Store Guideline 1.2 user-generated-content moderation end to end in one day (EULA gate, NFKC/homoglyph-folding content filter, idempotent rate-limited reports, user blocks, admin takedown queue) across API, web and Expo mobile, then deployed it to production with an additive migration and a documented one-command rollback.
  2. Designed reversible takedowns that reuse the catalog's existing chmod-style access filter (mode 0 + prior_mode on the report) instead of adding a deleted flag, recorded in an ADR, so every list, search and detail path hid removed content with no new read-path code.
  3. Led a security hardening pass (PR #13, 50-commit branch) after finding that string permission values were being stored as world-writable rows; added integer validation, DB CHECK constraints (migration 0022), field allow-lists on every PUT/PATCH, a production boot guard against auth bypass, and least-privilege test tokens, and closed 4 review rounds before applying the migration to prod with lock timeouts and an advisory-locked migrator.
  4. Cut the web console, API and mobile app over from Supabase Auth to direct Zitadel OIDC PKCE single sign-on in phased deploys, using a deploy-then-flip audience allowlist so the authorized-party check could not break live logins.
  5. Moved the catalog API from Render to self-hosted CapRover on Hostinger with image-based deploys, migrations run at container start, a health-check gate in CI and a version pin in infrastructure-as-code.
  6. Built a public, auth-free product site with 13 feature pages and an API reference generated from the OpenAPI spec (18 areas, 80 operations), verified with zero axe WCAG 2.2 AA violations on the initial routes and a link crawler in CI.
  7. Diagnosed a CSS overflow coercion bug that silently disabled sticky table headers and took the Playwright suite from 18 failures to 123 passing with 0 failures on consecutive runs.
  8. Repaired CI and API-client-drift workflows that had not passed for weeks and onboarded authenticated Lighthouse CI live audits for the production console.
  9. Caught and fixed a release bug that shipped a TestFlight build with an empty OAuth client id by passing EXPO_PUBLIC_* values into fastlane and adding a fail-fast guard.