Phase 6: the operations control desk (Pupitre)
An AI that prepares the rules, a site manager who signs them.
The Pupitre, our operations control desk, keeps the rules the Cube applies up to date every week: who may come in, when, and on which machine. It reads the site manager's documents, compares the past week with the workshop's habits and prepares the rules for the coming week. The site manager reviews them, signs them and carries them to the Cube on her phone. The whole thing takes about ten minutes.

An embedded AI, offline, on her own computer
The Pupitre is a page installed once on the site manager's computer, together with a small language model developed with TinyLM and its engine. TinyLM is a frugal AI: rather than a large general-purpose model, a small model specialised for a single task, which runs in the browser with the resources of an ordinary computer. Code does everything that is deterministic, and the model only reads the sentences the code could not understand, because its value lies in the context it is given, not in the number of tokens. The AI proposes, the code checks, the site manager signs. Its security policy forbids any request to the outside. It reads documents in memory and keeps none of the text. From one week to the next it keeps only settings: the reference habits, the columns it has already recognised and the forecasts the site manager has discarded.
What it takes in
The home screen has two inputs.

The Cube's log. The site manager scans a QR code with the Trust-Buster app. The log collected during synchronisations (see phase 5) passes from the phone to the computer over Bluetooth, encrypted between the two devices. The QR code works only once: it carries the secret from which both devices derive their keys. The app keeps twelve weeks of log for the Pupitre.
The documents. Emails, a mailbox, the diary, an export from the booking app, a photo of a sheet. The Pupitre recognises each document from its content. A paper sheet is shown to the computer's camera: it is read on the spot, and the image never leaves the computer. A badly recognised handwritten line is declared illegible rather than interpreted.
What the model does, and what the code does
Ordinary code reads anything structured: a diary, a column export, a sentence such as “Thursday 19 November from 9 to 11”.
The model reads the rest, at a click from the site manager: “not this Thursday but the next one, same slot”, an implied subject, a conditional. It extracts simple facts: a person, a day, a start time, an end time. It copies the date as the sentence states it, without calculating it.
The code calculates the exact days and checks every fact: the person appears in the sentence, the date falls within the next four months, the person is known to the Cube or flagged as unknown. Anything that cannot be traced back to its source goes back to the site manager marked “not understood”.
The model calculates no time slots and writes no explanations. Time windows, deviations and explanations come from a calculation that never varies: the same facts always give the same proposal.
The model is tuned to abstain when in doubt, and every line stays displayed with the sentence and the file it came from.
The model has half a billion parameters and runs in the browser of an office computer with no graphics card, at about fifteen seconds per sentence. On 151 dated sentences taken from real business emails it had never seen, it reads 147 correctly and invents no presence.
The past week, compared with the habits
The code compares the past week with the previous ones and lists each deviation with its reason: a machine drawing power with nobody there, a temperature set point changed at night, an unknown device, a person present with no rule covering them. For presences, it keeps only one case: a person alone outside the hours when the workshop is usually occupied. It also lists the habits the log repeats, such as a machine used every week without a booking. The Pupitre does not say what to do about them: it asks the site manager to judge them before setting the next week.

The week's rules
By default, every declared person is accepted during the hours when the workshop is usually occupied by several people. Forecasts read in the documents open or close slots against this baseline, and those for later weeks wait their turn. The Pupitre shows a single table listing only what changes, with the sentence and the file each line came from. A wrong line is discarded with one click, and the table is recalculated.

Below the table, each person's rule can be set at four levels.
| Level | Open days | Margin around observed hours |
|---|---|---|
| Site hours (default) | those when the workshop is occupied by several people | 30 minutes |
| Broad | every day the person has been seen at least once | 45 minutes |
| Recommended | days the person has been seen at least one week in two | 15 minutes |
| Strict | days the person has been seen at least four weeks in five | 5 minutes |
Each level shows the number of open hours, how many times it would have raised an alarm over the learning period, and the presences it tolerates that the stricter level would have flagged, with their dates. A reference frozen on day one accompanies every proposal, so that a deviation growing week after week can be seen.
The Pupitre sets the hours of people already declared; it does not create new ones: a new person is declared on the security control server.
From the computer to the Cube, by phone and under a mandate
Once the rules are signed, a second QR code hands them to the phone over the same encrypted link. The site manager then brings the phone to the Cube, which checks before applying anything:
that the mandate comes from the security control server;
that the rules are signed with the key the mandate designates;
that they stay within its limits: people already declared, this particular Cube, an expiry date.
A sequence number prevents an old setting from being replayed. The rules expire after ten days. Every change is written to the Cube's log, where the security officer sees who made the setting and when, without having seen a single document.
Phase 7 shows how the accounts given by the people in the workshop add to what the Pupitre learns from documents.
Further reading
Des règles apprises, pas devinées (in French): why we built the Pupitre, and the story of a week in a workshop.
The Pupitre demonstration (in French), loaded with that workshop's fictitious data. It is open to everyone; an email address is requested on entry.
Screenshots taken from the demonstration, with fictitious data.
