Back to projects
case study / active
Ratify
A CLI that routes commits through a role-tiered approval chain before they land.
stack
TypeScriptNext.jsNode.jsPostgreSQL
Problem
Teams with multiple seniority levels have no lightweight way to enforce a review gate on high-risk file changes without a full-blown CI/CD overhaul.
Approach
A thin CLI wrapper over git surfaces risk classification at commit time. A Next.js dashboard gives managers a queue-style view of pending approvals.
Outcome
Working approval pipeline with role-tiered routing and a real-time review dashboard.
Key decisions
01
Risk classification is file-path based — no AST parsing, zero latency.
02
CLI stays thin: it captures metadata, delegates routing logic to the API.
03
Dashboard is role-aware: developers see their own queue, managers see their team's.