Phased Build Order

Ease, safety, real function.

LocalOps is built in slices that can be deployed, tested, and reused. The rule is simple: no hunting, no pretend features, no scary hidden database moves. Each phase has a live route, a data layer, a check, or a clear reason it is next.

15D1 tables across booking, jobs, visibility, approvals, and audit
7MCP tools exposed for live app control
0404s found in the latest BookITnow/LocalOps crawls
1Cloudflare-first product pattern: static + functions + D1 + jobs
Phase 01

Foundation

Static pages, Cloudflare Pages, Wrangler deploys, D1 binding, live smoke checks.

  • LocalOps umbrella live
  • BookITnow module live
  • Client kit starter files
Live
Phase 02

Booking Core

Real booking rows, services, staff, owner calendar, and account settings.

  • D1-backed booking creation
  • Owner login/session
  • Calendar reads live rows
Live
Phase 03

Notifications

Queue first, provider second. Jobs can be sent, retried, or marked dead.

  • Email job runner verified
  • WhatsApp settings ready for Meta Cloud API credentials
  • Owner controls added
Live
Phase 04

SEO + IndexNow

Pages can queue URL submissions instead of guessing whether indexing happened.

  • SEO jobs table
  • IndexNow queue API
  • Sitemap, robots, llms.txt
Live
Phase 05

AI Visibility / GEO

Peec-style concept for local businesses: prompts, mentions, citations, competitors, score over time.

  • Prompt table seeded
  • Visibility runs table ready
  • Visibility page live
Live
Phase 06

Security Gates

No standing master keys for risky agent actions. Approvals create short-lived scoped action tokens.

  • Approval requests
  • Action tokens
  • Audit log
  • Policy rules
Live
Phase 07

MCP Tools

Agents get real tools instead of raw database access.

  • Health check
  • Queue IndexNow URL
  • List jobs/notifications
  • Create test booking
Live
Phase 08

Installer

Client config in, exact Cloudflare/D1/env/smoke plan out. Verified dry-runs for Austin's Doors and NeighborDoors Growth.

  • client.json validation
  • D1/schema command plan
  • Wrangler deployment checklist
  • smoke/crawl URL report
Live
Phase 09

Research + WhatsApp Router

Make research, indexing, and notifications independent of booking so any app/event can use WhatsApp, email, webhook, or provider fallback.

  • Generic event endpoint
  • Provider routing
  • Template table
  • Delivery logs
Next
Phase 10

Local Agent Runner

Keep costs low by letting local models/agents do heavy crawl, keyword, and content work, then save results to D1.

  • Ollama/Qwen/Gemma path
  • Browser/MCP crawler
  • Push findings to Cloudflare
Later