adl.permitdesk · ADL 0.5.1 Permit Desk
The AI checks the paperwork. Your staff make every decision.
Building and land-use permitting for city and county departments — guiding applications from counter intake and AI-drafted completeness screening through parallel discipline plan reviews, fee settlement, permit issuance, and field inspections, with every human sign-off gate enforced on the Kalos server.
applicant + parcel + permittype → application → submittal → screening (AI draft + staff confirm) → review (disciplines) → fee → issue → inspection → finaled
Why Permit Desk Exists
Most permitting delays start at the counter when an incomplete plan set enters discipline review — only for building, zoning, or fire reviewers to discover weeks later that a structural calculation, owner authorization, or floodplain elevation survey was never uploaded. Yet municipalities rightly refuse to hand permitting authority to a black-box AI model: every intake acceptance, code correction, fee waiver, denial, and final inspection is a public administrative act that requires an accountable staff decision.
Permit Desk resolves that tension architecturally. An AI completeness check drafts an advisory finding — complete or incomplete, what documents appear missing, and its confidence percentage — the moment an application is submitted. Until a human clerk or supervisor explicitly confirms or overrides that screening, the Kalos server refuses to advance the application into plan review.
The entire municipal permitting domain — 9 resources, 5 RBAC roles, 5 coordinated state machines, 7 cross-resource AEL rules, nightly permit expiration schedules, history events, and field-level auditing — is declared in a single ADL 0.5.1 suite (adl.permitdesk) running live on Kalos and PostgreSQL.
Inside the Demonstration County Dataset
Clicking any desk signs you into a real Kalos JWT session populated with a fictional county’s 10 permit types, 14 tax parcels (including AE flood zones and historic district overlays), 12 owners/contractors/architects, and 14 permit applications spanning every state of the lifecycle:
- AI Screening & Human Override (
BP-26-0270&BP-26-0263): Ground-mount flood-zone solar applicationBP-26-0270sits atsubmittedwith a 91%-confident AI screening waiting for staff confirmation. On new dwellingBP-26-0263, the AI mistakenly flagged the submittal incomplete at 62% confidence (“Energy compliance report not found”); staff overrode the AI, confirmed completeness manually, and opened parallel building, zoning, and fire reviews. - Active Plan Review, Corrections & Denial (
BP-26-0251,BP-26-0274,BP-26-0188): Kitchen remodelBP-26-0251sits in building corrections over an undersized header; warehouse demolitionBP-26-0274was returned incomplete for a missing owner authorization letter; and illuminated signBP-26-0188was denied under historic overlay rules. - Fees, Field Inspections & Finaled Lineage (
BP-26-0244,BP-26-0203,BP-26-0101): Detached ADUBP-26-0244is approved and waiting on its $975 permit fee before issuance; additionBP-26-0203is issued with a failed framing inspection (“Missing hurricane ties at rafter-to-wall connections”) rescheduled for re-inspection; and four permits (BP-26-0101,BP-26-0117,BP-26-0142with a solar-incentive fee waiver, and flood-zone poolBP-26-0158) carry complete start-to-finish lineages.
How ADL Enforces Public Accountability
When a council member, applicant, or auditor asks why a permit took eleven days — or why an exception was granted — five structural guarantees in domain.yaml ensure the record speaks for itself:
- Advisory AI, mandatory human gate (
acceptNeedsConfirmedCompleteness): AI screenings enter inpendingstate and must reportconfidence. Theapplication.accepttransition queriesscreeningrecords and rejects unless a staff-confirmedcompleterecord exists. - Parcel-aware environmental guards (
floodZoneNeedsSurvey): Cross-resource AEL queries join the application’s referencedparcelon transition; ifparcel.floodZone == trueand nosurveysubmittal is attached, acceptance is refused at the API boundary. - Unanimous multi-discipline sign-off (
approveNeedsEveryReview): Supervisors cannot approve an application until at least onereviewexists and zero reviews remain inassignedorcorrections. - Fiscal & field sequencing (
issueNeedsSettledFees&finalizeNeedsPassedFinal): Permits cannot issue while anyfeeremainsassessed, inspections cannot be created until the permit isissued, and finalization is blocked until afinalinspection passes (whileexpireLapsedPermitsruns nightly at01:00to expire unfinaled permits pastexpiresOn). - Explainable adverse actions & full audit (
history+features: { audit: true }): Every return, denial, correction request, failed inspection, and fee waiver requires a written reason field at transition time, automatically captured into both the readableapplicationhistory timeline and Kalos’s immutable audit log.
Zero Sign-Up · Live Kalos Sessions
Sit at a Bench and Try It Live
Each card below signs directly into a real role-scoped JWT session on the production Kalos backend so you can test role queues, transitions, and server refusals immediately.
clerk as clerk1 Permit Technician
Confirm or override the pending 91% AI screening on flood-zone solar application BP-26-0270, record fee receipts on approved ADU BP-26-0244, or try accepting an unconfirmed application to see the server refusal.
Launch clerk1 bench ↗reviewer as reviewer1 Plan Reviewer
Work three assigned fire, building, and zoning plan reviews (including an overdue fire review on BP-26-0263), approve disciplines, or send written code corrections back to the applicant.
Launch reviewer1 bench ↗inspector as inspector1 Field Inspector
Record pass or fail outcomes (with mandatory field notes on failure) across scheduled framing and mechanical rough inspections, and verify that permits cannot final until final inspection passes.
Launch inspector1 bench ↗supervisor as supervisor1 Permitting Supervisor
Approve completed plan checks, deny non-compliant proposals with written findings, waive fees with documented reasons, or try approving BP-26-0263 while reviews remain open.
Launch supervisor1 bench ↗Production Interface Walkthrough
Inside Permit Desk — Screen by Screen
Captured directly from the live Kalos deployment. Click any screenshot to inspect full resolution or jump straight to that screen in the running application.
Declarative Server Enforcement
What the Kalos Server Refuses — Whoever Asks
These invariants live in the ADL domain definition, not in client-side UI JavaScript. Every REST request is checked by Kalos before touching PostgreSQL, and any violation returns a structured error naming the rule.
| Attempted Operation | Enforced ADL Rule / Guard | Regulatory Alignment |
|---|---|---|
| Submit an application with zero attached documents | submitNeedsDocuments | Municipal intake completeness |
| Accept an application into plan review on an unconfirmed AI screening | acceptNeedsConfirmedCompleteness | Human-in-the-loop AI governance |
| Accept work on a flood-zone parcel without an elevation survey on file | floodZoneNeedsSurvey | 44 CFR 60.3 · NFIP floodplain management |
| Record an incomplete screening without listing missing items, or an AI screen without confidence | incompleteNamesWhatIsMissing · aiGivesConfidence | Applicant notice & AI transparency |
| Approve an application while any assigned discipline review is still open or in corrections | approveNeedsEveryReview | Multi-discipline building & fire code check |
| Issue a permit before fees are assessed and every fee is paid or waived | issueNeedsSettledFees | Municipal fiscal control |
| Schedule an inspection on an unissued permit, or final a permit without a passed final inspection | inspectOnlyIssuedPermits · finalizeNeedsPassedFinal | Certificate of occupancy / final sign-off |
| Return incomplete, deny, request corrections, fail an inspection, or waive a fee without a reason | requiredFields on adverse & waiver transitions | Administrative due process |
| Register a contractor applicant without a license number | contractorsAreLicensed | State contractor licensing |
Domain Footprint
ADL Suite Inventory
Resources (9)
permittypeparcelapplicantapplicationsubmittalscreeningreviewfeeinspection RBAC Roles (5)
clerkreviewerinspectorsupervisoradmin Declarative Views (4)
reviewQueuescreeningsToConfirminspectionsTodaypipeline