<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Integral Engineering Blog</title><description>Curiosity fueled, frustration motivated, and human generated posts on building Integral.</description><link>https://engineering.integral.de/</link><item><title>Close the laptop: the documentation got better and the understanding got worse</title><link>https://engineering.integral.de/posts/how-we-work-on-site/</link><guid isPermaLink="true">https://engineering.integral.de/posts/how-we-work-on-site/</guid><description>Everything about our system is written down now, and that is exactly why nobody can trust the writing as proof that anyone understands it. Each engineer learns the system in a private conversation with a model, and a team ends up with five private models of one system. The only place we have found to turn them back into one is a whiteboard, with the laptops closed.</description><pubDate>Sat, 17 Oct 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Every new engineer on our team (hi &lt;a href=&quot;https://www.linkedin.com/in/kadircelep&quot;&gt;Kadir&lt;/a&gt; and &lt;a href=&quot;https://www.linkedin.com/in/swaruptripathy&quot;&gt;Swarup&lt;/a&gt;) learns our system through our agents, going through our documentation and completing their own onboarding. For most of my career that sentence was the dream. Now it is the thing that worries me most about how we work. They learned from the same teacher, and nobody, including me, can tell you whether they got the same lesson. The teacher is a model, the lessons were private conversations, and the teacher has never once said &amp;quot;I am not sure&amp;quot;.&lt;/p&gt;
&lt;p&gt;So the question I ask about an engineer has changed. It used to be whether they understand the system. Now it is whether they understand the same system as the person at the next desk, and no document can answer that, because the documents are where the two versions came from. The only way I know to find out is to put both of them in front of a whiteboard, hand them a marker, and listen for the place where the drawings disagree. That is one of the main reasons we work on-site at Integral. It limits who will join us, and I accept that.&lt;/p&gt;
&lt;p&gt;The problem used to be the opposite. A couple of senior people held the whole system in their heads and could not, or would not, write it down. Everybody hated that model, and nobody should want it back. The fix was never to get the system out of people&apos;s heads, though. You cannot reason about a system that exists only in a document, and you still have to hold at least the part you are working on in your head to think about it at all. Then agents arrived and fixed the wrong half. Today everything is written down, every engineer works across the whole system, and there is more text about it than at any point I can remember. The overall picture is harder to hold than before, not easier, and an agent can now produce something that compiles, passes the checks, and looks finished before lunch.&lt;/p&gt;
&lt;h2&gt;Five private models of one system&lt;/h2&gt;
&lt;p&gt;A big part of our code is generated, and a reasonable part of it gets fixed without anyone asking[^housekeeping]. That changes what a senior engineer&apos;s day is made of. The typing is gone. What is left is deciding what to build, choosing between approaches, and checking that what the agent produced is correct for tax, payroll and accounting, where &amp;quot;almost right&amp;quot; is a wrong number on a real payslip.&lt;/p&gt;
&lt;p&gt;It also changes how people learn the system. Every engineer now builds their mental model of it in a private conversation with their agents, using their favorite harness. Our workflows have states, in plain English: open, ready, in progress, in review, blocked, paused, sent, done. Ask an agent which of those needs a human to do something and you get a confident answer. Ask again tomorrow, with different context in the window, and you get a different one, just as confident. Ask which role is allowed to move an item from in review to sent and it gets worse. Nobody notices until two pieces of work meet and disagree.&lt;/p&gt;
&lt;p&gt;That is how a team of five ends up with five private models of one system[^five]. Each one is consistent on its own, and each came from a source that never says &amp;quot;I am not sure&amp;quot;. More documentation does not fix it, because the documentation is where the drift came from. AI made every stupid idea very presentable, and it made every private model look like the official one.&lt;/p&gt;
&lt;p&gt;Karpathy&apos;s line, which I borrowed for the ladder, still holds: we can offboard the thinking, we do not offboard the understanding. The thinking is the working out, the draft, the code, the first version of the plan, and the agent does it well. The understanding is knowing why the result is right, and that stays with the person who signs for it. What I underestimated is that understanding is not only something each person has to have. It has to be the same understanding, or the system is only whole inside a context window. I said in August that it is scary when the only thing that sees the whole system is the AI. It is just as scary when five people see five different systems.&lt;/p&gt;
&lt;h2&gt;Close the laptop&lt;/h2&gt;
&lt;p&gt;The drift is in the pull requests, but it is not easy to read there, because each PR looks right on its own[^drift]. At the whiteboard it shows up without anyone looking for it. Someone draws the flow, and somebody else stops them in the middle: what happens if this document arrives twice, why does this rule live in the service and not in the domain API, what did you reject and why. If you understand the problem, you answer in a sentence. If you have only read the output, you reach for the laptop. I stand there too, and my boxes get the same questions.&lt;/p&gt;
&lt;p&gt;That is why our sessions start with the laptops closed. It is not a ritual, it is the only way to keep the conversation on the problem: with a screen open, everybody drifts back to what the agent wrote, and we end up reading instead of arguing.&lt;/p&gt;
&lt;p&gt;The whiteboard is where the private models meet. One person draws the flow, another says &amp;quot;that is not how I understood it&amp;quot;, and we find the gap in two minutes instead of in an incident. We leave the room with one set of assumptions and the same words for the same things. That is what I mean by a shared reality, and I have not found a way to build it over a video call. I would rather have ten minutes of two people arguing about one arrow than a well-formatted page that nobody can defend.&lt;/p&gt;
&lt;p&gt;There is a simpler reason too. A day of talking to agents is exhausting. Every answer is confident and every idea is a great one, so the praise stops meaning anything. When a colleague who knows the system looks at your drawing and says it is a good solution, it counts, because they share the picture you drew it from. It also gets you out of the chat window, and that is how a group of people working on the same problem starts to feel like one team.&lt;/p&gt;
&lt;h2&gt;What five days means&lt;/h2&gt;
&lt;p&gt;I talk to a lot of engineers in first interviews, and the office question comes up in almost every one. When people hear &amp;quot;five days&amp;quot;, many of them hear micromanagement and a mindless commute: someone counting hours, watching who arrives at nine, treating presence as a substitute for trust. That is a real thing, and it is not what we do.&lt;/p&gt;
&lt;p&gt;The default is the office, every day, and in reality it is less rigid than it sounds. We do not track when people arrive or leave, and the hours in a day are flexible. Engineers take a day or two at home when they need to get one thing finished, and the parents leave early to pick up their kids, because this is Berlin after all. What matters is that you tell the team and plan around it, like adults.&lt;/p&gt;
&lt;p&gt;What does not work is the other thing: coming in, putting your headphones on at ten and taking them off at six without talking to anyone. You were in the building all day, and you were not on-site. The whiteboard is our answer to cheap async, and it only works if people get up and walk to it. For the record, I do ask people to put their headphones on, but only when I can hear their music.&lt;/p&gt;
&lt;h2&gt;The trade-off&lt;/h2&gt;
&lt;p&gt;I believe fully remote and fully on-site companies will both do better than hybrid ones, because hybrid keeps the costs of both and gets the benefits of neither. We chose on-site.&lt;/p&gt;
&lt;p&gt;It limits who will join us, and some very good engineers will say no because of it. I accept that trade-off, and I would rather say it here than hide it in a job post. When an agent writes so much of the code, we want to work with people who can close the laptop and explain why. Come argue with me in person.&lt;/p&gt;
&lt;p&gt;[^housekeeping]: The housekeeping agents. As of the ladder post, about 500 PRs merged without a human touching them in three months.&lt;/p&gt;
&lt;p&gt;[^five]: Five is a round number, not a measurement. The point survives at three and at twelve.&lt;/p&gt;
&lt;p&gt;[^drift]: To catch it in the PRs you would have to lay every PR, plan and agent session from the same piece of work side by side and reconstruct what the goal was. Nobody does that, so we are working on one.&lt;/p&gt;
</content:encoded></item><item><title>The unit of work for engineers has moved. Did your expectations move with it?</title><link>https://engineering.integral.de/posts/career-ladder-ai-native/</link><guid isPermaLink="true">https://engineering.integral.de/posts/career-ladder-ai-native/</guid><description>AI did not add a box to tick on our engineering ladder. It changed the smallest unit of work an engineer owns, and forced a new column onto the whole thing. Here is how we rebuilt ours.</description><pubDate>Wed, 26 Aug 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;The unit of work for an engineer has moved. Our &lt;a href=&quot;https://career-ladder.notion.site/&quot;&gt;career ladder&lt;/a&gt;[^ladder] had to move with it, and not by adding a checkbox for &amp;quot;uses AI, yes/no.&amp;quot;&lt;/p&gt;
&lt;p&gt;I have built career ladders for five companies, and most of them outlived me. This time the ground under a ladder moved while I was still writing it, and none of the old versions would have survived the move.&lt;/p&gt;
&lt;p&gt;Start with the smallest piece. Every ladder assumed (still most out there still do) the atomic unit of an engineer&apos;s work was the code behind one ticket: you were handed a well-formed issue, you wrote the code, someone else had scoped it, someone else shipped it, someone else watched it in production. That is gone. About 95% of the code in our backend is generated and we decided from the beginning that we are not going to read most of our code. When a model can write the thing in one sitting, the code stops being the unit worth measuring.&lt;/p&gt;
&lt;p&gt;At Integral the unit of work for any engineer is now a whole feature: design it, build it, ship it, roll it out, keep it alive. Not the diff, the feature, end to end. That single move resets every rung underneath it. &amp;quot;Delivers features&amp;quot; used to mean &amp;quot;writes the code for features.&amp;quot; Now it means the person owns the problem, the customer value, and the rewards, and AI is the thing that makes carrying that whole span realistic for one engineer instead of four.&lt;/p&gt;
&lt;p&gt;It also resets what a normal day looks like. Integral tests how many things one engineer can carry at the same time. Not multitasking as a virtue, bandwidth as the actual differentiator: how much you can hold without losing focus, and whether you give your focus to the right thing at the right time. We are not happy working with engineers who take one ticket, put their headphones on, and finish it beautifully. Kudos to them, there are plenty of companies who love working with them. That is not us. And I don&apos;t want small kingdoms, where one person is king of one domain and nobody else is allowed to see the whole system. If the only thing that sees the whole system is the AI, that is scary.&lt;/p&gt;
&lt;p&gt;This is why velocity stopped being a signal. Shipping a lot of &lt;code&gt;good&lt;/code&gt; working code was our proxy for competence, and AI made that proxy free. A free proxy is worthless. Here is the line the ladder is now built on, borrowed from &lt;a href=&quot;https://www.youtube.com/watch?v=96jN2OCOfLs&quot;&gt;Karpathy&lt;/a&gt;: we can offboard thinking/coding, we do not offboard understanding. An agent can produce the plan, the code and the tests. It cannot be accountable for whether the person who shipped it understood the system they shipped into. So the rung that used to reward output now has to ask what you understand and what number your work moves[^number], because the shipping part no longer proves anything.&lt;/p&gt;
&lt;p&gt;And it forced a new column onto the ladder: an actual expectation that grows with the level, covering three things.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What you spend, and why.&lt;/strong&gt; AI is not free. Tokens cost money. We do not have a hard cap on what engineers can spend, but we expect people to know what they are spending and to have a reason for it, like adults. If you want to spend a thousand euros in one day solving one bug, fine, you just have to explain to me why we spent a thousand euros. That is not recklessness, it is how I hand over trust. If nobody can say whether the spend was justified, the accountability defaults to nobody. Same expectation from the other side: if you do something twice, the third time I want to know why we do not have an automation for it.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Fighting the slop.&lt;/strong&gt; Slop is the confident, plausible, verbose, subtly wrong output that costs nothing to generate and everything to clean up. AI can make any idea, no matter how stupid, look finished: nice charts, five pages of perfect, and somebody reads it and says &amp;quot;yep, that sounds like a good plan,&amp;quot; and ships it. An engineer catches it in their own work, a lead is the slop stopper for their team, a manager builds the system that keeps it down. It leaked past the ladder too: &amp;quot;no AI slop&amp;quot; is now one of our stated engineering values, next to &amp;quot;answer the so-what before you post.&amp;quot; The test I actually use is in person. Come to the whiteboard and explain your stupid idea in five minutes, and I will do the same, and you tell me mine is not smart. If you cannot explain it to me without your AI, then I don&apos;t need you in that loop, I can talk to the model faster and better myself. I don&apos;t need a meat proxy between me and the AIs.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Knowing when to reach for it.&lt;/strong&gt; At the junior rungs the expectation is blunt: keep the judgment-building friction, do not use AI to skip it. You have to eat the hard problem yourself a few times before you let a model eat it for you, or you never develop the taste to catch the model when it is wrong. This one has a cost, and we say it out loud instead of hiding it: given the choice, I would rather hand a large token budget to an experienced engineer than to a less experienced one, because the experienced one can tell when the output is garbage. The rule we landed on is &amp;quot;learn with AI, not around it,&amp;quot; and it holds at every level. Higher up it flips toward leverage, and a lead who is not building tooling the whole team reuses is leaving the biggest lever of the decade on the floor.&lt;/p&gt;
&lt;h2&gt;Scaling companies need a map&lt;/h2&gt;
&lt;p&gt;None of that AI rework matters if you never had a working ladder to begin with. So, briefly, why we bother.&lt;/p&gt;
&lt;p&gt;There is a scale book, and everybody can recite it. Four domain teams, four tech leads, two staff engineers, a head of engineering, a head of product, two agile coaches, and you are 40 people, easy. If I ran that play nobody would ask me why. I don&apos;t believe in it. Right now we have two titles, engineering lead and product engineer, and I intend to keep it roughly that way to 25 people. Everybody is a super IC, including the leads, including me.&lt;/p&gt;
&lt;p&gt;But a fast-growing company is exactly where a career ladder earns its keep. When you scale quickly, expectations blur out faster than any meeting can fix. The engineer who was obviously senior on an eight-person founding team is now one of twenty, and nobody can say what &amp;quot;senior&amp;quot; accounts for here anymore. You do not fix that with a town hall, because it is not a communication problem. It is the org drifting off the terrain: the map you drew last year no longer matches the ground people walk on every day.&lt;/p&gt;
&lt;p&gt;A career ladder is that map. And &lt;a href=&quot;https://fs.blog/map-and-territory/&quot;&gt;the map is not the terrain&lt;/a&gt;. It is a deliberate simplification you carry so you can find your way when the ground gets confusing, which in a growing company is always. Kept honest, it drags the org back to the ground it actually stands on. Left as a trophy on the wall, it is worse than nothing, because now the drift has your signature on it.&lt;/p&gt;
&lt;p&gt;Watch how the blur plays out without one. Two engineers do the same quality of work. One gets promoted, one does not, and nobody involved can tell you why in a sentence. That is the tell. Then it snowballs: people start optimizing for whatever got the last person promoted, which is usually visible output, reviews turn into negotiations, and your best engineers quietly decide the game is unreadable and open other companies&apos; job posts. It is not a people failure. It is a missing shared definition of the role, and it compounds every time you hire.&lt;/p&gt;
&lt;p&gt;The only way the map stays useful is to keep redrawing it. I am not in the business of writing a framework that fits everybody. I am in the business of fixing this company for the next two years, with the people I have. So ours is a living document that takes feedback from the engineers and hires it describes. It is on v0.4 already, public on purpose, and it churns: whole rungs get rewritten between versions when someone points out they measure the wrong thing. We would rather ship a version that is honestly incomplete than sit on a &amp;quot;final&amp;quot; one that quietly lies. A ladder that admits what it does not know is one people trust enough to argue with, and that argument is the health check.&lt;/p&gt;
&lt;p&gt;Two structural rules keep ours honest:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Every skill sits in exactly one place. Go looking for a behaviour and cannot find it? Then it is missing. Say so, and we add it.&lt;/li&gt;
&lt;li&gt;The ladder describes the role; our review cycle with our 4C framework (coming soon) scores the person against it[^scoring]. It hands out no promotions on its own, and it is not a checklist you fill in to earn the next rung.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Neither rule is clever. Both are the difference between a map that survives a real team and one that gets quietly ignored by Q3. The second one is the one people break, and it is the expensive one: the moment a ladder becomes a checklist, everyone&apos;s world shrinks to the boxes, they stop taking bets, and you have traded real risk for the comfortable feeling of certainty in a business that has none to give.&lt;/p&gt;
&lt;h2&gt;The takeaway&lt;/h2&gt;
&lt;p&gt;People keep asking what you add to a career ladder to make it AI-native, as if it were one more competency to bolt on. Wrong question. AI does not add a box to tick. It changes what the boxes are for. It moved the smallest unit of work we measure, from the code to the whole feature, and it forced a new column onto the chart: what you spend, why you spend it, and how hard you fight the slop.&lt;/p&gt;
&lt;p&gt;Going AI-native is not about adopting a tool. It means re-opening every definition of &amp;quot;good&amp;quot; you were comfortable with, because the thing that used to prove someone was good, shipping a lot of code, is now the cheapest thing in the building. There is no blueprint for this, and I like that. But the map is not the terrain, and AI just moved the terrain. Redraw the map, or keep scoring people against a world that stopped existing.&lt;/p&gt;
&lt;p&gt;Come argue with it.&lt;/p&gt;
&lt;p&gt;[^ladder]: obviously, I did not invent this, and I try to keep mine honest about that. The shape goes back to Google&apos;s engineering levels, then most of us actually adopted the idea after Camille Fournier&apos;s &lt;a href=&quot;https://www.oreilly.com/library/view/the-managers-path/9781491973882/&quot;&gt;&lt;em&gt;The Manager&apos;s Path&lt;/em&gt;&lt;/a&gt;, which pins each rung to a distinct &lt;em&gt;unit of work&lt;/em&gt;. That is the exact assumption this post argues just broke, so she is due for an update too. I borrow shamelessly, then bend it until it fits Integral.&lt;/p&gt;
&lt;p&gt;[^number]: We ask leads to name the metric their work moves. A lead who cannot name the number they are embarrassed (or proud) of is not really owning the outcome.&lt;/p&gt;
&lt;p&gt;[^scoring]: Internally we score people against the ladder on a recurring cycle we call 4C: Competent, Contributing, Compatible, Committed. The ladder is the role; the cycle scores the person against it.&lt;/p&gt;
</content:encoded></item><item><title>Hawkeye: Why We Stopped Maintaining UI Tests and Built an AI Tester Instead</title><link>https://engineering.integral.de/posts/hawkeye-ai-qa-tester/</link><guid isPermaLink="true">https://engineering.integral.de/posts/hawkeye-ai-qa-tester/</guid><description>Our UI test suites could not keep up with AI-assisted development, so we replaced them with test cases written in plain English and an agent that opens a browser and tests like a human would.</description><pubDate>Tue, 11 Aug 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;You must have heard the joke.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;A QA tester walks into a bar. He orders one beer. Then two. Then zero.&lt;/p&gt;
&lt;p&gt;Then 99,999,999.&lt;/p&gt;
&lt;p&gt;He tries every combination he can think of.&lt;/p&gt;
&lt;p&gt;Nothing breaks.&lt;/p&gt;
&lt;p&gt;The QA tester smiles. &amp;quot;Testing complete.&amp;quot;&lt;/p&gt;
&lt;p&gt;A customer walks into the bar.&lt;/p&gt;
&lt;p&gt;&amp;quot;Excuse me,&amp;quot; she says. &amp;quot;Where&apos;s the bathroom?&amp;quot;&lt;/p&gt;
&lt;p&gt;The bar catches fire.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Turns out there is wisdom in this old joke, and it is about human testers.&lt;/p&gt;
&lt;h2&gt;What actually happens when code outpaces tests&lt;/h2&gt;
&lt;p&gt;AI-assisted development changed how fast a frontend changes. It did not change how fast a scripted test suite can be updated.&lt;/p&gt;
&lt;p&gt;That gap compounds. A team shipping UI changes with agents can rewrite a flow in an afternoon: rename a field, reorder a step, split one screen into two. Every scripted test touching that flow breaks. The product still works. The script described the old screen.&lt;/p&gt;
&lt;p&gt;Someone has to fix those. To keep a scripted suite green across several UI repositories, all moving at agent speed, you need a QA function larger than the development teams generating the changes, because the work is proportional to the rate of change, and the rate of change is now bounded by inference cost instead of typing speed.&lt;/p&gt;
&lt;p&gt;The obvious move is to buy your way out, so that is what we tried. There is a category of vendor built for exactly this: point it at your codebase, and it generates Playwright scripts for your flows, heals them when selectors drift, runs them on every change, and hands you reports. On paper it removes the maintenance burden entirely.&lt;/p&gt;
&lt;p&gt;It did not work for us, and not because the tool was weak. A very large team worked on it from the vendor side and the gap still did not close. Healing keeps a script running. It does not tell you whether the script still describes a flow the product has. The suite stayed green while drifting away from the product, and when it went red, nobody could say why. Ownership sat with people who had not built the feature and had no way to know which of the fifty failures that morning were real.&lt;/p&gt;
&lt;p&gt;The bottleneck was never the cost of writing test code. It was that generated test code is nobody&apos;s to own.&lt;/p&gt;
&lt;h2&gt;Why scripted suites fall short&lt;/h2&gt;
&lt;p&gt;The second problem survived every tool we tried.&lt;/p&gt;
&lt;p&gt;Generated Playwright code tests what a script can see: selectors, DOM nodes, network responses. A human tester looks at the screen. They notice the button is present but rendered behind the modal. They notice the success toast says the right thing in the wrong language. They notice the page is white for three seconds before anything appears.&lt;/p&gt;
&lt;p&gt;Back in the days, this was somebody&apos;s craft. Excellent QA people, the kind who always found the problems, would open the app and break it in ways no script was ever written for. They were not running assertions. They were being suspicious about a product, in a way that only comes from using it every day.&lt;/p&gt;
&lt;p&gt;We do not have that any more. No QA team, nobody dedicated to manual testing. Developers test their own work by hand, conscientiously, and that is the one kind of testing everybody is worst at: nobody is suspicious about the thing they just built.&lt;/p&gt;
&lt;p&gt;So a scripted suite asserted that an element with a given selector existed, and there was nobody left whose job was to assert that the product worked. Only one of those is what we ship.&lt;/p&gt;
&lt;p&gt;That left two problems: test code nobody could maintain, and test code that did not test the thing that mattered. Adding more test code was not going to fix either.&lt;/p&gt;
&lt;h2&gt;What we do instead&lt;/h2&gt;
&lt;p&gt;The bet was simple: what if a test case was a description of what to do and what should happen, written in plain English, and something else did the clicking?&lt;/p&gt;
&lt;p&gt;Give an agent a browser. Give it the test case in prose. Let it decide how to get there.&lt;/p&gt;
&lt;p&gt;That changes the shape of the maintenance problem. &amp;quot;Click the login button&amp;quot; does not break when the button moves, changes colour, or gets a new label, because the instruction was never coupled to the implementation. It breaks when logging in stops working, which is when we want it to break.&lt;/p&gt;
&lt;h2&gt;What a test case looks like&lt;/h2&gt;
&lt;p&gt;This is a suite from our repository, with the host replaced:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Client Portal: Login
The login page authenticates organisation users to the client portal.

Target
App: https://app.example.internal/login
Credentials: Use $TEST_EMAIL and $TEST_PASSWORD

Test Cases

Successful login
Navigate to https://app.example.internal/login
→ Login page loads with email and password fields
→ &amp;quot;Anmelden&amp;quot; (Login) button is visible
Enter email from $TEST_EMAIL
Enter password from $TEST_PASSWORD
Click &amp;quot;Anmelden&amp;quot; (Login) button
→ OTP verification screen appears (&amp;quot;Identität prüfen&amp;quot;) with 6 individual numeric input boxes
Enter OTP code (use $TEST_OTP or the shared test OTP)
→ An organisation selector dialog appears
Click the first organisation in the list
→ User is redirected to the home page (/v2/home)
→ Welcome message &amp;quot;Willkommen, [Name]&amp;quot; is displayed
→ No error messages are shown
If the UI is not in German, switch language to Deutsch
→ All sidebar labels are in German (Anfragen, Dokumente, Monatsabschluss, Verbindungen, Einstellungen)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Actions on the left, expectations after the arrow. That is the entire format, and the suite carries on that way through the cases you would expect: wrong password, an account with no organisations, a session that has already expired.&lt;/p&gt;
&lt;p&gt;A human can read it. A product person can read this suite, notice that we never check what happens when the OTP expires, and add three lines. No selectors to look up, no test helper to import, no local setup. Contributing a test case costs a sentence.&lt;/p&gt;
&lt;p&gt;Credentials never live in the suite. They are referenced as environment variables and injected into the agent as secrets at run time.&lt;/p&gt;
&lt;h2&gt;How it runs&lt;/h2&gt;
&lt;p&gt;Two triggers.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Nightly&lt;/strong&gt;, the agent runs everything. Every flow, across the apps. This is the safety net.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Per pull request&lt;/strong&gt;, running everything is wasteful and slow. The agent gets the diff first and decides which suites relate to what changed. A change to the invoice table does not need the login suite re-verified from scratch. A change to the auth provider does.&lt;/p&gt;
&lt;p&gt;Then it opens a browser and behaves like a tester: navigates, types, scrolls, waits, reads the screen, and compares what it sees against the expectations in the suite. When something disagrees, it reports what it expected, what it saw, and a screenshot of the moment.&lt;/p&gt;
&lt;h2&gt;Who owns the suites&lt;/h2&gt;
&lt;p&gt;Plain English suites solved maintenance cost. They did not solve maintenance ownership. A suite still drifts when a flow legitimately changes and nobody updates the prose.&lt;/p&gt;
&lt;p&gt;So we automated that too. When a UI repository changes, an automation opens a pull request against the Hawkeye suites with the update, and tags the people who made the change as reviewers.&lt;/p&gt;
&lt;p&gt;This changed behaviour more than anything else. The person who moved the OTP step reviews the sentence describing the OTP step, in the same week, while it is still in their head. Test ownership moved to the feature builders, where it always belonged and never stayed, because previously it meant owning test code in a language and repository they did not work in. Reviewing a paragraph is a different ask.&lt;/p&gt;
&lt;h2&gt;What we learned&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Plain text carried the whole thing.&lt;/strong&gt; The suites became the only artifact that engineers and product people read equally fluently. Arguments about whether the test was wrong turned into edits to a sentence.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Coupling is the whole problem.&lt;/strong&gt; Scripted UI tests are expensive to maintain because they encode implementation details that were never the point. Describe intent and most of the churn disappears.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Testing like a user catches a different class of bug.&lt;/strong&gt; The things that were green in CI and broken on screen are the failures a customer would have reported.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Give the agent eyes, or it will write scripts.&lt;/strong&gt; An agent asked to verify a UI without the ability to look at one falls back to generating test code and trusting it. That is the problem you started with, rebuilt at greater expense.&lt;/p&gt;
&lt;h2&gt;What&apos;s still rough&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Non-determinism.&lt;/strong&gt; An agent tester is flaky in a different way than a script. A script fails identically every time. An agent can take a different path, phrase a failure differently, or occasionally disagree with itself on an ambiguous expectation. Telling a broken product from a badly worded expectation is still a judgement call.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Relevance selection is a bet.&lt;/strong&gt; Picking suites from the diff is what makes per-PR runs fast, and it is also how you miss the one suite that would have caught the regression. The nightly full run is the backstop, which means some classes of bug are caught the next morning instead of at review time.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Review fatigue.&lt;/strong&gt; Automatically opened suite pull requests only transfer ownership if people read them. The moment they become noise to be approved on autopilot, we are back to drifting tests with extra steps.&lt;/p&gt;
&lt;h2&gt;Result&lt;/h2&gt;
&lt;p&gt;Hawkeye does not replace the great testers of back in the days. It gets their habit back: open the app, use it like somebody who does not know how it was built, and say whether it works. The bar still catches fire in the one way nobody scripted. What changed is that describing a new suspicion costs a sentence instead of a sprint.&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;em&gt;This post is part of the &lt;a href=&quot;/posts/sdlc2-sdlc2/&quot;&gt;SDLC2&lt;/a&gt; series. It applies the idea from &lt;a href=&quot;/posts/sdlc2-agents-as-code/&quot;&gt;Agents as Code&lt;/a&gt;, that the useful artifact is often a plain English document written together, to our tests. For the same problem one layer down, where synthetic companies are manufactured to test the backend, see &lt;a href=&quot;/posts/integral-test-suite/&quot;&gt;There&apos;s no fixture for a company&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
</content:encoded></item><item><title>There&apos;s no fixture for a company</title><link>https://engineering.integral.de/posts/integral-test-suite/</link><guid isPermaLink="true">https://engineering.integral.de/posts/integral-test-suite/</guid><description>Our product runs on branching journeys that take a real company weeks to complete, and AI agents work inside them. No test fixture can represent that. So we built a test suite that manufactures synthetic companies, drives them through the real APIs to any point in any journey, and triggers the agents that process the data.</description><pubDate>Thu, 30 Jul 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;&lt;em&gt;Our product runs on branching journeys that take a real company weeks to complete, and AI agents work inside them. No test fixture can represent that, so we built synthetic companies to test on.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Most testing advice assumes the state you need fits in a fixture: seed a user, seed a record, run the test. Our app doesn&apos;t work like that. A client moves through branching journeys that take weeks, and every branch point multiplies the states a company can be in: how it was onboarded, which setup path it took, how far each month&apos;s close has progressed, what got approved, rejected or left waiting along the way. No two companies arrive at the same state the same way, and we need to test all of it. When something broke deep inside one of those paths, reproducing it meant assembling a test organization by hand, and by the time you had one, the conditions had usually changed underneath you.&lt;/p&gt;
&lt;p&gt;The product team was closest to the problem, so we built our own app: a test suite that manufactures complete synthetic companies, drives them through the real APIs to any point in any user journey, and then wakes the &lt;a href=&quot;/posts/007-agent-harness/&quot;&gt;AI agents&lt;/a&gt; that process the data. Those agents book real client months today, with a person reviewing every proposal before it touches the books, and most proposals now go through without an edit. Getting there needed a way to reproduce the runs that went wrong.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/images/test-suite-header.png&quot; alt=&quot;The test suite&apos;s landing screen: a workbench for forging synthetic app journeys, from draft to bookkeeping ready. Stop at any phase. Built for testing and demos.&quot;&gt;&lt;/p&gt;
&lt;h2&gt;The problem&lt;/h2&gt;
&lt;p&gt;Our product runs on long, multi-actor journeys. Onboarding a company means setting up a mandate: the client and the tax advisor take turns submitting, approving and signing, and the path branches depending on how the mandate is structured. The month-end close moves through preparation, review and rework, operated from two seats with different permissions. And accounting state only makes sense as a sequence of months: whether a month looks realistic depends on the months that came before it.&lt;/p&gt;
&lt;p&gt;There is no seed script for &amp;quot;onboarding approved but not yet signed&amp;quot; or &amp;quot;a close in review with changes requested.&amp;quot; Staging data drifts, shared test organizations decay, and the most interesting edge cases live in states that are expensive to rebuild. The agents make this harder. They read documents, bank transactions and prior bookings, so their behavior depends on the entire history of a company. A person reviews every run, so clients were never exposed. Acting on review findings was slow, though: without a way to recreate the exact company behind a finding, each improvement took longer to validate than it should have.&lt;/p&gt;
&lt;h2&gt;Three decisions&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Seed a whole company.&lt;/strong&gt; Every test starts from a complete synthetic organization, created and driven through the same APIs and events the product itself uses. Nothing writes to the database directly.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Generate data that is statistically realistic.&lt;/strong&gt; Every company, document and transaction in the suite is generated from scratch and shaped to behave the way real-world accounting data behaves. It follows realistic distributions and frequencies and contains no real record, name or document.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Treat the agents as actors like any other.&lt;/strong&gt; Triggering an agent run is a button, and you can inspect the full run afterward.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;1. A target state becomes a seeded company&lt;/h2&gt;
&lt;p&gt;A run starts with a generated organization: an invented German company name with realistic legal-form weighting, bank accounts, a configurable volume of generated transactions, and PDF invoices rendered from scratch and uploaded through the same endpoint clients use. Every synthetic write is flagged as test data at the API layer, and none of it bypasses the backend.&lt;/p&gt;
&lt;p&gt;Journeys are encoded as graphs, and any node can be selected as a target: the suite drives the organization there and stops. &amp;quot;Approved but not yet signed&amp;quot; is a selectable state, which makes the signing step itself directly testable. For the month-end close, the suite encodes the production state machine&apos;s allowed transitions and finds a legal path to the target state by search, executing each transition from the correct seat.&lt;/p&gt;
&lt;p&gt;Because realistic state is a sequence of months, the seeder also builds history: closed months almost fully reconciled, the previous month mostly done, the current month still open. A company under active bookkeeping has that gradient, and the agents, the reviewer views and the reporting all read from it.&lt;/p&gt;
&lt;h2&gt;2. Synthetic data that behaves like the real world&lt;/h2&gt;
&lt;p&gt;Our early test data was too clean: every invoice had a due date, every transaction had a purpose line, every total added up. Real-world data is messier, and an agent that does well on clean data tells you little about how it will do on messy data.&lt;/p&gt;
&lt;p&gt;The suite never touches client data, and that was settled before any design work started. We handle sensitive financial information and keep test tooling fully separate from it. That left the generators to produce all of the realism on their own. They encode the statistical shape one would expect of documents and bank transactions in a production environment, distributions and frequencies only. Every invoice, transaction and vendor the suite produces is invented, but it behaves like the real thing: invoice-numbering schemes at realistic frequencies, filenames with mangled umlauts and email-forward artifacts, truncated card descriptors, subscriptions that repeat the same odd-cent price every month, and wrong totals that resemble plausible OCR errors, with no regularity an agent could learn to spot.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/images/test-suite-evidence-profile.png&quot; alt=&quot;The evidence profile of a seeded company: workload presets from basic to agent challenge, the document and format mix, and an extraction quality distribution spanning complete, missing lines, missing tax IDs, low confidence and bad totals&quot;&gt;&lt;/p&gt;
&lt;p&gt;Calibration also has to work in the other direction. During review we caught a seeded document that exposed information an agent could only have gotten from the seed data itself, which handed it the answer. The generator now guards against that.&lt;/p&gt;
&lt;h2&gt;3. The agents run against the seeded company&lt;/h2&gt;
&lt;p&gt;Once a company exists in the target state, the suite publishes the same trigger event the product publishes when a close becomes ready for booking. The agents pick up the work as they do in live operation, process the seeded documents and transactions, and write their proposals for a person to review.&lt;/p&gt;
&lt;p&gt;Every run carries a trace ID, and the suite uses it to reconstruct the run afterward: every tool call and reasoning step rendered as a timeline, with the artifacts downloadable as a bundle. We can now recreate a finding from live operation on a fresh synthetic company and inspect it in full, as many times as we need.&lt;/p&gt;
&lt;h2&gt;Deciding where to simulate&lt;/h2&gt;
&lt;p&gt;The harder design decisions were about which parts of the real system to run.&lt;/p&gt;
&lt;p&gt;The suite bypasses real document extraction for seeded invoices and injects synthetic extractions with a controlled mix of complete, incomplete and low-confidence results. Running the real extractor over thousands of seeded PDFs would make every run slower, non-deterministic and coupled to a model version. It would also test extraction in a suite meant for everything that happens after extraction. A separate test bed runs the real pipeline end to end.&lt;/p&gt;
&lt;p&gt;The second decision is what the codebase calls seed quiescence. Background pipelines race the seeder, and early on their churn surfaced later as failures that looked like the agents&apos; fault. Before any agent is triggered, the suite now asserts that the seeded state is still exactly what was seeded. If it is not, the run fails as a seeding error, so the suite&apos;s own noise never counts against the agents.&lt;/p&gt;
&lt;h2&gt;Where this led&lt;/h2&gt;
&lt;p&gt;The same machinery now carries our eval harness: fresh disposable organizations, fixtures with known expected output, and production incidents pinned as regression cases. We&apos;ll cover that loop in a separate post.&lt;/p&gt;
&lt;p&gt;Our engineering team built &lt;a href=&quot;/posts/jantro/&quot;&gt;our internal app platform&lt;/a&gt; so that the people closest to the product problems could build production-grade tooling for those problems themselves. That is how a product manager ended up shipping the tool the whole team now tests, builds and demos with. We work inside these journeys with clients and tax operations every week, so the states that mattered were obvious from the product seat, and the platform made that knowledge enough to build the tool. Engineers now seed companies to build against while a feature is still taking shape, and our product demos run on polished synthetic companies too. Every agent change also goes through the suite before it ships: we seed the states, run the agents and read the timelines.&lt;/p&gt;
</content:encoded></item><item><title>007: What we have learned when we built our own Agent Harness</title><link>https://engineering.integral.de/posts/007-agent-harness/</link><guid isPermaLink="true">https://engineering.integral.de/posts/007-agent-harness/</guid><description>Part of SDLC2: we went shopping for a platform to run long-running agents, couldn&apos;t bet our future on any of them, and built our own. The orchestration we feared came almost for free, which freed us to build the thing we actually wanted: a harness that improves its own agents.</description><pubDate>Thu, 02 Jul 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;You probably know or heard of &lt;a href=&quot;https://en.wikipedia.org/wiki/996_working_hour_system&quot;&gt;996&lt;/a&gt;. The Chinese tech grind, 9 to 9, six days a week,
worn like a &lt;a href=&quot;#&quot; title=&quot;fun fact: China&apos;s own Supreme Court actually ruled it illegal in 2021&quot;&gt;badge&lt;/a&gt;. By 2025 it had resurfaced in Silicon Valley,
with the promise of AI working non-stop, solving everything, with agents running all the time. Except no reliable, mature platform existed to run them.&lt;/p&gt;
&lt;p&gt;We have built one, we called it 007 (you see what we did there?).&lt;/p&gt;
&lt;h2&gt;The shopping trip that failed one question&lt;/h2&gt;
&lt;p&gt;Early 2025, we went looking for a platform that ran long-running agents: pick up a task, work at it, retry, hand off,
don&apos;t fall over. There was &lt;a href=&quot;#&quot; title=&quot;LangGraph was the loudest, CrewAI sold you crews of role-playing agents, Microsoft had AutoGen, and underneath the serious ones you&apos;d usually find Temporal doing the heavy lifting&quot;&gt;plenty&lt;/a&gt;. A
handful of (back then) startups/scale-ups, each promising to be the last agent framework you&apos;d ever need, shipping new
features every week.&lt;/p&gt;
&lt;p&gt;A few came close. Then every one of them failed the same boring question:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Do we bet the future of our platform on one young company&apos;s roadmap/fundraising/vision?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;If you are old enough you might know how this goes. You build your critical path on someone&apos;s clever abstraction/library/tool/platform,
and in 6 to 18 months they pivot, merge, change their pricing, or quietly stop shipping. The format you built on is gone, and you own a migration you
never asked for. So we did what small senior teams always end up doing. We built our own agent harness.&lt;/p&gt;
&lt;p&gt;To be clear, we also buy where being wrong is cheap: &lt;a href=&quot;https://www.tembo.io/&quot;&gt;tembo.io&lt;/a&gt;
runs our dev-workflow automation, the Linear to GitHub to Slack digests and information flows, and it does that job
really well. If it disappeared tomorrow we&apos;d lose some convenience, not our platform. We build where betting on someone
else&apos;s roadmap is the actual risk.&lt;/p&gt;
&lt;h2&gt;The orchestration we feared was infrastructure we already had&lt;/h2&gt;
&lt;p&gt;Everyone tells you orchestration is where you drown: long-running agents, retries, handoffs, state that survives a crash
and picks back up. It&apos;s the reason those platforms exist. We assumed we&apos;d spend months there. We didn&apos;t, and the reason
is dull enough to be a real lesson. We already had our own event system and infrastructure, the harness directly integrated with them.
We also have treated the agent &apos;memory&apos; as a first class citizen on our platform. No generic, in between agent state, context but
direct artifact with their own lifeccycles.&lt;/p&gt;
&lt;p&gt;The design bet under all of it: &lt;strong&gt;the harness is stateless.&lt;/strong&gt; each run reads the external/real world (a repo, an issue, an API record), does
its work, writes back. The medium is the handoff/memory. A reviewer agent reads a pull request and requests changes; the writer
reads those and amends. Nothing holds state between them, because the PR is the state. We could have built a coordination
layer. We didn&apos;t, and that&apos;s why it still works.&lt;/p&gt;
&lt;h2&gt;Conventions, not configuration&lt;/h2&gt;
&lt;p&gt;A role in 007 is a folder: a setup script, maybe a few skills, some reference knowledge. The prompt isn&apos;t even in the
code; it&apos;s pulled at runtime and versioned on its own clock, promoted staging to production separately from everything
around it. (The abstraction layer &lt;a href=&quot;/posts/sdlc2-agents-as-code/&quot;&gt;moved again&lt;/a&gt;. We can add and test a new agent in an
afternoon, and 007 has no GUI. That&apos;s the point, not a gap.&lt;/p&gt;
&lt;p&gt;Drop a folder named &lt;code&gt;{role}-judge&lt;/code&gt; next to a role and it gets a quality gate for free: a second model reads the run,
decides if it&apos;s good enough, and can hand it back with feedback to retry. Fail-open when the judge itself breaks,
fail-closed when the run is wrong. No config, no registration. The folder being there is the instruction.&lt;/p&gt;
&lt;p&gt;That judge is the SDLC2 idea made mechanical. When an engineer ships a bug, you don&apos;t re-run their education, you put
review in front of them. We don&apos;t retrain the model either. We &lt;a href=&quot;/posts/sdlc2-research-plan-implement-cycle/&quot;&gt;improve the process around it, not the black box inside&lt;/a&gt;.
The folder convention is the framework we decided not to write.&lt;/p&gt;
&lt;h2&gt;It already does real work&lt;/h2&gt;
&lt;p&gt;None of this is a demo. One agent investigates a bug: reads the code, the logs, a read-only replica of the production
database, and comes back with a root cause. If it&apos;s warranted, it files the issue itself. A second agent picks that
issue up and builds the fix as a pull request, never a push to main, because that&apos;s a ground rule no prompt can
override.&lt;/p&gt;
&lt;p&gt;And the one that will always make me proud: we have an agent booking our client transactions, in real time, in production.
Not a sandbox, not a dry run. The guardrails are strict and the judge is unforgiving, precisely because the stakes are.
This is running now.&lt;/p&gt;
&lt;h2&gt;The snake eats its own tail&lt;/h2&gt;
&lt;p&gt;Every run captures everything: the prompt, the input, the output, the full event stream of its thinking, and any human
feedback afterward. So 007 sits on a complete trace of how each agent actually thinks. So we pointed it at itself.&lt;/p&gt;
&lt;p&gt;Run an agent. Then run another agent over the first one&apos;s exhaust, reading the trace, proposing improvements to its
prompt and setup. The harness that runs agents became the harness that improves them. An ouroboros. And it lives inside
007, not as some external tool: the improvement loop is just another role, using the same events, conventions, and judge
machinery as everything else.&lt;/p&gt;
&lt;p&gt;Where it actually is today: it runs, but we trigger it. Full autonomy, 007 improving its own agents while we sleep, is
where we&apos;re pointed, not where we&apos;ve arrived. We didn&apos;t design toward this. We built a clean, boring, convention-driven
harness, and once it was clean enough, this fell out of it.&lt;/p&gt;
&lt;h2&gt;Midnight to midnight&lt;/h2&gt;
&lt;p&gt;People assume the feeling of handing real work to an autonomous agent is fear. For me it&apos;s mostly curiosity. I spend a
lot of time watching the event stream scroll: an agent wakes up, reads the world, calls a tool, decides, moves. It takes
me straight back to my first years programming, when watching logs go by meant something was alive and working and
yours. I didn&apos;t expect to get that feeling back. 007 gave it back.&lt;/p&gt;
&lt;p&gt;So here&apos;s the question I don&apos;t have an answer to. As the models get better, does the harness get thinner, closer to
nothing? Or does it move up a level and start improving its agents faster than any of us can read the stream? I don&apos;t
know yet. We built it anyway, without waiting for the industry to settle, because it lives inside our own world and
nobody else&apos;s.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;This post is part of the &lt;a href=&quot;/posts/sdlc2-sdlc2/&quot;&gt;SDLC2&lt;/a&gt; series.&lt;/em&gt;&lt;/p&gt;
</content:encoded></item><item><title>Research, Plan, Implement: Our Agent-Driven Development Cycle</title><link>https://engineering.integral.de/posts/sdlc2-research-plan-implement-cycle/</link><guid isPermaLink="true">https://engineering.integral.de/posts/sdlc2-research-plan-implement-cycle/</guid><description>Part of SDLC2: the problem with planning in the dark, the cycle we run instead, and how it looks in our backend, with the artifact chain that makes it stick.</description><pubDate>Fri, 06 Mar 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Models can write as well as any human, given the circumstances, often better, if you&apos;re willing to define what &amp;quot;better&amp;quot; means and spend the time to hold them to it. They also over-engineer, introduce bugs, make wrong assumptions, and get lazy. Same as the rest of us.&lt;/p&gt;
&lt;p&gt;When an engineer introduces a bug, we don&apos;t stop and analyze everything they read in the past two months, re-run their education, or drill their brain so they never err again (though some of my colleagues have tried). Understanding root cause matters (skill, communication, context) but you would (and in the last 20 years we did) spend far more time and effort on catching and preventing those errors. We should do the same with model-backed agents: improve the process, not the black box.&lt;/p&gt;
&lt;p&gt;It seems everyone has settled on some form of planning as the standard way to make agents more reliable. We discovered that too &lt;a href=&quot;/posts/sane-chopping-plan-first/&quot;&gt;last year&lt;/a&gt;. We think a stricter version (research, then plan, then implement) helps us build better and more reliable software. So we broke our &amp;quot;coding&amp;quot; step into three: research, plan, and implement.&lt;/p&gt;
&lt;h2&gt;Research → Plan → Implement&lt;/h2&gt;
&lt;p&gt;We run three steps in order when the work is non-trivial: which is admittedly hard to define precisely, but in practice covers any new feature, refactoring, or service logic change. Here, dear reader, it is up to you to define what trivial is.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Research.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;How we run it.&lt;/em&gt; You give &lt;strong&gt;research-codebase&lt;/strong&gt; a well-defined question: usually the issue itself is enough, though engineers often provide a bit of extra context. It traverses the codebase (or codebases, when you launch it from a folder that contains multiple repos) and synthesizes findings into an &lt;code&gt;index.md&lt;/code&gt; under &lt;code&gt;docs/research/{issue-name}/&lt;/code&gt;, with two sections that feed the next step: &lt;strong&gt;Constraints for Future Work&lt;/strong&gt; and &lt;strong&gt;Key Integration Points&lt;/strong&gt;. We extend or reuse existing research when the area has been covered before; we don&apos;t redo it from scratch for every new plan. Each research document records the git commit hash it was based on, which makes staleness easy to detect — the model can compare the current state of the codebase against what the research describes and flag what has drifted.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Why we run it before each plan.&lt;/em&gt; The code doesn&apos;t live in the engineers&apos; heads anymore: it lives in the repo, and it keeps growing, fast. Research grounds and anchors the issue to the specific parts of the application, sometimes spanning more than one repo. Without it, the plan floats: when the code changes you lose what the previous plans were based on. The research also helps other agents and humans understand the codebase, independently of the plan at hand.&lt;/p&gt;
&lt;p&gt;The research command is explicitly made aware that it is part of a process: its output will be consumed directly by generate-plan.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Plan.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;How we run it.&lt;/em&gt; We give &lt;strong&gt;generate-plan&lt;/strong&gt; the Linear issue (or a short description). It reads the matching research, absorbs the Constraints and Integration Points, and reads the project&apos;s architecture rules before it does anything else. Then it asks 3–7 targeted questions (meaningful inquiries that could fundamentally change the design, or edge cases that affect error handling) and stops once it understands the happy path, the failure scenarios, and the domain boundaries. Then it produces one plan file under &lt;code&gt;docs/plans/{feature-name}.plan.md&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Why the format matters.&lt;/em&gt; The command has one explicit rule: requirements before architecture. Architecture serves the requirements, not the other way around. Every requirement gets an ID (REQ-01, REQ-02, …) and at least two acceptance criteria. The plan is validated against project architecture patterns before it&apos;s done: domain boundaries, endpoint conventions, test strategy. The design philosophy is stated plainly: plans must be clear enough for humans to approve and precise enough for AI to implement against. That dual constraint is what keeps the plan from being either a vague brief or a pile of pseudocode.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Implement.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;With a plan file in place, we run &lt;strong&gt;implement-plan&lt;/strong&gt;. It loads the plan and auto-discovers related research by feature-name convention. It follows project rules (from &lt;code&gt;.cursor/rules/&lt;/code&gt;), breaks work into TODOs from the plan, implements in dependency order, runs lint and tests, and does not commit or push unless asked. When we care about real end-to-end behavior (multiple services, message queues, external APIs) we follow up with &lt;strong&gt;test-implementation&lt;/strong&gt;: bring up services locally, hit the real entry points, check against the plan.&lt;/p&gt;
&lt;p&gt;The chain is held together by conventions. generate-plan looks up research by topic/feature keywords. implement-plan discovers research from the plan filename. So &lt;code&gt;docs/research/authentication-across-services/&lt;/code&gt; and &lt;code&gt;docs/plans/user-auth-unification.plan.md&lt;/code&gt; link up by naming overlap or by explicit &lt;code&gt;related: research:&lt;/code&gt; in the plan frontmatter. No magic, just file locations and a bit of discipline.&lt;/p&gt;
&lt;h2&gt;How it looks in practice&lt;/h2&gt;
&lt;p&gt;The plan is most of the time &lt;strong&gt;the only artifact a human reviews&lt;/strong&gt;: that&apos;s an intentional trust decision, not an oversight. We believe the right place to exercise human judgment is before implementation begins, not after. Reviewing generated code line-by-line adds friction without adding much signal; reviewing the plan is where a senior engineer&apos;s time actually compounds. &lt;code&gt;docs/plans/&lt;/code&gt; is listed in CODEOWNERS in GitHub. When a plan is pushed, it triggers a pull request assigned to one of the engineering leads. Once approved, the code generated by implement-plan is reviewed only by automated CodeRabbit rules (no human in the loop). The plan approval is the human checkpoint. Everything downstream runs on it.&lt;/p&gt;
&lt;p&gt;Implement typically delivers 60–70% of the solution: the scaffolding, the happy path, the boilerplate that would otherwise burn an afternoon. The remaining 30–40% is the work that still requires an engineer — the judgment calls, the integration quirks, the edge cases the plan didn&apos;t fully anticipate. If the agent delivers significantly less than that, it&apos;s usually a signal to look upstream: the plan is underspecified, or the research missed something. We treat low implementation yield as a process smell, not a model failure.&lt;/p&gt;
&lt;h2&gt;The Result&lt;/h2&gt;
&lt;p&gt;It&apos;s not perfect. Sometimes the plan is stale by the time we implement and we have to adjust. But the improvement that surprised us most was observability. Research made the model&apos;s reasoning visible: we could see why it built the plan the way it did, and small adjustments to the research produced meaningfully different plans. That feedback loop made the whole process more predictable. Before, a plan might miss that the same functionality already existed in a utility class and try to implement it again from scratch. Now that kind of gap shows up at plan review, not after the code is generated.&lt;/p&gt;
&lt;p&gt;The combination of plan-first and automated code review gave us back a sense of control. Planning is where we make decisions. CodeRabbit is where generated code gets checked. Human engineers spend their time on what actually requires judgment. We know, roughly, what the models will produce — and when we don&apos;t, it&apos;s usually because the research or the plan needs more work, not because the model surprised us.&lt;/p&gt;
&lt;p&gt;One other thing worth noting: a single research document can feed multiple plans. We can generate several plan variants, compare them, and merge the best elements before handing off to implementation. The same pattern applies to implementation itself. That&apos;s not the default workflow yet, but it&apos;s where this is heading.&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;em&gt;This post is part of the &lt;a href=&quot;/posts/sdlc2-sdlc2/&quot;&gt;SDLC2&lt;/a&gt; series. It builds on &lt;a href=&quot;/posts/sdlc2-agents-as-code/&quot;&gt;Agents as Code&lt;/a&gt;, where we introduced the agent-resources repo and the research / plan / implement commands.&lt;/em&gt;&lt;/p&gt;
</content:encoded></item><item><title>Agents as Code: the abstraction layer has moved on, did you?</title><link>https://engineering.integral.de/posts/sdlc2-agents-as-code/</link><guid isPermaLink="true">https://engineering.integral.de/posts/sdlc2-agents-as-code/</guid><description>Part of SDLC2: one repo for our agent commands and skills, changes via PR, and the unexpected joy of writing them in plain English together.</description><pubDate>Sun, 08 Feb 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;It&apos;s the age of the agents. Everybody has them. Everybody writes, builds and runs them. Everybody blogs about them (so do we) But few really knows what they are, how to treat them. Like everyone else, we&apos;re occasionally debating it.&lt;/p&gt;
&lt;p&gt;As in our other posts (our recurring theme), we don&apos;t have time for the industry to settle so we can just cargo-cult it. So we decided to produce, store, and use our agents (at least the most useful ones) in one place, a common github repository that loves all cli&apos;s.&lt;/p&gt;
&lt;h2&gt;What actually happens without one place&lt;/h2&gt;
&lt;p&gt;When everyone in the team explores on their own, the cost is high. Someone finds a prompt that works for understanding the codebase; someone else invents a different one. The difference in the agent description is subtle, the output deviate slightly. Agents and skills multiply across people and Slack threads. Nobody can reuse what someone else already figured out. Nobody reads their own 120lines of generated document, while expecting everyone else to go through it diligently (more on that later).&lt;/p&gt;
&lt;p&gt;Searching for the right prompt or the right skill is only part of the problem. The bigger problem is that the exploration never compounds. Everyone pays the cost of discovery, trial, and error, almost nobody gets the return of standardisation. My engineering brain cannot survive a repo without a solid &lt;code&gt;utility&lt;/code&gt; package. Now that entire teams and organisations turn into executables with agents, my heart seeks the same.&lt;/p&gt;
&lt;p&gt;So, we simply wanted to reduce that cost and increase the return. That meant joining an effort and having some standardisation.&lt;/p&gt;
&lt;h2&gt;What we keep&lt;/h2&gt;
&lt;p&gt;Simply put, anything that contributes to our common SDLC process, is kept here and used by the whole team/agents/processes so we have a common, ubiquitous system. Here are some of the most used ones,&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Commands&lt;/strong&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;research-codebase&lt;/em&gt;: analyses the codebase for domain and patterns so you (or the agent) can reason about it&lt;/li&gt;
&lt;li&gt;&lt;em&gt;generate-plan&lt;/em&gt; and &lt;em&gt;spec&lt;/em&gt;: turn a ticket or idea into a structured implementation plan or specification&lt;/li&gt;
&lt;li&gt;&lt;em&gt;implement-plan&lt;/em&gt;: runs a plan file and follows project rules&lt;/li&gt;
&lt;li&gt;&lt;em&gt;deslop&lt;/em&gt;: reviews the diff and strips AI slop before commit&lt;/li&gt;
&lt;li&gt;&lt;em&gt;review-issue&lt;/em&gt;: reviews a Linear issue, asks relevant questions to the poster, reads the answers and incorporates them back into the issue.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;How we use&lt;/h2&gt;
&lt;p&gt;Installation copies these into each agent&apos;s directories. &lt;code&gt;npx&lt;/code&gt; installer detects Cursor and Claude on the machine, lets user pick which to install for, and copies commands into &lt;code&gt;~/.cursor/commands/integral/&lt;/code&gt; (or &lt;code&gt;~/.claude/commands/integral/&lt;/code&gt;) and skills into the matching &lt;code&gt;skills/&lt;/code&gt; tree. A small config file (e.g. &lt;code&gt;~/.integral-agents.json&lt;/code&gt;) records what was installed and when. Without a version pin, &lt;code&gt;npx&lt;/code&gt; fetches the latest from the repo each time you run it, so re-running the install pulls in updates.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/images/agent-resources-install.gif&quot; alt=&quot;Installing agent-resources: run the installer, pick your agents, done&quot;&gt;&lt;/p&gt;
&lt;p&gt;Anyone on the team can (and should) update the agents, it is one PR away.&lt;/p&gt;
&lt;p&gt;Agents can be run locally, in our automation system (we&apos;re early evaluators of &lt;a href=&quot;https://tembo.io&quot;&gt;tembo.io&lt;/a&gt;, and we have our own isolated agent execution environment) or simply triggered from Slack.&lt;/p&gt;
&lt;h2&gt;Result&lt;/h2&gt;
&lt;p&gt;We&apos;re exploring whether we can treat agents the same way we treat source code, and how we trigger them the same way we treat CI/CD. You don&apos;t let anyone on your team to keep their own production version of the application and deploy as they like. You let people experiment, change, and merge back. You don&apos;t let anyone deploy to production on a whim; you orchestrate that with safeguards. We&apos;re trying to establish the same for agents: one place, changes via PR, runs orchestrated rather than ad hoc. How we actually run and trigger agents (locally, in automation, from Slack) is a topic for another post. Stay tuned.&lt;/p&gt;
&lt;p&gt;There&apos;s also an organisational upside we didn&apos;t expect. Collaboratively writing a simple, plain English document (an agent description, a skill, a reference) turns out to be useful and oddly satisfying (dare I call it &lt;code&gt;mob-agenting(?)&lt;/code&gt;). This post is one result of that. The repo is another.&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;em&gt;This post is part of the SDLC2 series. [Previous post in series] | &lt;a href=&quot;/posts/sdlc2-sdlc2/&quot;&gt;Series index&lt;/a&gt; or &lt;a href=&quot;/posts/sdlc2-research-plan-implement-cycle/&quot;&gt;next post&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
</content:encoded></item><item><title>SDLC2: How We&apos;re Changing How We Build Products</title><link>https://engineering.integral.de/posts/sdlc2-sdlc2/</link><guid isPermaLink="true">https://engineering.integral.de/posts/sdlc2-sdlc2/</guid><description>At Integral we&apos;re changing how we build products, software and beyond. This is where we document our experience, our simple approach, and our wins.</description><pubDate>Sun, 01 Feb 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;The way to build and run software products has changed. At Integral we&apos;re looking for the best way that fits our needs given our smart, small team. That includes building and releasing software, but it doesn&apos;t stop there. We&apos;re slowly documenting our experience: the simple approach we&apos;re taking, avoiding tool-mania, discussing what&apos;s working, and what we&apos;re learning along the way.&lt;/p&gt;
&lt;p&gt;The picture below is a snapshot from our  whiteboard: our current view of the flow. It&apos;s messy because we&apos;re still shaping it. (and also I&apos;m the one who draws it)&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/images/sdlc2.jpeg&quot; alt=&quot;Our SDLC2 whiteboard: from idea and issue creation through cycle planning, plan build test, and release&quot;&gt;&lt;/p&gt;
&lt;h2&gt;What you&apos;ll find here&lt;/h2&gt;
&lt;p&gt;Posts in the &lt;strong&gt;SDLC2&lt;/strong&gt; series describe how we run this in practice:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&quot;/posts/sdlc2-agents-as-code/&quot;&gt;Agents as Code: the abstraction layer has moved on, did you?&lt;/a&gt;&lt;/strong&gt; How we treat agent commands and skills like code: one repo, changes via PR, and writing them in plain English together.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&quot;/posts/sdlc2-research-plan-implement-cycle/&quot;&gt;Research, Plan, Implement&lt;/a&gt;&lt;/strong&gt;: How we use agent-resources commands to go from unknowns to shipped code—research-codebase, generate-plan, implement-plan—and how the artifact chain links them.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&quot;/posts/hawkeye-ai-qa-tester/&quot;&gt;Hawkeye: Why We Stopped Maintaining UI Tests and Built an AI Tester Instead&lt;/a&gt;&lt;/strong&gt; Test cases in plain English, run by an agent that clicks through the product like a human instead of asserting on selectors.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Parallel plans, parallel agents&lt;/strong&gt; (stay tuned): How a single research document can feed multiple plan variants, and how implementation itself can be parallelized across agents.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Reducing the slob&lt;/strong&gt; (stay tuned): All these tools and artifacts generate noise. How we keep the organizational footprint of AI-assisted development from becoming a mess in its own right.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Issues as conversations&lt;/strong&gt; (stay tuned): How we use agents to draft, refine, and review Linear issues before any code is written — and why the quality of the issue shapes everything downstream.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Zero-touch shipping&lt;/strong&gt; (stay tuned): For trivial issues: small fixes, copy changes, config updates — we skip the whole cycle and ship straight to production without a human in the loop.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;We&apos;ll add more as we go. If you&apos;re curious how a small team is rethinking the software development lifecycle without waiting for the industry to settle (how we learned to stop worrying and love the release, &lt;em&gt;Strangelove&lt;/em&gt;-style), this is where we&apos;re writing it down.&lt;/p&gt;
</content:encoded></item><item><title>How to Love Lovable: Building Production-Ready Infrastructure Around AI Code Generators</title><link>https://engineering.integral.de/posts/jantro/</link><guid isPermaLink="true">https://engineering.integral.de/posts/jantro/</guid><description>How we built Jantro, a Firebase-hosted wrapper that gives Lovable apps production-grade auth, access control, and deployment without sacrificing speed.</description><pubDate>Sat, 10 May 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;How to Love Lovable&lt;/h1&gt;
&lt;p&gt;Lovable, and the other similar wonderful apps, are genuinely impressive. Our operation  and product people wanted nothing but to build things, taste the cursed joy of software engineering. They have ideas, they understand their problems, and they&apos;re tired of waiting for priorities. so building they did..&lt;/p&gt;
&lt;p&gt;Which is great, until it isn&apos;t.&lt;/p&gt;
&lt;h2&gt;The Problem: When Fast Becomes Fragile&lt;/h2&gt;
&lt;p&gt;Our team, eager and smart, immediately connected their Lovable apps to our API and started building tools: onboarding status dashboards, master data interfaces and other back-office functionalities that would save time and help our customers immediately.
They&apos;ve worked in our development environments, built a working app, and then they wanted to go to production.&lt;/p&gt;
&lt;p&gt;That&apos;s when we hit the walls. Multiple, actually:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;First: API and Domains.&lt;/strong&gt; Our backend is granular by design, built for an agent-focused architecture with detailed endpoints with proper separation of concerns through well-defined domains. But asking a product person to chain together multiple API calls to display a customer&apos;s onboarding? That&apos;s not reasonable. They just wanted a button that says &amp;quot;show onboarding status.&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Second: Access control.&lt;/strong&gt; Our API does necessary role-based access management, but since it&apos;s not built for a frontend (we have a lovely BFF for that), it wasn&apos;t equipped to handle direct connections from these Lovable apps. Since we do not track the users, it is very hard to bake in the rbac structure into these apps.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Third: Environments, Versions and Deployments.&lt;/strong&gt; While Lovable-like tools allow us to &lt;code&gt;publish&lt;/code&gt;, they do not differentiate between environments. We tried to overcome this by naively allowing a selector in the app but, the apps never able to keep up with the changes on the API level. Publishing a dev version, broke production.&lt;/p&gt;
&lt;p&gt;Also, the apps, further developed, were hard to keep track. The version this button used to work is a very hard time to go back. No stable releases, no rollback strategy, no way to say &amp;quot;this version is in production, that one is still being tested.&amp;quot; Just a continuous stream of changes.&lt;/p&gt;
&lt;p&gt;That&apos;s where we needed a production-grade infrastructure/process around Lovable&apos;s speed, to get the best of both worlds.&lt;/p&gt;
&lt;h2&gt;The Insight: Lovable Already Solved This&lt;/h2&gt;
&lt;p&gt;Here&apos;s what made everything click: Lovable itself is a wrapper app.&lt;/p&gt;
&lt;p&gt;Think about how their editor works. The left side is the Lovable IDE (the parent). The right side is the app running in an iframe (the child). The parent controls code changes, building, and deployments. The child just focuses on doing one thing well. We reckoned we could use the same pattern.&lt;/p&gt;
&lt;h2&gt;The Solution: Jantro&lt;/h2&gt;
&lt;p&gt;So, like any other busy startup team who wants to slow down to speed up, we built our own solution: Jantro, a Firebase-hosted parent app that wraps all our Lovable child apps. Here&apos;s the architecture:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;┌────────────────────────────────────────────────┐
│  Parent App (Firebase Hosting)                 │
│  ┌────────────┐  ┌──────────────────────┐      │
│  │            │  │                      │      │
│  │  Sidebar   │  │   Child App          │      │
│  │            │  │   (Lovable, iframe)  │      │
│  │  • Auth    │  │                      │      │
│  │  • Apps    │  │   Requests token &amp;amp;   │      │
│  │  • Logout  │  │   API URL from       │      │
│  │            │  │   parent via         │      │
│  │            │  │   postMessage        │      │
│  └────────────┘  └──────────────────────┘      │
└────────────────────────────────────────────────┘
          │
          ├── Routes all API calls through
          │   Firebase Functions
          ↓
┌─────────────────────────────────────────────────┐
│  Backend for Lovable (BFL)                      │
│  • Auth validation                              │
│  • Simplified route aggregations                │
│  • Routes to internal and 3rd party apps        │
│  • Stores the API keys and secrets              │
│  • Access control per app                       │
│  • Environment-aware config                     │
└─────────────────────────────────────────────────┘
&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;How It Actually Works&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Parent app&lt;/strong&gt; sits in separate repo, and runs in Firebase. It authenticates users via Google OAuth, validates their email domain (&lt;code&gt;@integral.de&lt;/code&gt; or &lt;code&gt;@ext.integral.de&lt;/code&gt;), and fetches the list of apps they&apos;re allowed to see from Firestore. When a user selects an app, it loads in an iframe. A &lt;code&gt;CrossAppCommunicator&lt;/code&gt; class handles secure &lt;code&gt;postMessage&lt;/code&gt; communication between parent and child.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Child apps&lt;/strong&gt; check on mount if they&apos;re running in an iframe. If yes, they send a &lt;code&gt;getToken&lt;/code&gt; and &lt;code&gt;getApiBaseUrl&lt;/code&gt; message to the parent. The parent responds with the credentials, which the child stores in &lt;code&gt;localStorage&lt;/code&gt;. The child then renders, using those credentials for all API calls.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;BFL (Backend for Lovable)&lt;/strong&gt; is a Firebase Functions Express app. It verifies the Google ID token on every request, checks the user&apos;s email domain, and proxies requests to our internal microservices. During development, we also whitelist specific Lovable preview domains (using the project ID) so apps can make authenticated calls directly from the Lovable editor.&lt;/p&gt;
&lt;p&gt;The parent controls auth and environment, the child just renders. No shared state, no complex handshakes, just messages and tokens.&lt;/p&gt;
&lt;p&gt;Once an app is deployed to staging or prod, the team continues to work inside Lovable app (dev environment), without impacting or breaking the deployed apps, hence operations.&lt;/p&gt;
&lt;p&gt;That functions layer is where the production hardening happens. It&apos;s our &amp;quot;Backend for Lovable&amp;quot; (BFL):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Unified entry point&lt;/strong&gt;: One API base URL instead of managing multiple endpoints. Child apps don&apos;t need to know about our internal service topology. BFL also serves 3rd party API without exposing secrets.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;User-based access control&lt;/strong&gt;: Authentication and authorization happen at the user level. Only users with &lt;code&gt;@integral.de&lt;/code&gt; or &lt;code&gt;@ext.integral.de&lt;/code&gt; emails can access the API. App visibility in the sidebar is controlled through config-based permissions.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Environment propagation&lt;/strong&gt;: The parent knows which environment it&apos;s in. Child apps just ask for &lt;code&gt;apiBaseUrl&lt;/code&gt; and get the right one.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Versioning&lt;/strong&gt;: GitHub Actions deploy child apps to Firebase Hosting with proper tags. &lt;code&gt;v1.2.3&lt;/code&gt; goes to prod, &lt;code&gt;v1.2.3-rc&lt;/code&gt; goes to staging.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;What We Actually Built&lt;/h2&gt;
&lt;p&gt;Using this pattern, we shipped four production apps in six weeks:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Onboarding Status Dashboard&lt;/strong&gt; - Shows customer onboarding progress&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Invoice Management&lt;/strong&gt; - Create and view invoices&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Master Data Interface&lt;/strong&gt; - Manage core business entities&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Event Store Viewer&lt;/strong&gt; - Debug our event-sourced system&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Each one was built by non-engineers using Lovable, wrapped by Jantro, and deployed to production with proper auth, access control, and environment handling.&lt;/p&gt;
&lt;h2&gt;The Setup: Fast Scaffolding&lt;/h2&gt;
&lt;p&gt;When anyone at Integral wants to build a new app, the workflow is:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Create a new Lovable project starting with an app name prefix  (&lt;code&gt;jantro-&lt;/code&gt;) so the system can distinguish between prototypes, ideation etc...&lt;/li&gt;
&lt;li&gt;Connect it to GitHub repository (or ask a dev to do it)&lt;/li&gt;
&lt;li&gt;The GitHub app periodically checks for new Lovable repos using the prefix, once found, injects the template code. (can be also manually triggered)&lt;/li&gt;
&lt;li&gt;Paste one prompt into Lovable: &amp;quot;Wrap this app with the jantro-authenticator template&amp;quot;&lt;/li&gt;
&lt;li&gt;Use the BFL layer API to build your app&lt;/li&gt;
&lt;li&gt;Tag for deployment: &lt;code&gt;v0.x.y-rc&lt;/code&gt; for staging, &lt;code&gt;v.x.y&lt;/code&gt; for prod&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The initial setup takes 15-20 minutes, but it&apos;s mostly waiting for GitHub Actions. Then people build.&lt;/p&gt;
&lt;h2&gt;What We Learned&lt;/h2&gt;
&lt;p&gt;This pattern works because we stopped fighting against Lovable&apos;s nature. It&apos;s a rapid prototyping tool, and that&apos;s valuable. We just needed production guardrails around it.&lt;/p&gt;
&lt;p&gt;The iframe wrapper pattern is surprisingly powerful. By controlling the parent, we control everything that matters—auth, routing, environment, access. The child apps stay simple and focused.&lt;/p&gt;
&lt;p&gt;And most importantly: our product people are shipping real tools. They&apos;re not writing tickets and waiting. They&apos;re building, testing, and iterating. We review, we secure, we deploy.&lt;/p&gt;
&lt;p&gt;That&apos;s how you love Lovable. Not by using it for everything, but by wrapping it in just enough infrastructure to make it production-ready.&lt;/p&gt;
&lt;h2&gt;What We&apos;d Improve Next&lt;/h2&gt;
&lt;p&gt;This works for our team size and velocity, but we&apos;re aware of the shortcuts:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;App-level API isolation&lt;/strong&gt;: Right now, once a child app has the auth token, it can technically call any BFL endpoint. We control which apps users see, but not which APIs each app can access. For a team of 20, this is acceptable. For 200, we&apos;d need proper app-scoped API keys.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Automated workflow distribution&lt;/strong&gt;: We manually copy deployment workflows to new repositories. A GitHub Action that detects &lt;code&gt;jantro-&lt;/code&gt; prefixed repos and automatically distributes the workflow would be cleaner. A simple automation could save time here.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Observability&lt;/strong&gt;: We log everything, but we don&apos;t have proper telemetry on which apps are hitting which endpoints, only audit trails about who called which endpoint using which app. Adding OpenTelemetry would help us understand actual usage patterns and optimize accordingly.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Rollback strategy&lt;/strong&gt;: We auto can deploy versions with tags, but rolling back requires retagging and redeploying, which does not work always well with Lovable code. A proper release management system with one-click rollbacks would reduce risk.&lt;/p&gt;
&lt;p&gt;The point is: we shipped fast. These improvements are about scaling, not about making it work. And for now, it works.&lt;/p&gt;
</content:encoded></item><item><title>Just Makes AI Smarter: Stop Reinventing Commands Every Time</title><link>https://engineering.integral.de/posts/just-makes-ai-smarter/</link><guid isPermaLink="true">https://engineering.integral.de/posts/just-makes-ai-smarter/</guid><description>Your command runner is a project interface. Make it readable for AI tools and watch them stop improvising your build process.</description><pubDate>Sat, 15 Feb 2025 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;My bachelor&apos;s thesis was debugging and improving 1,000 lines of Makefiles for OpenMP, a giant C++ project that was originally called MP2 back in 2005. I spent months untangling dependencies, fixing parallel builds, and documenting what each target actually did.&lt;/p&gt;
&lt;p&gt;Since then, every project I touched got a Makefile. Not because I loved Make&apos;s syntax (nobody does), but because centralized commands are better than scattered scripts and tribal knowledge.&lt;/p&gt;
&lt;p&gt;Then I found &lt;a href=&quot;https://just.systems/&quot;&gt;Just&lt;/a&gt;, and I haven&apos;t looked back since.&lt;/p&gt;
&lt;h2&gt;What Make got right&lt;/h2&gt;
&lt;p&gt;Make has been around since 1976 for a reason. It solves a fundamental problem: even if your project uses robust build tools like node, ant, or gradle, you still need a clear, unified way to orchestrate all the tasks that fall outside the standard build process—setup, migrations, dev environments, cleaning, utility scripts. Those tools focus on building and packaging, but they aren’t designed to be the universal entry point for every operation your project needs. That’s why you need a layer on top: something every developer and every tool—human or AI—can rely on to run the right commands consistently.&lt;/p&gt;
&lt;p&gt;Instead of remembering &amp;quot;use this docker command with these flags, then run that gradle task with this profile, oh and don&apos;t forget to source the environment first,&amp;quot; you type &lt;code&gt;make deploy&lt;/code&gt; and it works.&lt;/p&gt;
&lt;p&gt;The Makefile documents what operations exist. It captures the correct flags and sequences. New developers read it to understand the project. Experienced developers update it instead of fixing the same command in five different places.&lt;/p&gt;
&lt;p&gt;Make is your project&apos;s API.&lt;/p&gt;
&lt;h2&gt;Why Just is better&lt;/h2&gt;
&lt;p&gt;Just takes Make&apos;s core idea and fixes the pain points. Better syntax, actual error messages, simpler dependency handling. Parameters that don&apos;t require cryptic symbols. Comments that actually help.&lt;/p&gt;
&lt;p&gt;We organize commands into nested folders by domain: &lt;code&gt;justfiles/database/Justfile&lt;/code&gt;, &lt;code&gt;justfiles/docker/Justfile&lt;/code&gt;, &lt;code&gt;justfiles/aws/Justfile&lt;/code&gt;. The root Justfile imports them all. Each domain owns its commands.&lt;/p&gt;
&lt;h2&gt;Aliases for humans&lt;/h2&gt;
&lt;p&gt;We add short aliases for commands we run constantly:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-just&quot;&gt;alias dbr := db-regenerate-migrations
alias dbg := db-generate-migrations
alias dba := db-apply-migrations
alias cu := compose-up
alias rd := run-dev
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Type &lt;code&gt;just dbr&lt;/code&gt; instead of &lt;code&gt;just db-regenerate-migrations&lt;/code&gt;. Small wins compound when you&apos;re running these dozens of times per day.&lt;/p&gt;
&lt;p&gt;But the real benefit isn&apos;t for humans.&lt;/p&gt;
&lt;h2&gt;The AI problem&lt;/h2&gt;
&lt;p&gt;Watch Cursor or any AI coding assistant try to run project commands without a Justfile.&lt;/p&gt;
&lt;p&gt;You ask it to regenerate database migrations. It searches your codebase, finds script files, reads documentation, makes assumptions about which script to run, guesses at parameters, chains together commands with &lt;code&gt;&amp;amp;&amp;amp;&lt;/code&gt;, and hopes for the best.&lt;/p&gt;
&lt;p&gt;Sometimes it works. Often it doesn&apos;t. When it fails, it tries a different combination. You end up with three terminal tabs of failed attempts and a confused AI that&apos;s now trying to write its own migration script from scratch.&lt;/p&gt;
&lt;p&gt;Next time you need the same operation, it does something completely different. No consistency. No learning. Just expensive token usage and wasted time.&lt;/p&gt;
&lt;h2&gt;What actually changes&lt;/h2&gt;
&lt;p&gt;Put your commands in a Justfile and run &lt;code&gt;just --list&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Available recipes:
    dbr      # Undo &amp;amp; regenerate the latest migration
    dbg      # Generate database migrations
    dba      # Apply migrations
    cu       # Docker Compose Up
    rd       # Run the application with local profile
    ...
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Now the AI reads this. It sees &lt;code&gt;dbr&lt;/code&gt; regenerates migrations. You ask it to regenerate migrations, it runs &lt;code&gt;just dbr&lt;/code&gt;. Every single time. No searching, no guessing, no improvising.&lt;/p&gt;
&lt;p&gt;The Justfile becomes the project interface for AI tools, the same way it&apos;s the project interface for humans.&lt;/p&gt;
&lt;h2&gt;How we actually use this&lt;/h2&gt;
&lt;p&gt;At Integral, every project has a Justfile. Our modular-monolith backend service has 50+ commands organized across four domain files: database, docker, development, and AWS operations.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Database operations&lt;/strong&gt;: &lt;code&gt;just dbr&lt;/code&gt; regenerates the latest migration, &lt;code&gt;just dbad&lt;/code&gt; applies migrations to local, &lt;code&gt;just dbcd&lt;/code&gt; opens an SSH tunnel to dev database.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Docker workflows&lt;/strong&gt;: &lt;code&gt;just cub&lt;/code&gt; rebuilds and starts containers, &lt;code&gt;just dtc&lt;/code&gt; runs core HTTP tests in Docker, &lt;code&gt;just dtclean&lt;/code&gt; tears everything down.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Development cycles&lt;/strong&gt;: &lt;code&gt;just rdb&lt;/code&gt; starts the app in background, &lt;code&gt;just dlogs -f&lt;/code&gt; follows logs, &lt;code&gt;just dstop&lt;/code&gt; stops everything.&lt;/p&gt;
&lt;p&gt;When we ask Cursor to &amp;quot;run tests in Docker,&amp;quot; it doesn&apos;t improvise. It runs &lt;code&gt;just dtc&lt;/code&gt;. When we need to deploy a migration to dev, it runs &lt;code&gt;just dbcd&lt;/code&gt; then &lt;code&gt;just dbad-dev&lt;/code&gt;. Consistent every time.&lt;/p&gt;
&lt;h2&gt;The MCP connection&lt;/h2&gt;
&lt;p&gt;Model Context Protocol servers give AI tools structured access to external systems: databases, APIs, filesystems. They&apos;re explicit interfaces that tools can query and use reliably.&lt;/p&gt;
&lt;p&gt;Your Justfile is the same concept at project level. It&apos;s a structured interface to your project&apos;s operations. AI tools can discover what&apos;s possible (&lt;code&gt;just --list&lt;/code&gt;), understand what each command does (from comments and names), and execute them correctly.&lt;/p&gt;
&lt;p&gt;You don&apos;t need to install MCP servers, configure authentication, or write integration code. You just need the Justfile you should already have.&lt;/p&gt;
&lt;h2&gt;Make it practical&lt;/h2&gt;
&lt;p&gt;Start small. Put your three most common operations in a Justfile. Add aliases. Let the team use it for a week.&lt;/p&gt;
&lt;p&gt;Then add more. Every time someone asks &amp;quot;how do I run X?&amp;quot;, add it to the Justfile. Every time you paste a complex command in Slack, put it in the Justfile instead.&lt;/p&gt;
&lt;p&gt;Keep commands focused. One operation per command. Use parameters for variations. Let people compose commands themselves instead of creating every combination.&lt;/p&gt;
&lt;p&gt;Document the tricky ones. A one-line comment beats five minutes of explanation.&lt;/p&gt;
&lt;h2&gt;The real payoff&lt;/h2&gt;
&lt;p&gt;Your team runs commands correctly without checking documentation. New developers read the Justfile to understand the project. AI tools stop reinventing your build process every time you ask them to do something.&lt;/p&gt;
&lt;p&gt;Commands stay consistent across your entire team, humans and AI both. That alone is worth the hour you&apos;ll spend setting it up.&lt;/p&gt;
&lt;p&gt;Make taught us that projects need APIs. Just makes those APIs readable. And in the age of AI-assisted development, readable interfaces are the difference between tools that help and tools that waste your time guessing.&lt;/p&gt;
</content:encoded></item><item><title>The Captain Role: Driving Features Forward Without Becoming a Bottleneck</title><link>https://engineering.integral.de/posts/how-we-work-captain-role/</link><guid isPermaLink="true">https://engineering.integral.de/posts/how-we-work-captain-role/</guid><description>How one person takes ownership of feature delivery without turning into a micromanager or single point of failure.</description><pubDate>Sat, 01 Feb 2025 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;At Integral we build and release on weekly cycles. Every cycle one product team member (engineer, designer, PM) is assigned the role of Captain, responsible for leading the cycle.&lt;/p&gt;
&lt;p&gt;Small teams avoid assigning ownership because it feels hierarchical. Everyone’s responsible for everything, but shared ownership becomes no ownership. Features drift, everyone has multiple streams, and communication breaks down even when sitting next to each other.&lt;/p&gt;
&lt;p&gt;The Captain keeps the cycle on track. They know what everyone&apos;s building and whether it&apos;s going to make the release. They are responsible for checking in on team members, and communicating the release scope across the company.&lt;/p&gt;
&lt;h2&gt;Why the Captain isn&apos;t a position&lt;/h2&gt;
&lt;p&gt;Everyone on the team takes turns. We rotate every single week. No exceptions, no “I’m too busy this week” excuses. If you’re on the team, you are Captain. Period.&lt;/p&gt;
&lt;p&gt;The rotation isn’t random. We plan it out so people know when they’re up. You get a week’s notice: “Hey, you’re Captain next week, start thinking about what we’re shipping.”&lt;/p&gt;
&lt;p&gt;This forced rotation prevents the usual problems: No one becomes the permanent “project person” while others just code. No one gets comfortable never having to think about the bigger picture. Everyone learns what it actually takes to ship features, not just build them.&lt;/p&gt;
&lt;p&gt;When you know you’ll be Captain next week, you pay attention to how the current Captain handles scope creep. When you see someone struggle with cross-team coordination, you learn from their mistakes before it’s your turn.&lt;/p&gt;
&lt;p&gt;The PM Captains too. They don’t get to just throw requirements over the wall and disappear. They have to own delivery, deal with engineering trade-offs, and feel the pain when their “simple feature” turns into a three-week nightmare.&lt;/p&gt;
&lt;p&gt;The Captain makes small cycle decisions for that week like “what we should cut, expand, merge, or drop.” But they don’t have to decide everything; they’re best when they are “figuring out what we need to decide.”&lt;/p&gt;
&lt;p&gt;The Captain holds the cycle goals, coordinating and handling communication while others focus on building.&lt;/p&gt;
&lt;h2&gt;What the Captain owns&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Feature completion&lt;/strong&gt;: Making sure all pieces get built, integrated, tested, and shipped. Tracking progress and identifying gaps.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Scope management&lt;/strong&gt;: Making trade-off decisions about what’s in scope and what gets deferred. Pushing back on feature creep.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Cross coordination&lt;/strong&gt;: Working with design, product, operations or other engineers when the feature requires external collaboration.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Cycle timeline&lt;/strong&gt;: Communicating progress, identifying delays early, adjusting scope to hit deadlines.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Shipping Mode&lt;/strong&gt;: Deploying all the changes to production, after giving a small but comprehensive demo.&lt;/p&gt;
&lt;h2&gt;What the Captain doesn&apos;t own&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Individual task assignment&lt;/strong&gt;: Team members choose how to contribute to the feature. The Captain coordinates but doesn’t dictate the approach.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Implementation decisions&lt;/strong&gt;: Technical choices remain with the people doing the implementation. The Captain provides context but doesn’t override expertise.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Quality control&lt;/strong&gt;: Code review and testing remain collaborative. The Captain doesn’t approve or reject work unilaterally.&lt;/p&gt;
&lt;h2&gt;How it actually works&lt;/h2&gt;
&lt;p&gt;The Captain communicates cycle progress: “this is going well, we need help, this is in danger.” You’re checking up with everyone: “How are you going to test this? How are you going to solve this problem?”&lt;/p&gt;
&lt;p&gt;You make scope calls when trade-offs come up. Cut features, merge things, drop what won’t make it. The team can push back, but someone has to drive decisions.&lt;/p&gt;
&lt;p&gt;By Thursday, you make sure everything’s tested and ready to ship. Because if something breaks, it’s on you to make sure it’s fixed.&lt;/p&gt;
&lt;h2&gt;Captain skills by feature type&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;New feature development&lt;/strong&gt;: Strong product sense, ability to make scope trade-offs, good at cross-functional coordination.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Infrastructure work&lt;/strong&gt;: Technical depth, understanding of system dependencies, ability to communicate technical concepts to stakeholders.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Performance improvements&lt;/strong&gt;: Data analysis skills, benchmarking expertise, patience for iterative optimization work.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Bug fix initiatives&lt;/strong&gt;: Debugging skills, attention to detail, ability to prioritize fixes by impact.&lt;/p&gt;
&lt;p&gt;We match cycle Captain assignments to the type of work and the person’s strengths when possible.&lt;/p&gt;
&lt;h2&gt;When Captain authority matters&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Scope creep&lt;/strong&gt;: Someone wants to add “just one more small feature.” The Captain decides whether it fits or gets deferred.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Integration conflicts&lt;/strong&gt;: Two pieces don’t work together as expected. The Captain coordinates a resolution and makes architectural decisions.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Timeline pressure&lt;/strong&gt;: The feature is behind schedule. The Captain decides what gets cut to hit the deadline.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Cross-team dependencies&lt;/strong&gt;: External team changes their timeline. The captain adjusts scope or negotiates alternatives.&lt;/p&gt;
&lt;h2&gt;The real downsides&lt;/h2&gt;
&lt;p&gt;Every Friday we give direct feedback to the Captain: “Yeah, you did a good job, but you were annoying on Wednesday. We could have had this conversation much earlier.”&lt;/p&gt;
&lt;p&gt;Or: “You missed that point. We released; who was Captain? You were Captain. We didn’t test this. Why?”&lt;/p&gt;
&lt;p&gt;It can force you to push too much. You can miss critical things. It’s distracting from your own work because you’re focused on everyone else’s.&lt;/p&gt;
&lt;p&gt;But we “try to intentionally make it better” each week. The feedback is direct, but the goal is always to learn and improve.&lt;/p&gt;
&lt;h2&gt;Why it works despite the pain&lt;/h2&gt;
&lt;p&gt;Features actually ship because someone owns whether they ship. When you know you’ll be Captain next week, you pay attention to how the current Captain works.&lt;/p&gt;
&lt;p&gt;Everyone learns to coordinate, there is no single “project manager”. You understand what it takes to drive features to completion.&lt;/p&gt;
&lt;p&gt;The feedback is direct and fast. We fix Captain problems in a week, not after months of accumulated frustration.&lt;/p&gt;
</content:encoded></item><item><title>Guardian Role: Protecting Focus in a World of Interruptions</title><link>https://engineering.integral.de/posts/how-we-work-guardian-role/</link><guid isPermaLink="true">https://engineering.integral.de/posts/how-we-work-guardian-role/</guid><description>The rotating role that shields your team from interruptions so they can actually build things instead of constantly context-switching.</description><pubDate>Sat, 01 Feb 2025 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Every engineering team gets hit with bugs, questions, urgent requests, and “quick favors” throughout the week. Without clear ownership, these interruptions get scattered across everyone, destroying focus and killing productivity.&lt;/p&gt;
&lt;p&gt;Someone on the team needs to own the interruptions, or the interruptions will own your team. Most teams either ignore interruptions (customers suffer) or let interruptions dominate everyone’s schedule (nothing gets built). The Guardian role solves this by making one person responsible for handling chaos so everyone else can focus.&lt;/p&gt;
&lt;h2&gt;What actually happens without a Guardian&lt;/h2&gt;
&lt;p&gt;Interruptions follow the path of least resistance. The person who’s most responsive gets hit with everything. The least busy person becomes the default troubleshooter.&lt;/p&gt;
&lt;p&gt;This creates two problems: the responsive person becomes overwhelmed, and the “busy” people become isolated from customer reality. You end up with an unbalanced workload and poor information flow.&lt;/p&gt;
&lt;p&gt;Bugs sit in Slack channels because no one owns triage. Urgent customer requests get lost because everyone assumes someone else is handling them.&lt;/p&gt;
&lt;h2&gt;Why rotating matters&lt;/h2&gt;
&lt;p&gt;Making someone the permanent Guardian burns them out and removes them from feature development. They become the “support person” instead of an engineer.&lt;/p&gt;
&lt;p&gt;Rotating the role weekly keeps everyone connected to operational reality. You can’t build systems that ignore customer problems.&lt;/p&gt;
&lt;p&gt;Different people bring different strengths to the role. Some Guardians are great at customer communication. Others excel at debugging production issues. Some build tools so they don’t have to deal with the same bug the next time they are Guardian. Rotation leverages everyone’s skills.&lt;/p&gt;
&lt;h2&gt;What the Guardian owns&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Triage and assignment&lt;/strong&gt;: New bugs, customer complaints, and urgent requests get evaluated and either handled immediately or assigned to the right person.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;First response&lt;/strong&gt;: Customers get acknowledgment within a reasonable time, even if the full solution takes longer.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Context protection&lt;/strong&gt;: Shield the rest of the team from interruptions that don’t require their specific expertise.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Documentation&lt;/strong&gt;: Track patterns in issues. What keeps breaking? What questions keep getting asked? What needs systemic fixes?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Escalation&lt;/strong&gt;: Recognize when an issue needs more resources or expertise than one person can provide.&lt;/p&gt;
&lt;h2&gt;What the Guardian doesn&apos;t own&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;All the work&lt;/strong&gt;: The Guardian triages and assigns, but doesn’t have to solve everything personally. Major bugs get assigned to the person best equipped to fix them.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Perfect availability&lt;/strong&gt;: The Guardian handles interruptions during business hours, not around the clock. Set clear expectations about response times.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Feature development&lt;/strong&gt;: The Guardian focuses on keeping systems running, not building new features. This is a temporary role rotation, not a permanent assignment.&lt;/p&gt;
&lt;h2&gt;Make it work&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Clear handoffs&lt;/strong&gt;: Document active issues when rotating Guardian duty in case the next Guardian needs context on ongoing problems.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Response time expectations&lt;/strong&gt;: Set clear SLAs for acknowledgment vs. resolution. “We’ll respond within 2 hours, resolve within 24 hours.”&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Escalation paths&lt;/strong&gt;:Even the best Guardian can&apos;t solve everything by themself. Sometimes they need to escalate to the right person, at the right time.&lt;/p&gt;
&lt;h2&gt;The balance&lt;/h2&gt;
&lt;p&gt;The Guardian role should feel manageable, not overwhelming. If one person is constantly swamped, either the rotation is too slow or we have systemic issues that need addressing.&lt;/p&gt;
&lt;p&gt;Good Guardian weeks involve few interruptions, handled smoothly. Bad Guardian weeks involve constant firefighting with no time for proactive work.&lt;/p&gt;
&lt;h2&gt;The result&lt;/h2&gt;
&lt;p&gt;Our team can focus on building features without ignoring customer problems. Issues get handled by someone who owns the response instead of falling through the cracks.&lt;/p&gt;
&lt;p&gt;Context switching decreases for non-Guardian team members. They can work in longer blocks without constant interruption.&lt;/p&gt;
&lt;p&gt;Everyone stays connected to operational reality because everyone rotates through the role. One person shields the team so the team can shield their focus.&lt;/p&gt;
&lt;h2&gt;Similar roles in the industry&lt;/h2&gt;
&lt;p&gt;Other engineering teams have discovered the same need for interrupt-handling roles:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Linear&apos;s &amp;quot;Goalie&amp;quot;&lt;/strong&gt;: Linear rotates a weekly “Goalie” role responsible for handling customer reports, fixing issues, and managing ad-hoc problems. This practice has been key to maintaining their high product quality. &lt;a href=&quot;https://www.linkedin.com/posts/gergelyorosz_this-is-interesting-the-engineering-team-activity-7267576117518077952-ljZ8&quot;&gt;Read more about Linear&apos;s approach&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Wealthyhood&apos;s &amp;quot;Support Engineer&amp;quot; Rotation&lt;/strong&gt;: Each week, one engineer focuses specifically on customer reports and related issues, significantly improving product quality and user satisfaction.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Google&apos;s SRE Model&lt;/strong&gt;: Site Reliability Engineers act as the bridge between development and operations, proactively managing system reliability and handling operational interruptions so development teams can focus on building features.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Spotify&apos;s Squad Health Practices&lt;/strong&gt;: Teams regularly assess and manage their operational health, with rotating responsibilities for maintaining team effectiveness and handling external demands.&lt;/p&gt;
&lt;p&gt;The pattern is consistent across successful engineering organizations: someone needs to own the interruptions, or interruptions will own the team.&lt;/p&gt;
</content:encoded></item><item><title>Weekly Cycles: Rhythm Without Rituals</title><link>https://engineering.integral.de/posts/how-we-work-weekly-cycles/</link><guid isPermaLink="true">https://engineering.integral.de/posts/how-we-work-weekly-cycles/</guid><description>How we structure weeks to balance planning, building, and shipping without daily standups or agile theater.</description><pubDate>Wed, 15 Jan 2025 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;At Integral we work in one-week cycles, deploying every Thursday evening and planning the next cycle on Friday morning. This rhythm keeps our small team synchronized without meetings consuming our lives.&lt;/p&gt;
&lt;p&gt;Most teams either plan constantly (daily standups, sprint planning, backlog grooming) or seldomly plan (just grab tickets and build). Both approaches fail for small teams that need to move fast.&lt;/p&gt;
&lt;h2&gt;What actually happens&lt;/h2&gt;
&lt;p&gt;Without consistent cycles, teams drift between reactive and proactive work. Monday you’re fixing bugs. Tuesday you’re building a new feature. Wednesday the CEO has an urgent request. Thursday you’re still working on Monday’s bug.&lt;/p&gt;
&lt;p&gt;Nothing gets finished. Everything feels urgent. Progress is hard to measure because you’re always switching between different types of work.&lt;/p&gt;
&lt;p&gt;Planning-heavy teams spend 20% of their time in meetings about the work. But small teams can’t afford that overhead when everyone’s hands-on building.&lt;/p&gt;
&lt;h2&gt;Why weekly cycles work&lt;/h2&gt;
&lt;p&gt;Weekly cycles are short enough to adjust quickly but long enough to make real progress. You can finish meaningful features in a week. You can’t lose focus for more than four days.&lt;/p&gt;
&lt;p&gt;Deploying every week creates natural deadlines without the artificial pressure of arbitrary sprint boundaries. If something isn’t ready by Thursday, it waits until the next week (or gets hotfixed the next day)— no drama, no exceptions, no weekend heroics.&lt;/p&gt;
&lt;p&gt;Friday planning happens when the previous week’s work is fresh in everyone’s mind. You know what shipped, what was blocked, and what requires attention for the next cycle.&lt;/p&gt;
&lt;h2&gt;Our weekly rhythm&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Thursday evening&lt;/strong&gt;: Deploy what’s ready. Everything gets tested and released while the team is online to catch issues.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Friday morning&lt;/strong&gt;: Plan the next cycle. Review what shipped, identify what broke, assign the Guardian and Captain roles, align on upcoming priorities.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Monday-Wednesday&lt;/strong&gt;: Build mode. Deep work on features, only necessary meetings, execute the plans.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Thursday morning&lt;/strong&gt;: Deploy preparation. Code review, testing, documentation, deploy checklist. A quick internal demo for the Product &amp;amp; Tech team.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Thursday afternoon&lt;/strong&gt;: Demo to the whole company, focusing on the features being shipped. Deploy to production, watch for issues, document what went live.&lt;/p&gt;
&lt;p&gt;This rhythm works because each day has a clear &lt;a href=&quot;/posts/plan-build-deploy-modes/&quot;&gt;mode&lt;/a&gt; directing focus and maintaining momentum.&lt;/p&gt;
&lt;h2&gt;What gets planned&lt;/h2&gt;
&lt;p&gt;We don’t plan sprints or estimate story points. We plan outcomes:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What ships this week&lt;/strong&gt;: Specific features or fixes that will go live Thursday. Definition of done, as clear as it can be.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Who owns what&lt;/strong&gt;: &lt;a href=&quot;/posts/how-we-work-guardian-role/&quot;&gt;Guardian&lt;/a&gt; handles interruptions and bugs. The &lt;a href=&quot;/posts/how-we-work-captain-role/&quot;&gt;Captain&lt;/a&gt; drives the biggest features forward. Everyone is aligned.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What doesn&apos;t ship&lt;/strong&gt;: We explicitly defer work that isn&apos;t ready. We believe it’s better to cut than commit to scope you can’t deliver.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Blockers and dependencies&lt;/strong&gt;: What might stop you? What do you need from other people? What external factors could affect the plan?&lt;/p&gt;
&lt;h2&gt;When cycles break&lt;/h2&gt;
&lt;p&gt;Sometimes we have weeks with no meaningful deployment. That’s fine; not every week produces customer-facing features.&lt;/p&gt;
&lt;p&gt;Sometimes emergencies require mid-week deployments. We deploy the fix, then get back to the regular rhythm.&lt;/p&gt;
&lt;p&gt;Sometimes planning reveals you need two weeks for a feature. Plan for two weeks, but deploy a chunk on Thursday (even if it’s infrastructure or bug fixes).&lt;/p&gt;
&lt;p&gt;Most of the time, when a small feature is ready and tested, it is shipped to production.&lt;/p&gt;
&lt;h2&gt;The result&lt;/h2&gt;
&lt;p&gt;Everyone knows what they’re working on and when it needs to ship. Deploys happen predictably instead of whenever someone remembers. Planning is lightweight but consistent.&lt;/p&gt;
&lt;p&gt;Your team develops rhythm instead of thrashing between urgent requests and random features.&lt;/p&gt;
&lt;p&gt;Consistency beats perfection. Weekly cycles aren’t optimal for every situation, but they work for most situations and they’re easy to execute.&lt;/p&gt;
</content:encoded></item><item><title>How We Work: Building the Engineering Team of the Future</title><link>https://engineering.integral.de/posts/future-of-engineering/</link><guid isPermaLink="true">https://engineering.integral.de/posts/future-of-engineering/</guid><description>Welcome to our engineering blog. Here&apos;s our philosophy on building small, senior teams that ship fast without bureaucracy.</description><pubDate>Wed, 01 Jan 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h3&gt;&lt;strong&gt;We are building the engineering Team of the future&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;At &lt;a href=&quot;https://integral.de&quot;&gt;integral&lt;/a&gt;, take great pride in our work. A senior engineering team that thinks globally about the entire system while acting locally at the service level. Every engineer on this team is a &lt;strong&gt;Founding Engineer&lt;/strong&gt;: a role that embodies ownership, collaboration, and a deep understanding of architectural tradeoffs. We are required and empowered to make frequent, meaningful contributions to the product and the company’s future.&lt;/p&gt;
&lt;p&gt;Every engineer is expected to take a requirement, break it into smaller, testable pieces, and thoughtfully consider how their changes impact the broader platform. Decision-making is distributed across the team, with clear documentation through Linear issues and an implementation plan. We distinguish between &lt;strong&gt;Big-D Decisions&lt;/strong&gt; (hard to revert, requiring team alignment) and &lt;strong&gt;Small-d decisions&lt;/strong&gt; (easy to revert, made independently by engineers). This framework ensures autonomy while maintaining alignment on critical choices.&lt;/p&gt;
&lt;h2&gt;The problem with existing processes&lt;/h2&gt;
&lt;p&gt;Small teams need structure, but most abundantly available “good” advice assumes you’re managing at least 20 people.&lt;/p&gt;
&lt;p&gt;We’ve worked with agile ceremonies designed for large teams that end up slowing down small teams. We’ve observed flat organizations with no process at all.&lt;/p&gt;
&lt;p&gt;Large-team processes create overhead that kills velocity. No process creates chaos that kills focus.&lt;/p&gt;
&lt;p&gt;“How We Work” is our approach to structure that scales with small, senior teams. It’s not a framework or methodology; it’s our specific, ever-changing, very personal practices that create rhythm and accountability.&lt;/p&gt;
&lt;p&gt;All successful small teams end up building their own frameworks. They start with something that sounds reasonable, try it for a few weeks, realize half of it doesn’t work, and then change it. The best teams have processes that would make consultants cringe because they’re messy, specific, and built for exactly the people who use them. We can’t scale someone else’s solution to our problems, especially when our problems change every quarter as we grow.&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;Shared Ownership and Collaboration&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;All code is co-owned, and we actively help each other succeed. We don’t limit ourselves to one domain; one engineer may work on the ledger, AI infrastructure, a collaboration module, or the tax engine, it all depends on the need. This fluid collaboration relies on minimal friction, so we prioritize simplicity and rein in complexity wherever possible.&lt;/p&gt;
&lt;p&gt;We document code, tips, and best practices in every repository because we know someone else will extend or modify our work. Every repository includes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A comprehensive AI Generated and humanly maintained &lt;code&gt;README.md&lt;/code&gt; file&lt;/li&gt;
&lt;li&gt;a&lt;code&gt;docs&lt;/code&gt; folder with:
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;plans&lt;/code&gt; holding specification documents we build for AI agents.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;logs&lt;/code&gt; that track the conversations engineers have with models during the implementation of the plans.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Conventions.md&lt;/strong&gt; file for AI and other tools (similar to &lt;code&gt;agents.md&lt;/code&gt; and &lt;code&gt;.cursor/rules&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://just.systems/man/en/&quot;&gt;&lt;strong&gt;Just&lt;/strong&gt;&lt;/a&gt; scripts for repeated commands.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Larger discussions are documented, ensuring knowledge stays accessible and actionable. By maintaining thorough documentation, we also provide the context AI tools need to function effectively.&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;AI as a Tool, Not a Crutch&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;We use AI extensively for coding, documentation, and exploration, but we treat it as a tool to augment, not replace, human expertise. AI is not always accurate, but like any tool, it improves with intentional usage. Engineers are expected to critically evaluate AI-generated solutions, usually using other AI tools alongside their judgment to ensure quality. &lt;strong&gt;This is where the experience of a Founding Engineer shines: knowing when something is “good enough” without over-engineering is an art, not an exact science.&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;&lt;strong&gt;Culture and Growth&lt;/strong&gt;&lt;/h3&gt;
&lt;p&gt;Our ultimate goal as a founding team is to establish strong habits and a culture of clear communication, practical simplicity, and continuous growth. We believe that with a lean, supportive, and AI-empowered engineering group, we set ourselves up for lasting success. &lt;strong&gt;While we don’t have formal professional development programs, being part of this team means shaping the future of software engineering. The era of large, impersonal scale-up teams is fading, and we’re building a model that values craftsmanship, ownership, and innovation.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;We also recognize the importance of diversity, inclusion, and work-life balance. &lt;strong&gt;These are tough questions, and we’re committed to addressing them as we grow.&lt;/strong&gt; For now, we are focusing on creating an environment where everyone feels empowered to contribute, challenge, and thrive.&lt;/p&gt;
&lt;h2&gt;How We Work: The Series&lt;/h2&gt;
&lt;p&gt;This series focuses on what actually works for engineering teams of 3-8 people:&lt;/p&gt;
&lt;h3&gt;&lt;a href=&quot;/posts/plan-build-deploy-modes/&quot;&gt;Plan Mode, Build Mode, Deploy Mode: How Three Words Fix Meeting Chaos&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Three simple phrases that drag your team back to reality when conversations spiral into the wrong dimension.&lt;/p&gt;
&lt;h3&gt;&lt;a href=&quot;/posts/how-we-work-weekly-cycles/&quot;&gt;Weekly Cycles: Rhythm Without Rituals&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;How we structure weeks to balance planning, building, and shipping without daily standups or sprint ceremonies.&lt;/p&gt;
&lt;h3&gt;&lt;a href=&quot;/posts/how-we-work-guardian-role/&quot;&gt;Guardian Role: Protecting Focus&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;The rotating role that shields the team from interruptions and handles operational issues so others can build.&lt;/p&gt;
&lt;h3&gt;&lt;a href=&quot;/posts/how-we-work-captain-role/&quot;&gt;Captain Role: Driving Features Forward&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;How one person takes ownership of feature delivery without becoming a bottleneck or micromanager.&lt;/p&gt;
&lt;h2&gt;What We Learned&lt;/h2&gt;
&lt;p&gt;Structure serves focus. The goal isn’t to follow a process perfectly; it’s to minimize context switching and maximize time spent on valuable work.&lt;/p&gt;
&lt;p&gt;Small teams can’t afford dedicated project managers, scrum masters, or DevOps engineers, not in the AI world. Everyone wears multiple hats, so the process needs to be simple enough that engineers can execute it themselves.&lt;/p&gt;
&lt;p&gt;Good process is invisible. When it’s working, you don’t think about it. You just know what to work on, when to ship, and who to ask when something breaks.&lt;/p&gt;
&lt;h2&gt;Core Roles&lt;/h2&gt;
&lt;p&gt;To ensure we balance innovation with stability, our team operates with two key roles each week:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&quot;/posts/how-we-work-captain-role/&quot;&gt;Captain&lt;/a&gt;&lt;/strong&gt;, who drives new features forward&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&quot;/posts/how-we-work-guardian-role/&quot;&gt;Guardian&lt;/a&gt;&lt;/strong&gt;, who protects the integrity of our product and user experience.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;We’ll share what works for us, why we chose these specific practices, and how to adapt them to your team’s context.&lt;/p&gt;
</content:encoded></item><item><title>Plan First: Why Human Planning Still Matters in the AI Age</title><link>https://engineering.integral.de/posts/sane-chopping-plan-first/</link><guid isPermaLink="true">https://engineering.integral.de/posts/sane-chopping-plan-first/</guid><description>Detailed planning isn&apos;t overhead when AI is writing code; it&apos;s the difference between useful output and expensive garbage.</description><pubDate>Thu, 19 Dec 2024 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;AI generates better code when it understands what you actually want to build.&lt;/p&gt;
&lt;p&gt;This sounds obvious, but most teams skip the planning phase and jump straight into prompting (or builing todos/half-ass plans with prompts). They describe the feature in a few sentences, paste some code, and hope the AI figures out the rest.&lt;/p&gt;
&lt;p&gt;The result is frantic back and forth with AI tools, with soul-searching waits in between, that ends up with code that technically works but misses the point. Features that solve the wrong problem. Architecture that has been altered drastically for minimal or no gain.&lt;/p&gt;
&lt;h2&gt;What actually happens&lt;/h2&gt;
&lt;p&gt;Without solid planning, AI makes assumptions. It fills in gaps with generic solutions. It optimizes for code that runs instead of code that solves your specific problem.&lt;/p&gt;
&lt;p&gt;You ask for &amp;quot;a user authentication system&amp;quot; and get a textbook implementation with bcrypt hashing, JWT tokens, and password reset flows. But you needed something that integrates with your existing LDAP system and handles service accounts differently than human users.&lt;/p&gt;
&lt;p&gt;The AI wasn&apos;t wrong; your specification was incomplete.&lt;/p&gt;
&lt;h2&gt;Why planning for humans creates better AI output&lt;/h2&gt;
&lt;p&gt;When we plan for human developers, we create context that AI needs but can&apos;t infer. You document:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Edge cases and constraints&lt;/strong&gt;: &amp;quot;Authentication fails gracefully when LDAP is down&amp;quot;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Integration points&lt;/strong&gt;: &amp;quot;Shares session state with the billing service&amp;quot;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Success criteria&lt;/strong&gt;: &amp;quot;Users can log in with existing corporate credentials&amp;quot;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Non-functional requirements&lt;/strong&gt;: &amp;quot;Handles 10k concurrent users, logs all auth attempts&amp;quot;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Humans would ask clarifying questions during implementation. AI just makes educated guesses.&lt;/p&gt;
&lt;h2&gt;What We Do Onstead&lt;/h2&gt;
&lt;p&gt;We start with a planning document that lives in the &lt;code&gt;docs/plans/{issue}/specification.md&lt;/code&gt;, next to the code. This document, first and foremost for the engineers.&lt;/p&gt;
&lt;p&gt;This is the only document we throughly review on the PR process any more. It gives the whole theam&lt;/p&gt;
&lt;h2&gt;The payoff&lt;/h2&gt;
&lt;p&gt;AI generates code that fits your actual requirements instead of textbook examples. You spend less time rewriting and more time extending. Features work in your environment, not just in isolation.&lt;/p&gt;
&lt;p&gt;Your AI becomes a better pair programmer because it understands the context of what you&apos;re building.&lt;/p&gt;
&lt;p&gt;Plan first, review with humans.  Everything else gets easier. This planning discipline works for both AI-assisted development and traditional team coordination—the same principles that make &lt;a href=&quot;/posts/future-of-engineering/&quot;&gt;How We Work&lt;/a&gt; effective for human teams make AI collaboration more productive.&lt;/p&gt;
</content:encoded></item></channel></rss>