All workAndrew Cates.

Project 78 of 84

Warden

Warden is the Fleetworks suite's governed front door to an org's Terraform Cloud footprint: a record of TFC workspaces, AWS/Azure accounts and service mappings with org-scoped reads, guarded writes and a deterministic config Review.

Status
Shipped
Area
Fleetworks Platform Suite
Last activity
2026
Stack
  • TypeScript
  • pnpm workspaces
  • Hono / OpenAPIHono
  • Zod
  • Drizzle ORM
  • PostgreSQL
  • Next.js / React
  • shadcn/Radix

Highlights

  1. Led Warden's production identity cutover from Supabase Auth to direct Zitadel OIDC (Auth Code + PKCE) with a BFF session layer, gated by a 5-round Architect/Critic plan review and a local Zitadel end-to-end suite (60/60 across 3 consecutive runs) that surfaced 9 integration bugs, including a session-refresh race that could destroy a just-rotated cookie.
  2. Closed a cross-org privilege escalation by replacing first-org role checks with per-org membership authorization across users, tokens, webhooks and workspaces, and capped PAT-minted tokens at the minter's role, scopes, resource restriction and expiry, shipped as a 47-commit hardening PR with boot-time refusal of auth-bypass settings outside dev/test.
  3. Shipped App Store Guideline 1.2 UGC moderation end to end (Postgres migration, moderation API, content filter, public EULA, admin queue with a 24-hour SLA, mobile EULA gate and report/block), reaching 420 passing tests after an independent review rejected the first cut.
  4. Built Playwright coverage across the Warden dashboard with a typed testid catalog, async-state markers and per-route page objects, then root-caused suite flakiness (global sign-out revoking the shared fixture session, leaked test data, role-gate races) and added an /e2e-check command with a Stop-hook reminder.
  5. Onboarded the console to self-hosted Lighthouse CI with authenticated dashboard audits and repaired a CI pipeline that had failed on every run since early August by provisioning a Postgres 17 service and migration step.
  6. Root-caused an intermittent TruffleHog deploy-gate failure to a shared /tmp scan directory on self-hosted runners, fixed it with per-run scan trees and value-free diagnostics, and moved gitleaks to scanning only the git-tracked tree.
  7. Fixed a mobile launch crash by passing EXPO_PUBLIC_* build config into fastlane CI steps and shipped the iOS build to TestFlight, with release-please versioning (v0.2.0 to v0.4.3) driving ECR image builds and CapRover deploys.
  8. Launched a credential-free public marketing site for Warden (20 page routes, including 9 feature pages and an API reference) whose docs are test-enforced against the API's route definitions, deployed to its own Vercel project.