# HRBP People-Ops Control Tower Canonical page: https://danielcardenas.dev/projects/hrbp-control-tower Case-study date: 2026-08-04 Contribution: Full-stack Product Engineer Summary: A historical role-aware people-operations workspace prototype for account handbooks, action plans, objectives, roster context, and assignments. Context: Historical internal prototype; the local project was retired in September 2026. Employee records, customer names, hosted credentials, and deployment details are omitted. ## Problem HRBP work combines structured account facts with living documents, follow-ups, objectives, and responsibility assignments. A static artifact can show a snapshot, but it cannot safely support concurrent edits, membership approval, or a reviewable history of operational changes. ## Status This is a historical prototype. The local project was retired in September 2026, so the page records engineering work completed at the time rather than an active product or current deployment. ## Approach - Built a TanStack Start + React + TypeScript workspace with routes for Resumen, Planes de acción, Account Handbook, Objetivos, Asignación, and admin members. - Replaced browser-only business storage with a typed Supabase repository/data layer and explicit tables for profiles, memberships, accounts, HRBPs, plans, check-ins, handbooks, rosters, logs, and objectives. - Added Google OAuth session handling, pending/active/suspended membership states, role-aware access, and Supabase RLS. The optional email-domain guard is treated as UX only; database policy remains the real boundary. - Used Realtime invalidation plus `updated_at` optimistic guards so a concurrent save produces a conflict state rather than erasing another operator's work. ## What I learned Operational tools become safer when their data model makes ownership, approval, and history explicit. The UI can stay approachable in Spanish while the backend keeps the authorization and concurrency contracts deterministic. ## Interview summary I turned a static HRBP artifact into a typed, role-aware operational workspace with Supabase-backed persistence, RLS, membership approval, realtime updates, and conflict-safe edits.