← Blog

The Fatal Flaw in Treating AI as Software: Evidentiary Gaps, Discoverability, and the Limits of Code

When legal disputes involve technology, litigators and courts default to a familiar mental model: deterministic software.

For decades, digital discovery, expert testimony, and liability frameworks have operated on the premise that software executes written rules, compiled logic, and predictable paths. If an enterprise system malfunctions, causes financial injury, or misroutes data, an investigator examines source code, inspects audit logs, and identifies the exact instruction that generated the failure.

Every time the legal industry applies that software paradigm to artificial intelligence, the evidentiary record breaks down.

AI is fundamentally not software. An AI system does not execute deterministic code to reach an outcome; it generates probabilistic outputs from statistical distributions and context windows that shift with every interaction. Treating AI like conventional software creates an illusion of auditability, leading legal teams to seek artifacts that do not exist while failing to address significant evidentiary gaps in the discovery record.

The Breakdown of Conventional ESI Assumptions

Federal Rule of Civil Procedure 34 and traditional e-discovery protocols were designed around stable, recoverable Electronically Stored Information (ESI). A database entry, an email server, or an enterprise application retains a fixed technical state that can be imaged, hashed, and forensically validated.

With generative and agentic AI systems, those baseline assumptions fail:

Non-Reproducible Runtime States: A query submitted to a large language model today does not replicate the system state, temperature, or retrieval context from three months earlier. Re-running a prompt produces a new calculation, not a forensic reproduction of past conduct. This is the same limit that confronts traditional digital forensics when the model itself cannot be examined.

Distributed and Ephemeral Telemetry: AI-mediated activity often fragments across model providers, cloud API logs, dynamic vector databases, and client-side interfaces. Much of the intermediate processing, such as tool calls, context retrieval, and discarded outputs, is transient and is never captured unless records are preserved upstream.

Absence of a Deterministic Audit Trail: In standard software, a crash log or error code reveals the mechanism of failure. In an AI system, there is no single file or line of code that explains why a model weighted one token over another.

Expert Methodology Under Rule 26: Why Natural Language Prompts Are Not Search Terms

This friction between software assumptions and AI reality is already producing discovery disputes in federal courts. When expert witnesses use generative AI to cull document productions or analyze ESI, parties have attempted to characterize prompts as Boolean search terms.

In standard e-discovery, Boolean keywords apply mechanical syntax across a static index. Any party running the same syntax against the same data set retrieves the identical set of documents.

That analogy was tested in Conservation Law Foundation v. Shell Oil Co., where the court treated an expert's AI-assisted process for reducing a document set as part of the expert's methodology under Federal Rule of Civil Procedure 26.

The distinction matters because:

Prompts are qualitative instructions, not objective retrieval queries. A prompt instructs a model to interpret meaning, assess relevance, and make qualitative exclusions.

Exclusion criteria remain hidden. Without the prompt, system parameters, and input data, it cannot be evaluated what relevant evidence was discarded or why.

The selection process is non-verifiable. When the specific context and system instructions are not logged, the underlying methodology cannot be tested for reliability.

Treating an AI prompt as a routine search string obscures what is actually occurring: a probabilistic system is making substantive evidentiary choices within the expert's workflow.

Allocation of Liability: Agency, Delegated Authority, and Operational Control

When an AI system engages in consequential conduct, such as executing financial transactions, routing sensitive data, or interacting autonomously across corporate networks, the conventional software approach asks: did the software have a bug?

Framing the issue as a software defect often misses the actual foundation of the dispute. Proprietary foundation models rarely expose their internal weights or training data, and even if produced, mathematical matrices do not establish intent, duty of care, or authorization.

The inquiry instead turns to familiar principles of agency and supervision:

Delegated Authority: What scope of authority did the organization grant to the AI system? Was the system authorized to commit resources, communicate with third parties, or execute binding actions?

Operational Control: What technical constraints, monitoring mechanisms, or human review checkpoints did the operating entity maintain over the system's execution?

Notice and Knowledge: What information was supplied to the system, what anomalies were flagged in runtime logs, and who had the authority to intervene and halt execution?

Responsibility in these matters does not turn on finding a flaw in the model's code, but on how human and corporate actors defined the system's authority and exercised oversight.

Establishing an Evidentiary Foundation When Systems Cannot Be Re-Examined

Because an AI model cannot be forensically re-examined like a server or hard drive, what can be established depends on the external record connecting human decisions, system inputs, and consequences:

Provenance of the Workflow: The system version, input data, and constraints in effect at the time of the incident.

Identification of Evidentiary Gaps: What is supported by contemporaneous business records, and what remains an unverified inference about the model's internal processing.

Attribution and Accountability: The connection between who authorized the technology, what data it operated on, and who bore the duty of supervision over the resulting conduct.

Until AI stops being treated as another form of software, these matters will continue to encounter incomplete discovery, contested expert disclosures, and theories of responsibility that the record cannot support.