Sitre is our product that catches personal data in what people type into AI tools. It finds Turkish national ID numbers, IBANs and phone numbers, masks or blocks them according to policy, and keeps an audit log. One day we wanted to add the Turkish tax ID number (VKN) to the list.
The work started with an issue. Then came the technical design: how a VKN gets validated, where the recognizer is registered, which samples it’s tested with. Once the design was approved, the task list followed. Each task was tied to a section of the design. Passing tests and the production deploy were on the list too; “the code is written” wasn’t enough. The admin panel needed no change, because the list of recognizers comes from the API. Even that was written on the list.
A shortened version of that task list is on the ArchFlow page. Every other piece of work on Sitre went the same way.
Everything in one docs repo
Sitre is made of a few services: a gateway that sits in the traffic going to the model, a detection service that recognizes personal data, and an admin panel for compliance teams. Each has its own code repo. Next to them sits a docs repo. Every piece of work has its business requirements, technical design and task list there. So do the contracts between services and the archive of finished work.
The agent that writes the code learns what to build and why from these documents, not from a chat. When we ask “why is it like this?” months later, the answer is there too. For a product that deals with personal data, that’s no small thing. Which data gets masked and which gets blocked is written in the design, and we can show it when someone asks.
No “done” without verification
After the code is written, a separate session starts. It doesn’t see the context the code was written in; it checks the code against the technical design, the contracts and the task list. If it doesn’t pass, the work stays open. The agent saying “done” isn’t enough for us, because agents sometimes say it too early.
If the work touches more than one service, say the gateway and the detection service change together, we also write a solution design before any code. That’s where it becomes clear what each service expects from the other. For small bug fixes we skip most of these steps: a task is opened and the fix is made. But even that starts with an issue and leaves a trace in the archive.
This is the workflow we recommend to our clients. We use it on our own product, and that’s where we saw it work.
- ArchFlow
- Sitre
- Spec-driven development
- AI