Guide · Operations

Safe defaults and config review

Use this page to review every safe default, production override, startup check, and redacted admin summary before the first run. No secret value appears on this page, in a log, or in a summary.

Inventory: what is covered and where it comes from

The inventory below uses only defaults already stated in the setup guide, the booking guide, the fleet pages, and the kit description in this pack. No environment variable name is listed in the public site files in this pack. The kit names two Worker bindings, DB and FILES. Any other deployment value must be confirmed in deployment config and must not be copied into code, pages, logs, or a summary.

Rates and scheduling defaults

  • Hourly rate 125, hourly minimum 3 hours
  • MCI flat rate 175 for airport arrivals and departures
  • Point to point minimum 150
  • Event hourly rate 140, event minimum 4 hours
  • Gratuity 20 percent, shown beside the rate, in whole dollars rounded up
  • Lead hours 3, so call time is pickup time minus 3 hours
  • Minimum gap 45 minutes between runs for the same chauffeur or vehicle
  • Passenger count 1 to 7, fuel at 3/4 tank or more, tire tread threshold 4/32 inch stated in fleet checks

Company and workspace defaults

  • Company name, public name, phone, service area, and timezone in company profile
  • Timezone has no default stated in this pack and must be set once, then used for pickup date, call time, and reports
  • Workspace is the MAJIC company, and the setup checklist is kept per workspace
  • One setup checklist with done and next states for each step

Pickup points, templates, and check lists

  • Pickup points: MCI, Downtown, Crown Center, Country Club Plaza, Power and Light District, Convention Center, Overland Park, Leawood, Lee's Summit, and Independence
  • MCI arrivals use baggage claim meet and greet with a name sign
  • Four message templates: confirmation, chauffeur details, on location, and thank you
  • Daily clean and inspect lists: cleaning items first, then safety items
  • Fourteen maintenance items: oil and rotation, cabin filter, engine filter, alignment, wipers, brake fluid, battery, tires, brakes, spark plugs, transfer case and axle fluids, transmission fluid, coolant, and accessory belt

Fleet and people defaults

  • Ten vehicles: 2026 Lincoln Navigator L Reserve 4x4, 7 passengers maximum
  • Ten full time chauffeurs and 2 relief chauffeurs in the starter roster
  • Each vehicle record holds plate, colour, permit number and expiry, inspection expiry, odometer, and home chauffeur
  • Each chauffeur record holds phone, email, type, home vehicle, driver certificate number and expiry, active state, and linked sign-in account

Worker bindings and site paths, names only

  • DB: D1 database binding named in the kit description
  • FILES: R2 bucket binding named in the kit description
  • Public request endpoint: /api/public/request, used by forms with data-request demo, question, or pilot
  • App at /app/, service worker at /sw.js, theme colour #14213D
  • Names and paths only. No value, credential, or connection string is listed here or on any public page.

Empty on day one

  • No clients, chauffeurs, vehicles, bookings, messages, or invoices are seeded
  • No sample or demo records are loaded, and no contact or payment details are stored
  • Nothing appears on the day board or in reports until a real booking is confirmed and assigned

Production overrides: confirm each one before go live

Overrides are saved in workspace settings and records, not in code and not in a page. A changed rate applies to new quotes only. Preview a quote for each service type after any change.

  1. Confirm company profile

    Confirm company name, public name, phone, service area, and timezone for the Kansas City metro service area. The public booking page uses the public name.

  2. Confirm rates and scheduling settings

    Open Rates and scheduling settings. Keep the safe defaults above if they match the company, or edit hourly rate and minimum hours, MCI flat rate, point to point minimum, event rate and minimum hours, gratuity percent, lead hours, and minimum gap to the production values the company will use.

  3. Confirm pickup points and templates

    Confirm the ten pickup points and the four template kinds. Edit template wording only after a real draft has been seen, and keep each draft waiting for approval by a person.

  4. Confirm fleet, people, and dates

    Enter real plate, permit, inspection, odometer, certificate, and days off dates. Do not leave a date blank for a vehicle or chauffeur who will be assigned.

  5. Confirm bindings by name only

    Confirm DB and FILES are present by name in deployment config. If a name is missing, contact the deployment owner. Do not copy a value into a page, a log, or a summary to complete the check.

Worker and runtime settings: verify by name before deploy

This section covers the Worker settings named in the kit description for a signed-in multi-tenant app. Where the pack states no value, the safe default is to verify the setting in locked Worker configuration before deploy and to add no value here. No setting on this page changes sign-in, sessions, tenancy, roles, or permissions.

Entry and compatibility

Entry is the locked Worker entry in src/index.ts. Compatibility date and compatibility flags are not stated in this pack. Verify both in locked Worker configuration before deploy. Do not add a flag, a date, or a value on this page to complete the check.

Bindings and resources

DB is required for the workspace database. FILES is required when file attach or photo use is enabled. If a binding name is missing, the affected screen fails in plain words and the missing name is recorded. No binding value, connection string, or secret is listed here, in a log, or in a summary.

Triggers and limits

No scheduled trigger is described in this pack. Verify in locked Worker configuration that no cron trigger is present, and contact the deployment owner if one is present. No cap, limit, or throttle is added for platform drafting use. Verify that no resource limit in locked configuration conflicts with a signed-in multi-tenant workspace.

Routes, caching, and app fallback

The app is served at /app/ and the public site uses the paths in the inventory above. Long-lived browser or edge caching is safe only for content-hashed files under /assets/. Files whose names do not change between versions must not get long-lived caching. The app fallback is a custom 404 to index.html. Do not convert it to rewrite rules.

Public form route

The marketing forms post to /api/public/request. That route is required for demo, question, and pilot forms. If the route is missing, the form shows a plain error and does not submit. Confirm the route by name in locked configuration before deploy.

Drafting, media, and vault helpers

Draft writing, media, and vault helpers are read by reference from locked core. No vault id, endpoint name, token name, or secret value is stated in this pack and none is added here. If the saved template and hand-written fallback cover the same task, a drafting failure does not change a booking, a rate, a pickup time, or a call time.

  • Confirm each name above in locked Worker configuration and record present yes or no with no value in the row
  • Confirm DB and FILES by name, confirm no cron trigger is present, and confirm compatibility date and flags are set in locked configuration
  • Confirm no long-lived caching on files whose names do not change, and confirm the custom 404 fallback for /app/ without rewrite rules

Corrected HTTP caching header and invalidation specification

Use this section to check freshness and privacy for public marketing pages, static assets, and signed in app responses. The audit of the pack found one rule and no values. The rule was that long lived caching is safe only for content hashed files under /assets/ and that files whose names do not change between versions must not get long lived caching. No Cache-Control value, no ETag rule, no conditional request rule, and no split between public and authenticated responses were stated. This section states the value for each class, the ETag and conditional request handling, the invalidation step on deploy, and the hit rate and byte savings target for repeat visits. Targets are goals for a repeat visit with no change, not claims about current traffic.

Public marketing HTML

Pages: home, about, accessibility, airport, features, fleet, for business, integrations, passenger book, request demo, schedule, security, and guides. Cache-Control: public, max-age=0, must-revalidate. ETag: one strong ETag per page version, with Last-Modified for the same version. Conditional request: the browser sends If-None-Match with the stored ETag. If the ETag matches, the server returns 304 with no body. If it does not match, the server returns 200 with the new page. Vary: Accept-Encoding only. A cookie never changes a public page response.

Unhashed static files

Files: /theme.css, /site.css, /site.js, /manifest.webmanifest, /icons/icon.svg, /app/app.css, /app/app.js, /app/responsive.css, and other /app/*.js files whose names do not change between versions. Cache-Control: public, max-age=0, must-revalidate. ETag: one strong ETag per file version. Conditional request: If-None-Match returns 304 with no body when unchanged and 200 with the new file when changed. No immutable directive and no max-age above 0 are used for this class. The service worker in site.js revalidates in the same way and does not store an unhashed file as long lived.

Content hashed files under /assets/

Files: /assets/* where the file name includes a content hash and changes when the content changes. Cache-Control: public, max-age=31536000, immutable. ETag: one strong ETag per hashed file, sent on the first response. Conditional request: the browser does not revalidate while the entry is fresh. After expiry it sends If-None-Match and the server returns 304 when unchanged. Invalidation: a content change ships under a new hashed name. The new HTML points to the new name. No purge of the old name is needed.

Signed in app shell at /app/

Page: /app/ index.html and the fallback that serves it for app routes. Cache-Control: private, max-age=0, must-revalidate. ETag: one strong private ETag per shell version. Conditional request: If-None-Match returns 304 with no body in the same browser profile when unchanged and 200 with the new shell when changed. Vary: Cookie. The response is never stored by a shared cache. The custom 404 fallback to index.html stays as it is and no rewrite rule replaces it.

Authenticated API responses under /api/

Routes: signed in JSON under /api/*, including bookings, schedule, fleet, customers, messages, reports, and files list. Cache-Control: private, no-store. ETag: none is sent for a signed in JSON response. Conditional request: none is used. The browser and any shared cache do not store the body. Vary: Cookie and Authorization where those headers are present. Every request is read from the workspace record for the signed in company at request time.

Public API responses that return personal or token data

Routes: /api/public/request for form posts, and /api/publicbook/public/* for quote preview, booking status by token, live stage, update, reschedule, and cancel. Cache-Control: private, no-store for posts and for token status responses. The quote preview GET may use private, max-age=0, must-revalidate with an ETag that changes when the saved rates change. No public token response is stored by a shared cache. A changed token or a guessed token finds no record and returns no cached body from another booking.

Invalidation on deploy, in order

Deploy in this order so a new page reaches visitors on the next visit without a manual purge.

  1. Ship hashed files first

    Publish each new /assets/* file under its new hashed name with public, max-age=31536000, immutable, and a strong ETag.

  2. Ship unhashed files next

    Publish each changed unhashed file with public, max-age=0, must-revalidate and a new strong ETag. The next conditional request returns 200 with the new body.

  3. Ship HTML and the app shell last

    Publish public HTML with public, max-age=0, must-revalidate and a new ETag, and the app shell with private, max-age=0, must-revalidate and a new private ETag. The next visit revalidates and reads the new asset names.

  4. Leave authenticated API responses uncached

    Confirm signed in JSON still returns private, no-store with no ETag. No invalidation step is needed because no body is stored.

Hit rate targets for repeat visits

  • Public HTML: 304 rate at least 90 percent when the page is unchanged. A 304 counts as a hit. A 200 after a deploy is not a miss in this target.
  • Unhashed static: 304 rate at least 95 percent when the file is unchanged, measured per file.
  • Content hashed /assets/*: fresh hit rate at least 99 percent after the first load, before expiry.
  • Signed in app shell: 304 rate at least 90 percent when unchanged in the same browser profile. Shared edge hit rate is 0 percent by design for private responses.
  • Authenticated API: cache hit rate 0 percent by design. A hit on a signed in JSON response is a failure of this spec.

Byte savings targets for repeat visits

  • Public HTML on 304: at least 95 percent fewer bytes than a 200 body, headers only.
  • Unhashed static on 304: at least 90 percent fewer bytes than a 200 body per file, headers only.
  • Content hashed /assets/* on a fresh hit: 100 percent fewer bytes than a 200 body, no network body.
  • Signed in app shell on 304: at least 95 percent fewer bytes than a 200 body, headers only.
  • Authenticated API: no byte savings target. Privacy and freshness for the workspace record come before savings, and no body is reused from cache.
  • Check: no unhashed file returns immutable or a max-age above 0. A long lived value on /site.css, /site.js, /theme.css, or an /app/*.js file fails this spec.
  • Check: every /assets/* file returns max-age=31536000 with immutable and a strong ETag.
  • Check: every public HTML page and the /app/ shell returns a strong ETag. A request with If-None-Match for that ETag returns 304 with no body when unchanged.
  • Check: every signed in /api/* JSON response returns private, no-store, with no ETag and no 304 path. A shared cache must not store it.
  • Check: public HTML sends Vary for Accept-Encoding only. The app shell sends Vary for Cookie. Signed in API sends Vary for Cookie and Authorization where present.
  • Record the date, the class checked, the Cache-Control value, the ETag present yes or no, and the 304 result, with no secret in the record.

Startup validation warnings: treat each one as Needs attention

Open the screen named in the warning, correct the named record, then recheck the setup checklist. Do not guess a missing value to clear a warning.

Rates missing or zero

Warning: a rate needed for a quote is missing or zero. Action: open Rates and scheduling settings, save the production rate, preview the quote, then create the booking.

Gratuity outside 0 to 100 percent

Warning: gratuity percent is outside the range that can be read on a quote. Action: correct the percent in Rates and scheduling settings and read rate, gratuity, and total again.

Lead hours zero or negative

Warning: call time cannot be calculated. Action: set lead hours to the production value, 3 hours by default, and check call time on the booking and the day board.

Minimum gap at or above lead time

Warning: conflict checks cannot be judged when the gap is at or above the lead time in minutes. Action: correct the minimum gap, 45 minutes by default, then run auto assign in pickup order.

Timezone missing

Warning: pickup date, call time, and reports have no timezone. Action: set timezone in company profile before the first booking.

MCI pickup point missing

Warning: an airport quote cannot name a meet point. Action: add MCI with baggage claim meet and greet in pickup points.

Vehicle or chauffeur not ready

Warning: no vehicle marked Ready by a passing daily check, no linked chauffeur, an expired certificate, or an expired permit. Action: complete the check, link the sign-in account, or renew the date. Never assign a vehicle that is not ready.

Maintenance interval missing

Warning: an item in the 14 item schedule has no interval in miles or months. Action: review the schedule in Fleet. Do not enter a guessed interval.

Binding name missing

Warning: DB or FILES is missing by name. Action: contact the deployment owner, state the missing name only, and do not copy any value into a page or log.

Template missing for a draft kind

Warning: a draft kind has no saved template. Action: open the booking, use the saved template for that kind where present, fill only facts already on the booking, and keep the draft waiting for approval.

Worker setting missing or in conflict

Warning: compatibility date or flags, a binding name, route, caching rule, or app fallback cannot be verified by name in locked Worker configuration. Action: contact the deployment owner, state the missing or conflicting name only, and do not add a guessed value on any page or in app code.

Trigger or limit in conflict

Warning: a scheduled trigger is present where this pack describes none, or a resource limit conflicts with a signed-in multi-tenant workspace. Action: contact the deployment owner before go live. Do not add a new limit, cap, or throttle for platform drafting use.

Redacted admin summary: what an owner or manager sees in the app

This summary is for signed-in owners and managers in Settings or the setup checklist. Chauffeurs and customers do not see it, and it never appears on a public page. It shows whether a value is present, not the value of anything sealed.

Fields shown for each item

  • Item name, for example hourly rate, lead hours, or MCI pickup point
  • Safe default from the inventory above
  • Workspace value when the signed-in role is owner or manager, or the word default when the safe default is in use
  • Overridden: yes or no
  • Last changed date and the role that changed it, with no secret or personal note in the detail
  • Secret present: yes or no, with no value shown

Example reading, no values sealed

  • Hourly rate: safe default 125, workspace value shown to a manager, overridden yes or no, secret present no
  • Lead hours: safe default 3 hours, workspace value shown to a manager, overridden yes or no, secret present no
  • DB binding: name shown, present yes or no, value never shown, secret present yes or no without a value
  • FILES binding: name shown, present yes or no, value never shown, secret present yes or no without a value
  • Timezone: safe default none stated, workspace value shown to a manager, overridden yes when set, secret present no

What never appears in the summary

  • Any secret, password, token, key, card number, or connection string
  • VIP flag, spend history, internal notes, or log detail on a public page
  • Other workspaces, other customers, or other chauffeurs records outside the signed-in workspace

How to check the summary at startup

  • Confirm overridden yes matches the intended production value for rates, lead hours, gap, gratuity, pickup points, and timezone
  • Confirm secret present is no for every rate, scheduling, fleet, and template item
  • Confirm DB and FILES show present yes by name, with no value in the row
  • Confirm last changed dates are recent for any item changed at go live

Steps to run the review

Work through these steps in order at startup and after any production change.

  1. Sign in and open the setup checklist

    Confirm the workspace name matches the company. Open each step that shows Needs attention.

  2. Compare each row with the inventory

    Read the safe default, the workspace value, and the overridden flag in the redacted summary. Correct any row that does not match the production value.

  3. Preview a quote for each service type

    Check rate, gratuity, and total in whole dollars. A preview creates no booking.

  4. Confirm readiness for dispatch

    Confirm rates saved, at least one vehicle Ready by a passing daily check, and at least one chauffeur linked to a sign-in account, with one confirmed booking assigned.

  5. Create the first booking last

    After the review is clean, create the first booking, confirm it as staff, assign in pickup order, and approve one message draft. Delete any test booking after verification.

Health check after deploy

Run these steps in order after deploy, in a test run where a step creates a record. Any step that fails names the missing binding or setting above instead of guessing a default. Delete any test record after verification.

  1. Open the home page and a guide

    Confirm the home page and one guide load with the shared header, footer, and theme colour. If a page fails to load, record the page name and contact the deployment owner by name.

  2. Submit the demo form in a test run

    Confirm the form with data-request demo submits through /api/public/request and shows the done message. If the form shows a plain error, record the route name and contact the deployment owner.

  3. Sign in and confirm the workspace name

    Sign in with a MAJIC account and confirm the workspace name matches the company. If sign-in fails, record the step and contact the deployment owner. Do not add a new sign-in path.

  4. Confirm Rates and scheduling settings shows the seeded defaults

    Confirm hourly 125, MCI flat 175, point to point minimum 150, events 140, gratuity 20 percent, lead 3 hours, and minimum gap 45 minutes, or confirm the production values the company saved. Preview a quote for each service type.

  5. Confirm company timezone is saved

    Confirm timezone in company profile is saved once and used for pickup date, call time, and reports. If timezone is missing, set it before the first booking.

  6. Confirm the day board is empty until the first confirmed booking

    Confirm the day board and reports show no runs until a real booking is confirmed and assigned. An empty board on day one is expected. If a test run remains, delete it and check both lists again.

  7. Confirm bindings, fallback, and caching by name

    Confirm DB and FILES are present by name, confirm refresh on an app route loads the app through the custom 404 fallback, and confirm files whose names do not change are not cached long-term. Record present yes or no with no value in the row.

  • Record the date, the workspace name, and present yes or no for each binding and Worker setting, with no secret in the log detail
  • Keep the health check record with the setup checklist for that workspace, so the next change can be compared with it

Review defaults, then run the first real day

Open the setup guide for the ordered steps, or request a demo walkthrough.