I make the use of AI in software development safe.
I work hands-on, as a staff-level full-stack engineer inside your team. I work test-first. Changes are peer reviewed with a combination of AI and human oversight, and I measure what the work costs.
Project work
I build games, virtual reality and apps.
Projects with an educational or social purpose appeal to me most.
Products
I create SaaS products.
They are the more serious work I do next to consultancy and my own games. I make them under the lief. brand.
Changes are peer reviewed with a combination of AI and human oversight, and I measure what the work costs. Good tests, but proportional to the work. I join your team and build with it, so the knowledge stays in-house when the assignment ends.
AI-assisted engineering with assurance
Coding agents work test-first. An agent that did not write a change reviews it, and a person signs off. Guardrails limit what agents can reach, and the cost of every change is measured.
Mainly Claude Code, GitHub Copilot and Mistral Vibe
Testing
TDD and BDD, Gherkin with Cucumber, end-to-end tests with Playwright and Cypress.
JUnit 5, Mockito, AssertJ, Spock, Cucumber-JVM
Architecture
Domain-driven design, CQRS, contract-first APIs, service-oriented architecture, REST and microservices.
Full-stack
TypeScript, JavaScript, Node.js, Java, Spring Boot, Python, Vue, Angular, React, Ionic, PostgreSQL, DynamoDB, AWS, Google Cloud
Leadership
Team lead, mentoring, incident and support processes, CI/CD, and behavioural design and gamification.
Mentoring
For more than ten years I have mentored engineers in test-driven development, domain-driven design and, more recently, working with AI coding agents.
Guides
This section is being built. It will hold useful information and guidance that I want to share with the world.
For agentic engineers and developers. Not public yet.
Agentic Test-Driven Development
For agentic engineers and developers. Not public yet.
Autonomous spec-driven agentic development
For agentic engineers and developers. Not public yet.
Dealing with context switching
For mentally overloaded engineers. Not public yet.
Agentic Trunk-Based Development
Hold agents to senior developer standards.
Trunk-based development, with agents added on your team's terms. Your developers keep working on the trunk. Agents never commit to it themselves: they work on short-lived branches of their own, and people decide what lands.
The method shown here is one of the ways I can help teams work faster with AI while they keep improving the quality of their work. If you want fully autonomous implementation runs from a full analysis, where agentic teams build software non-stop for 24 hours or more, another method will be more useful.
Your team keeps working on the trunk
The method adds rules for agent work only, so your developers can keep the way they work today.
Agents work in isolation, the trunk-based way
Each agent task gets a short-lived branch of its own, and reaches trunk only once the developer who asked for it has approved it.
Agents work in parallel, with keys of their own
Several agentic teams can build features at the same time, with credentials of their own, kept off trunk.
Agents coordinate their efforts with the team
Like colleagues at a stand-up, agents share what they build and need, and ask before a dependency is added.
Agentic Trunk-Based Development
The core idea
Your developers keep working the way they do now
Committing to trunk, the branch most teams call main, or through short-lived feature branches with review. Their commits are trusted, with the peer review and CI your team already runs.
An agentic team works on one short-lived branch per task
Cut from trunk when the task starts, and kept current by rebasing it onto trunk.
A branch is set aside as stale
When it hits a conflict with trunk, when a check fails in the merge queue, or when it is still unapproved 24 hours after it was cut, whichever comes first.
A conflict is never resolved
When the feature is still wanted, the agents port the work onto a fresh branch cut from the current trunk.
Agentic Trunk-Based Development
Where AI work runs
The difference between the three modes is whose credentials AI work runs on, and how that work reaches trunk. The simulation runs all three.
Today
A developer's AI acts with the developer's own keys and credentials, and its work lands on trunk read only by its author. Keeping that safe takes a lot of discipline from every developer.
Restrict AI trunk access
No tool tells a developer's AI-written code from their own, so the code host refuses all their pushes to trunk. Their work reaches trunk through a short-lived branch and peer review, as agent work does. Their machine can do as much as before.
Sponsored agents aim
AI works only as agents with accounts of their own, each paired with a developer as sponsor. Of the three modes it carries the least risk, and for most organisations it is still hard to enforce, so it is something to work towards rather than the starting point.
AI running on a developer's machine, with their credentials, carries risks of its own in every mode. That problem is outside this guide's scope and needs a solution of its own.
SponsorScopes the taskIts production code should be readable in one sitting, on the order of a couple of hundred changed lines. Tests do not count toward that size.1
Code hostCuts a fresh branchFrom the current trunk. On the agents' first push, a draft pull request opens on its own with the task in it, so everyone can see what is in flight.2
AgentsWork, then mark it readyThe agentic team works on the branch for hours, never days, rebasing it onto trunk whenever trunk moves. Once the agents mark it ready, they add commits and never rebase.3
Code hostScans and testsIf the team uses a safety scan, the code host runs it first, before anyone pulls the code. The scan refuses changes nobody can vouch for, such as a new dependency. Then the test suite runs.4
SponsorReviews and approvesThe sponsor reviews and approves in peer review, joined by the code owner when a critical path changes.5
Code hostMerges via the queueThe approval sends the request into the merge queue, which rebases it onto the current trunk, tests the result and merges what passes.6
trunk
Set aside at any of steps 3 to 6: a conflict with trunk, a failed check in the merge queue, or 24 hours unapproved. The sponsor decides: the agents port the work onto a fresh branch, back at step 2, or the task is dropped.
Finished work that is not ready for users ships behind a feature switch, instead of waiting on a branch.
While the agents work, while the request waits for review, or in the merge queue.
A failed check in the merge queue
The request rebased cleanly, and still fails the checks on the current trunk.
The time limit
24 hours since the branch was cut, still unapproved.
What happens then
The branch is renamed as stale, and its request is closed with the reason stated.
Nobody merges the branch, and nobody resolves its conflict.
The agents stop once they learn of it, and resume only when the sponsor asks for a port.
When the feature is no longer wanted, the task is dropped, and its branch ends where it stopped.
The port
The task is the specification. The stale work is evidence: a record of what was tried and what proved hard.
The review comments carry over. A half-finished review is often the most useful part of the stale work.
Parts that stand on their own carry over, tests in particular.
Set aside twice is a signal
Either the agents ran out of time, so the task goes back to be split into multiple stories by the sponsor, or the review arrived late, so the review habit has to change.
Agentic Trunk-Based Development
Coordination between parallel tasks
Several tasks on one project run at once, each in its own working folder, so a task cannot see what another is building until it lands. Real teams avoid that by talking, at the stand-up or with a quick call. The coordination layers give agents that conversation, in two optional layers.
Layer 1: on your own machine
Layer 2: across the team
What it is for
The agentic teams you run in parallel, keeping each other informed like a team at its stand-up
The agents of every developer who works with AI, asking and suggesting like colleagues who call each other
What is shared
Each task's intent record, never leaving your machine
The same, across every developer's machine, with the code host flagging an overlap on both requests
Who approves a shared piece
You, in the review of the first request that lands it
The sponsor of the first request that lands it, in that review
Whose data it holds
Only yours
Your colleagues' too, so the team agrees before it is turned on
trunk
Layer 1: on your own machine
task A's agents
task B's agents
code host
Task A's agentsRecord the intentwhat the task builds, what it provides to others and what it needs, here formatDate().
Task A's agentsWrite the piece on its own brancha piece branch cut from trunk, holding the piece and its tests; the intent names the branch.
Code hostScan the piece branchthe initial safety scan; a team that runs no scan shares no pieces.
Task B's agentsRead the open intentsat a few fixed moments, such as before adding a general-purpose helper.
Task B's agentsTake the pieceits commits, as task A does, once the scan has passed; nobody waits for a review, and nobody writes a copy of their own.
trunkthe first request to land carries the piece, read in its own review, and the other copy drops out when its branch rebases.
Layer 2: across the team
your agents
a colleague's agents
code host
Your agentsRecord the intentyour task changes a shared helper.
A colleague's agentsRecord the intenttheir task changes the same helper.
Code hostFlag the overlapon both requests, while the tasks can still change; found at the start, overlap costs a conversation.
Your agentsWrite the change as a pieceon a piece branch cut from trunk; a piece may change code that is already there.
A colleague's agentsTake the pieceonce the scan has passed, as your agents do; nobody approves it on its own.
trunkthe first request to land carries the piece, read in full in its review, and the other copy drops out when its branch rebases.
Both layers are optional, and nothing else in the process depends on them. A message is data, never an instruction: agents reuse code from trunk, or from a piece branch the initial safety scan has passed, never from another task's branch, and a dependency only ever comes from a person.
Agentic Trunk-Based Development
Putting it into practice
This guide describes the method and the reasoning behind it. Making it work on a real team is work of its own: the code host's rules and the agents' account, the scan and the job that sets work aside, the coordination layers, and onboarding your developers.
A setup engagement
The method set up on your code host and with the AI tools you already use, and your team onboarded.
A workshop or a talk
An afternoon with your team or your leadership on the method, your situation and a plan.
Ongoing coaching
Regular check-ins while your team adopts it.
Every organisation is different. Get in touch to start a conversation about what would fit your organisation best.
scaling to many usersgamificationtest-driven development
More info later
More info later
I stay sharp and up to date with the most recent technologies via my own project work. That experience feeds directly into the value I can bring to my consultancy clients. Select a card to read about it.
main: TerraWorld Online.
The consultancy branch is cut from main.
consultancy: VRT, Drupal developer. Then Medialaan, Node.js developer.
main: Catch the Cake. main merges into consultancy: scaling to many users.
main merges into consultancy: gamification. main: BouncerVR.
consultancy: VAN IN, Diddit and Bingel. main: Super Sofie.
The products branch, for SaaS products, is cut from main.
consultancy: Telenet. main merges into consultancy: test-driven development. consultancy: Isabel Group, Corilus, and Auric.
Selected assignments
Embedded finance SaaS, at Auric
We rebuilt the product from the ground up as a SaaS platform that lets B2B customers add embedded finance features to their own applications. I helped define the team's AI-assisted development.
JavaScript, Node.js, Vue, Ionic, Google Cloud, Gemini, Claude Code
Care-home software, at Corilus
An all-in SaaS to run and manage care homes for the elderly. As team lead and developer I helped the team harden the product during its scale-up.
TypeScript, AWS Lambda, DynamoDB, Angular
Anti-money laundering, at Isabel Group
We worked towards safely sharing KYC information through blockchain technology. When turnover rose, I stepped up as team lead to stabilise the team.
Spring Boot, React, SOA, REST
Telenet
I revised the incident support flow for more than 60 applications, and improved problem pickup and resolution by more than 300%.
Spring Boot, Java, Angular, AEM, CQRS, Jenkins
VAN IN, Diddit and Bingel
I helped build the online learning platforms Diddit and Bingel, which are used in 8 out of 10 schools in Flanders.
At Medialaan, in a team, I built high-performance Node.js services for full-length TV episodes. At VRT I was lead Drupal developer for the Eén website, named Site of the Year 2009 in the Television category.
Node.js, Mocha, Drupal
Project work
I have built games and apps for as long as I can remember. I use behavioural design and gamification to make software more engaging. I was an early adopter of virtual and augmented reality, and I see them as useful tools for training and data visualisation.
TerraWorld Online
A small online role-playing game with a strong focus on community. The community ran the game for the community, for 12 years.
Macromedia Director, a Java server
BouncerVR
A virtual reality arcade game. You steer a shield by where you look, and the enemy can bounce your attacks back at you.
Unity, C#, Oculus, Gear VR, Vive
Super Sofie
A free iOS and Android game, made to support a young girl and her family through her cancer treatment.
Unity, C#, Node.js
Catch the Cake
A wedding invitation as a game. The couple star in a platform action game, and friends and family compete for the highest score.
Unity, C#, Drupal
SaaS products
I create SaaS products. They are the more serious work I do next to consultancy and my own games. I make them under the lief. brand.
More info later
More info later
TerraWorld Online
A small online role-playing game with a strong focus on community, inspired by games such as Zelda and Final Fantasy. The community ran the game for the community, as an experiment in how players of all ages can make game content together. The servers went off in 2014, after 12 years.
Macromedia Director, a Java server
Catch the Cake
A wedding invitation as a game. The couple star in a platform action game, and friends and family compete for the highest score.
Unity, C#, Drupal
BouncerVR
A virtual reality arcade game. You steer a shield by where you look, collect coloured resources to charge your abilities and attack, while the enemy can bounce your attacks back at you.
Unity, C#, Oculus, Gear VR, Vive
Super Sofie
A free iOS and Android game, made to support a young girl and her family through her cancer treatment. Players are invited to donate to the children's cancer fund.
Unity, C#, Node.js
VRT, Drupal developer
I was lead Drupal developer for the Eén website, which was named Site of the Year 2009 in the Television category and came third overall. I also worked on the Ketnet website.
Medialaan, Node.js developer
In a team, I built and maintained high-performance Node.js services that let viewers watch full-length TV episodes on the client's website.
Node.js, Mocha, Should
VAN IN, Diddit and Bingel
As a full-stack developer I helped build the online learning platforms Diddit and Bingel, which are used in 8 out of 10 schools in Flanders. I added gamification to improve the engagement of more than 280,000 students.
Telenet, process specialist and full-stack engineer
I revised the incident support flow for more than 60 applications, some with over 1.2 million monthly unique visitors, and improved problem pickup and resolution by more than 300%. I mentored a group of over 80 developers to share technical and domain knowledge.
Spring Boot, Java, Angular, AEM, CQRS, Jenkins
Isabel Group, team lead and developer
We worked towards safely sharing KYC information through blockchain technology. I built a front end that bridged the gap between technical and functional test profiles. When turnover rose, I stepped up as team lead to stabilise the team and improve its motivation.
Spring Boot, React, SOA, REST
Corilus, team lead and developer
An all-in SaaS to run and manage care homes for the elderly. I helped the team harden the product during its scale-up, and introduced Gherkin and Cucumber for quality control.
We rebuilt the product from the ground up as Auric, a SaaS platform that lets B2B customers add embedded finance features to their own applications. I helped define the team's AI-assisted development: coding agents work test-first, and changes are peer reviewed by AI and people together.
JavaScript, Node.js, Vue, Ionic, Google Cloud, Gemini, Claude Code