Client Since May 2026 · in production
Seven apps, one environment.
It started as a validated Streamlit demo that had to reach production without changing a single number in the INAIL calculations. It grew into an environment where every new app starts with sign-in, data, design and reporting in place, and every reported problem is followed through to release.
Apps in production
7
one sign-in, one database, one design system
Commits
1,300
May to October 2026, on my own
Test files
343
plus golden masters on the calculations
Migrations
166
database migrations, across seven apps
The ask
Rebuild a validated demo without changing a single number in its calculations, then turn it into a platform where every new app starts with sign-in, data and design already in place.
Client: SAEFSector: HSE consultancyRole: on my own, architecture includedModels: Claude Opus, Sonnet and Haiku
What it does
The features, one per row.
8
- 01
One environment
One Microsoft sign-in, a dock to move between apps, a command search and the same design everywhere.
- 02
Report from any page
The same button in every app. Whoever reports picks something broken, something missing or data out of place, masks the data in the screenshot and writes a sentence. The technical context attaches itself: the last steps across pages, clicks, calls and errors, never the content.
- 03
Triage
Reporters are only asked whether it blocks them; severity is decided at triage. The AI drafts two rewrites, one technical and one for whoever sets priorities, and a person approves them. The original sentence stays as written. Several reports of the same thing land on one work item.
- 04
Release and acceptance
Work items go into a release and through acceptance, signed by a person. Reporters get an email at every step; when the work item ships, every linked report closes with it, with a short note on what was done.
- 05
Prototypes to comment on
Before the code, a clickable prototype. Each version stays as published, testers pin notes to the exact spot, and the discussion points stay written down: open, decided or dropped.
- 06
Risk assessments
Work-related stress with the INAIL engine, anonymous links for workers and a Word report. Chemical risk, with AI reading the safety data sheets and a robot filling in the third-party assessment portal.
- 07
Documents
Data extracted from PDFs and images, each field showing the region of the document it came from.
- 08
Shared data
A reference registry (companies, sites, employees, contracts) kept in sync with the ERP, with the provenance of every field: the other apps read from it. And INAIL statistics on injuries and occupational diseases, ported to TypeScript from a partner’s Python pipeline with the same results.
Screens
Redrawn in the project’s own colours and fonts, with sample data.
How it’s built
The choices that matter, with the stack alongside.
One platform, seven stacks
One monorepo, one CDK stack per app plus a shared base. Every new app inherits sign-in, data and components.
pnpm, AWS CDK
A single sign-in
Staff sign in with Microsoft; outside users get a separate login.
Cognito, Microsoft Entra ID, Graph
Serverless where possible
APIs on Lambda behind API Gateway with a JWT authorizer; Fargate for the robot and heavy documents.
Lambda, API Gateway, Fargate, RDS Postgres 16
A model for each job
Opus for safety data sheets, Sonnet for slides and regions, Haiku where it’s enough. A provider benchmark and a visual A/B before every switch, and the cost of every call logged.
Claude Opus, Sonnet, Haiku
How it ships
The checks that exist on this project.
An agent never signs off
On this platform the agent writes the acceptance steps but isn’t allowed to sign them. A person runs and signs them, ticking every step; if one fails, it goes back to development.
And then, the courses
In the same environment SAEF builds courses for its clients, delivers them and keeps the records, from the first slide to the certificate.
6
- 01
Slides made with AI, finished by hand
You start from a text, a PowerPoint or an old ready-made course package. What comes out are real slides, to finish with themes, layers and crops. Every generated slide carries the model and the prompt that made it.
- 02
A voice and a face
Every slide has its own script, read by a synthetic voice or by a video presenter, language by language. Every video generated logs its cost against the course.
- 03
Languages
A course moves into another language in stages: first a plan of what will be translated and what has to be redone, then the translation. Each language keeps its own versions; Bengali is one of them.
- 04
Tests and certificates
Each attempt draws different questions from a bank, and anyone reviewing the test reads why the right answer is right. At the end, a PDF certificate with its expiry date, and a reminder as the renewal comes up.
- 05
Mandatory courses
They open with a training agreement to accept, which keeps its versions, and close with a feedback survey. Only time really spent on the course counts, and a log of every step the learner took downloads as a PDF.
- 06
Orders, companies and other platforms
Seats are bought per order. The client company’s contact enrols their people, sends logins and reminders, and sees who still has to finish. A course can also go out as SCORM, for other platforms, or as a single video.
Claude, ElevenLabs, HeyGen, SCORM
Next: Rilevo
Open