Adam BlansettSenior Full-Stack & AI Engineer
Autonomous AI WorkforcePhase 3 Starter Scaffold (MIT)

AI Property Operations Coordinator Platform

Self-hosted AI property operations starter scaffold for maintenance request triage, vendor dispatch and SLA tracking, lease renewal automation, and unit inspection compliance.

Engineering RoleLead Systems & AI Architect

01. Problem & Context

Property operations teams juggle urgent tenant maintenance requests, multi-trade contractor dispatches and SLA follow-ups, statutory lease-renewal notice windows, and recurring municipal safety and move-in/move-out inspections across scattered spreadsheets.

02. Engineering Solution

Initialized the Phase 3 self-hosted starter scaffold pairing a FastAPI + Pydantic v2 backend (`/api/v1/health{,/live,/ready}`, pure ASGI security-header middleware, fail-fast production secret validation) with a React 18 Vite/Tailwind workspace, PostgreSQL (`pgvector`) + Redis Compose stack, and GitHub Actions CI. Establishes the verified runtime baseline for planned `maintenance/`, `vendors/`, `leases/`, and `inspections/` domain modules.

03. System Architecture

Verified starter runtime (`backend/app/main.py`, `core/config.py`, `core/middleware.py`, `api/v1/health.py`) paired with a React 18 TypeScript dashboard (`frontend/src/App.tsx`), Docker Compose (`postgres` pgvector, `redis`, `api`, `frontend`, `ollama` profile), and CI pipeline (`ruff`, `mypy`, `pytest`, `tsc`, `vitest`, `vite build`, `npm audit`, Trivy) ready for the four planned property-ops modules in `docs/ARCHITECTURE.md`.

Core Architectural Components

Verified Starter API, Security Baseline & UI Shell (`/api/v1/health*`)

Shipped FastAPI application with versioned `/api/v1/health`, `/live`, and `/ready` probes, ASGI security-header injection (`X-Request-ID`, `nosniff`, `DENY`), fail-fast `validate_production_security()`, offline `mock`/Ollama/Gemini routing settings, and React 18 live health console.

Planned Domain Module: Maintenance Triage & Routing (`maintenance/`)

Blueprint for tenant work-order intake, severity/emergency classification, trade-specialty routing, and warranty or capex threshold rules.

Planned Domain Module: Vendor Dispatch & Work Orders (`vendors/`)

Blueprint for contractor directory matching, quote comparison, SLA compliance tracking, invoice verification, and HITL-approved dispatch notices.

Planned Domain Modules: Lease Workflows & Inspections (`leases/`, `inspections/`)

Blueprint for lease abstract storage, statutory notice-window reminders, move-in/move-out checklists, municipal safety-certificate calendars, and auditable resident communications.

04. Notable Engineering Decisions

Human Approval Gates for Vendor Dispatches & Statutory Notices

Contractor work-order authorizations and legal lease-renewal notices carry financial and statutory liability, requiring explicit property-manager approval and audit logging.

Resident & Lease PII Protection via Local Inference

Tenant records, lease abstracts, and inspection photos contain sensitive personal data; local Ollama routing and default cloud PII redaction prevent unintended data exposure.

Production-Ready Starter Baseline & Deterministic CI Gates

Validating health probes, security headers, production secret checks, TypeScript strict builds, and Docker Compose topology from the initial commit ensures clean extension as domain modules are added.

05. Engineering Challenges & Solutions

Challenge: Coordinating heterogeneous property workflows (maintenance SLAs, vendor quotes, lease dates, and inspections) without brittle monolithic code.

Engineering Solution: Defined four isolated planned modules (`maintenance/`, `vendors/`, `leases/`, `inspections/`) atop a shared typed FastAPI + PostgreSQL (`pgvector`) + Redis starter.

Challenge: Preventing unverified initial scaffolds from accruing security or container debt.

Engineering Solution: Shipped non-root API and Nginx containers, `validate_production_security()`, and passing `ruff`, `mypy`, `pytest`, `tsc`, `vitest`, and `npm audit` checks from day one.

06. Implementation Highlights

  • Verified FastAPI starter with `/api/v1/health`, `/live`, and `/ready` probes plus fail-fast `APP_ENV=production` secret and CORS validation
  • Pure ASGI `SecurityHeadersMiddleware` injecting `X-Request-ID`, `X-Content-Type-Options: nosniff`, `X-Frame-Options: DENY`, and production HSTS
  • React 18 + TypeScript + Vite + Tailwind starter dashboard with live `/api/v1/health` status check and Vitest + Testing Library unit tests
  • PostgreSQL (`pgvector`) + Redis + optional Ollama Docker Compose stack with non-root API and unprivileged Nginx containers
  • Documented Phase 3 `docs/ARCHITECTURE.md` blueprint for `maintenance/`, `vendors/`, `leases/`, and `inspections/` modules behind GitHub Actions CI