Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Project Status & Roadmap

## Overview
PermitPilot is a Next.js 15 application designed to streamline the building permit process using AI. It features checklist generation, document autofill, code validation, and a municipality database.

## Critical Action Items

### 1. Testing Infrastructure
- **Current Status:** Missing.
- **Action:** Install and configure `vitest` or `jest` for unit testing. Add e2e testing with Playwright.

### 2. Authentication
- **Current Status:** Basic/Dev configuration.
- **Action:** Implement robust Firebase Authentication (Email/Password, Google Auth) and secure Firestore rules.

### 3. AI Logic (RAG)
- **Current Status:** `validate-permit-application-against-local-codes.ts` accepts raw text.
- **Action:** Implement true RAG (Retrieval-Augmented Generation). Integrate a vector database to retrieve relevant building codes based on the application context, rather than requiring the user to provide them.

### 4. Data Integration
- **Current Status:** UI scaffolds exist.
- **Action:** Ensure the "Smart Municipality Database" and "Dashboard" are fully wired to the Firestore `municipalities` and `users` collections.

### 5. Deployment & CI/CD
- **Action:** Verify Firebase App Hosting configuration (`apphosting.yaml`) and set up a CI/CD pipeline for automated testing and deployment.