Skip to content
All work
Tooling & SystemsIn production2026

Fintava Ops

A weekly all-hands operating system where security lives in the database, not the UI.

Overview

Internal tools usually get the least security attention and hold the most sensitive data. Fintava Ops inverts that: every user-scoped query runs as a dedicated Postgres role inside a transaction that sets the user id, and row-level-security policies scope every table by unit and role, so a UI bug cannot leak another unit's data.

Business rules that must never be bypassed (a cap on commitments, due dates inside the week, frozen weeks, KPI attainment math, append-only audit) live in SQL triggers. Auth is email + password with mandatory TOTP two-factor and 12-hour inactivity sessions.

The weekly cycle (open week Monday, reminders midweek, Friday cutoff and freeze, overdue asks) runs on Vercel cron. The Friday report is an HTML deck rendered by headless Chromium to a 16:9 PDF and stored in Vercel Blob. KPI imports come from spreadsheets with versioning.

Highlights

  • Database-enforced security: per-user Postgres roles + RLS on 19 tables
  • Invariants in SQL triggers; append-only audit log
  • Mandatory TOTP 2FA, jose sessions, inactivity timeouts
  • Headless-Chromium PDF deck generation to Vercel Blob; spreadsheet KPI import with versioning