Project 23 of 84
Chorus
Chorus is the Fleetworks suite's multi-tenant DNS record and domain registry: a Hono API plus a Next.js dashboard for org-scoped records with unix-style chmod permissions, a public directory of published records, and signed outbound webhooks.
- Status
- Shipped
- Last activity
- 2026
- Stack
- TypeScript
- Node.js
- pnpm workspaces
- Hono
- Next.js
- Drizzle ORM
- Postgres
- Zitadel OIDC
Highlights
- Led the production cutover of Chorus from Supabase Auth to direct Zitadel OIDC (Auth Code + PKCE with a BFF session) across an 81-file change. The production identity backfill was applied before deploy so existing accounts survived, and the Expo mobile app followed with a PKCE port four days later.
- Shipped Apple App Store guideline 1.2 UGC moderation end to end: EULA gate, server-side content filter, content reports with platform-only routing, takedown/ejection/suspension, user blocks and a moderation dashboard (106 files). The build passed a second architect review after the first was rejected, then went to production and TestFlight with a recorded rollback image.
- Drove a security and authorization hardening release (PR #12, 40 local commits at open, 193 files in the PR body). It fixed cross-org authorization (roles checked in the record's own org, 403 on foreign orgIds), required verified emails for grants with a unique-email migration, and rejected ID tokens used as access tokens. It also added fail-closed boot guards for test-auth bypasses and server-computed per-record can_* permissions that drive the UI.
- Replaced the Supabase service-role key in Lighthouse CI with a drain-token-gated Zitadel session mint route that uses a least-privilege, rate-limited test PAT capped at org:viewer. A real production first-login race that returned 500 was also fixed.
- Moved the Chorus API from Render to an OIDC-built ECR image on CapRover (Hostinger), with migrations at container start and a health-gated manual production deploy workflow. Dead Render deploy CI was removed.
- Built release engineering on self-hosted GitHub Actions runners: release-please versioning (v0.2.0 to v0.4.2), per-OS Tauri desktop releases, fastlane mobile releases to TestFlight, published-artifact secret scanning, and Lighthouse CI audits of authenticated dashboard pages. This took fixing 8 env-drift issues across non-identical Mac runners.
- Expanded Playwright e2e coverage with typed test-id catalogs and page objects across the records, domains, webhooks, dashboard, login and public routes. The suite was stabilized to 5 consecutive clean runs, and CI gaps that had silently skipped DB-backed test suites were closed.
- Launched a public Next.js marketing site for Chorus (product, features, API reference, integrations, plans, consent and contact pages) with a manual Vercel deploy workflow. Repo-derived CODING_STANDARDS.md and GLOSSARY.md were authored to give contributors and AI agents a shared domain language.