Governance by Design in SaaS Products
Governance is usually an afterthought in software development. The product is built to solve a problem, and compliance features are added later — usually after a customer requests them, an auditor flags their absence, or a regulator mandates them. This bolt-on approach produces systems where governance is an overlay rather than a foundation, and the cracks show under pressure.
Governance by design means that every system is built to be auditable, traceable, and explainable from the first line of code. This is not about compliance checkboxes. It is about building systems where every action can be traced to its origin, every calculation can be verified, and every decision can be explained.
The foundation is immutable audit trails. Every significant action in the system — creating a record, modifying a value, submitting to an external service, changing a configuration — generates an audit log entry. These entries are immutable — they cannot be modified or deleted. They include who performed the action, when, what changed, and why. This creates a complete, trustworthy history of everything that has happened in the system.
For financial products, audit trails are not optional — they are a regulatory requirement. But even for non-financial products, they provide enormous practical value. When a customer reports an issue, the audit trail tells you exactly what happened without guessing. When a dispute arises about a transaction, the audit trail provides the definitive record. When an internal investigation is needed, the audit trail is the evidence.
Traceability extends beyond audit trails to data lineage. For every output the system produces — a report, a calculation, a submission — you should be able to trace back to the inputs and the logic that produced it. If a tax calculation returns a specific figure, you should be able to show exactly which transactions contributed, which tax rates were applied, and which rules governed the calculation. This is not just good practice — it is essential for finance products where HMRC or other authorities may query a submission.
Explainability means that the system's logic can be understood by someone who is not a developer. This requires clear documentation of business rules, deterministic logic for critical calculations, and the absence of opaque AI decision-making in areas where accuracy is mandatory. A system that produces correct answers but cannot explain how is a system that cannot be trusted in a regulated environment.
Row Level Security is a governance mechanism we use across all products. Every table in the database is filtered by organisation context, ensuring that users can only access data belonging to their organisation. This is not application-level filtering that can be bypassed — it is database-level security that operates even if application code contains a bug.
Data classification governs how different types of information are handled. Sensitive data — personal information, financial records, authentication credentials — is encrypted at rest and in transit, access-logged, and subject to stricter retention policies. Non-sensitive data has lighter controls. This classification is part of the schema design, not an afterthought.
The practical impact of governance by design is that compliance becomes a natural property of the system rather than an additional workload. When a customer needs an audit report, the data is already there. When a regulator asks how a figure was calculated, the trace is already available. When a security assessment is conducted, the controls are already in place. The alternative — scrambling to produce evidence and implement controls under pressure — is more expensive, more stressful, and less reliable.
Building governance in from the start costs more upfront. But the alternative — adding governance later — costs more in total and produces weaker results. At neart.ai, every product is governed by design because our customers' trust depends on it.