Code: When Can a Company Trust Software?
For Decision-Makers
The question: Which business rules must the application reliably fulfil, and who is responsible for verifying them?
Why it matters: A working prototype shows one possibility. It proves neither that permissions are correct nor that the company can change the software in the long term.
The decision: Name business and technical responsibility, and make sure changes are reviewed independently. This also applies to AI-generated code.
ServiceFlow is meant to capture service orders and make their processing status visible. A first AI-assisted prototype shows an input form and a list of open orders. That is enough to discuss the need with employees.
Once the application is to be used day to day, further questions arise: Who may assign an order? What happens with conflicting changes? How does the company notice that a later adjustment has broken an existing function?
The difference between a prototype and robust software therefore does not lie in the amount of code alone. It lies in whether rules, decisions and changes are traceable.
Business Rules Are Part of the Software
For ServiceFlow we distinguish, for example, between case handling, dispatching and reporting. A person in dispatching may assign orders. A person with a reporting role should be able to read information but not change orders.
For such a rule to hold reliably, it is not enough to hide a button in the interface. The processing in the background must also reject an unauthorised attempt to change something. The business department decides which rule is right. Whether it is enforced technically in the right places must be verified by a software development professional.
This separation matters economically. Unclear rules do not only cause additional development work. They can also cause wrong workflows, missing traceability or unauthorised access. A company therefore needs someone who describes the business need bindingly, and someone who stands behind its technical implementation.
AI Changes How Code Is Created, Not Who Is Responsible
AI can suggest code, formulate test cases and help explain existing software. That can support development. However, the suggestion may misinterpret business rules, be incomplete or contain security problems.
A human review therefore remains necessary. It is not only about whether the code runs. An IT professional assesses the effect of the change on permissions, data and existing functions. The business department additionally checks whether the result reflects the workflow correctly.
Our position is clear: AI should not receive write access to production environments. It can prepare a change. Responsible people decide on review, approval and release. The NIST reference model for DevSecOps also describes how AI results can be integrated into established review and approval processes.
Which data an AI tool may see must be clarified before it is used. For a reference project like ServiceFlow, synthetic service orders are a sensible starting point. Whether confidential code or real data may be sent to a tool depends on the specific use and the contractual framework.
Changes Must Remain Traceable
When several people develop software, exchanging files or editing directly on a server is not enough. A version control system such as Git records changes and earlier states. Platforms such as GitLab or GitHub connect this history with the discussion and review of proposed changes.
For ServiceFlow, GitLab is one possible reference choice. What matters, however, is not the product name. What matters is that the company can trace what was changed, who reviewed it and which version serves as the basis for the next release.
A review costs time. But it also creates a deliberate moment in which knowledge can be shared and a change can be questioned. This is especially important for permissions, data changes and functions that a business process relies on. An internal development team can take on this task; where capacity or experience is lacking, an external partner can help.
Tests Check Expectations, Not Every Conceivable Situation
Automated tests can regularly check whether known rules still hold. For ServiceFlow, one can test, for example, that a person with a reporting role can read an order but cannot assign it. Further tests can look at the interplay between the application and the database.
Tests are no guarantee of error-free software. They only show what was observed within the tested cases. Even high test coverage, meaning a high share of code executed by tests, does not prove that the right business expectations were checked.
The useful question is therefore not only: “How high is our coverage?” It is also: “Are the workflows and failure cases that matter to our business adequately checked?”
Dependencies and Secrets Are Part of the Decision
Applications rarely consist solely of code written in-house. Libraries take over recurring tasks, such as sign-in or database access. That saves development effort but creates dependencies that must be updated and checked for known security problems.
Credentials also belong to an application’s protection needs. They should not be in the source code or its version history. If a key is published by accident, deleting it from the current file later is not enough. It must be treated as potentially compromised and replaced.
What Remains
Trust in software does not come from the origin of its code. It comes from clear requirements, traceable changes, appropriate tests and people who take responsibility for decisions. AI can support this work but does not make it unnecessary.
A reviewed change is not yet the package that is eventually executed, though. The next article explains how, in the build, code becomes a traceable software version. Back to the series overview.