Book a Systems Strategy SessionBook a session

Case study

We kept the spreadsheets.

A national beverage brand. Field operations. In production.

Swipe the panel, or tap a position.

Spreadsheets with nothing around them.

The operations team knows every tab. Then the app and the console write to the same row at once, and a flaky network sends one expense twice. The tabs have no way to protect themselves.

This is what too little looks like.

We kept the spreadsheets the operations team already ran on, and engineered around them: an app for ambassadors, an admin scheduling console, and an API that treats Sheets as a real database.

  • 0

    migrations forced on the operations team. They kept the spreadsheets they trust, and the system made them safe.

  • 6

    signals in the scheduling engine: availability, performance, distance, reliability, fairness and familiarity. The same inputs give the same schedule.

Kept

  • The spreadsheets, and every tab the operations team already knew.
  • The team's own way of reading, fixing and trusting its data.

Added

  • An API that treats Sheets as a database: a lock per tab, retries that know which writes are safe to repeat, and an audit log of every change.
  • A scheduling engine that scores six documented signals and gives a reproducible answer.
  • An AI that explains the draft schedule under a fifteen-second timeout. If the model is down, scheduling carries on without it.

Refused

  • Forcing a migration on a team that trusted its spreadsheets.
  • An AI that decides the schedule. It only explains it.
  • Trusting the device. All three sign-in paths are hardened on the server.
Shifts, week 46Tab locked for one write
RowShiftVenueStatus
213Sat 14 Nov, 12:00Northgate Store 41Assigned
214Sat 14 Nov, 16:00Harbour Road MarketCompleted

Audit 09:42:07 Row 214, status Assigned to Completed, from the ambassador app.

Retry key 7f3a-214. Applied once. Repeating this write changes nothing.

A specimen, redrawn at true size with invented data. Every write to a row happens once, under its tab's lock, and leaves a line in the audit log.

Where it honestly stands: in production and run daily, with the Android app live and iOS in App Review. Sheets rate limits still arrive at the worst moments, so retries back off and never repeat an unsafe write.

A database migration and a retrained team.

Replace the spreadsheets, retrain the team, and hope adoption survives. The team gives up tabs it can read, fix and trust, for a system only its builders understand.

This is what too much looks like. It is the conventional move.

Overview

The client ran on spreadsheets. We kept it that way, and made it an operating system.

Field marketing for a national brand ran on Google Sheets and AppSheet, and the operations team knew every tab of it. The conventional consulting move is a migration: replace the spreadsheets, retrain the team, and hope adoption survives. We judged that wrong for this client. The spreadsheets were not the problem; the lack of engineering around them was.

So we engineered around them. A Flutter app gives ambassadors their schedule, event reporting, expenses, and earnings. A React console gives the operations team a drag-and-drop scheduling board. Between them sits a Cloud Run API that treats Sheets as a real database, with per-tab locking, idempotency-aware retries, and audit logging, so two systems never fight over a row and a flaky network never double-writes an expense. The platform runs the operation daily: the Android app is live on Google Play, iOS is in App Review, and a public application page feeds new ambassadors into the same admin approval flow.

Architecture

How it is put together.

Ambassador appFlutter, iOS + AndroidAdmin consoleReact, scheduling boardPublished shiftsassignments, weekly summary

Hover over a part, or move to it with the Tab key, for its engineering note.

Field operations platform, system architecture.

Field operations platform, system architecture. Its parts, from the top of the drawing down.

  • Ambassador app
    Flutter, iOS + Android.
  • Admin console
    React, scheduling board.
  • Cloud Run API
    Auth, audit, retries. Three auth paths, audit logging, and retries that know which writes are safe to repeat.
  • Sheets as database
    Per-tab locks, idempotent writes. A mutex per tab makes every read-modify-write atomic; the ops team keeps the tabs they trust.
  • Scheduling engine
    6 signals, 0-100 score. A pure function over six documented signals; reproducible assignments, no black box.
  • Claude
    Explains only. Explains the draft schedule in prose under a fifteen-second timeout; never decides it.
  • Published shifts
    Assignments, weekly summary.

Decisions

Three decisions that mattered.

Do not migrate a working operations team.
The operations staff could read, fix, and trust their spreadsheets. Forcing a database migration would have traded that fluency for a system only we understood. Instead the API enforces the discipline Sheets lacks: a mutex per tab for atomic read-modify-write, retries that know which operations are safe to repeat, and an audit log of every mutation. Zero migrations were forced on the team.
Scheduling is deterministic; the AI narrates.
Shift assignment is a pure scoring function over six documented signals: availability, performance, distance, reliability, fairness, and familiarity. Claude writes the prose explanation of a draft and the weekly summary, under a hard timeout with a deterministic fallback. If the model is down, scheduling does not even slow down.
Three auth paths, hardened server-side.
Field staff sign in however their phone lets them: Google, Apple with server-side token verification, or email one-time codes with hashed single-use tokens, lockouts, and cooldowns. Convenience for the field, without trusting the client device.

AI layer

The AI layer, honestly.

Claude does two things and only two things: it explains a schedule draft that the deterministic engine produced, and it summarizes the week for the operations lead. Fifteen-second hard timeout, graceful fallback, no decision authority. We think this pattern, AI explains but never decides, is the right default for operational software, and this system is where we proved it.

Status

What broke, and what we changed.

Google Sheets rate limits are real and arrive at the worst moments. The first retry layer made things worse by repeating non-idempotent appends; the current one distinguishes safe retries from unsafe ones and backs off with jitter. The lesson is baked into the platform: treating a spreadsheet like a database is fine exactly as long as you engineer it like one.

Results

Results, and how they were measured.

  • 3

    surfaces on one API.Ambassador mobile app, admin scheduling console, and the Cloud Run service.

  • 6

    signals in the scheduling engine.Documented weights, deterministic output, reproducible decisions.

  • 0

    migrations forced on the ops team.The team kept the spreadsheets they trust; the system made them safe.

More work

Along the measure.

Next step

Find out how much you need.

Thirty minutes with the studio. We map what you run on today and say what we would build, roughly what it takes, and whether we are the right fit.

Sometimes the answer is a platform. Sometimes it is a layer around what you have. Possibly nothing yet.

Book a Systems Strategy Session