AI Proposes. Humans Approve. Deterministic Systems Execute.
articleNovember 24, 2026By Ali Haghighi
While developing an AI-assisted incident investigation system, I encountered a problem that looked like a naming issue but turned out to be an architectural one.
Different observability and deployment systems can refer to the same service using different names. A language model can help recognize these relationships, but recognizing a possible relationship is not the same as establishing a trusted identity.
That distinction led me to a design principle:
AI proposes. Humans approve. Deterministic systems execute.
A small problem with significant consequences
Consider three illustrative service names:
- Metrics:
checkout-api - Distributed traces:
checkout-service - Deployment history:
checkout-backend
They might represent the same logical service. They might also represent different components, environments, or deployment units.
An AI model can examine the available context and propose a mapping. But if the investigation system silently accepts that mapping, it could associate an unrelated deployment with an incident or retrieve evidence from the wrong service.
The problem is not simply that the model might be wrong. The problem is that an uncertain inference would become authoritative application state.
Separating inference from authority
The architectural approach is to separate three responsibilities.
| Responsibility | Owner | Output | | --- | --- | --- | | Inference | AI model | Candidate mapping with supporting evidence | | Authorization | Authorized human reviewer | Explicit approval or rejection | | Execution | Application code | Validated, persisted mapping and subsequent lookups |
The AI does not need permission to modify the authoritative service registry. It needs only the ability to produce a useful proposal.
A reviewer can examine the evidence, correct the proposed mapping, or reject it. The application then validates the decision before committing it to its authoritative store.
From that point onward, service resolution can use an ordinary database lookup rather than asking a model to interpret the same names repeatedly.
The approval boundary is a software boundary
A confirmation dialog alone is not a governance mechanism. The approval must be enforced where application state changes, not merely in the user interface or the model prompt.
An illustrative .NET contract might look like this:
public sealed record AliasProposal(
Guid Id,
string SourceSystem,
string ObservedName,
string CandidateServiceId,
IReadOnlyList<string> EvidenceIds);
public interface IApprovedAliasResolver
{
Task<string?> ResolveAsync(
string tenantId,
string sourceSystem,
string observedName,
CancellationToken cancellationToken);
}These are deliberately separate contracts. The proposal represents an inference; the resolver consumes approved state. A missing mapping returns no result rather than silently substituting an AI-generated guess.
The approval handler, which is not shown here, must derive the reviewer and tenant from authenticated context, validate the target service, enforce authorization and uniqueness rules, and persist the decision with an audit record. Concurrency control should prevent a reviewer from approving a proposal that has changed since it was presented.
In a relational database, the authoritative mapping can be scoped by tenant, source system and, where necessary, environment. Conflicting mappings should be rejected rather than overwritten implicitly.
This is conventional software engineering. That is precisely why it is useful in an AI-enabled system.
What deterministic execution actually means
Deterministic does not mean infallible, nor does it mean that every interaction with an external system will produce the same outcome.
It means that the application follows explicit rules using validated inputs and authoritative state. For the same approved mapping and lookup context, the resolver should return the same service identity, regardless of the model or prompt used to propose it.
The system also needs a way to revoke or replace an approved mapping. Human decisions can become outdated as services evolve.
Importantly, approving a service alias does not authorize restarting a workload, changing configuration, or deploying software. Those operations require their own permissions and policies.
Human review should be proportional to risk
Not every AI-generated output needs manual approval. Requiring a reviewer for every log summary or read-only search would create unnecessary friction.
The useful distinction is between producing information and granting authority. Low-risk analysis can run automatically within a defined policy. Durable changes to trusted knowledge, or actions with significant operational consequences, warrant stronger controls.
Human approval is not a guarantee of correctness either. Reviewers need relevant evidence, clear consequences and the ability to reject uncertain proposals. Otherwise, the approval step becomes a rubber stamp.
Why this matters beyond incident investigation
The same boundary applies to document classification, access recommendations, configuration changes and AI-assisted operational workflows.
It also improves testability. Application tests can exercise authorization, conflicting aliases, rejected proposals, tenant isolation and missing mappings without invoking a language model. Model evaluation can focus separately on the quality of candidate suggestions.
Persisting approved knowledge can reduce repeated inference calls and improve consistency. These are architectural benefits, not measured performance claims; their actual impact depends on the workload and implementation.
This is not necessarily a RAG system, and it is not model training. It is a governed knowledge store that converts a reviewed inference into explicit application state.
The takeaway
The most valuable use of AI is not always to automate the final decision. Sometimes it is to make a difficult decision easier to reach, while preserving the controls that make software dependable.
In this design, AI handles ambiguity. Humans provide accountable judgment where required. Application code enforces the rules.
The goal is not less capable AI. It is a system that can use AI capabilities without surrendering control over its trusted state.
AI proposes. Humans approve. Deterministic systems execute.