Operations Charts

Process architecture, system integration, and product catalog. These charts reflect the Mostly (v1) 8-stage pipeline. Entirely v2 uses a simplified 5-stage pipeline.

01 Project Lifecycle

Simplified 8-status linear lifecycle from intake through close-out. on_hold and cancelled are flags (can be applied at any stage), not separate statuses. Triage is a side-path flag for 45-day aging projects.

See status-triggers for the full transition map with value IDs and triggers.

Key Gates

  • Portal Intake — schedulers submit via client portal, system parses permits, extracts SOW. Submissions enter admin approval queue before Supabase record creation.
  • PSoW / ABSoW Gate — field tech confirms Permitted Scope of Work on arrival. If scope matches, it becomes ABSoW. If not, changes recorded and revised list becomes As-Built Scope of Work.
  • 30-Day RFI Warning — system auto-generates RFI at 30 days on hold requesting status update.
  • 45-Day Triage — projects exceeding 45 days transfer to JES Triage account. See triage-guide.

Record Counts

  • 7,006 projects total
  • 404 Ready for Cert
  • 214 Certified
  • 42 Closed
  • 88 Field Complete
  • ~6,000 Archived (PMS)
  • 2,286 Xero invoices ($2.7M)

02 Certification Pipeline

Swim-lane view showing handoffs between actors. The pipeline runs entirely on the VPS — no cloud functions, no Zapier.

Pipeline Components

  • VPS Pipeline — HTML rendered via Jinja2, PDF converted by WeasyPrint, stored locally
  • 10-Point auto-validation — SOW completeness, photo requirements, drive log presence, RFI resolution, address verification, permit status, production days
  • Certifier Routing — MD Anne Arundel/Montgomery Diehl AIA; MD other Valerio PE; VA Valerio PE; CT Valerio PE
  • pipeline-shepherd — daily 7:45 AM scan of all active projects
  • confidence-routing — Jacob sends direct (high confidence) or queues for OwnerReviewQueue (guardrails)

03 System Architecture

Internet -> Caddy (80/443) -> reverse proxy + auto-TLS
    |
    +-- unlikely.pro -> marketing site
    +-- entirely.it.com -> Entirely v2 portal
    +-- unlikely.works -> Mostly v1 portal
    +-- kulu.la -> Kulu (OpenClaw)
    |
    v
unlikely-api (port 8000) -- FastAPI
    |
    +-- unlikely-worker (ARQ background jobs)
    +-- unlikely-scheduler (cron tasks, ET timezone)
    +-- unlikely-redis (Redis 7, port 6379)

Key Services

04 Document Generation

The cert-generator-v3 system produces certification packages:

  • Templates at /opt/unlikely-api/templates/
  • Base layoutbase.html
  • Componentsmacros/components.html (Jinja2 macros)
  • Per-division modules — UND, ANC, BRC, SUP, FND, WTR, ENC, RTW + addons
  • Jurisdiction forms — auto-appended based on project location
  • Guide pages — educational content per division

05 Division & Product Matrix

9 product divisions with 50+ items:

CodeDivisionExamples
UNDUnderpinningPush piers, helical piles, slab piers
ANCAnchorsWall anchors, plate anchors
BRCBracingI-beam, carbon fiber
SUPSupportAdjustable posts, smart jacks
FNDFoundationConcrete, rebar
WTRWater ManagementSump pumps, drains, discharge
ENCEncapsulationCrawlspace liners, dehumidifiers
RTWRetaining WallsTiebacks, drainage
ADMAdministrativeTrip charges, engineering fees

See field-tech-guide for photo and measurement requirements per product.

06 Stakeholder & Integration Map

External Integrations

ServicePurpose
SupabaseSole source of truth (cloud PostgreSQL)
SmartSuiteSafety-net sync (soak period through April 6, 2026)
Google GmailEmail delivery (operations@unlikely.pro)
Google CalendarBi-directional schedule sync
Google MapsAddress autocomplete, route planning
StripeInvoice payment tracking
RevolutBanking reconciliation
Anthropicfriday-ai and AI features

Internal Agents

AgentPlatformPurpose
friday-aiPortal (floating eye icon + in-thread)AI assistant, multi-voice
KuluOpenClaw at kulu.laOperations AI agent
RobOpenClaw via WhatsAppField team communications