Helio.
Permits that stop being a reading assignment.
A permit workflow for residential rooftop solar. Every authority having jurisdiction publishes its own setback table, fee schedule and attachment list; the file compiles them into one package the installer can submit without reading the code book.
- Client
- Helio — solar permits
- Role
- Front-end lead · two engineers, one designer
- Year
- 2025
- Stack
- Next.js App RouterTypeScriptPostGISMapLibre GLTailwindPlaywright
- 41jurisdictionsrule sets versioned, dated, and diffed
- 240msto reject a packet the envelope forbids
- 1reviewinstead of the industry's three-and-a-half
The rule the installer never has to read: setbacks drawn from the jurisdiction's own table, checked against the array before the packet is assembled. A chimney outside the envelope is a rejection caught at 240 ms instead of week six.
What was decided, and what it cost.
- D1
Rules live in a rail, not in a wizard.
Setbacks, fees and attachments differ per jurisdiction, and forty-one of them were encoded. The file renders as one compliance rail beside the drawing surface, recomputed on every roof-polygon edit, instead of as a five-step wizard that hides the previous answer. The rail is visible from the first second, before the installer has done anything.
Accepted costA dense column that reads as noise on first open, and no onboarding that softens it. Rejection costs four to six weeks of schedule, so legibility of failure was worth more than a calm first screen.
- D2
The browser checks provisionally; the server decides.
Setbacks are measured in PostGIS against the surveyed roof geometry, but the rail cannot wait for a round trip between drag and verdict. The same rule table ships to the client as JSON, so pass and fail update inline; the server result then reconciles, and any disagreement is surfaced as a disagreement rather than silently corrected.
Accepted costTwo implementations of one rule set, and therefore drift. Held together by a shared fixture file and a contract test per jurisdiction, with every client verdict labelled provisional in the UI.
- D3
A jurisdiction is a dated document, not a config flag.
An authority can revise its fee schedule mid-quarter, and a package is judged against the version in force on its submission date. Rule sets carry effective ranges; reopening a filed package shows the version it was filed under, not today's. Corrections are new versions with new effective dates.
Accepted costNo editing a rule in place. Every typo fix is a version bump with a date, which is more work for the two people who maintain the tables.
Four things exist now.
- 01S.01
Forty-one jurisdiction rule sets, versioned by effective date and drawn from the published code, not from customer anecdotes.
- 02S.02
Setbacks measured from the uploaded roof survey instead of being re-keyed by hand, which removed the largest single source of rejected packages in the pilot.
- 03S.03
Package assembly in each authority's own attachment order — cover sheet, site plan, checklist, fee receipt — exported as one PDF instead of four downloads.
- 04S.04
Playwright coverage over 123 geometry fixtures: forty-one jurisdictions times three roof shapes, including the two that share a setback table but not a fee schedule.