Contact Us →
Menu
← 1.0 Work
5 / 6

Blue for Marble

Paper reports in a marble workshop → one shared system. A family business in Sardinia that cuts and finishes marble. Told as process only: no figures, costs or names from the company.

Role
Custom software
Field
Product
Year
2026
Team
Stefano
Duration
In progress
FIG. 1.5 · Paper to one system: a marble block in the yard next to the new report grid

Listen

Context. Blue turns blocks of marble into slabs, floors and finished pieces. Every block that comes in gets its numbers written on the stone by hand, and every department keeps a paper report of what it did that day: the single-blade saw, the gang saws that cut a whole block into slabs, the resin line, polishing, edging, brushing and acid finishes.

Problem. At the end of the day the office copies those reports by hand into one big spreadsheet, which works out the labour cost of each job.

What I did. Before drawing anything, I sat with the two people who do the copying and went through the spreadsheet with them, sheet by sheet, and asked what each column was for and who looked at it.

A slab clamped and lifted in the workshop A wall finished in the same stone

From the block to the finished wall. Every step in between leaves a paper report.

→ The spreadsheet is the spec. Every formula in it is a rule someone decided once, and the software has to keep it.

Map

What I did. I mapped each paper form against the spreadsheet, field by field: where the value is written, where it’s copied, which formula uses it.

Finding 1: data nobody uses. The forms record things the spreadsheet never uses, like abrasives and acid, and you need those for a full cost later.

Finding 2: missing hours. In some departments the hours were often left blank, so whole periods of labour cost came out close to zero without anyone noticing. Nobody was doing anything wrong: the paper form for the gang saws simply had no box for an operator’s hours.

→ A map of every form and every field, and where each one ends up, or doesn’t. Plus a short list of fixes the office could make in the spreadsheet the same week, before any software existed.

Focus

Problem. The hardest case was also the most common one. A single operator runs more than one gang saw at the same time, and the machines start and stop on their own schedules, with frequent pauses. How many of that person’s hours belong to each machine?

Rule. I brought it to the meeting as the first priority and we worked it out together. Count only the time a machine is running and the operator is on shift. If the operator isn’t there, it doesn’t count. Where two machines run together, each gets half. Overtime is noted separately and widens that day’s shift.

Why a drawing. Then I drew it, because a rule like that only makes sense when you can see a day of it. The drawing went into the spec as it is, so the code and the office read the same picture.

A day on the gang saws: the shift, two machines, and the hours each one gets

The rule as a timeline, with a made-up day. Only hours inside the shift count, and when both machines run each one takes half.

→ One written rule, agreed with the people who’ll use it, before a line of code. Priorities set in the same meeting: machine hours first, a monthly cost estimate second, waste third.

Explore

Tablets, later. Everyone pictures tablets in the workshop. I explored that and pushed it back. Tablets change how everyone on the floor works; replacing the spreadsheet only changes the office. So the order became: an office web app that does what the spreadsheet does, then the full cost of each job, and tablets after that, as a version 2.0.

Architecture. The architecture follows the same idea: six sections, and the office spends almost all its time in one of them, the reports. Personnel and settings open once a month or less.

The page map: six sections, with the flows that pass through each page

Page map. The chips under each page point to the flows that pass through it.

Flows. Each of the nine flows is drawn the same way: the happy path on the top row, alternatives below, and sticky notes for what’s still open, what was decided and what changed after a problem. That way every open question sits next to the step it belongs to, and the review goes note by note.

Flow F1, entering a saw sheet, steps 1 to 5

Flow F1, steps 6 to 9: a row without hours is saved as incomplete and shows up in the alerts

Flow F2, entering a gang saw cut, steps 1 to 4

Flow F2, steps 5 to 8: operator hours and a day that stays provisional until both saws are in

F1 and F2. Yellow notes are problems and the change they caused, green ones are decisions, beige ones are still open.

Home page. The home page came out of the same flows: three big buttons for what the office does every day, and a list of things to fix (rows without hours, a machine day to complete, a month still on an estimate) so mistakes show up the day they happen instead of at month end.

Home wireframe: three buttons and a list of things to fix

Stack. The stack stays small on purpose: React, a Postgres database with the calculations inside it so the numbers live in one place, and accounts created by hand. The spreadsheet stays as a download, same format and formulas, so nobody has to trust the new thing blindly. If two ways work, take the shorter one.

Ship

First version. The first version is running on a test server: sign-in, the home page with its list of things to fix, and the saw report saved to the database. I build it with Claude Code, one milestone at a time, each one starting from a written spec.

The home page in the app, with the list of things to fix

The saw report: one row per paper line, typed from the keyboard

Editing a row: the fields follow the order of the paper form

The app with made-up data. The report grid works from the keyboard like the spreadsheet did, and each row keeps the number of its paper sheet so anything can be traced back.

Next. The gang saws and the resin line, then a month run next to the spreadsheet so the two can be compared line by line before the office switches.

People on this projectStefano
Next · 1.6league.fun

Bring us the mess.

Contact · CoPe

Tell us about it.

Opens your email app, everything filled in.