{
  "generated_at": "2026-04-15T23:16:34.911Z",
  "system": {
    "id": "topolo-truckcheck",
    "name": "TruckCheck",
    "slug": "topolo-truckcheck",
    "kind": "application",
    "summary": "Commercial vehicle procurement and partner-routing application for UAE truck, pickup, van, finance, insurance, and used-market discovery, currently shipping as a single Next.js/OpenNext Cloudflare worker with quote intake, partner onboarding, ops dashboards, listing ingestion, and AI-assisted listing enhancement scaffolding.",
    "aliases": [],
    "lifecycle": "active",
    "last_verified": "2026-04-16",
    "owners": [
      "commercial-platform"
    ],
    "repo_paths": [
      "PlatformApplications/TruckCheck"
    ],
    "service_ids": [
      "srv_truckcheck"
    ],
    "visibility": "public",
    "api_contract": {
      "type": "curated",
      "source": "PlatformApplications/TopoloDocs/src/content/public/applications/truckcheck.mdx",
      "notes": "Canonical TruckCheck coverage now lives in the docs application."
    },
    "primary_hosts": [],
    "doc_paths": [
      "applications/truckcheck",
      "internal/apps/truckcheck"
    ],
    "dependencies": [
      "topolo-auth"
    ],
    "public_hub_url": "/systems/topolo-truckcheck",
    "internal_hub_url": null,
    "application_api_url": "/reference/apps/topolo-truckcheck",
    "generated_openapi_url": null,
    "machine_urls": {
      "system": "/machine/systems/topolo-truckcheck.json",
      "application": "/machine/applications/topolo-truckcheck.json"
    }
  },
  "docs": {
    "public": [
      {
        "id": "applications/truckcheck.mdx",
        "title": "TruckCheck",
        "summary": "Public overview of the TruckCheck commercial vehicle procurement application for quote capture, partner routing, used-market discovery, and Cloudflare-backed operations.",
        "audience": "public",
        "tags": [
          "truckcheck",
          "commercial-vehicles",
          "procurement",
          "third-party"
        ],
        "url": "/applications/truckcheck.mdx",
        "last_verified": "2026-04-16"
      }
    ],
    "internal": [],
    "runbooks": []
  },
  "authority": {
    "owners": [
      "commercial-platform"
    ],
    "repo_paths": [
      "PlatformApplications/TruckCheck"
    ],
    "service_ids": [
      "srv_truckcheck"
    ],
    "dependencies": [
      "topolo-auth"
    ],
    "aliases": []
  },
  "interfaces": {
    "contract_type": "curated",
    "contract_source": "PlatformApplications/TopoloDocs/src/content/public/applications/truckcheck.mdx",
    "contract_source_exists": true,
    "openapi": null,
    "readme": {
      "path": "PlatformApplications/TruckCheck/README.md",
      "intro": [
        "TruckCheck is a UAE-first commercial vehicle procurement platform for trucks, pickups, vans, body builders, finance, insurance, and used-market discovery.",
        "This environment originally did not have `node`, `npm`, or `pnpm`.",
        "I installed a local Node toolchain at:"
      ],
      "headings": [
        "TruckCheck Platform",
        "What is included",
        "Project structure",
        "Local development",
        "Cloudflare runtime",
        "Crawl4AI source refresh",
        "Google Maps dealer crawl",
        "Current persistence direction",
        "Firecrawl operating layer",
        "iPhone release QA gate"
      ],
      "routeHighlights": [],
      "commandHighlights": []
    }
  },
  "auth": {
    "depends_on_topolo_auth": true,
    "api_key_scopes": [
      {
        "id": "aks_truckcheck_enhancements_read",
        "name": "enhancements.read",
        "description": "View listing enhancement queues and quality signals",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "id": "aks_truckcheck_enhancements_write",
        "name": "enhancements.write",
        "description": "Run listing enhancement and data quality workflows",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "id": "aks_truckcheck_market_read",
        "name": "market.read",
        "description": "View market inventory, used supply, and pricing signals",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "id": "aks_truckcheck_market_write",
        "name": "market.write",
        "description": "Manage market ingestion and inventory normalization flows",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "id": "aks_truckcheck_offers_read",
        "name": "offers.read",
        "description": "View supplier quotes and normalized offer packs",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "id": "aks_truckcheck_offers_write",
        "name": "offers.write",
        "description": "Create and manage supplier offers and pricing responses",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "id": "aks_truckcheck_opportunities_read",
        "name": "opportunities.read",
        "description": "View commercial opportunities and routing state",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "id": "aks_truckcheck_opportunities_write",
        "name": "opportunities.write",
        "description": "Advance and manage commercial opportunity workflow",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "id": "aks_truckcheck_partners_read",
        "name": "partners.read",
        "description": "View partner coverage, routing, and onboarding state",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "id": "aks_truckcheck_partners_write",
        "name": "partners.write",
        "description": "Manage partner routing, onboarding, and commercial coverage",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "id": "aks_truckcheck_revenue_read",
        "name": "revenue.read",
        "description": "View TruckCheck monetization and referral performance",
        "resourcePattern": null,
        "kind": "api_key_scope"
      },
      {
        "id": "aks_truckcheck_workspace_read",
        "name": "workspace.read",
        "description": "Load the TruckCheck staff workspace and queue summaries",
        "resourcePattern": null,
        "kind": "api_key_scope"
      }
    ],
    "service_permissions": [
      {
        "id": "perm_truckcheck_enhancements_read",
        "name": "enhancements:read",
        "description": "View listing enhancement queues and quality signals",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "id": "perm_truckcheck_enhancements_write",
        "name": "enhancements:write",
        "description": "Run listing enhancement and data quality workflows",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "id": "perm_truckcheck_market_read",
        "name": "market:read",
        "description": "View market inventory, used supply, and pricing signals",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "id": "perm_truckcheck_market_write",
        "name": "market:write",
        "description": "Manage market ingestion and inventory normalization flows",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "id": "perm_truckcheck_offers_read",
        "name": "offers:read",
        "description": "View supplier quotes and normalized offer packs",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "id": "perm_truckcheck_offers_write",
        "name": "offers:write",
        "description": "Create and manage supplier offers and pricing responses",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "id": "perm_truckcheck_opportunities_read",
        "name": "opportunities:read",
        "description": "View commercial opportunities and routing state",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "id": "perm_truckcheck_opportunities_write",
        "name": "opportunities:write",
        "description": "Advance and manage commercial opportunity workflow",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "id": "perm_truckcheck_partners_read",
        "name": "partners:read",
        "description": "View partner coverage, routing, and onboarding state",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "id": "perm_truckcheck_partners_write",
        "name": "partners:write",
        "description": "Manage partner routing, onboarding, and commercial coverage",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "id": "perm_truckcheck_revenue_read",
        "name": "revenue:read",
        "description": "View TruckCheck monetization and referral performance",
        "resourcePattern": null,
        "kind": "permission"
      },
      {
        "id": "perm_truckcheck_workspace_read",
        "name": "workspace:read",
        "description": "Load the TruckCheck staff workspace and queue summaries",
        "resourcePattern": null,
        "kind": "permission"
      }
    ]
  },
  "runtime": {
    "primary_hosts": [],
    "repo_entries": [
      "PlatformApplications/TruckCheck/README.md",
      "PlatformApplications/TruckCheck/app-collapsed.png",
      "PlatformApplications/TruckCheck/app-expanded.png",
      "PlatformApplications/TruckCheck/cloudflare/",
      "PlatformApplications/TruckCheck/data/",
      "PlatformApplications/TruckCheck/docs/",
      "PlatformApplications/TruckCheck/eslint.config.mjs",
      "PlatformApplications/TruckCheck/get-quotes-desktop-1440.png",
      "PlatformApplications/TruckCheck/get-quotes-mobile-375.png",
      "PlatformApplications/TruckCheck/home-full.png",
      "PlatformApplications/TruckCheck/home-hero-v2.png",
      "PlatformApplications/TruckCheck/internal-app-dashboard.png",
      "PlatformApplications/TruckCheck/mobile-get-quotes-step1.png",
      "PlatformApplications/TruckCheck/mobile-get-quotes-viewport.png",
      "PlatformApplications/TruckCheck/mobile-getquotes-fixed.png",
      "PlatformApplications/TruckCheck/mobile-step1-bodytype.png",
      "PlatformApplications/TruckCheck/mobile-step1-tonnage.png",
      "PlatformApplications/TruckCheck/mobile-vehicle-detail.png",
      "PlatformApplications/TruckCheck/next-env.d.ts",
      "PlatformApplications/TruckCheck/next.config.mjs"
    ],
    "wrangler_surfaces": [],
    "packages": [
      {
        "path": "PlatformApplications/TruckCheck/package.json",
        "name": "truck-platform",
        "scripts": [
          "dev",
          "build",
          "start",
          "typecheck",
          "lint",
          "lint:fix",
          "cf:build",
          "cf:preview",
          "cf:deploy:staging",
          "cf:deploy:production",
          "cf:whoami",
          "cf:seed:d1:sql",
          "auth:hash",
          "assets:glb-vehicles",
          "assets:photoreal-turntable",
          "assets:photoreal-vehicles"
        ],
        "scriptCommands": [
          {
            "name": "dev",
            "command": "next dev"
          },
          {
            "name": "build",
            "command": "next build"
          },
          {
            "name": "start",
            "command": "next start"
          },
          {
            "name": "typecheck",
            "command": "tsc --noEmit"
          },
          {
            "name": "lint",
            "command": "eslint . --ext .js,.jsx,.ts,.tsx --max-warnings=0"
          },
          {
            "name": "lint:fix",
            "command": "eslint . --ext .js,.jsx,.ts,.tsx --fix"
          },
          {
            "name": "cf:build",
            "command": "opennextjs-cloudflare build"
          },
          {
            "name": "cf:preview",
            "command": "opennextjs-cloudflare build && wrangler dev"
          },
          {
            "name": "cf:deploy:staging",
            "command": "opennextjs-cloudflare build && wrangler deploy --env staging"
          },
          {
            "name": "cf:deploy:production",
            "command": "opennextjs-cloudflare build && wrangler deploy --env production"
          },
          {
            "name": "cf:whoami",
            "command": "wrangler whoami"
          },
          {
            "name": "cf:seed:d1:sql",
            "command": "node scripts/generate-d1-seed-sql.mjs"
          },
          {
            "name": "auth:hash",
            "command": "node scripts/hash-auth-secret.mjs"
          },
          {
            "name": "assets:glb-vehicles",
            "command": "node scripts/generate-layered-glb-assets.mjs"
          },
          {
            "name": "assets:photoreal-turntable",
            "command": "node scripts/generate-photoreal-turntable-assets.mjs"
          },
          {
            "name": "assets:photoreal-vehicles",
            "command": "node scripts/generate-photoreal-vehicle-assets.mjs"
          }
        ]
      }
    ]
  },
  "data": {
    "env_vars": [],
    "bindings": [],
    "queue_bindings": [],
    "storage_kinds": [],
    "workflow_signals": []
  },
  "deployment": {
    "commands": [
      {
        "name": "build",
        "command": "PlatformApplications/TruckCheck/package.json :: next build"
      },
      {
        "name": "cf:build",
        "command": "PlatformApplications/TruckCheck/package.json :: opennextjs-cloudflare build"
      },
      {
        "name": "cf:preview",
        "command": "PlatformApplications/TruckCheck/package.json :: opennextjs-cloudflare build && wrangler dev"
      },
      {
        "name": "cf:deploy:staging",
        "command": "PlatformApplications/TruckCheck/package.json :: opennextjs-cloudflare build && wrangler deploy --env staging"
      },
      {
        "name": "cf:deploy:production",
        "command": "PlatformApplications/TruckCheck/package.json :: opennextjs-cloudflare build && wrangler deploy --env production"
      }
    ],
    "routes": [],
    "environments": [],
    "assets_directories": [],
    "observability_enabled": false
  },
  "debugging": {
    "failure_modes": [
      "No primary host is registered in the system registry.",
      "No wrangler.toml surface was discovered under the registered repo paths."
    ],
    "entrypoints": [
      "PlatformApplications/TopoloDocs/src/content/public/applications/truckcheck.mdx",
      "PlatformApplications/TruckCheck/README.md",
      "PlatformApplications/TruckCheck/package.json"
    ]
  }
}