BriteBuild · 2025 — present
A vertical operating system for the solar industry.
Full-stack engineer · architecture · most surface area.
BriteBuild started as a thin solar-potential calculator. Fifteen months in it's a multi-tenant operating system: CRM, design tool, financing splits, contracts, scheduling, rebates, real-time chat, file manager, public API. I'm the largest individual contributor by feature surface area.
- Tenant → EPC → contractor hierarchy with polymorphic territories (state + county FIPS), 325 fine-grained permissions across 24 domains and 7 roles.
- Solar design engine: drag-select on Google Maps imagery, magnet-snap, edge-to-edge rectangular tiling on sheared grids. Performance-critical placement compiled to Rust/WebAssembly.
- Five-tier pricing resolver and bitemporal pricing snapshots — quote-version-locked equipment prices via lock_session_*_pricing() SQL functions.
- Multi-bucket financing splits routing line-items to different lenders, dual EPC/contractor adder pricing, HDM finance product, lender utility-exclusion eligibility.
- Rebates & incentives as a parallel system to adders (different shape: recurring vs one-time, eligibility scoping, certainty tiers), 3-tier inheritance.
- Quest Objectives task platform: visual editor, mind-map dependency graph, scope rules, deployment to sessions, lineage tracking.
- Contract template engine with dynamic merge field resolution, Google Docs + PDF support, DocuSign e-sign integration.
- Slack-like messaging: workspaces, channels, threads, reactions, @mention chips, slash commands, auto-channel per session and project. WebSocket dispatcher hardened with 82 E2E tests.
- Centralized OAuth on a base-domain hub with signed hand-off to tenant subdomains. Patched real CVEs along the way.